pspulumiyaml.azurenative.mixedreality.psm1
using module pspulumiyaml function Invoke-AzureNativeFunctionMixedrealityListRemoteRenderingAccountKeys { param ( [parameter(mandatory=$False,HelpMessage='Name of an Azure resource group.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Name of an Mixed Reality Account.)')] [string] $accountName ) process { $arguments = @{} $arguments["accountName"] = $accountName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:mixedreality:listRemoteRenderingAccountKeys -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionMixedrealityGetSpatialAnchorsAccount { param ( [parameter(mandatory=$False,HelpMessage='Name of an Azure resource group.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Name of an Mixed Reality Account.)')] [string] $accountName ) process { $arguments = @{} $arguments["accountName"] = $accountName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:mixedreality:getSpatialAnchorsAccount -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionMixedrealityGetRemoteRenderingAccount { param ( [parameter(mandatory=$False,HelpMessage='Name of an Azure resource group.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Name of an Mixed Reality Account.)')] [string] $accountName ) process { $arguments = @{} $arguments["accountName"] = $accountName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:mixedreality:getRemoteRenderingAccount -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionMixedrealityListObjectAnchorsAccountKeys { param ( [parameter(mandatory=$False,HelpMessage='Name of an Azure resource group.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Name of an Mixed Reality Account.)')] [string] $accountName ) process { $arguments = @{} $arguments["accountName"] = $accountName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:mixedreality:listObjectAnchorsAccountKeys -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionMixedrealityListSpatialAnchorsAccountKeys { param ( [parameter(mandatory=$False,HelpMessage='Name of an Azure resource group.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Name of an Mixed Reality Account.)')] [string] $accountName ) process { $arguments = @{} $arguments["accountName"] = $accountName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:mixedreality:listSpatialAnchorsAccountKeys -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } function Invoke-AzureNativeFunctionMixedrealityGetObjectAnchorsAccount { param ( [parameter(mandatory=$False,HelpMessage='Name of an Azure resource group.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='Name of an Mixed Reality Account.)')] [string] $accountName ) process { $arguments = @{} $arguments["accountName"] = $accountName $arguments["resourceGroupName"] = $resourceGroupName $functionObject = Invoke-PulumiFunction -Name azure-native:mixedreality:getObjectAnchorsAccount -variableName $([guid]::NewGuid().Guid) -Arguments $arguments return $functionObject } } class Identity { [ArgumentCompletions('SystemAssigned')] [object] $type } function New-AzureNativeTypeMixedrealityIdentity { param ( [parameter(mandatory=$False,HelpMessage='The identity type.)')] $type ) process { return $([Identity]$PSBoundParameters) } } class Sku { [string] $size [string] $family [ArgumentCompletions('Free', 'Basic', 'Standard', 'Premium')] [object] $tier [string] $name [int] $capacity } function New-AzureNativeTypeMixedrealitySku { param ( [parameter(mandatory=$False,HelpMessage='The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. )')] [string] $size, [parameter(mandatory=$False,HelpMessage='If the service has different generations of hardware, for the same SKU, then that can be captured here.)')] [string] $family, [parameter(mandatory=$False,HelpMessage='This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.)')] $tier, [parameter(mandatory=$False,HelpMessage='The name of the SKU. Ex - P3. It is typically a letter+number code)')] [string] $name, [parameter(mandatory=$False,HelpMessage='If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.)')] [int] $capacity ) process { return $([Sku]$PSBoundParameters) } } function New-AzureNativeMixedrealityRemoteRenderingAccount { [Alias('azure_native_mixedreality_remoterenderingaccount')] param ( [parameter(mandatory=$False,HelpMessage='Name of an Mixed Reality Account.)')] [string] $accountName, [parameter(mandatory=$False,HelpMessage='The identity associated with this account)')] [Identity] $identity, [parameter(mandatory=$False,HelpMessage='The name of the storage account associated with this accountId)')] [string] $storageAccountName, [parameter(mandatory=$False,HelpMessage='The plan associated with this account)')] [Identity] $plan, [parameter(mandatory=$False,HelpMessage='The sku associated with this account)')] [Sku] $sku, [parameter(mandatory=$False,HelpMessage='Resource tags.)')] [hashtable] $tags, [parameter(mandatory=$False,HelpMessage='Name of an Azure resource group.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The geo-location where the resource lives)')] [string] $location, [parameter(mandatory=$False,HelpMessage='The kind of account, if supported)')] [Sku] $kind, [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:mixedreality:RemoteRenderingAccount") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'accountName') { $resource.properties["accountName"] = $accountName } if($PSBoundParameters.Keys -icontains 'identity') { $resource.properties["identity"] = $identity } if($PSBoundParameters.Keys -icontains 'storageAccountName') { $resource.properties["storageAccountName"] = $storageAccountName } if($PSBoundParameters.Keys -icontains 'plan') { $resource.properties["plan"] = $plan } if($PSBoundParameters.Keys -icontains 'sku') { $resource.properties["sku"] = $sku } if($PSBoundParameters.Keys -icontains 'tags') { $resource.properties["tags"] = $tags } if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } if($PSBoundParameters.Keys -icontains 'kind') { $resource.properties["kind"] = $kind } $global:pulumiresources += $resource return $resource } } class ObjectAnchorsAccountIdentity { [ArgumentCompletions('SystemAssigned')] [object] $type } function New-AzureNativeTypeMixedrealityObjectAnchorsAccountIdentity { param ( [parameter(mandatory=$False,HelpMessage='The identity type.)')] $type ) process { return $([ObjectAnchorsAccountIdentity]$PSBoundParameters) } } function New-AzureNativeMixedrealityObjectAnchorsAccount { [Alias('azure_native_mixedreality_objectanchorsaccount')] param ( [parameter(mandatory=$False,HelpMessage='Name of an Mixed Reality Account.)')] [string] $accountName, [parameter(mandatory=$False,HelpMessage=')')] [ObjectAnchorsAccountIdentity] $identity, [parameter(mandatory=$False,HelpMessage='The name of the storage account associated with this accountId)')] [string] $storageAccountName, [parameter(mandatory=$False,HelpMessage='The plan associated with this account)')] [Identity] $plan, [parameter(mandatory=$False,HelpMessage='The sku associated with this account)')] [Sku] $sku, [parameter(mandatory=$False,HelpMessage='Resource tags.)')] [hashtable] $tags, [parameter(mandatory=$False,HelpMessage='Name of an Azure resource group.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The geo-location where the resource lives)')] [string] $location, [parameter(mandatory=$False,HelpMessage='The kind of account, if supported)')] [Sku] $kind, [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:mixedreality:ObjectAnchorsAccount") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'accountName') { $resource.properties["accountName"] = $accountName } if($PSBoundParameters.Keys -icontains 'identity') { $resource.properties["identity"] = $identity } if($PSBoundParameters.Keys -icontains 'storageAccountName') { $resource.properties["storageAccountName"] = $storageAccountName } if($PSBoundParameters.Keys -icontains 'plan') { $resource.properties["plan"] = $plan } if($PSBoundParameters.Keys -icontains 'sku') { $resource.properties["sku"] = $sku } if($PSBoundParameters.Keys -icontains 'tags') { $resource.properties["tags"] = $tags } if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } if($PSBoundParameters.Keys -icontains 'kind') { $resource.properties["kind"] = $kind } $global:pulumiresources += $resource return $resource } } function New-AzureNativeMixedrealitySpatialAnchorsAccount { [Alias('azure_native_mixedreality_spatialanchorsaccount')] param ( [parameter(mandatory=$False,HelpMessage='Name of an Mixed Reality Account.)')] [string] $accountName, [parameter(mandatory=$False,HelpMessage='The identity associated with this account)')] [Identity] $identity, [parameter(mandatory=$False,HelpMessage='The name of the storage account associated with this accountId)')] [string] $storageAccountName, [parameter(mandatory=$False,HelpMessage='The plan associated with this account)')] [Identity] $plan, [parameter(mandatory=$False,HelpMessage='The sku associated with this account)')] [Sku] $sku, [parameter(mandatory=$False,HelpMessage='Resource tags.)')] [hashtable] $tags, [parameter(mandatory=$False,HelpMessage='Name of an Azure resource group.)')] [string] $resourceGroupName, [parameter(mandatory=$False,HelpMessage='The geo-location where the resource lives)')] [string] $location, [parameter(mandatory=$False,HelpMessage='The kind of account, if supported)')] [Sku] $kind, [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:mixedreality:SpatialAnchorsAccount") foreach($Dependency in $DependsOn) { if($Dependency -is [pulumiresource]) { $resource.dependson += $Dependency.Reference() } else { $resource.dependson += $Dependency } } $resource.properties["resourceGroupName"] = $resourceGroupName if($PSBoundParameters.Keys -icontains 'accountName') { $resource.properties["accountName"] = $accountName } if($PSBoundParameters.Keys -icontains 'identity') { $resource.properties["identity"] = $identity } if($PSBoundParameters.Keys -icontains 'storageAccountName') { $resource.properties["storageAccountName"] = $storageAccountName } if($PSBoundParameters.Keys -icontains 'plan') { $resource.properties["plan"] = $plan } if($PSBoundParameters.Keys -icontains 'sku') { $resource.properties["sku"] = $sku } if($PSBoundParameters.Keys -icontains 'tags') { $resource.properties["tags"] = $tags } if($PSBoundParameters.Keys -icontains 'location') { $resource.properties["location"] = $location } if($PSBoundParameters.Keys -icontains 'kind') { $resource.properties["kind"] = $kind } $global:pulumiresources += $resource return $resource } } |