|
| 1 | +--- |
| 2 | +external help file: |
| 3 | +Module Name: Az.CustomProviders |
| 4 | +online version: https://docs.microsoft.com/en-us/powershell/module/az.customproviders/get-azcustomprovider |
| 5 | +schema: 2.0.0 |
| 6 | +--- |
| 7 | + |
| 8 | +# Get-AzCustomProvider |
| 9 | + |
| 10 | +## SYNOPSIS |
| 11 | +Gets the custom resource provider manifest. |
| 12 | + |
| 13 | +## SYNTAX |
| 14 | + |
| 15 | +### List1 (Default) |
| 16 | +``` |
| 17 | +Get-AzCustomProvider [-SubscriptionId <String[]>] [-DefaultProfile <PSObject>] [<CommonParameters>] |
| 18 | +``` |
| 19 | + |
| 20 | +### Get |
| 21 | +``` |
| 22 | +Get-AzCustomProvider -Name <String> -ResourceGroupName <String> [-SubscriptionId <String[]>] |
| 23 | + [-DefaultProfile <PSObject>] [<CommonParameters>] |
| 24 | +``` |
| 25 | + |
| 26 | +### GetViaIdentity |
| 27 | +``` |
| 28 | +Get-AzCustomProvider -InputObject <ICustomProvidersIdentity> [-DefaultProfile <PSObject>] [<CommonParameters>] |
| 29 | +``` |
| 30 | + |
| 31 | +### List |
| 32 | +``` |
| 33 | +Get-AzCustomProvider -ResourceGroupName <String> [-SubscriptionId <String[]>] [-DefaultProfile <PSObject>] |
| 34 | + [<CommonParameters>] |
| 35 | +``` |
| 36 | + |
| 37 | +## DESCRIPTION |
| 38 | +Gets the custom resource provider manifest. |
| 39 | + |
| 40 | +## EXAMPLES |
| 41 | + |
| 42 | +### Example 1: List all Custom Providers in a subscription |
| 43 | +```powershell |
| 44 | +PS C:\> Get-AzCustomProvider |
| 45 | +
|
| 46 | +Location Name Type |
| 47 | +-------- ---- ---- |
| 48 | +West US 2 Namespace.Type Microsoft.CustomProviders/resourceproviders |
| 49 | +East US 2 Namespace2.Type Microsoft.CustomProviders/resourceproviders |
| 50 | +``` |
| 51 | + |
| 52 | +Lists all the custom providers in a subscription |
| 53 | + |
| 54 | +### Example 2: Get a single custom provider |
| 55 | +```powershell |
| 56 | +PS C:\> Get-AzCustomProvider -ResourceGroupName myRg -Name Namespace.Type | Format-List |
| 57 | +
|
| 58 | +Action : |
| 59 | +Id : /subscriptions/xxxxx-yyyyy-xxxx-yyyy/resourceGroups/mc-cp01/providers/Microsoft.CustomProviders/resourceproviders/Namespace.Type |
| 60 | +Location : West US 2 |
| 61 | +Name : Namespace.Type |
| 62 | +ProvisioningState : Succeeded |
| 63 | +ResourceType : {CustomRoute1, associations} |
| 64 | +Tag : Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.Api20180901Preview.ResourceTags |
| 65 | +Type : Microsoft.CustomProviders/resourceproviders |
| 66 | +Validation : |
| 67 | +
|
| 68 | +``` |
| 69 | + |
| 70 | +Gets details for a single custom provider. |
| 71 | +Use Format-List to show object details on the screen. |
| 72 | + |
| 73 | +## PARAMETERS |
| 74 | + |
| 75 | +### -DefaultProfile |
| 76 | +The credentials, account, tenant, and subscription used for communication with Azure. |
| 77 | + |
| 78 | +```yaml |
| 79 | +Type: System.Management.Automation.PSObject |
| 80 | +Parameter Sets: (All) |
| 81 | +Aliases: AzureRMContext, AzureCredential |
| 82 | + |
| 83 | +Required: False |
| 84 | +Position: Named |
| 85 | +Default value: None |
| 86 | +Accept pipeline input: False |
| 87 | +Accept wildcard characters: False |
| 88 | +``` |
| 89 | +
|
| 90 | +### -InputObject |
| 91 | +Identity Parameter |
| 92 | +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. |
| 93 | +
|
| 94 | +```yaml |
| 95 | +Type: Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.ICustomProvidersIdentity |
| 96 | +Parameter Sets: GetViaIdentity |
| 97 | +Aliases: |
| 98 | + |
| 99 | +Required: True |
| 100 | +Position: Named |
| 101 | +Default value: None |
| 102 | +Accept pipeline input: True (ByValue) |
| 103 | +Accept wildcard characters: False |
| 104 | +``` |
| 105 | +
|
| 106 | +### -Name |
| 107 | +The name of the resource provider. |
| 108 | +
|
| 109 | +```yaml |
| 110 | +Type: System.String |
| 111 | +Parameter Sets: Get |
| 112 | +Aliases: ResourceProviderName |
| 113 | + |
| 114 | +Required: True |
| 115 | +Position: Named |
| 116 | +Default value: None |
| 117 | +Accept pipeline input: False |
| 118 | +Accept wildcard characters: False |
| 119 | +``` |
| 120 | +
|
| 121 | +### -ResourceGroupName |
| 122 | +The name of the resource group. |
| 123 | +
|
| 124 | +```yaml |
| 125 | +Type: System.String |
| 126 | +Parameter Sets: Get, List |
| 127 | +Aliases: |
| 128 | + |
| 129 | +Required: True |
| 130 | +Position: Named |
| 131 | +Default value: None |
| 132 | +Accept pipeline input: False |
| 133 | +Accept wildcard characters: False |
| 134 | +``` |
| 135 | +
|
| 136 | +### -SubscriptionId |
| 137 | +The Azure subscription ID. |
| 138 | +This is a GUID-formatted string (e.g. |
| 139 | +00000000-0000-0000-0000-000000000000) |
| 140 | +
|
| 141 | +```yaml |
| 142 | +Type: System.String[] |
| 143 | +Parameter Sets: Get, List, List1 |
| 144 | +Aliases: |
| 145 | + |
| 146 | +Required: False |
| 147 | +Position: Named |
| 148 | +Default value: (Get-AzContext).Subscription.Id |
| 149 | +Accept pipeline input: False |
| 150 | +Accept wildcard characters: False |
| 151 | +``` |
| 152 | +
|
| 153 | +### CommonParameters |
| 154 | +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). |
| 155 | +
|
| 156 | +## INPUTS |
| 157 | +
|
| 158 | +### Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.ICustomProvidersIdentity |
| 159 | +
|
| 160 | +## OUTPUTS |
| 161 | +
|
| 162 | +### Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.Api20180901Preview.ICustomRpManifest |
| 163 | +
|
| 164 | +## NOTES |
| 165 | +
|
| 166 | +ALIASES |
| 167 | +
|
| 168 | +COMPLEX PARAMETER PROPERTIES |
| 169 | +
|
| 170 | +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. |
| 171 | +
|
| 172 | +
|
| 173 | +INPUTOBJECT <ICustomProvidersIdentity>: Identity Parameter |
| 174 | + - `[AssociationName <String>]`: The name of the association. |
| 175 | + - `[Id <String>]`: Resource identity path |
| 176 | + - `[ResourceGroupName <String>]`: The name of the resource group. |
| 177 | + - `[ResourceProviderName <String>]`: The name of the resource provider. |
| 178 | + - `[Scope <String>]`: The scope of the association. |
| 179 | + - `[SubscriptionId <String>]`: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000) |
| 180 | + |
| 181 | +## RELATED LINKS |
| 182 | + |
0 commit comments