VaporShell.ServiceDiscovery.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 'ServiceDiscoveryServiceDnsConfig'" class ServiceDiscoveryServiceDnsConfig : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSServiceDiscoveryServiceDnsConfig' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-dnsconfig.html' hidden [object] $_dnsRecords hidden [object] $_routingPolicy hidden [object] $_namespaceId [ServiceDiscoveryServiceDnsRecord[]] $DnsRecords [string] $RoutingPolicy [string] $NamespaceId hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name DnsRecords -Value { $this._dnsRecords } -SecondValue { param([ValidateType(([ServiceDiscoveryServiceDnsRecord], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value) $this._dnsRecords = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name RoutingPolicy -Value { $this._routingPolicy } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._routingPolicy = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name NamespaceId -Value { $this._namespaceId } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._namespaceId = if ($value -is [int]) { $value.ToString() } else { $value } } } ServiceDiscoveryServiceDnsConfig() : base() {} ServiceDiscoveryServiceDnsConfig([IDictionary] $props) : base($props) {} ServiceDiscoveryServiceDnsConfig([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'ServiceDiscoveryServiceHealthCheckConfig'" class ServiceDiscoveryServiceHealthCheckConfig : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSServiceDiscoveryServiceHealthCheckConfig' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-healthcheckconfig.html' hidden [object] $_type hidden [object] $_resourcePath hidden [object] $_failureThreshold [string] $Type [string] $ResourcePath [double] $FailureThreshold hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name Type -Value { $this._type } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._type = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name ResourcePath -Value { $this._resourcePath } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._resourcePath = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name FailureThreshold -Value { $this._failureThreshold } -SecondValue { param([ValidateType(([double], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._failureThreshold = $value } } ServiceDiscoveryServiceHealthCheckConfig() : base() {} ServiceDiscoveryServiceHealthCheckConfig([IDictionary] $props) : base($props) {} ServiceDiscoveryServiceHealthCheckConfig([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'ServiceDiscoveryServiceHealthCheckCustomConfig'" class ServiceDiscoveryServiceHealthCheckCustomConfig : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSServiceDiscoveryServiceHealthCheckCustomConfig' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-healthcheckcustomconfig.html' hidden [object] $_failureThreshold [double] $FailureThreshold hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name FailureThreshold -Value { $this._failureThreshold } -SecondValue { param([ValidateType(([double], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._failureThreshold = $value } } ServiceDiscoveryServiceHealthCheckCustomConfig() : base() {} ServiceDiscoveryServiceHealthCheckCustomConfig([IDictionary] $props) : base($props) {} ServiceDiscoveryServiceHealthCheckCustomConfig([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'ServiceDiscoveryServiceDnsRecord'" class ServiceDiscoveryServiceDnsRecord : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSServiceDiscoveryServiceDnsRecord' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-dnsrecord.html' hidden [object] $_type hidden [object] $_tTL [string] $Type [double] $TTL hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name Type -Value { $this._type } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._type = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name TTL -Value { $this._tTL } -SecondValue { param([ValidateType(([double], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._tTL = $value } } ServiceDiscoveryServiceDnsRecord() : base() {} ServiceDiscoveryServiceDnsRecord([IDictionary] $props) : base($props) {} ServiceDiscoveryServiceDnsRecord([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'ServiceDiscoveryInstance'" class ServiceDiscoveryInstance : VSResource { hidden [string] $_vsFunctionName = 'New-VSServiceDiscoveryInstance' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-instance.html' hidden [object] $_condition [string] $Type = 'AWS::ServiceDiscovery::Instance' [VSJson] $InstanceAttributes [string] $InstanceId [string] $ServiceId [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $this | Add-Member -Force -MemberType ScriptProperty -Name InstanceAttributes -Value { $this.Properties['InstanceAttributes'] } -SecondValue { param([ValidateType(([string], [VSJson], [VSYaml], [psobject], [IDictionary]))][object] $value) $this.Properties['InstanceAttributes'] = [VSJson]::Transform($value) } $this | Add-Member -Force -MemberType ScriptProperty -Name InstanceId -Value { $this.Properties['InstanceId'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['InstanceId'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name ServiceId -Value { $this.Properties['ServiceId'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['ServiceId'] = 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 } } ServiceDiscoveryInstance() : base() {} ServiceDiscoveryInstance([IDictionary] $props) : base($props) {} ServiceDiscoveryInstance([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'ServiceDiscoveryService'" class ServiceDiscoveryService : VSResource { hidden [string] $_vsFunctionName = 'New-VSServiceDiscoveryService' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html' hidden [string[]] $_attributes = @('Id','Arn','Name') hidden [object] $_condition [string] $Type = 'AWS::ServiceDiscovery::Service' [string] $Description [ServiceDiscoveryServiceHealthCheckCustomConfig] $HealthCheckCustomConfig [ServiceDiscoveryServiceDnsConfig] $DnsConfig [string] $NamespaceId [ServiceDiscoveryServiceHealthCheckConfig] $HealthCheckConfig [VSTag[]] $Tags [string] $Name [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 HealthCheckCustomConfig -Value { $this.Properties['HealthCheckCustomConfig'] } -SecondValue { param([ValidateType(([ServiceDiscoveryServiceHealthCheckCustomConfig], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['HealthCheckCustomConfig'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name DnsConfig -Value { $this.Properties['DnsConfig'] } -SecondValue { param([ValidateType(([ServiceDiscoveryServiceDnsConfig], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['DnsConfig'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name NamespaceId -Value { $this.Properties['NamespaceId'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['NamespaceId'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name HealthCheckConfig -Value { $this.Properties['HealthCheckConfig'] } -SecondValue { param([ValidateType(([ServiceDiscoveryServiceHealthCheckConfig], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['HealthCheckConfig'] = $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 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 Condition -Value { $this._condition } -SecondValue { param( [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object] $value ) $this._condition = $value } } ServiceDiscoveryService() : base() {} ServiceDiscoveryService([IDictionary] $props) : base($props) {} ServiceDiscoveryService([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'ServiceDiscoveryHttpNamespace'" class ServiceDiscoveryHttpNamespace : VSResource { hidden [string] $_vsFunctionName = 'New-VSServiceDiscoveryHttpNamespace' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-httpnamespace.html' hidden [string[]] $_attributes = @('Id','Arn') hidden [object] $_condition [string] $Type = 'AWS::ServiceDiscovery::HttpNamespace' [string] $Description [VSTag[]] $Tags [string] $Name [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 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 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 Condition -Value { $this._condition } -SecondValue { param( [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object] $value ) $this._condition = $value } } ServiceDiscoveryHttpNamespace() : base() {} ServiceDiscoveryHttpNamespace([IDictionary] $props) : base($props) {} ServiceDiscoveryHttpNamespace([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'ServiceDiscoveryPrivateDnsNamespace'" class ServiceDiscoveryPrivateDnsNamespace : VSResource { hidden [string] $_vsFunctionName = 'New-VSServiceDiscoveryPrivateDnsNamespace' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-privatednsnamespace.html' hidden [string[]] $_attributes = @('Id','Arn') hidden [object] $_condition [string] $Type = 'AWS::ServiceDiscovery::PrivateDnsNamespace' [string] $Description [string] $Vpc [VSTag[]] $Tags [string] $Name [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 Vpc -Value { $this.Properties['Vpc'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['Vpc'] = 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 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 Condition -Value { $this._condition } -SecondValue { param( [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object] $value ) $this._condition = $value } } ServiceDiscoveryPrivateDnsNamespace() : base() {} ServiceDiscoveryPrivateDnsNamespace([IDictionary] $props) : base($props) {} ServiceDiscoveryPrivateDnsNamespace([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'ServiceDiscoveryPublicDnsNamespace'" class ServiceDiscoveryPublicDnsNamespace : VSResource { hidden [string] $_vsFunctionName = 'New-VSServiceDiscoveryPublicDnsNamespace' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-publicdnsnamespace.html' hidden [string[]] $_attributes = @('Id','Arn') hidden [object] $_condition [string] $Type = 'AWS::ServiceDiscovery::PublicDnsNamespace' [string] $Description [VSTag[]] $Tags [string] $Name [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 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 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 Condition -Value { $this._condition } -SecondValue { param( [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object] $value ) $this._condition = $value } } ServiceDiscoveryPublicDnsNamespace() : base() {} ServiceDiscoveryPublicDnsNamespace([IDictionary] $props) : base($props) {} ServiceDiscoveryPublicDnsNamespace([psobject] $props) : base($props) {} } |