VaporShell.Panorama.Classes.ps1

using namespace System
using namespace System.Collections
using namespace System.Collections.Generic
using namespace System.IO
using namespace System.Management.Automation
[CmdletBinding()]
Param()

Write-Verbose "Importing class 'PanoramaApplicationInstanceManifestPayload'"

class PanoramaApplicationInstanceManifestPayload : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSPanoramaApplicationInstanceManifestPayload'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-panorama-applicationinstance-manifestpayload.html'

    hidden [object] $_payloadData

    [string] $PayloadData

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name PayloadData -Value {
            $this._payloadData
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._payloadData = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
    }

    PanoramaApplicationInstanceManifestPayload() : base() {}
    PanoramaApplicationInstanceManifestPayload([IDictionary] $props) : base($props) {}
    PanoramaApplicationInstanceManifestPayload([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'PanoramaApplicationInstanceManifestOverridesPayload'"

class PanoramaApplicationInstanceManifestOverridesPayload : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSPanoramaApplicationInstanceManifestOverridesPayload'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-panorama-applicationinstance-manifestoverridespayload.html'

    hidden [object] $_payloadData

    [string] $PayloadData

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name PayloadData -Value {
            $this._payloadData
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._payloadData = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
    }

    PanoramaApplicationInstanceManifestOverridesPayload() : base() {}
    PanoramaApplicationInstanceManifestOverridesPayload([IDictionary] $props) : base($props) {}
    PanoramaApplicationInstanceManifestOverridesPayload([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'PanoramaPackage'"

class PanoramaPackage : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSPanoramaPackage'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-package.html'

    hidden [string[]] $_attributes = @('PackageId','Arn','CreatedTime')
    hidden [object] $_condition

    [string] $Type = 'AWS::Panorama::Package'
    [string] $PackageName
    [VSTag[]] $Tags
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

    hidden [void] _addAccessors() {
        $this._addBaseAccessors()
        $this | Add-Member -Force -MemberType ScriptProperty -Name PackageName -Value {
            $this.Properties['PackageName']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['PackageName'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Tags -Value {
            $this.Properties['Tags']
        } -SecondValue {
            param([TransformTag()] [ValidateType(([IDictionary], [psobject], [VSTag]))] [object] $value)
            $this.Properties['Tags'] = [VSTag]::TransformTag($value)
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value {
            $this._condition
        } -SecondValue {
            param(
                [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object]
                $value
            )
            $this._condition = $value
        }
    }

    PanoramaPackage() : base() {}
    PanoramaPackage([IDictionary] $props) : base($props) {}
    PanoramaPackage([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'PanoramaPackageVersion'"

class PanoramaPackageVersion : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSPanoramaPackageVersion'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-packageversion.html'

    hidden [string[]] $_attributes = @('PackageArn','IsLatestPatch','PackageName','Status','StatusDescription','RegisteredTime')
    hidden [object] $_condition

    [string] $Type = 'AWS::Panorama::PackageVersion'
    [string] $OwnerAccount
    [string] $PackageId
    [string] $PackageVersion
    [string] $PatchVersion
    [bool] $MarkLatest
    [string] $UpdatedLatestPatchVersion
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

    hidden [void] _addAccessors() {
        $this._addBaseAccessors()
        $this | Add-Member -Force -MemberType ScriptProperty -Name OwnerAccount -Value {
            $this.Properties['OwnerAccount']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['OwnerAccount'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name PackageId -Value {
            $this.Properties['PackageId']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['PackageId'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name PackageVersion -Value {
            $this.Properties['PackageVersion']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['PackageVersion'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name PatchVersion -Value {
            $this.Properties['PatchVersion']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['PatchVersion'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name MarkLatest -Value {
            $this.Properties['MarkLatest']
        } -SecondValue {
            param([ValidateType(([bool], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['MarkLatest'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name UpdatedLatestPatchVersion -Value {
            $this.Properties['UpdatedLatestPatchVersion']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['UpdatedLatestPatchVersion'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value {
            $this._condition
        } -SecondValue {
            param(
                [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object]
                $value
            )
            $this._condition = $value
        }
    }

    PanoramaPackageVersion() : base() {}
    PanoramaPackageVersion([IDictionary] $props) : base($props) {}
    PanoramaPackageVersion([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'PanoramaApplicationInstance'"

class PanoramaApplicationInstance : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSPanoramaApplicationInstance'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-applicationinstance.html'

    hidden [string[]] $_attributes = @('DefaultRuntimeContextDeviceName','ApplicationInstanceId','Status','HealthStatus','StatusDescription','CreatedTime','LastUpdatedTime','Arn')
    hidden [object] $_condition

    [string] $Type = 'AWS::Panorama::ApplicationInstance'
    [string] $Name
    [string] $Description
    [PanoramaApplicationInstanceManifestPayload] $ManifestPayload
    [PanoramaApplicationInstanceManifestOverridesPayload] $ManifestOverridesPayload
    [string] $RuntimeRoleArn
    [string] $DefaultRuntimeContextDevice
    [string] $ApplicationInstanceIdToReplace
    [string] $DeviceId
    [string] $StatusFilter
    [VSTag[]] $Tags
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

    hidden [void] _addAccessors() {
        $this._addBaseAccessors()
        $this | Add-Member -Force -MemberType ScriptProperty -Name Name -Value {
            $this.Properties['Name']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['Name'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Description -Value {
            $this.Properties['Description']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['Description'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name ManifestPayload -Value {
            $this.Properties['ManifestPayload']
        } -SecondValue {
            param([ValidateType(([PanoramaApplicationInstanceManifestPayload], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['ManifestPayload'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name ManifestOverridesPayload -Value {
            $this.Properties['ManifestOverridesPayload']
        } -SecondValue {
            param([ValidateType(([PanoramaApplicationInstanceManifestOverridesPayload], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['ManifestOverridesPayload'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name RuntimeRoleArn -Value {
            $this.Properties['RuntimeRoleArn']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['RuntimeRoleArn'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name DefaultRuntimeContextDevice -Value {
            $this.Properties['DefaultRuntimeContextDevice']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['DefaultRuntimeContextDevice'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name ApplicationInstanceIdToReplace -Value {
            $this.Properties['ApplicationInstanceIdToReplace']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['ApplicationInstanceIdToReplace'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name DeviceId -Value {
            $this.Properties['DeviceId']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['DeviceId'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name StatusFilter -Value {
            $this.Properties['StatusFilter']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['StatusFilter'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Tags -Value {
            $this.Properties['Tags']
        } -SecondValue {
            param([TransformTag()] [ValidateType(([IDictionary], [psobject], [VSTag]))] [object] $value)
            $this.Properties['Tags'] = [VSTag]::TransformTag($value)
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value {
            $this._condition
        } -SecondValue {
            param(
                [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object]
                $value
            )
            $this._condition = $value
        }
    }

    PanoramaApplicationInstance() : base() {}
    PanoramaApplicationInstance([IDictionary] $props) : base($props) {}
    PanoramaApplicationInstance([psobject] $props) : base($props) {}
}