az policy metadata

Get policy metadata resources.

Commands

az policy metadata list

List policy metadata resources.

az policy metadata show

Get a single policy metadata resource.

az policy metadata list

List policy metadata resources.

az policy metadata list [--query-examples]
                        [--subscription]
                        [--top]

Examples

Get all policy metadata resources.

az policy metadata list

Get policy metadata resources, limit the output to 5 resources.

az policy metadata list --top 5

Optional Parameters

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--subscription

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

--top

Maximum number of records to return.

az policy metadata show

Get a single policy metadata resource.

az policy metadata show --name
                        [--query-examples]
                        [--subscription]

Examples

Get the policy metadata resource with the name 'ACF1000'.

az policy metadata show --name ACF1000

Required Parameters

--name -n

The name of the metadata resource.

Optional Parameters

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--subscription

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