ProviderHub.Autorest/internal/ProxyCmdletDefinitions.ps1
# ---------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code # is regenerated. # ---------------------------------------------------------------------------------- <# .Synopsis Lists all the operations supported by Microsoft.ProviderHub. .Description Lists all the operations supported by Microsoft.ProviderHub. .Example {{ Add code here }} .Example {{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IOperationsDefinition .Link https://learn.microsoft.com/powershell/module/az.providerhub/get-azproviderhuboperation #> function Get-AzProviderHubOperation { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IOperationsDefinition])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='List1', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The name of the resource provider hosted within ProviderHub. ${ProviderNamespace}, [Parameter(ParameterSetName='List1')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # The ID of the target subscription. ${SubscriptionId}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } $mapping = @{ List = 'Az.ProviderHub.private\Get-AzProviderHubOperation_List'; List1 = 'Az.ProviderHub.private\Get-AzProviderHubOperation_List1'; } if (('List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Gets a resource type details in the given subscription and provider. .Description Gets a resource type details in the given subscription and provider. .Example Get-AzProviderHubResourceTypeRegistration -ProviderNamespace "Microsoft.Contoso" .Example Get-AzProviderHubResourceTypeRegistration -ProviderNamespace "Microsoft.Contoso" -ResourceType "testResourceType1" .Example Get-AzProviderHubResourceTypeRegistration -ProviderNamespace "Microsoft.Contoso" -ResourceType "testResourceType1/nestedResourceType" .Inputs Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IResourceTypeRegistration .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. PROVIDERREGISTRATIONINPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. .Link https://learn.microsoft.com/powershell/module/az.providerhub/get-azproviderhubresourcetyperegistration #> function Get-AzProviderHubResourceTypeRegistration { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IResourceTypeRegistration])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The name of the resource provider hosted within ProviderHub. ${ProviderNamespace}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityProviderRegistration', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The resource type. ${ResourceType}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # The ID of the target subscription. ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='GetViaIdentityProviderRegistration', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ProviderRegistrationInputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } $mapping = @{ Get = 'Az.ProviderHub.private\Get-AzProviderHubResourceTypeRegistration_Get'; GetViaIdentity = 'Az.ProviderHub.private\Get-AzProviderHubResourceTypeRegistration_GetViaIdentity'; GetViaIdentityProviderRegistration = 'Az.ProviderHub.private\Get-AzProviderHubResourceTypeRegistration_GetViaIdentityProviderRegistration'; List = 'Az.ProviderHub.private\Get-AzProviderHubResourceTypeRegistration_List'; } if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Gets the sku details for the given resource type and sku name. .Description Gets the sku details for the given resource type and sku name. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.ISkuResource .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. PROVIDERREGISTRATIONINPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. RESOURCETYPEREGISTRATION1INPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. RESOURCETYPEREGISTRATIONINPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. .Link https://learn.microsoft.com/powershell/module/az.providerhub/get-azproviderhubskunestedresourcetypefirst #> function Get-AzProviderHubSkuNestedResourceTypeFirst { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.ISkuResource])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityProviderRegistration', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityResourcetypeRegistration1', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The first child resource type. ${NestedResourceTypeFirst}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The name of the resource provider hosted within ProviderHub. ${ProviderNamespace}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityProviderRegistration', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The resource type. ${ResourceType}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityProviderRegistration', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityResourcetypeRegistration', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityResourcetypeRegistration1', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The SKU. ${Sku}, [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # The ID of the target subscription. ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='GetViaIdentityProviderRegistration', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ProviderRegistrationInputObject}, [Parameter(ParameterSetName='GetViaIdentityResourcetypeRegistration', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ResourcetypeRegistrationInputObject}, [Parameter(ParameterSetName='GetViaIdentityResourcetypeRegistration1', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ResourcetypeRegistration1InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } $mapping = @{ Get = 'Az.ProviderHub.private\Get-AzProviderHubSkuNestedResourceTypeFirst_Get'; GetViaIdentity = 'Az.ProviderHub.private\Get-AzProviderHubSkuNestedResourceTypeFirst_GetViaIdentity'; GetViaIdentityProviderRegistration = 'Az.ProviderHub.private\Get-AzProviderHubSkuNestedResourceTypeFirst_GetViaIdentityProviderRegistration'; GetViaIdentityResourcetypeRegistration = 'Az.ProviderHub.private\Get-AzProviderHubSkuNestedResourceTypeFirst_GetViaIdentityResourcetypeRegistration'; GetViaIdentityResourcetypeRegistration1 = 'Az.ProviderHub.private\Get-AzProviderHubSkuNestedResourceTypeFirst_GetViaIdentityResourcetypeRegistration1'; } if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Gets the sku details for the given resource type and sku name. .Description Gets the sku details for the given resource type and sku name. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.ISkuResource .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. PROVIDERREGISTRATIONINPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. RESOURCETYPEREGISTRATION1INPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. RESOURCETYPEREGISTRATION2INPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. RESOURCETYPEREGISTRATIONINPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. .Link https://learn.microsoft.com/powershell/module/az.providerhub/get-azproviderhubskunestedresourcetypesecond #> function Get-AzProviderHubSkuNestedResourceTypeSecond { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.ISkuResource])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityProviderRegistration', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityResourcetypeRegistration2', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The first child resource type. ${NestedResourceTypeFirst}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityProviderRegistration', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityResourcetypeRegistration1', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityResourcetypeRegistration2', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The second child resource type. ${NestedResourceTypeSecond}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The name of the resource provider hosted within ProviderHub. ${ProviderNamespace}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityProviderRegistration', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The resource type. ${ResourceType}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityProviderRegistration', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityResourcetypeRegistration', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityResourcetypeRegistration1', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityResourcetypeRegistration2', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The SKU. ${Sku}, [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # The ID of the target subscription. ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='GetViaIdentityProviderRegistration', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ProviderRegistrationInputObject}, [Parameter(ParameterSetName='GetViaIdentityResourcetypeRegistration', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ResourcetypeRegistrationInputObject}, [Parameter(ParameterSetName='GetViaIdentityResourcetypeRegistration1', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ResourcetypeRegistration1InputObject}, [Parameter(ParameterSetName='GetViaIdentityResourcetypeRegistration2', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ResourcetypeRegistration2InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } $mapping = @{ Get = 'Az.ProviderHub.private\Get-AzProviderHubSkuNestedResourceTypeSecond_Get'; GetViaIdentity = 'Az.ProviderHub.private\Get-AzProviderHubSkuNestedResourceTypeSecond_GetViaIdentity'; GetViaIdentityProviderRegistration = 'Az.ProviderHub.private\Get-AzProviderHubSkuNestedResourceTypeSecond_GetViaIdentityProviderRegistration'; GetViaIdentityResourcetypeRegistration = 'Az.ProviderHub.private\Get-AzProviderHubSkuNestedResourceTypeSecond_GetViaIdentityResourcetypeRegistration'; GetViaIdentityResourcetypeRegistration1 = 'Az.ProviderHub.private\Get-AzProviderHubSkuNestedResourceTypeSecond_GetViaIdentityResourcetypeRegistration1'; GetViaIdentityResourcetypeRegistration2 = 'Az.ProviderHub.private\Get-AzProviderHubSkuNestedResourceTypeSecond_GetViaIdentityResourcetypeRegistration2'; } if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Gets the sku details for the given resource type and sku name. .Description Gets the sku details for the given resource type and sku name. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.ISkuResource .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. PROVIDERREGISTRATIONINPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. RESOURCETYPEREGISTRATION1INPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. RESOURCETYPEREGISTRATION2INPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. RESOURCETYPEREGISTRATION3INPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. RESOURCETYPEREGISTRATIONINPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. .Link https://learn.microsoft.com/powershell/module/az.providerhub/get-azproviderhubskunestedresourcetypethird #> function Get-AzProviderHubSkuNestedResourceTypeThird { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.ISkuResource])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityProviderRegistration', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityResourcetypeRegistration3', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The first child resource type. ${NestedResourceTypeFirst}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityProviderRegistration', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityResourcetypeRegistration2', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityResourcetypeRegistration3', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The second child resource type. ${NestedResourceTypeSecond}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityProviderRegistration', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityResourcetypeRegistration1', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityResourcetypeRegistration2', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityResourcetypeRegistration3', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The third child resource type. ${NestedResourceTypeThird}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The name of the resource provider hosted within ProviderHub. ${ProviderNamespace}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityProviderRegistration', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The resource type. ${ResourceType}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityProviderRegistration', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityResourcetypeRegistration', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityResourcetypeRegistration1', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityResourcetypeRegistration2', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityResourcetypeRegistration3', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The SKU. ${Sku}, [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # The ID of the target subscription. ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='GetViaIdentityProviderRegistration', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ProviderRegistrationInputObject}, [Parameter(ParameterSetName='GetViaIdentityResourcetypeRegistration', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ResourcetypeRegistrationInputObject}, [Parameter(ParameterSetName='GetViaIdentityResourcetypeRegistration1', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ResourcetypeRegistration1InputObject}, [Parameter(ParameterSetName='GetViaIdentityResourcetypeRegistration2', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ResourcetypeRegistration2InputObject}, [Parameter(ParameterSetName='GetViaIdentityResourcetypeRegistration3', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ResourcetypeRegistration3InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } $mapping = @{ Get = 'Az.ProviderHub.private\Get-AzProviderHubSkuNestedResourceTypeThird_Get'; GetViaIdentity = 'Az.ProviderHub.private\Get-AzProviderHubSkuNestedResourceTypeThird_GetViaIdentity'; GetViaIdentityProviderRegistration = 'Az.ProviderHub.private\Get-AzProviderHubSkuNestedResourceTypeThird_GetViaIdentityProviderRegistration'; GetViaIdentityResourcetypeRegistration = 'Az.ProviderHub.private\Get-AzProviderHubSkuNestedResourceTypeThird_GetViaIdentityResourcetypeRegistration'; GetViaIdentityResourcetypeRegistration1 = 'Az.ProviderHub.private\Get-AzProviderHubSkuNestedResourceTypeThird_GetViaIdentityResourcetypeRegistration1'; GetViaIdentityResourcetypeRegistration2 = 'Az.ProviderHub.private\Get-AzProviderHubSkuNestedResourceTypeThird_GetViaIdentityResourcetypeRegistration2'; GetViaIdentityResourcetypeRegistration3 = 'Az.ProviderHub.private\Get-AzProviderHubSkuNestedResourceTypeThird_GetViaIdentityResourcetypeRegistration3'; } if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Gets the sku details for the given resource type and sku name. .Description Gets the sku details for the given resource type and sku name. .Example Get-AzProviderHubSku -ProviderNamespace "Microsoft.Contoso" -ResourceType "testResourceType" -Sku "default" .Example Get-AzProviderHubSku -ProviderNamespace "Microsoft.Contoso" -ResourceType "testResourceType/nestedResourceType" -Sku "default" .Inputs Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.ISkuResource .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. PROVIDERREGISTRATIONINPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. RESOURCETYPEREGISTRATIONINPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. .Link https://learn.microsoft.com/powershell/module/az.providerhub/get-azproviderhubsku #> function Get-AzProviderHubSku { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.ISkuResource])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Parameter(ParameterSetName='List1', Mandatory)] [Parameter(ParameterSetName='List2', Mandatory)] [Parameter(ParameterSetName='List3', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The name of the resource provider hosted within ProviderHub. ${ProviderNamespace}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityProviderRegistration', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Parameter(ParameterSetName='List1', Mandatory)] [Parameter(ParameterSetName='List2', Mandatory)] [Parameter(ParameterSetName='List3', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The resource type. ${ResourceType}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityProviderRegistration', Mandatory)] [Parameter(ParameterSetName='GetViaIdentityResourcetypeRegistration', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The SKU. ${Sku}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='List1')] [Parameter(ParameterSetName='List2')] [Parameter(ParameterSetName='List3')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # The ID of the target subscription. ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='GetViaIdentityProviderRegistration', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ProviderRegistrationInputObject}, [Parameter(ParameterSetName='GetViaIdentityResourcetypeRegistration', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ResourcetypeRegistrationInputObject}, [Parameter(ParameterSetName='List1', Mandatory)] [Parameter(ParameterSetName='List2', Mandatory)] [Parameter(ParameterSetName='List3', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The first child resource type. ${NestedResourceTypeFirst}, [Parameter(ParameterSetName='List2', Mandatory)] [Parameter(ParameterSetName='List3', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The second child resource type. ${NestedResourceTypeSecond}, [Parameter(ParameterSetName='List3', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The third child resource type. ${NestedResourceTypeThird}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } $mapping = @{ Get = 'Az.ProviderHub.private\Get-AzProviderHubSku_Get'; GetViaIdentity = 'Az.ProviderHub.private\Get-AzProviderHubSku_GetViaIdentity'; GetViaIdentityProviderRegistration = 'Az.ProviderHub.private\Get-AzProviderHubSku_GetViaIdentityProviderRegistration'; GetViaIdentityResourcetypeRegistration = 'Az.ProviderHub.private\Get-AzProviderHubSku_GetViaIdentityResourcetypeRegistration'; List = 'Az.ProviderHub.private\Get-AzProviderHubSku_List'; List1 = 'Az.ProviderHub.private\Get-AzProviderHubSku_List1'; List2 = 'Az.ProviderHub.private\Get-AzProviderHubSku_List2'; List3 = 'Az.ProviderHub.private\Get-AzProviderHubSku_List3'; } if (('Get', 'List', 'List1', 'List2', 'List3') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Create the operation supported by the given provider. .Description Create the operation supported by the given provider. .Example {{ Add code here }} .Example {{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IOperationsContent .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. CONTENT <IOperationsDefinition[]>: . DisplayDescription <String>: DisplayOperation <String>: DisplayProvider <String>: DisplayResource <String>: Name <String>: Name of the operation. [ActionType <String>]: [IsDataAction <Boolean?>]: Indicates whether the operation applies to data-plane. [Origin <String>]: [Property <IAny>]: Anything .Link https://learn.microsoft.com/powershell/module/az.providerhub/new-azproviderhuboperation #> function New-AzProviderHubOperation { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IOperationsContent])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The name of the resource provider hosted within ProviderHub. ${ProviderNamespace}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. ${SubscriptionId}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IOperationsDefinition[]] # . ${Content}, [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String] # Path of Json file supplied to the Create operation ${JsonFilePath}, [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String] # Json string supplied to the Create operation ${JsonString}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } $mapping = @{ CreateExpanded = 'Az.ProviderHub.private\New-AzProviderHubOperation_CreateExpanded'; CreateViaJsonFilePath = 'Az.ProviderHub.private\New-AzProviderHubOperation_CreateViaJsonFilePath'; CreateViaJsonString = 'Az.ProviderHub.private\New-AzProviderHubOperation_CreateViaJsonString'; } if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Generates the operations api for the given provider. .Description Generates the operations api for the given provider. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IOperationsDefinition .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. .Link https://learn.microsoft.com/powershell/module/az.providerhub/new-azproviderhubproviderregistrationoperation #> function New-AzProviderHubProviderRegistrationOperation { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IOperationsDefinition])] [CmdletBinding(DefaultParameterSetName='Generate', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Generate', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The name of the resource provider hosted within ProviderHub. ${ProviderNamespace}, [Parameter(ParameterSetName='Generate')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. ${SubscriptionId}, [Parameter(ParameterSetName='GenerateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } $mapping = @{ Generate = 'Az.ProviderHub.private\New-AzProviderHubProviderRegistrationOperation_Generate'; GenerateViaIdentity = 'Az.ProviderHub.private\New-AzProviderHubProviderRegistrationOperation_GenerateViaIdentity'; } if (('Generate') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Create a resource type. .Description Create a resource type. .Example New-AzProviderHubResourceTypeRegistration -ProviderNamespace "Microsoft.Contoso" -ResourceType "testResourceType" -RoutingType "Default" -Regionality "Regional" -Endpoint @{ApiVersion = "2021-01-01-preview"; Location = "West US 2", "East US 2 EUAP"; RequiredFeature = "Microsoft.Contoso/SampleApp" } -SwaggerSpecification @{ApiVersion = "2021-01-01-preview"; SwaggerSpecFolderUri = "https://github.com/Azure/azure-rest-api-specs-pr/blob/RPSaaSMaster/specification/rpsaas/resource-manager/Microsoft.Contoso/" } -EnableAsyncOperation .Example New-AzProviderHubResourceTypeRegistration -ProviderNamespace "Microsoft.Contoso" -ResourceType "testResourceType/nestedResourceType" -RoutingType "Default" -Regionality "Global" -Endpoint @{ApiVersion = "2021-01-01-preview"; Location = ""; RequiredFeature = "Microsoft.Contoso/SampleApp" } -SwaggerSpecification @{ApiVersion = "2021-01-01-preview"; SwaggerSpecFolderUri = "https://github.com/Azure/azure-rest-api-specs-pr/blob/RPSaaSMaster/specification/rpsaas/resource-manager/Microsoft.Contoso/" } .Inputs Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IResourceTypeRegistration .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. AUTHORIZATIONACTIONMAPPING <IAuthorizationActionMapping[]>: . [Desired <String>]: [Original <String>]: ENDPOINT <IResourceTypeEndpoint[]>: . [ApiVersion <List<String>>]: [Enabled <Boolean?>]: [Extension <List<IResourceTypeExtension>>]: [EndpointUri <String>]: [ExtensionCategory <List<String>>]: [Timeout <TimeSpan?>]: [FeatureRuleRequiredFeaturesPolicy <String>]: [Location <List<String>>]: [RequiredFeature <List<String>>]: [Timeout <TimeSpan?>]: EXTENDEDLOCATION <IExtendedLocationOptions[]>: . [SupportedPolicy <String>]: [Type <String>]: LINKEDACCESSCHECK <ILinkedAccessCheck[]>: . [ActionName <String>]: [LinkedAction <String>]: [LinkedActionVerb <String>]: [LinkedProperty <String>]: [LinkedType <String>]: LOGGINGRULE <ILoggingRule[]>: . Action <String>: DetailLevel <String>: Direction <String>: [HiddenPropertyPathHiddenPathsOnRequest <List<String>>]: [HiddenPropertyPathHiddenPathsOnResponse <List<String>>]: PROVIDERREGISTRATIONINPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. SERVICETREEINFO <IServiceTreeInfo[]>: . [ComponentId <String>]: [ServiceId <String>]: SUBSCRIPTIONLIFECYCLENOTIFICATIONSPECIFICATIONSUBSCRIPTIONSTATEOVERRIDEACTION <ISubscriptionStateOverrideAction[]>: . Action <String>: State <String>: SUBSCRIPTIONSTATERULE <ISubscriptionStateRule[]>: . [AllowedAction <List<String>>]: [State <String>]: SWAGGERSPECIFICATION <ISwaggerSpecification[]>: . [ApiVersion <List<String>>]: [SwaggerSpecFolderUri <String>]: THROTTLINGRULE <IThrottlingRule[]>: . Action <String>: Metric <List<IThrottlingMetric>>: Limit <Int64>: Type <String>: [Interval <TimeSpan?>]: [RequiredFeature <List<String>>]: .Link https://learn.microsoft.com/powershell/module/az.providerhub/new-azproviderhubresourcetyperegistration #> function New-AzProviderHubResourceTypeRegistration { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IResourceTypeRegistration])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The resource type. ${ResourceType}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The name of the resource provider hosted within ProviderHub. ${ProviderNamespace}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaJsonFilePath')] [Parameter(ParameterSetName='CreateViaJsonString')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. ${SubscriptionId}, [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ProviderRegistrationInputObject}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String[]] # . ${AllowedUnauthorizedAction}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IAuthorizationActionMapping[]] # . ${AuthorizationActionMapping}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${CheckNameAvailabilitySpecificationEnableDefaultValidation}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String[]] # . ${CheckNameAvailabilitySpecificationResourceTypesWithCustomValidation}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String] # . ${DefaultApiVersion}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String[]] # . ${DisallowedActionVerb}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${EnableAsyncOperation}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${EnableThirdPartyS2S}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IResourceTypeEndpoint[]] # . ${Endpoint}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IExtendedLocationOptions[]] # . ${ExtendedLocation}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.PSArgumentCompleterAttribute("NotSpecified", "DoNotMergeExistingReadOnlyAndSecretProperties", "IncludeInternalMetadata")] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String[]] # . ${ExtensionOptionResourceCreationBeginRequest}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.PSArgumentCompleterAttribute("NotSpecified", "DoNotMergeExistingReadOnlyAndSecretProperties", "IncludeInternalMetadata")] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String[]] # . ${ExtensionOptionResourceCreationBeginResponse}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String] # . ${FeatureRuleRequiredFeaturesPolicy}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String] # . ${IdentityManagementApplicationId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.PSArgumentCompleterAttribute("NotSpecified", "SystemAssigned", "UserAssigned", "Actor", "DelegatedResourceIdentity")] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String] # . ${IdentityManagementType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${IsPureProxy}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.ILinkedAccessCheck[]] # . ${LinkedAccessCheck}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.ILoggingRule[]] # . ${LoggingRule}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.PSArgumentCompleterAttribute("NotSpecified", "AddOn", "Bypass", "Store")] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String] # . ${MarketplaceType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.PSArgumentCompleterAttribute("NotSpecified", "Accepted", "Running", "Creating", "Created", "Deleting", "Deleted", "Canceled", "Failed", "Succeeded", "MovingResources", "TransientFailure", "RolloutInProgress")] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String] # . ${ProvisioningState}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.PSArgumentCompleterAttribute("NotSpecified", "Global", "Regional")] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String] # . ${Regionality}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.PSArgumentCompleterAttribute("NotSpecified", "SignedUserToken", "ClientGroupMembership", "SignedAuxiliaryTokens", "UnboundedClientGroupMembership")] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String] # . ${RequestHeaderOptionOptInHeader}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String[]] # . ${RequiredFeature}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.PSArgumentCompleterAttribute("NotSpecified", "CascadeDeleteAll", "CascadeDeleteProxyOnlyChildren")] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String] # . ${ResourceDeletionPolicy}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${ResourceMovePolicyCrossResourceGroupMoveEnabled}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${ResourceMovePolicyCrossSubscriptionMoveEnabled}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${ResourceMovePolicyValidationRequired}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.PSArgumentCompleterAttribute("Default", "ProxyOnly", "HostBased", "Extension", "Tenant", "Fanout", "LocationBased", "Failover", "CascadeExtension")] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String] # . ${RoutingType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IServiceTreeInfo[]] # . ${ServiceTreeInfo}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.TimeSpan] # . ${SubscriptionLifecycleNotificationSpecificationSoftDeleteTtl}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.ISubscriptionStateOverrideAction[]] # . ${SubscriptionLifecycleNotificationSpecificationSubscriptionStateOverrideAction}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.ISubscriptionStateRule[]] # . ${SubscriptionStateRule}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.ISwaggerSpecification[]] # . ${SwaggerSpecification}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.PSArgumentCompleterAttribute("None", "ContinueDeploymentOnFailure", "DefaultValidationOnly")] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String[]] # . ${TemplateDeploymentOptionPreflightOption}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${TemplateDeploymentOptionPreflightSupported}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IThrottlingRule[]] # . ${ThrottlingRule}, [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String] # Path of Json file supplied to the Create operation ${JsonFilePath}, [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String] # Json string supplied to the Create operation ${JsonString}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } $mapping = @{ CreateExpanded = 'Az.ProviderHub.private\New-AzProviderHubResourceTypeRegistration_CreateExpanded'; CreateViaIdentityProviderRegistrationExpanded = 'Az.ProviderHub.private\New-AzProviderHubResourceTypeRegistration_CreateViaIdentityProviderRegistrationExpanded'; CreateViaJsonFilePath = 'Az.ProviderHub.private\New-AzProviderHubResourceTypeRegistration_CreateViaJsonFilePath'; CreateViaJsonString = 'Az.ProviderHub.private\New-AzProviderHubResourceTypeRegistration_CreateViaJsonString'; } if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Create the resource type skus in the given resource type. .Description Create the resource type skus in the given resource type. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.ISkuResource .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. PROVIDERREGISTRATIONINPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. RESOURCETYPEREGISTRATIONINPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. SKUSETTING <ISkuSetting[]>: . Name <String>: [Capability <List<ISkuCapability>>]: Name <String>: Value <String>: [CapacityDefault <Int32?>]: [CapacityMaximum <Int32?>]: [CapacityMinimum <Int32?>]: [CapacityScaleType <String>]: [Cost <List<ISkuCost>>]: MeterId <String>: [ExtendedUnit <String>]: [Quantity <Int32?>]: [Family <String>]: [Kind <String>]: [Location <List<String>>]: [LocationInfo <List<ISkuLocationInfo>>]: Location <String>: [ExtendedLocation <List<String>>]: [Type <String>]: [Zone <List<String>>]: [ZoneDetail <List<ISkuZoneDetail>>]: [Capability <List<ISkuCapability>>]: [Name <List<String>>]: [RequiredFeature <List<String>>]: [RequiredQuotaId <List<String>>]: [Size <String>]: [Tier <String>]: .Link https://learn.microsoft.com/powershell/module/az.providerhub/new-azproviderhubskunestedresourcetypefirst #> function New-AzProviderHubSkuNestedResourceTypeFirst { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.ISkuResource])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The SKU. ${Sku}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded1', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The first child resource type. ${NestedResourceTypeFirst}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The name of the resource provider hosted within ProviderHub. ${ProviderNamespace}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The resource type. ${ResourceType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaJsonFilePath')] [Parameter(ParameterSetName='CreateViaJsonString')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. ${SubscriptionId}, [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ProviderRegistrationInputObject}, [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded1', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ResourcetypeRegistrationInputObject}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded')] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded1')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.PSArgumentCompleterAttribute("NotSpecified", "Accepted", "Running", "Creating", "Created", "Deleting", "Deleted", "Canceled", "Failed", "Succeeded", "MovingResources", "TransientFailure", "RolloutInProgress")] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String] # . ${ProvisioningState}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded')] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded1')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.ISkuSetting[]] # . ${SkuSetting}, [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String] # Path of Json file supplied to the Create operation ${JsonFilePath}, [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String] # Json string supplied to the Create operation ${JsonString}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } $mapping = @{ CreateExpanded = 'Az.ProviderHub.private\New-AzProviderHubSkuNestedResourceTypeFirst_CreateExpanded'; CreateViaIdentityProviderRegistrationExpanded = 'Az.ProviderHub.private\New-AzProviderHubSkuNestedResourceTypeFirst_CreateViaIdentityProviderRegistrationExpanded'; CreateViaIdentityResourcetypeRegistrationExpanded = 'Az.ProviderHub.private\New-AzProviderHubSkuNestedResourceTypeFirst_CreateViaIdentityResourcetypeRegistrationExpanded'; CreateViaIdentityResourcetypeRegistrationExpanded1 = 'Az.ProviderHub.private\New-AzProviderHubSkuNestedResourceTypeFirst_CreateViaIdentityResourcetypeRegistrationExpanded1'; CreateViaJsonFilePath = 'Az.ProviderHub.private\New-AzProviderHubSkuNestedResourceTypeFirst_CreateViaJsonFilePath'; CreateViaJsonString = 'Az.ProviderHub.private\New-AzProviderHubSkuNestedResourceTypeFirst_CreateViaJsonString'; } if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Create the resource type skus in the given resource type. .Description Create the resource type skus in the given resource type. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.ISkuResource .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. PROVIDERREGISTRATIONINPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. RESOURCETYPEREGISTRATIONINPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. SKUSETTING <ISkuSetting[]>: . Name <String>: [Capability <List<ISkuCapability>>]: Name <String>: Value <String>: [CapacityDefault <Int32?>]: [CapacityMaximum <Int32?>]: [CapacityMinimum <Int32?>]: [CapacityScaleType <String>]: [Cost <List<ISkuCost>>]: MeterId <String>: [ExtendedUnit <String>]: [Quantity <Int32?>]: [Family <String>]: [Kind <String>]: [Location <List<String>>]: [LocationInfo <List<ISkuLocationInfo>>]: Location <String>: [ExtendedLocation <List<String>>]: [Type <String>]: [Zone <List<String>>]: [ZoneDetail <List<ISkuZoneDetail>>]: [Capability <List<ISkuCapability>>]: [Name <List<String>>]: [RequiredFeature <List<String>>]: [RequiredQuotaId <List<String>>]: [Size <String>]: [Tier <String>]: .Link https://learn.microsoft.com/powershell/module/az.providerhub/new-azproviderhubskunestedresourcetypesecond #> function New-AzProviderHubSkuNestedResourceTypeSecond { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.ISkuResource])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The SKU. ${Sku}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded2', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The first child resource type. ${NestedResourceTypeFirst}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded1', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded2', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The second child resource type. ${NestedResourceTypeSecond}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The name of the resource provider hosted within ProviderHub. ${ProviderNamespace}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The resource type. ${ResourceType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaJsonFilePath')] [Parameter(ParameterSetName='CreateViaJsonString')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. ${SubscriptionId}, [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ProviderRegistrationInputObject}, [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded1', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded2', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ResourcetypeRegistrationInputObject}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded')] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded1')] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded2')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.PSArgumentCompleterAttribute("NotSpecified", "Accepted", "Running", "Creating", "Created", "Deleting", "Deleted", "Canceled", "Failed", "Succeeded", "MovingResources", "TransientFailure", "RolloutInProgress")] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String] # . ${ProvisioningState}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded')] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded1')] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded2')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.ISkuSetting[]] # . ${SkuSetting}, [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String] # Path of Json file supplied to the Create operation ${JsonFilePath}, [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String] # Json string supplied to the Create operation ${JsonString}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } $mapping = @{ CreateExpanded = 'Az.ProviderHub.private\New-AzProviderHubSkuNestedResourceTypeSecond_CreateExpanded'; CreateViaIdentityProviderRegistrationExpanded = 'Az.ProviderHub.private\New-AzProviderHubSkuNestedResourceTypeSecond_CreateViaIdentityProviderRegistrationExpanded'; CreateViaIdentityResourcetypeRegistrationExpanded = 'Az.ProviderHub.private\New-AzProviderHubSkuNestedResourceTypeSecond_CreateViaIdentityResourcetypeRegistrationExpanded'; CreateViaIdentityResourcetypeRegistrationExpanded1 = 'Az.ProviderHub.private\New-AzProviderHubSkuNestedResourceTypeSecond_CreateViaIdentityResourcetypeRegistrationExpanded1'; CreateViaIdentityResourcetypeRegistrationExpanded2 = 'Az.ProviderHub.private\New-AzProviderHubSkuNestedResourceTypeSecond_CreateViaIdentityResourcetypeRegistrationExpanded2'; CreateViaJsonFilePath = 'Az.ProviderHub.private\New-AzProviderHubSkuNestedResourceTypeSecond_CreateViaJsonFilePath'; CreateViaJsonString = 'Az.ProviderHub.private\New-AzProviderHubSkuNestedResourceTypeSecond_CreateViaJsonString'; } if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Create the resource type skus in the given resource type. .Description Create the resource type skus in the given resource type. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.ISkuResource .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. PROVIDERREGISTRATIONINPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. RESOURCETYPEREGISTRATIONINPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. SKUSETTING <ISkuSetting[]>: . Name <String>: [Capability <List<ISkuCapability>>]: Name <String>: Value <String>: [CapacityDefault <Int32?>]: [CapacityMaximum <Int32?>]: [CapacityMinimum <Int32?>]: [CapacityScaleType <String>]: [Cost <List<ISkuCost>>]: MeterId <String>: [ExtendedUnit <String>]: [Quantity <Int32?>]: [Family <String>]: [Kind <String>]: [Location <List<String>>]: [LocationInfo <List<ISkuLocationInfo>>]: Location <String>: [ExtendedLocation <List<String>>]: [Type <String>]: [Zone <List<String>>]: [ZoneDetail <List<ISkuZoneDetail>>]: [Capability <List<ISkuCapability>>]: [Name <List<String>>]: [RequiredFeature <List<String>>]: [RequiredQuotaId <List<String>>]: [Size <String>]: [Tier <String>]: .Link https://learn.microsoft.com/powershell/module/az.providerhub/new-azproviderhubskunestedresourcetypethird #> function New-AzProviderHubSkuNestedResourceTypeThird { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.ISkuResource])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The SKU. ${Sku}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded3', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The first child resource type. ${NestedResourceTypeFirst}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded2', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded3', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The second child resource type. ${NestedResourceTypeSecond}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded1', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded2', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded3', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The third child resource type. ${NestedResourceTypeThird}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The name of the resource provider hosted within ProviderHub. ${ProviderNamespace}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The resource type. ${ResourceType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaJsonFilePath')] [Parameter(ParameterSetName='CreateViaJsonString')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. ${SubscriptionId}, [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ProviderRegistrationInputObject}, [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded1', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded2', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded3', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ResourcetypeRegistrationInputObject}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded')] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded1')] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded2')] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded3')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.PSArgumentCompleterAttribute("NotSpecified", "Accepted", "Running", "Creating", "Created", "Deleting", "Deleted", "Canceled", "Failed", "Succeeded", "MovingResources", "TransientFailure", "RolloutInProgress")] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String] # . ${ProvisioningState}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded')] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded1')] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded2')] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded3')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.ISkuSetting[]] # . ${SkuSetting}, [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String] # Path of Json file supplied to the Create operation ${JsonFilePath}, [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String] # Json string supplied to the Create operation ${JsonString}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } $mapping = @{ CreateExpanded = 'Az.ProviderHub.private\New-AzProviderHubSkuNestedResourceTypeThird_CreateExpanded'; CreateViaIdentityProviderRegistrationExpanded = 'Az.ProviderHub.private\New-AzProviderHubSkuNestedResourceTypeThird_CreateViaIdentityProviderRegistrationExpanded'; CreateViaIdentityResourcetypeRegistrationExpanded = 'Az.ProviderHub.private\New-AzProviderHubSkuNestedResourceTypeThird_CreateViaIdentityResourcetypeRegistrationExpanded'; CreateViaIdentityResourcetypeRegistrationExpanded1 = 'Az.ProviderHub.private\New-AzProviderHubSkuNestedResourceTypeThird_CreateViaIdentityResourcetypeRegistrationExpanded1'; CreateViaIdentityResourcetypeRegistrationExpanded2 = 'Az.ProviderHub.private\New-AzProviderHubSkuNestedResourceTypeThird_CreateViaIdentityResourcetypeRegistrationExpanded2'; CreateViaIdentityResourcetypeRegistrationExpanded3 = 'Az.ProviderHub.private\New-AzProviderHubSkuNestedResourceTypeThird_CreateViaIdentityResourcetypeRegistrationExpanded3'; CreateViaJsonFilePath = 'Az.ProviderHub.private\New-AzProviderHubSkuNestedResourceTypeThird_CreateViaJsonFilePath'; CreateViaJsonString = 'Az.ProviderHub.private\New-AzProviderHubSkuNestedResourceTypeThird_CreateViaJsonString'; } if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Create the resource type skus in the given resource type. .Description Create the resource type skus in the given resource type. .Example $skuSetting1 = New-Object -TypeName "Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.SkuSetting" -Property @{Name = "freeSku"; Tier = "Tier1"; Kind = "Standard"} $skuSetting2 = New-Object -TypeName "Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.SkuSetting" -Property @{Name = "freeSku2"; Tier = "Tier1"; Kind = "Standard"} New-AzProviderHubSku -ProviderNamespace "Microsoft.Contoso" -ResourceType "testResourceType" -Sku "default" -SkuSetting $skuSetting1, $skuSetting2 .Example $skuSetting1 = New-Object -TypeName "Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.SkuSetting" -Property @{Name = "freeSku"; Tier = "Tier1"; Kind = "Standard"} New-AzProviderHubSku -ProviderNamespace "Microsoft.Contoso" -ResourceType "testResourceType/nestedResourceType" -Sku "default" -SkuSetting $skuSetting1 .Inputs Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.ISkuResource .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. PROVIDERREGISTRATIONINPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. RESOURCETYPEREGISTRATIONINPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. SKUSETTING <ISkuSetting[]>: . Name <String>: [Capability <List<ISkuCapability>>]: Name <String>: Value <String>: [CapacityDefault <Int32?>]: [CapacityMaximum <Int32?>]: [CapacityMinimum <Int32?>]: [CapacityScaleType <String>]: [Cost <List<ISkuCost>>]: MeterId <String>: [ExtendedUnit <String>]: [Quantity <Int32?>]: [Family <String>]: [Kind <String>]: [Location <List<String>>]: [LocationInfo <List<ISkuLocationInfo>>]: Location <String>: [ExtendedLocation <List<String>>]: [Type <String>]: [Zone <List<String>>]: [ZoneDetail <List<ISkuZoneDetail>>]: [Capability <List<ISkuCapability>>]: [Name <List<String>>]: [RequiredFeature <List<String>>]: [RequiredQuotaId <List<String>>]: [Size <String>]: [Tier <String>]: .Link https://learn.microsoft.com/powershell/module/az.providerhub/new-azproviderhubsku #> function New-AzProviderHubSku { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.ISkuResource])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The SKU. ${Sku}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The name of the resource provider hosted within ProviderHub. ${ProviderNamespace}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The resource type. ${ResourceType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaJsonFilePath')] [Parameter(ParameterSetName='CreateViaJsonString')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. ${SubscriptionId}, [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ProviderRegistrationInputObject}, [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ResourcetypeRegistrationInputObject}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.PSArgumentCompleterAttribute("NotSpecified", "Accepted", "Running", "Creating", "Created", "Deleting", "Deleted", "Canceled", "Failed", "Succeeded", "MovingResources", "TransientFailure", "RolloutInProgress")] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String] # . ${ProvisioningState}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityProviderRegistrationExpanded')] [Parameter(ParameterSetName='CreateViaIdentityResourcetypeRegistrationExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.ISkuSetting[]] # . ${SkuSetting}, [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String] # Path of Json file supplied to the Create operation ${JsonFilePath}, [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String] # Json string supplied to the Create operation ${JsonString}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } $mapping = @{ CreateExpanded = 'Az.ProviderHub.private\New-AzProviderHubSku_CreateExpanded'; CreateViaIdentityProviderRegistrationExpanded = 'Az.ProviderHub.private\New-AzProviderHubSku_CreateViaIdentityProviderRegistrationExpanded'; CreateViaIdentityResourcetypeRegistrationExpanded = 'Az.ProviderHub.private\New-AzProviderHubSku_CreateViaIdentityResourcetypeRegistrationExpanded'; CreateViaJsonFilePath = 'Az.ProviderHub.private\New-AzProviderHubSku_CreateViaJsonFilePath'; CreateViaJsonString = 'Az.ProviderHub.private\New-AzProviderHubSku_CreateViaJsonString'; } if (('CreateExpanded', 'CreateViaJsonFilePath', 'CreateViaJsonString') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Deletes an operation. .Description Deletes an operation. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. .Link https://learn.microsoft.com/powershell/module/az.providerhub/remove-azproviderhuboperation #> function Remove-AzProviderHubOperation { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The name of the resource provider hosted within ProviderHub. ${ProviderNamespace}, [Parameter(ParameterSetName='Delete')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. ${SubscriptionId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } $mapping = @{ Delete = 'Az.ProviderHub.private\Remove-AzProviderHubOperation_Delete'; DeleteViaIdentity = 'Az.ProviderHub.private\Remove-AzProviderHubOperation_DeleteViaIdentity'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Deletes a resource type .Description Deletes a resource type .Example Remove-AzProviderHubResourceTypeRegistration -ProviderNamespace "Microsoft.Contoso" -ResourceType "testResourceType" .Example Remove-AzProviderHubResourceTypeRegistration -ProviderNamespace "Microsoft.Contoso" -ResourceType "testResourceType/nestedResourceType" .Inputs Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. PROVIDERREGISTRATIONINPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. .Link https://learn.microsoft.com/powershell/module/az.providerhub/remove-azproviderhubresourcetyperegistration #> function Remove-AzProviderHubResourceTypeRegistration { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The name of the resource provider hosted within ProviderHub. ${ProviderNamespace}, [Parameter(ParameterSetName='Delete', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityProviderRegistration', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The resource type. ${ResourceType}, [Parameter(ParameterSetName='Delete')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. ${SubscriptionId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='DeleteViaIdentityProviderRegistration', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ProviderRegistrationInputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } $mapping = @{ Delete = 'Az.ProviderHub.private\Remove-AzProviderHubResourceTypeRegistration_Delete'; DeleteViaIdentity = 'Az.ProviderHub.private\Remove-AzProviderHubResourceTypeRegistration_DeleteViaIdentity'; DeleteViaIdentityProviderRegistration = 'Az.ProviderHub.private\Remove-AzProviderHubResourceTypeRegistration_DeleteViaIdentityProviderRegistration'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Deletes a resource type sku. .Description Deletes a resource type sku. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. PROVIDERREGISTRATIONINPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. RESOURCETYPEREGISTRATION1INPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. RESOURCETYPEREGISTRATIONINPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. .Link https://learn.microsoft.com/powershell/module/az.providerhub/remove-azproviderhubskunestedresourcetypefirst #> function Remove-AzProviderHubSkuNestedResourceTypeFirst { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityProviderRegistration', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityResourcetypeRegistration1', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The first child resource type. ${NestedResourceTypeFirst}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The name of the resource provider hosted within ProviderHub. ${ProviderNamespace}, [Parameter(ParameterSetName='Delete', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityProviderRegistration', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The resource type. ${ResourceType}, [Parameter(ParameterSetName='Delete', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityProviderRegistration', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityResourcetypeRegistration', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityResourcetypeRegistration1', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The SKU. ${Sku}, [Parameter(ParameterSetName='Delete')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. ${SubscriptionId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='DeleteViaIdentityProviderRegistration', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ProviderRegistrationInputObject}, [Parameter(ParameterSetName='DeleteViaIdentityResourcetypeRegistration', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ResourcetypeRegistrationInputObject}, [Parameter(ParameterSetName='DeleteViaIdentityResourcetypeRegistration1', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ResourcetypeRegistration1InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } $mapping = @{ Delete = 'Az.ProviderHub.private\Remove-AzProviderHubSkuNestedResourceTypeFirst_Delete'; DeleteViaIdentity = 'Az.ProviderHub.private\Remove-AzProviderHubSkuNestedResourceTypeFirst_DeleteViaIdentity'; DeleteViaIdentityProviderRegistration = 'Az.ProviderHub.private\Remove-AzProviderHubSkuNestedResourceTypeFirst_DeleteViaIdentityProviderRegistration'; DeleteViaIdentityResourcetypeRegistration = 'Az.ProviderHub.private\Remove-AzProviderHubSkuNestedResourceTypeFirst_DeleteViaIdentityResourcetypeRegistration'; DeleteViaIdentityResourcetypeRegistration1 = 'Az.ProviderHub.private\Remove-AzProviderHubSkuNestedResourceTypeFirst_DeleteViaIdentityResourcetypeRegistration1'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Deletes a resource type sku. .Description Deletes a resource type sku. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. PROVIDERREGISTRATIONINPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. RESOURCETYPEREGISTRATION1INPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. RESOURCETYPEREGISTRATION2INPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. RESOURCETYPEREGISTRATIONINPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. .Link https://learn.microsoft.com/powershell/module/az.providerhub/remove-azproviderhubskunestedresourcetypesecond #> function Remove-AzProviderHubSkuNestedResourceTypeSecond { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityProviderRegistration', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityResourcetypeRegistration2', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The first child resource type. ${NestedResourceTypeFirst}, [Parameter(ParameterSetName='Delete', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityProviderRegistration', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityResourcetypeRegistration1', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityResourcetypeRegistration2', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The second child resource type. ${NestedResourceTypeSecond}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The name of the resource provider hosted within ProviderHub. ${ProviderNamespace}, [Parameter(ParameterSetName='Delete', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityProviderRegistration', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The resource type. ${ResourceType}, [Parameter(ParameterSetName='Delete', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityProviderRegistration', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityResourcetypeRegistration', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityResourcetypeRegistration1', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityResourcetypeRegistration2', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The SKU. ${Sku}, [Parameter(ParameterSetName='Delete')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. ${SubscriptionId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='DeleteViaIdentityProviderRegistration', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ProviderRegistrationInputObject}, [Parameter(ParameterSetName='DeleteViaIdentityResourcetypeRegistration', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ResourcetypeRegistrationInputObject}, [Parameter(ParameterSetName='DeleteViaIdentityResourcetypeRegistration1', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ResourcetypeRegistration1InputObject}, [Parameter(ParameterSetName='DeleteViaIdentityResourcetypeRegistration2', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ResourcetypeRegistration2InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } $mapping = @{ Delete = 'Az.ProviderHub.private\Remove-AzProviderHubSkuNestedResourceTypeSecond_Delete'; DeleteViaIdentity = 'Az.ProviderHub.private\Remove-AzProviderHubSkuNestedResourceTypeSecond_DeleteViaIdentity'; DeleteViaIdentityProviderRegistration = 'Az.ProviderHub.private\Remove-AzProviderHubSkuNestedResourceTypeSecond_DeleteViaIdentityProviderRegistration'; DeleteViaIdentityResourcetypeRegistration = 'Az.ProviderHub.private\Remove-AzProviderHubSkuNestedResourceTypeSecond_DeleteViaIdentityResourcetypeRegistration'; DeleteViaIdentityResourcetypeRegistration1 = 'Az.ProviderHub.private\Remove-AzProviderHubSkuNestedResourceTypeSecond_DeleteViaIdentityResourcetypeRegistration1'; DeleteViaIdentityResourcetypeRegistration2 = 'Az.ProviderHub.private\Remove-AzProviderHubSkuNestedResourceTypeSecond_DeleteViaIdentityResourcetypeRegistration2'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Deletes a resource type sku. .Description Deletes a resource type sku. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. PROVIDERREGISTRATIONINPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. RESOURCETYPEREGISTRATION1INPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. RESOURCETYPEREGISTRATION2INPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. RESOURCETYPEREGISTRATION3INPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. RESOURCETYPEREGISTRATIONINPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. .Link https://learn.microsoft.com/powershell/module/az.providerhub/remove-azproviderhubskunestedresourcetypethird #> function Remove-AzProviderHubSkuNestedResourceTypeThird { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityProviderRegistration', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityResourcetypeRegistration3', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The first child resource type. ${NestedResourceTypeFirst}, [Parameter(ParameterSetName='Delete', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityProviderRegistration', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityResourcetypeRegistration2', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityResourcetypeRegistration3', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The second child resource type. ${NestedResourceTypeSecond}, [Parameter(ParameterSetName='Delete', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityProviderRegistration', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityResourcetypeRegistration1', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityResourcetypeRegistration2', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityResourcetypeRegistration3', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The third child resource type. ${NestedResourceTypeThird}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The name of the resource provider hosted within ProviderHub. ${ProviderNamespace}, [Parameter(ParameterSetName='Delete', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityProviderRegistration', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The resource type. ${ResourceType}, [Parameter(ParameterSetName='Delete', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityProviderRegistration', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityResourcetypeRegistration', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityResourcetypeRegistration1', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityResourcetypeRegistration2', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityResourcetypeRegistration3', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The SKU. ${Sku}, [Parameter(ParameterSetName='Delete')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. ${SubscriptionId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='DeleteViaIdentityProviderRegistration', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ProviderRegistrationInputObject}, [Parameter(ParameterSetName='DeleteViaIdentityResourcetypeRegistration', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ResourcetypeRegistrationInputObject}, [Parameter(ParameterSetName='DeleteViaIdentityResourcetypeRegistration1', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ResourcetypeRegistration1InputObject}, [Parameter(ParameterSetName='DeleteViaIdentityResourcetypeRegistration2', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ResourcetypeRegistration2InputObject}, [Parameter(ParameterSetName='DeleteViaIdentityResourcetypeRegistration3', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ResourcetypeRegistration3InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } $mapping = @{ Delete = 'Az.ProviderHub.private\Remove-AzProviderHubSkuNestedResourceTypeThird_Delete'; DeleteViaIdentity = 'Az.ProviderHub.private\Remove-AzProviderHubSkuNestedResourceTypeThird_DeleteViaIdentity'; DeleteViaIdentityProviderRegistration = 'Az.ProviderHub.private\Remove-AzProviderHubSkuNestedResourceTypeThird_DeleteViaIdentityProviderRegistration'; DeleteViaIdentityResourcetypeRegistration = 'Az.ProviderHub.private\Remove-AzProviderHubSkuNestedResourceTypeThird_DeleteViaIdentityResourcetypeRegistration'; DeleteViaIdentityResourcetypeRegistration1 = 'Az.ProviderHub.private\Remove-AzProviderHubSkuNestedResourceTypeThird_DeleteViaIdentityResourcetypeRegistration1'; DeleteViaIdentityResourcetypeRegistration2 = 'Az.ProviderHub.private\Remove-AzProviderHubSkuNestedResourceTypeThird_DeleteViaIdentityResourcetypeRegistration2'; DeleteViaIdentityResourcetypeRegistration3 = 'Az.ProviderHub.private\Remove-AzProviderHubSkuNestedResourceTypeThird_DeleteViaIdentityResourcetypeRegistration3'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Deletes a resource type sku. .Description Deletes a resource type sku. .Example Remove-AzProviderHubSku -ProviderNamespace "Microsoft.Contoso" -ResourceType "testResourceType" -Sku "default" .Example Remove-AzProviderHubSku -ProviderNamespace "Microsoft.Contoso" -ResourceType "testResourceType/nestedResourceType" -Sku "default" .Inputs Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. PROVIDERREGISTRATIONINPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. RESOURCETYPEREGISTRATIONINPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. .Link https://learn.microsoft.com/powershell/module/az.providerhub/remove-azproviderhubsku #> function Remove-AzProviderHubSku { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The name of the resource provider hosted within ProviderHub. ${ProviderNamespace}, [Parameter(ParameterSetName='Delete', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityProviderRegistration', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The resource type. ${ResourceType}, [Parameter(ParameterSetName='Delete', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityProviderRegistration', Mandatory)] [Parameter(ParameterSetName='DeleteViaIdentityResourcetypeRegistration', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The SKU. ${Sku}, [Parameter(ParameterSetName='Delete')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. ${SubscriptionId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='DeleteViaIdentityProviderRegistration', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ProviderRegistrationInputObject}, [Parameter(ParameterSetName='DeleteViaIdentityResourcetypeRegistration', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ResourcetypeRegistrationInputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } $mapping = @{ Delete = 'Az.ProviderHub.private\Remove-AzProviderHubSku_Delete'; DeleteViaIdentity = 'Az.ProviderHub.private\Remove-AzProviderHubSku_DeleteViaIdentity'; DeleteViaIdentityProviderRegistration = 'Az.ProviderHub.private\Remove-AzProviderHubSku_DeleteViaIdentityProviderRegistration'; DeleteViaIdentityResourcetypeRegistration = 'Az.ProviderHub.private\Remove-AzProviderHubSku_DeleteViaIdentityResourcetypeRegistration'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Update the resource type skus in the given resource type. .Description Update the resource type skus in the given resource type. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.ISkuResource .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. PROVIDERREGISTRATIONINPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. RESOURCETYPEREGISTRATIONINPUTOBJECT <IProviderHubIdentity>: Identity Parameter [Id <String>]: Resource identity path [NestedResourceTypeFirst <String>]: The first child resource type. [NestedResourceTypeSecond <String>]: The second child resource type. [NestedResourceTypeThird <String>]: The third child resource type. [NotificationRegistrationName <String>]: The notification registration. [ProviderNamespace <String>]: The name of the resource provider hosted within ProviderHub. [ResourceType <String>]: The resource type. [RolloutName <String>]: The rollout name. [Sku <String>]: The SKU. [SubscriptionId <String>]: The ID of the target subscription. SKUSETTING <ISkuSetting[]>: . Name <String>: [Capability <List<ISkuCapability>>]: Name <String>: Value <String>: [CapacityDefault <Int32?>]: [CapacityMaximum <Int32?>]: [CapacityMinimum <Int32?>]: [CapacityScaleType <String>]: [Cost <List<ISkuCost>>]: MeterId <String>: [ExtendedUnit <String>]: [Quantity <Int32?>]: [Family <String>]: [Kind <String>]: [Location <List<String>>]: [LocationInfo <List<ISkuLocationInfo>>]: Location <String>: [ExtendedLocation <List<String>>]: [Type <String>]: [Zone <List<String>>]: [ZoneDetail <List<ISkuZoneDetail>>]: [Capability <List<ISkuCapability>>]: [Name <List<String>>]: [RequiredFeature <List<String>>]: [RequiredQuotaId <List<String>>]: [Size <String>]: [Tier <String>]: .Link https://learn.microsoft.com/powershell/module/az.providerhub/update-azproviderhubskunestedresourcetypethird #> function Update-AzProviderHubSkuNestedResourceTypeThird { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.ISkuResource])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Parameter(ParameterSetName='UpdateViaIdentityProviderRegistrationExpanded', Mandatory)] [Parameter(ParameterSetName='UpdateViaIdentityResourcetypeRegistrationExpanded3', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The first child resource type. ${NestedResourceTypeFirst}, [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Parameter(ParameterSetName='UpdateViaIdentityProviderRegistrationExpanded', Mandatory)] [Parameter(ParameterSetName='UpdateViaIdentityResourcetypeRegistrationExpanded2', Mandatory)] [Parameter(ParameterSetName='UpdateViaIdentityResourcetypeRegistrationExpanded3', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The second child resource type. ${NestedResourceTypeSecond}, [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Parameter(ParameterSetName='UpdateViaIdentityProviderRegistrationExpanded', Mandatory)] [Parameter(ParameterSetName='UpdateViaIdentityResourcetypeRegistrationExpanded1', Mandatory)] [Parameter(ParameterSetName='UpdateViaIdentityResourcetypeRegistrationExpanded2', Mandatory)] [Parameter(ParameterSetName='UpdateViaIdentityResourcetypeRegistrationExpanded3', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The third child resource type. ${NestedResourceTypeThird}, [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The name of the resource provider hosted within ProviderHub. ${ProviderNamespace}, [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Parameter(ParameterSetName='UpdateViaIdentityProviderRegistrationExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The resource type. ${ResourceType}, [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Parameter(ParameterSetName='UpdateViaIdentityProviderRegistrationExpanded', Mandatory)] [Parameter(ParameterSetName='UpdateViaIdentityResourcetypeRegistrationExpanded', Mandatory)] [Parameter(ParameterSetName='UpdateViaIdentityResourcetypeRegistrationExpanded1', Mandatory)] [Parameter(ParameterSetName='UpdateViaIdentityResourcetypeRegistrationExpanded2', Mandatory)] [Parameter(ParameterSetName='UpdateViaIdentityResourcetypeRegistrationExpanded3', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [System.String] # The SKU. ${Sku}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The ID of the target subscription. ${SubscriptionId}, [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${InputObject}, [Parameter(ParameterSetName='UpdateViaIdentityProviderRegistrationExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ProviderRegistrationInputObject}, [Parameter(ParameterSetName='UpdateViaIdentityResourcetypeRegistrationExpanded', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityResourcetypeRegistrationExpanded1', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityResourcetypeRegistrationExpanded2', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityResourcetypeRegistrationExpanded3', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.IProviderHubIdentity] # Identity Parameter ${ResourcetypeRegistrationInputObject}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.PSArgumentCompleterAttribute("NotSpecified", "Accepted", "Running", "Creating", "Created", "Deleting", "Deleted", "Canceled", "Failed", "Succeeded", "MovingResources", "TransientFailure", "RolloutInProgress")] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [System.String] # . ${ProvisioningState}, [Parameter()] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.ISkuSetting[]] # . ${SkuSetting}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Azure')] [System.Management.Automation.PSObject] # The DefaultProfile parameter is not functional. # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } $mapping = @{ UpdateExpanded = 'Az.ProviderHub.private\Update-AzProviderHubSkuNestedResourceTypeThird_UpdateExpanded'; UpdateViaIdentityExpanded = 'Az.ProviderHub.private\Update-AzProviderHubSkuNestedResourceTypeThird_UpdateViaIdentityExpanded'; UpdateViaIdentityProviderRegistrationExpanded = 'Az.ProviderHub.private\Update-AzProviderHubSkuNestedResourceTypeThird_UpdateViaIdentityProviderRegistrationExpanded'; UpdateViaIdentityResourcetypeRegistrationExpanded = 'Az.ProviderHub.private\Update-AzProviderHubSkuNestedResourceTypeThird_UpdateViaIdentityResourcetypeRegistrationExpanded'; UpdateViaIdentityResourcetypeRegistrationExpanded1 = 'Az.ProviderHub.private\Update-AzProviderHubSkuNestedResourceTypeThird_UpdateViaIdentityResourcetypeRegistrationExpanded1'; UpdateViaIdentityResourcetypeRegistrationExpanded2 = 'Az.ProviderHub.private\Update-AzProviderHubSkuNestedResourceTypeThird_UpdateViaIdentityResourcetypeRegistrationExpanded2'; UpdateViaIdentityResourcetypeRegistrationExpanded3 = 'Az.ProviderHub.private\Update-AzProviderHubSkuNestedResourceTypeThird_UpdateViaIdentityResourcetypeRegistrationExpanded3'; } if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) { if ($testPlayback) { $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') } else { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) if ($wrappedCmd -eq $null) { $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Function) } $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # SIG # Begin signature block # MIIoRgYJKoZIhvcNAQcCoIIoNzCCKDMCAQExDzANBglghkgBZQMEAgEFADB5Bgor # BgEEA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