pspulumiyaml.azurenative.softwareplan.psm1
using module pspulumiyaml function Invoke-AzureNativeFunctionSoftwareplanGetHybridUseBenefit { param ( [parameter(mandatory=$False,HelpMessage='This is a unique identifier for a plan. Should be a guid.)')] [string] $planId, [parameter(mandatory=$False,HelpMessage='The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now)')] [string] $scope ) process { $arguments = @{} $arguments["planId"] = $planId $arguments["scope"] = $scope $functionObject = Invoke-PulumiFunction -Name azure-native:softwareplan:getHybridUseBenefit -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } class Sku { [string] $name } function New-AzureNativeTypeSoftwareplanSku { param ( [parameter(mandatory=$False,HelpMessage='Name of the SKU to be applied)')] [string] $name ) process { return $([Sku]$PSBoundParameters) } } function New-AzureNativeSoftwareplanHybridUseBenefit { [Alias('azure_native_softwareplan_hybridusebenefit')] param ( [parameter(mandatory=$False,HelpMessage='The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now)')] [string] $scope, [parameter(mandatory=$False,HelpMessage='Hybrid use benefit SKU)')] [Sku] $sku, [parameter(mandatory=$False,HelpMessage='This is a unique identifier for a plan. Should be a guid.)')] [string] $planId, [parameter(mandatory,HelpMessage='The reference to call when you want to make a dependency to another resource')] [string] $pulumiid, [parameter(mandatory,HelpMessage='Pass in the resources you make to make this resource dependant on')] [object] $DependsOn ) process { $resource = [pulumiresource]::new($pulumiid, "azure-native:softwareplan:HybridUseBenefit") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["scope"] = $scope $resource.properties["sku"] = $sku if($PSBoundParameters.Keys -icontains 'planId') { $resource.properties["planId"] = $planId } $global:pulumiresources += $resource return $resource } } |