VaporShell.DeviceFarm.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 'DeviceFarmDevicePoolRule'" class DeviceFarmDevicePoolRule : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSDeviceFarmDevicePoolRule' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devicefarm-devicepool-rule.html' hidden [object] $_attribute hidden [object] $_operator hidden [object] $_value [string] $Attribute [string] $Operator [string] $Value hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name Attribute -Value { $this._attribute } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._attribute = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Operator -Value { $this._operator } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._operator = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Value -Value { $this._value } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._value = if ($value -is [int]) { $value.ToString() } else { $value } } } DeviceFarmDevicePoolRule() : base() {} DeviceFarmDevicePoolRule([IDictionary] $props) : base($props) {} DeviceFarmDevicePoolRule([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'DeviceFarmTestGridProjectVpcConfig'" class DeviceFarmTestGridProjectVpcConfig : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSDeviceFarmTestGridProjectVpcConfig' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devicefarm-testgridproject-vpcconfig.html' hidden [object] $_securityGroupIds hidden [object] $_subnetIds hidden [object] $_vpcId [string[]] $SecurityGroupIds [string[]] $SubnetIds [string] $VpcId hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name SecurityGroupIds -Value { $this._securityGroupIds } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value) $this._securityGroupIds = @($value) } $this | Add-Member -Force -MemberType ScriptProperty -Name SubnetIds -Value { $this._subnetIds } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value) $this._subnetIds = @($value) } $this | Add-Member -Force -MemberType ScriptProperty -Name VpcId -Value { $this._vpcId } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._vpcId = if ($value -is [int]) { $value.ToString() } else { $value } } } DeviceFarmTestGridProjectVpcConfig() : base() {} DeviceFarmTestGridProjectVpcConfig([IDictionary] $props) : base($props) {} DeviceFarmTestGridProjectVpcConfig([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'DeviceFarmTestGridProject'" class DeviceFarmTestGridProject : VSResource { hidden [string] $_vsFunctionName = 'New-VSDeviceFarmTestGridProject' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devicefarm-testgridproject.html' hidden [string[]] $_attributes = @('Arn') hidden [object] $_condition [string] $Type = 'AWS::DeviceFarm::TestGridProject' [string] $Description [string] $Name [DeviceFarmTestGridProjectVpcConfig] $VpcConfig [VSTag[]] $Tags [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $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 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 VpcConfig -Value { $this.Properties['VpcConfig'] } -SecondValue { param([ValidateType(([DeviceFarmTestGridProjectVpcConfig], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['VpcConfig'] = $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 } } DeviceFarmTestGridProject() : base() {} DeviceFarmTestGridProject([IDictionary] $props) : base($props) {} DeviceFarmTestGridProject([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'DeviceFarmVPCEConfiguration'" class DeviceFarmVPCEConfiguration : VSResource { hidden [string] $_vsFunctionName = 'New-VSDeviceFarmVPCEConfiguration' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devicefarm-vpceconfiguration.html' hidden [string[]] $_attributes = @('Arn') hidden [object] $_condition [string] $Type = 'AWS::DeviceFarm::VPCEConfiguration' [string] $ServiceDnsName [string] $VpceConfigurationDescription [string] $VpceConfigurationName [string] $VpceServiceName [VSTag[]] $Tags [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $this | Add-Member -Force -MemberType ScriptProperty -Name ServiceDnsName -Value { $this.Properties['ServiceDnsName'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['ServiceDnsName'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name VpceConfigurationDescription -Value { $this.Properties['VpceConfigurationDescription'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['VpceConfigurationDescription'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name VpceConfigurationName -Value { $this.Properties['VpceConfigurationName'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['VpceConfigurationName'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name VpceServiceName -Value { $this.Properties['VpceServiceName'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['VpceServiceName'] = 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 } } DeviceFarmVPCEConfiguration() : base() {} DeviceFarmVPCEConfiguration([IDictionary] $props) : base($props) {} DeviceFarmVPCEConfiguration([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'DeviceFarmNetworkProfile'" class DeviceFarmNetworkProfile : VSResource { hidden [string] $_vsFunctionName = 'New-VSDeviceFarmNetworkProfile' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devicefarm-networkprofile.html' hidden [string[]] $_attributes = @('Arn') hidden [object] $_condition [string] $Type = 'AWS::DeviceFarm::NetworkProfile' [string] $ProjectArn [string] $Description [int] $DownlinkBandwidthBits [int] $DownlinkDelayMs [int] $DownlinkJitterMs [int] $DownlinkLossPercent [string] $Name [int] $UplinkBandwidthBits [int] $UplinkDelayMs [int] $UplinkJitterMs [int] $UplinkLossPercent [VSTag[]] $Tags [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $this | Add-Member -Force -MemberType ScriptProperty -Name ProjectArn -Value { $this.Properties['ProjectArn'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['ProjectArn'] = 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 DownlinkBandwidthBits -Value { $this.Properties['DownlinkBandwidthBits'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['DownlinkBandwidthBits'] = if ($cast = $value -as [int]) { $cast } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name DownlinkDelayMs -Value { $this.Properties['DownlinkDelayMs'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['DownlinkDelayMs'] = if ($cast = $value -as [int]) { $cast } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name DownlinkJitterMs -Value { $this.Properties['DownlinkJitterMs'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['DownlinkJitterMs'] = if ($cast = $value -as [int]) { $cast } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name DownlinkLossPercent -Value { $this.Properties['DownlinkLossPercent'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['DownlinkLossPercent'] = if ($cast = $value -as [int]) { $cast } else { $value } } $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 UplinkBandwidthBits -Value { $this.Properties['UplinkBandwidthBits'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['UplinkBandwidthBits'] = if ($cast = $value -as [int]) { $cast } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name UplinkDelayMs -Value { $this.Properties['UplinkDelayMs'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['UplinkDelayMs'] = if ($cast = $value -as [int]) { $cast } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name UplinkJitterMs -Value { $this.Properties['UplinkJitterMs'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['UplinkJitterMs'] = if ($cast = $value -as [int]) { $cast } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name UplinkLossPercent -Value { $this.Properties['UplinkLossPercent'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['UplinkLossPercent'] = if ($cast = $value -as [int]) { $cast } 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 } } DeviceFarmNetworkProfile() : base() {} DeviceFarmNetworkProfile([IDictionary] $props) : base($props) {} DeviceFarmNetworkProfile([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'DeviceFarmDevicePool'" class DeviceFarmDevicePool : VSResource { hidden [string] $_vsFunctionName = 'New-VSDeviceFarmDevicePool' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devicefarm-devicepool.html' hidden [string[]] $_attributes = @('Arn') hidden [object] $_condition [string] $Type = 'AWS::DeviceFarm::DevicePool' [string] $Description [int] $MaxDevices [string] $Name [string] $ProjectArn [DeviceFarmDevicePoolRule[]] $Rules [VSTag[]] $Tags [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $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 MaxDevices -Value { $this.Properties['MaxDevices'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['MaxDevices'] = if ($cast = $value -as [int]) { $cast } else { $value } } $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 ProjectArn -Value { $this.Properties['ProjectArn'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['ProjectArn'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Rules -Value { $this.Properties['Rules'] } -SecondValue { param([ValidateType(([DeviceFarmDevicePoolRule], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value) $this.Properties['Rules'] = $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 } } DeviceFarmDevicePool() : base() {} DeviceFarmDevicePool([IDictionary] $props) : base($props) {} DeviceFarmDevicePool([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'DeviceFarmProject'" class DeviceFarmProject : VSResource { hidden [string] $_vsFunctionName = 'New-VSDeviceFarmProject' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devicefarm-project.html' hidden [string[]] $_attributes = @('Arn') hidden [object] $_condition [string] $Type = 'AWS::DeviceFarm::Project' [int] $DefaultJobTimeoutMinutes [string] $Name [VSTag[]] $Tags [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $this | Add-Member -Force -MemberType ScriptProperty -Name DefaultJobTimeoutMinutes -Value { $this.Properties['DefaultJobTimeoutMinutes'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['DefaultJobTimeoutMinutes'] = if ($cast = $value -as [int]) { $cast } else { $value } } $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 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 } } DeviceFarmProject() : base() {} DeviceFarmProject([IDictionary] $props) : base($props) {} DeviceFarmProject([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'DeviceFarmInstanceProfile'" class DeviceFarmInstanceProfile : VSResource { hidden [string] $_vsFunctionName = 'New-VSDeviceFarmInstanceProfile' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devicefarm-instanceprofile.html' hidden [string[]] $_attributes = @('Arn') hidden [object] $_condition [string] $Type = 'AWS::DeviceFarm::InstanceProfile' [string] $Description [string[]] $ExcludeAppPackagesFromCleanup [string] $Name [bool] $PackageCleanup [bool] $RebootAfterUse [VSTag[]] $Tags [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $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 ExcludeAppPackagesFromCleanup -Value { $this.Properties['ExcludeAppPackagesFromCleanup'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value) $this.Properties['ExcludeAppPackagesFromCleanup'] = @($value) } $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 PackageCleanup -Value { $this.Properties['PackageCleanup'] } -SecondValue { param([ValidateType(([bool], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['PackageCleanup'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name RebootAfterUse -Value { $this.Properties['RebootAfterUse'] } -SecondValue { param([ValidateType(([bool], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['RebootAfterUse'] = $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 } } DeviceFarmInstanceProfile() : base() {} DeviceFarmInstanceProfile([IDictionary] $props) : base($props) {} DeviceFarmInstanceProfile([psobject] $props) : base($props) {} } |