Share via


az feature

Manage resource provider features.

Commands

Name Description Type Status
az feature list

List preview features.

Core GA
az feature register

Register a preview feature.

Core GA
az feature registration

Manage resource provider feature registrations.

Core GA
az feature registration create

Create a feature registration.

Core GA
az feature registration delete

Delete a feature registration.

Core GA
az feature registration list

List feature registrations.

Core GA
az feature registration show

Returns a feature registration.

Core GA
az feature show

Gets the preview feature with the specified name.

Core GA
az feature unregister

Unregister a preview feature.

Core GA

az feature list

List preview features.

az feature list [--namespace]

Examples

List preview features

az feature list

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--namespace

The resource namespace, aka 'provider'.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az feature register

Register a preview feature.

az feature register --name
                    --namespace

Examples

register the "Shared Image Gallery" feature

az feature register --namespace Microsoft.Compute --name GalleryPreview

Required Parameters

--name -n

The feature name.

--namespace

The resource namespace, aka 'provider'.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az feature show

Gets the preview feature with the specified name.

az feature show --name
                --namespace

Required Parameters

--name -n

The feature name.

--namespace

The resource namespace, aka 'provider'.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az feature unregister

Unregister a preview feature.

az feature unregister --name
                      --namespace

Examples

unregister the "Shared Image Gallery" feature

az feature unregister --namespace Microsoft.Compute --name GalleryPreview

Required Parameters

--name -n

The feature name.

--namespace

The resource namespace, aka 'provider'.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False