Get-AzureProviderFeature
Get-AzureProviderFeature
Returns information for Azure provider features.
Syntax
Parameter Set: GetFeature
Get-AzureProviderFeature -FeatureName <String> -ProviderNamespace <String> [-Profile <AzureProfile> ] [ <CommonParameters>]
Parameter Set: ListAvailableParameterSet
Get-AzureProviderFeature [-ListAvailable] [-Profile <AzureProfile> ] [-ProviderNamespace <String> ] [ <CommonParameters>]
Detailed Description
The Get-AzureProviderFeature cmdlet returns feature name, provider name, and registration status for Azure provider features.
Parameters
-FeatureName<String>
Specifies the name of the feature for which this cmdlet returns information.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-ListAvailable
Indicates that this cmdlet returns information about all features.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Profile<AzureProfile>
Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-ProviderNamespace<String>
Specifies a namespace for which this cmdlet returns provider features.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
true(ByPropertyName) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
Example 1: Get information for all available features
This command returns all available features.
Get-AzureProviderFeature –ListAvailable
Example 2: Get information for a specific feature
This command returns information for the feature named AllowPreReleaseRegions for the specified provider.
Get-AzureProviderFeature -FeatureName "AllowPreReleaseRegions" -ProviderNamespace "Microsoft.Compute"