VaporShell.LicenseManager.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 'LicenseManagerLicenseProvisionalConfiguration'" class LicenseManagerLicenseProvisionalConfiguration : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSLicenseManagerLicenseProvisionalConfiguration' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-provisionalconfiguration.html' hidden [object] $_maxTimeToLiveInMinutes [int] $MaxTimeToLiveInMinutes hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name MaxTimeToLiveInMinutes -Value { $this._maxTimeToLiveInMinutes } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._maxTimeToLiveInMinutes = if ($cast = $value -as [int]) { $cast } else { $value } } } LicenseManagerLicenseProvisionalConfiguration() : base() {} LicenseManagerLicenseProvisionalConfiguration([IDictionary] $props) : base($props) {} LicenseManagerLicenseProvisionalConfiguration([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'LicenseManagerLicenseConsumptionConfiguration'" class LicenseManagerLicenseConsumptionConfiguration : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSLicenseManagerLicenseConsumptionConfiguration' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-consumptionconfiguration.html' hidden [object] $_renewType hidden [object] $_provisionalConfiguration hidden [object] $_borrowConfiguration [string] $RenewType [LicenseManagerLicenseProvisionalConfiguration] $ProvisionalConfiguration [LicenseManagerLicenseBorrowConfiguration] $BorrowConfiguration hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name RenewType -Value { $this._renewType } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._renewType = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name ProvisionalConfiguration -Value { $this._provisionalConfiguration } -SecondValue { param([ValidateType(([LicenseManagerLicenseProvisionalConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._provisionalConfiguration = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name BorrowConfiguration -Value { $this._borrowConfiguration } -SecondValue { param([ValidateType(([LicenseManagerLicenseBorrowConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._borrowConfiguration = $value } } LicenseManagerLicenseConsumptionConfiguration() : base() {} LicenseManagerLicenseConsumptionConfiguration([IDictionary] $props) : base($props) {} LicenseManagerLicenseConsumptionConfiguration([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'LicenseManagerLicenseIssuerData'" class LicenseManagerLicenseIssuerData : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSLicenseManagerLicenseIssuerData' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-issuerdata.html' hidden [object] $_name hidden [object] $_signKey [string] $Name [string] $SignKey hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name Name -Value { $this._name } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._name = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name SignKey -Value { $this._signKey } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._signKey = if ($value -is [int]) { $value.ToString() } else { $value } } } LicenseManagerLicenseIssuerData() : base() {} LicenseManagerLicenseIssuerData([IDictionary] $props) : base($props) {} LicenseManagerLicenseIssuerData([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'LicenseManagerLicenseBorrowConfiguration'" class LicenseManagerLicenseBorrowConfiguration : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSLicenseManagerLicenseBorrowConfiguration' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-borrowconfiguration.html' hidden [object] $_maxTimeToLiveInMinutes hidden [object] $_allowEarlyCheckIn [int] $MaxTimeToLiveInMinutes [bool] $AllowEarlyCheckIn hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name MaxTimeToLiveInMinutes -Value { $this._maxTimeToLiveInMinutes } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._maxTimeToLiveInMinutes = if ($cast = $value -as [int]) { $cast } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name AllowEarlyCheckIn -Value { $this._allowEarlyCheckIn } -SecondValue { param([ValidateType(([bool], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._allowEarlyCheckIn = $value } } LicenseManagerLicenseBorrowConfiguration() : base() {} LicenseManagerLicenseBorrowConfiguration([IDictionary] $props) : base($props) {} LicenseManagerLicenseBorrowConfiguration([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'LicenseManagerLicenseMetadata'" class LicenseManagerLicenseMetadata : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSLicenseManagerLicenseMetadata' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-metadata.html' hidden [object] $_name hidden [object] $_value [string] $Name [string] $Value hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name Name -Value { $this._name } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._name = 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 } } } LicenseManagerLicenseMetadata() : base() {} LicenseManagerLicenseMetadata([IDictionary] $props) : base($props) {} LicenseManagerLicenseMetadata([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'LicenseManagerLicenseEntitlement'" class LicenseManagerLicenseEntitlement : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSLicenseManagerLicenseEntitlement' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-entitlement.html' hidden [object] $_name hidden [object] $_value hidden [object] $_maxCount hidden [object] $_overage hidden [object] $_unit hidden [object] $_allowCheckIn [string] $Name [string] $Value [int] $MaxCount [bool] $Overage [string] $Unit [bool] $AllowCheckIn hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name Name -Value { $this._name } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._name = 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 } } $this | Add-Member -Force -MemberType ScriptProperty -Name MaxCount -Value { $this._maxCount } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._maxCount = if ($cast = $value -as [int]) { $cast } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Overage -Value { $this._overage } -SecondValue { param([ValidateType(([bool], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._overage = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name Unit -Value { $this._unit } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._unit = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name AllowCheckIn -Value { $this._allowCheckIn } -SecondValue { param([ValidateType(([bool], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._allowCheckIn = $value } } LicenseManagerLicenseEntitlement() : base() {} LicenseManagerLicenseEntitlement([IDictionary] $props) : base($props) {} LicenseManagerLicenseEntitlement([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'LicenseManagerLicenseValidityDateFormat'" class LicenseManagerLicenseValidityDateFormat : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSLicenseManagerLicenseValidityDateFormat' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-validitydateformat.html' hidden [object] $_begin hidden [object] $_end [string] $Begin [string] $End hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name Begin -Value { $this._begin } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._begin = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name End -Value { $this._end } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._end = if ($value -is [int]) { $value.ToString() } else { $value } } } LicenseManagerLicenseValidityDateFormat() : base() {} LicenseManagerLicenseValidityDateFormat([IDictionary] $props) : base($props) {} LicenseManagerLicenseValidityDateFormat([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'LicenseManagerLicense'" class LicenseManagerLicense : VSResource { hidden [string] $_vsFunctionName = 'New-VSLicenseManagerLicense' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-license.html' hidden [string[]] $_attributes = @('LicenseArn','Version') hidden [object] $_condition [string] $Type = 'AWS::LicenseManager::License' [string] $ProductSKU [LicenseManagerLicenseIssuerData] $Issuer [string] $LicenseName [string] $ProductName [string] $HomeRegion [LicenseManagerLicenseValidityDateFormat] $Validity [LicenseManagerLicenseEntitlement[]] $Entitlements [string] $Beneficiary [LicenseManagerLicenseConsumptionConfiguration] $ConsumptionConfiguration [LicenseManagerLicenseMetadata[]] $LicenseMetadata [string] $Status [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $this | Add-Member -Force -MemberType ScriptProperty -Name ProductSKU -Value { $this.Properties['ProductSKU'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['ProductSKU'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Issuer -Value { $this.Properties['Issuer'] } -SecondValue { param([ValidateType(([LicenseManagerLicenseIssuerData], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['Issuer'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name LicenseName -Value { $this.Properties['LicenseName'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['LicenseName'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name ProductName -Value { $this.Properties['ProductName'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['ProductName'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name HomeRegion -Value { $this.Properties['HomeRegion'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['HomeRegion'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Validity -Value { $this.Properties['Validity'] } -SecondValue { param([ValidateType(([LicenseManagerLicenseValidityDateFormat], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['Validity'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name Entitlements -Value { $this.Properties['Entitlements'] } -SecondValue { param([ValidateType(([LicenseManagerLicenseEntitlement], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value) $this.Properties['Entitlements'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name Beneficiary -Value { $this.Properties['Beneficiary'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['Beneficiary'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name ConsumptionConfiguration -Value { $this.Properties['ConsumptionConfiguration'] } -SecondValue { param([ValidateType(([LicenseManagerLicenseConsumptionConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['ConsumptionConfiguration'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name LicenseMetadata -Value { $this.Properties['LicenseMetadata'] } -SecondValue { param([ValidateType(([LicenseManagerLicenseMetadata], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value) $this.Properties['LicenseMetadata'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name Status -Value { $this.Properties['Status'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['Status'] = 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 } } LicenseManagerLicense() : base() {} LicenseManagerLicense([IDictionary] $props) : base($props) {} LicenseManagerLicense([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'LicenseManagerGrant'" class LicenseManagerGrant : VSResource { hidden [string] $_vsFunctionName = 'New-VSLicenseManagerGrant' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-grant.html' hidden [string[]] $_attributes = @('GrantArn','Version') hidden [object] $_condition [string] $Type = 'AWS::LicenseManager::Grant' [string] $GrantName [string] $LicenseArn [string] $HomeRegion [string[]] $AllowedOperations [string[]] $Principals [string] $Status [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $this | Add-Member -Force -MemberType ScriptProperty -Name GrantName -Value { $this.Properties['GrantName'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['GrantName'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name LicenseArn -Value { $this.Properties['LicenseArn'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['LicenseArn'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name HomeRegion -Value { $this.Properties['HomeRegion'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['HomeRegion'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name AllowedOperations -Value { $this.Properties['AllowedOperations'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value) $this.Properties['AllowedOperations'] = @($value) } $this | Add-Member -Force -MemberType ScriptProperty -Name Principals -Value { $this.Properties['Principals'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value) $this.Properties['Principals'] = @($value) } $this | Add-Member -Force -MemberType ScriptProperty -Name Status -Value { $this.Properties['Status'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['Status'] = 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 } } LicenseManagerGrant() : base() {} LicenseManagerGrant([IDictionary] $props) : base($props) {} LicenseManagerGrant([psobject] $props) : base($props) {} } |