pspulumiyaml.azurenative.azurestack.psm1
using module pspulumiyaml function Invoke-AzureNativeFunctionAzurestackGetRegistrationActivationKey { param ( [parameter(mandatory=$False,HelpMessage='Name of the resource group.)')] [string] $resourceGroup, [parameter(mandatory=$False,HelpMessage='Name of the Azure Stack registration.)')] [string] $registrationName ) process { $arguments = @{} $arguments["registrationName"] = $registrationName $arguments["resourceGroup"] = $resourceGroup $functionObject = Invoke-PulumiFunction -Name azure-native:azurestack:getRegistrationActivationKey -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionAzurestackGetProduct { param ( [parameter(mandatory=$False,HelpMessage='Name of the resource group.)')] [string] $resourceGroup, [parameter(mandatory=$False,HelpMessage='Name of the product.)')] [string] $productName, [parameter(mandatory=$False,HelpMessage='Name of the Azure Stack registration.)')] [string] $registrationName ) process { $arguments = @{} $arguments["productName"] = $productName $arguments["registrationName"] = $registrationName $arguments["resourceGroup"] = $resourceGroup $functionObject = Invoke-PulumiFunction -Name azure-native:azurestack:getProduct -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionAzurestackListProductDetails { param ( [parameter(mandatory=$False,HelpMessage='Name of the resource group.)')] [string] $resourceGroup, [parameter(mandatory=$False,HelpMessage='Name of the product.)')] [string] $productName, [parameter(mandatory=$False,HelpMessage='Name of the Azure Stack registration.)')] [string] $registrationName ) process { $arguments = @{} $arguments["productName"] = $productName $arguments["registrationName"] = $registrationName $arguments["resourceGroup"] = $resourceGroup $functionObject = Invoke-PulumiFunction -Name azure-native:azurestack:listProductDetails -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionAzurestackListProducts { param ( [parameter(mandatory=$False,HelpMessage='Name of the resource group.)')] [string] $resourceGroup, [parameter(mandatory=$False,HelpMessage='Name of the product.)')] [string] $productName, [parameter(mandatory=$False,HelpMessage='Name of the Azure Stack registration.)')] [string] $registrationName ) process { $arguments = @{} $arguments["productName"] = $productName $arguments["registrationName"] = $registrationName $arguments["resourceGroup"] = $resourceGroup $functionObject = Invoke-PulumiFunction -Name azure-native:azurestack:listProducts -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionAzurestackGetRegistration { param ( [parameter(mandatory=$False,HelpMessage='Name of the resource group.)')] [string] $resourceGroup, [parameter(mandatory=$False,HelpMessage='Name of the Azure Stack registration.)')] [string] $registrationName ) process { $arguments = @{} $arguments["registrationName"] = $registrationName $arguments["resourceGroup"] = $resourceGroup $functionObject = Invoke-PulumiFunction -Name azure-native:azurestack:getRegistration -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionAzurestackGetProducts { param ( [parameter(mandatory=$False,HelpMessage='Name of the resource group.)')] [string] $resourceGroup, [parameter(mandatory=$False,HelpMessage='Name of the product.)')] [string] $productName, [parameter(mandatory=$False,HelpMessage='Name of the Azure Stack registration.)')] [string] $registrationName ) process { $arguments = @{} $arguments["productName"] = $productName $arguments["registrationName"] = $registrationName $arguments["resourceGroup"] = $resourceGroup $functionObject = Invoke-PulumiFunction -Name azure-native:azurestack:getProducts -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionAzurestackGetCustomerSubscription { param ( [parameter(mandatory=$False,HelpMessage='Name of the resource group.)')] [string] $resourceGroup, [parameter(mandatory=$False,HelpMessage='Name of the Azure Stack registration.)')] [string] $registrationName, [parameter(mandatory=$False,HelpMessage='Name of the product.)')] [string] $customerSubscriptionName ) process { $arguments = @{} $arguments["customerSubscriptionName"] = $customerSubscriptionName $arguments["registrationName"] = $registrationName $arguments["resourceGroup"] = $resourceGroup $functionObject = Invoke-PulumiFunction -Name azure-native:azurestack:getCustomerSubscription -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionAzurestackGetLinkedSubscription { param ( [parameter(mandatory=$False,HelpMessage='Name of the resource group.)')] [string] $resourceGroup, [parameter(mandatory=$False,HelpMessage='Name of the Linked Subscription resource.)')] [string] $linkedSubscriptionName ) process { $arguments = @{} $arguments["linkedSubscriptionName"] = $linkedSubscriptionName $arguments["resourceGroup"] = $resourceGroup $functionObject = Invoke-PulumiFunction -Name azure-native:azurestack:getLinkedSubscription -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function New-AzureNativeAzurestackLinkedSubscription { [Alias('azure_native_azurestack_linkedsubscription')] param ( [parameter(mandatory=$False,HelpMessage='The identifier associated with the device subscription.)')] [string] $linkedSubscriptionId, [parameter(mandatory=$False,HelpMessage='Name of the resource group.)')] [string] $resourceGroup, [parameter(mandatory=$False,HelpMessage='Name of the Linked Subscription resource.)')] [string] $linkedSubscriptionName, [parameter(mandatory=$False,HelpMessage='Location of the resource.)')] [string] [ValidateSet('global')] $location, [parameter(mandatory=$False,HelpMessage='The identifier associated with the device registration.)')] [string] $registrationResourceId, [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:azurestack:LinkedSubscription") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["linkedSubscriptionId"] = $linkedSubscriptionId $resource.properties["registrationResourceId"] = $registrationResourceId $resource.properties["resourceGroup"] = $resourceGroup if($PSBoundParameters.Keys -icontains 'linkedSubscriptionName') { $resource.properties["linkedSubscriptionName"] = $linkedSubscriptionName } if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } $global:pulumiresources += $resource return $resource } } function New-AzureNativeAzurestackRegistration { [Alias('azure_native_azurestack_registration')] param ( [parameter(mandatory=$False,HelpMessage='Location of the resource.)')] [string] [ValidateSet('global')] $location, [parameter(mandatory=$False,HelpMessage='Name of the resource group.)')] [string] $resourceGroup, [parameter(mandatory=$False,HelpMessage='Name of the Azure Stack registration.)')] [string] $registrationName, [parameter(mandatory=$False,HelpMessage='The token identifying registered Azure Stack)')] [string] $registrationToken, [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:azurestack:Registration") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["registrationToken"] = $registrationToken $resource.properties["resourceGroup"] = $resourceGroup if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } if($PSBoundParameters.Keys -icontains 'registrationName') { $resource.properties["registrationName"] = $registrationName } $global:pulumiresources += $resource return $resource } } function New-AzureNativeAzurestackCustomerSubscription { [Alias('azure_native_azurestack_customersubscription')] param ( [parameter(mandatory=$False,HelpMessage='Name of the resource group.)')] [string] $resourceGroup, [parameter(mandatory=$False,HelpMessage='Name of the Azure Stack registration.)')] [string] $registrationName, [parameter(mandatory=$False,HelpMessage='Name of the product.)')] [string] $customerSubscriptionName, [parameter(mandatory=$False,HelpMessage='Tenant Id.)')] [string] $tenantId, [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:azurestack:CustomerSubscription") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["registrationName"] = $registrationName $resource.properties["resourceGroup"] = $resourceGroup if($PSBoundParameters.Keys -icontains 'customerSubscriptionName') { $resource.properties["customerSubscriptionName"] = $customerSubscriptionName } if($PSBoundParameters.Keys -icontains 'tenantId') { $resource.properties["tenantId"] = $tenantId } $global:pulumiresources += $resource return $resource } } |