Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Register-AzProviderFeature

Registers an Azure provider feature in your current subscription context.

Syntax

Default (Default)

Register-AzProviderFeature
 -FeatureName <String>
 -ProviderNamespace <String>
 [-DefaultProfile <IAzureContextContainer>]
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

Description

The Register-AzProviderFeature cmdlet registers an Azure provider feature in your current subscription context.

Examples

Example 1: Register a feature

Register-AzProviderFeature -FeatureName AllowApplicationSecurityGroups -ProviderNamespace Microsoft.Network

This adds the AllowApplicationSecurityGroups feature for Microsoft.Network to your current subscription context.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure

Parameter properties

Type:IAzureContextContainer
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzContext, AzureRmContext, AzureCredential

Parameter sets

-FeatureName

Specifies the name of the feature that this cmdlet registers.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-ProviderNamespace

Specifies a namespace for which this cmdlet registers a provider feature.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

String

Outputs

PSProviderFeature

Related Links


Feedback

Was this page helpful?