Get-AzCustomProvider
Gets the custom resource provider manifest.
Syntax
Get-AzCustomProvider
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzCustomProvider
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzCustomProvider
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzCustomProvider
-InputObject <ICustomProvidersIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Gets the custom resource provider manifest.
Examples
Example 1: List all Custom Providers in a subscription
Get-AzCustomProvider
Location Name Type
-------- ---- ----
West US 2 Namespace.Type Microsoft.CustomProviders/resourceproviders
East US 2 Namespace2.Type Microsoft.CustomProviders/resourceproviders
Lists all the custom providers in a subscription
Example 2: Get a single custom provider
Get-AzCustomProvider -ResourceGroupName myRg -Name Namespace.Type | Format-List
Action :
Id : /subscriptions/xxxxx-yyyyy-xxxx-yyyy/resourceGroups/mc-cp01/providers/Microsoft.CustomProviders/resourceproviders/Namespace.Type
Location : West US 2
Name : Namespace.Type
ProvisioningState : Succeeded
ResourceType : {CustomRoute1, associations}
Tag : Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.Api20180901Preview.ResourceTags
Type : Microsoft.CustomProviders/resourceproviders
Validation :
Gets details for a single custom provider. Use Format-List to show object details on the screen.
Parameters
-DefaultProfile
The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Type: | ICustomProvidersIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
The name of the resource provider.
Type: | String |
Aliases: | ResourceProviderName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
The name of the resource group.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
Type: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Outputs
Azure PowerShell