Share via


az palo-alto cloudngfw local-rulestack prefixlist

Note

This reference is part of the palo-alto-networks extension for the Azure CLI (version 2.51.0 or higher). The extension will automatically install the first time you run an az palo-alto cloudngfw local-rulestack prefixlist command. Learn more about extensions.

Manage local-rulestack prefixlist resource.

Commands

Name Description Type Status
az palo-alto cloudngfw local-rulestack prefixlist create

Create a PrefixListResource.

Extension GA
az palo-alto cloudngfw local-rulestack prefixlist delete

Delete a PrefixListResource.

Extension GA
az palo-alto cloudngfw local-rulestack prefixlist list

List PrefixListResource resources by LocalRulestacks.

Extension GA
az palo-alto cloudngfw local-rulestack prefixlist show

Get a PrefixListResource.

Extension GA
az palo-alto cloudngfw local-rulestack prefixlist wait

Place the CLI in a waiting state until a condition is met.

Extension GA

az palo-alto cloudngfw local-rulestack prefixlist create

Create a PrefixListResource.

az palo-alto cloudngfw local-rulestack prefixlist create --local-rulestack-name
                                                         --name
                                                         --prefix-list
                                                         --resource-group
                                                         [--audit-comment]
                                                         [--description]
                                                         [--etag]
                                                         [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]

Examples

Create a PrefixListResource

az palo-alto cloudngfw local-rulestack prefixlist create -g MyResourceGroup --local-rulestack-name MyLocalRulestacks --name MyPrefixlist --audit-comment "comment" --description "string" --prefix-list "1.0.0.0/24"

Required Parameters

--local-rulestack-name

LocalRulestack resource name.

--name -n

Local Rule priority.

--prefix-list

Prefix list Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--audit-comment

Comment for this object.

--description

Prefix description.

--etag

Etag info.

--no-wait

Do not wait for the long-running operation to finish.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--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.

az palo-alto cloudngfw local-rulestack prefixlist delete

Delete a PrefixListResource.

az palo-alto cloudngfw local-rulestack prefixlist delete [--ids]
                                                         [--local-rulestack-name]
                                                         [--name]
                                                         [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                                         [--resource-group]
                                                         [--subscription]

Examples

Delete a PrefixListResource

az palo-alto cloudngfw local-rulestack prefixlist delete -g MyResourceGroup --local-rulestack-name MyLocalRulestacks --name MyPrefixlist

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--local-rulestack-name

LocalRulestack resource name.

--name -n

Local Rule priority.

--no-wait

Do not wait for the long-running operation to finish.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--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.

az palo-alto cloudngfw local-rulestack prefixlist list

List PrefixListResource resources by LocalRulestacks.

az palo-alto cloudngfw local-rulestack prefixlist list --local-rulestack-name
                                                       --resource-group
                                                       [--max-items]
                                                       [--next-token]

Examples

List PrefixListResource resources by LocalRulestacks

az palo-alto cloudngfw local-rulestack prefixlist list -g MyResourceGroup --local-rulestack-name MyLocalRulestacks

Required Parameters

--local-rulestack-name

LocalRulestack resource name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--max-items

Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token argument of a subsequent command.

--next-token

Token to specify where to start paginating. This is the token value from a previously truncated response.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--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.

az palo-alto cloudngfw local-rulestack prefixlist show

Get a PrefixListResource.

az palo-alto cloudngfw local-rulestack prefixlist show [--ids]
                                                       [--local-rulestack-name]
                                                       [--name]
                                                       [--resource-group]
                                                       [--subscription]

Examples

Get a PrefixListResource

az palo-alto cloudngfw local-rulestack prefixlist show -g MyResourceGroup --local-rulestack-name MyLocalRulestacks --name MyPrefixlist

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--local-rulestack-name

LocalRulestack resource name.

--name -n

Local Rule priority.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--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.

az palo-alto cloudngfw local-rulestack prefixlist wait

Place the CLI in a waiting state until a condition is met.

az palo-alto cloudngfw local-rulestack prefixlist wait [--created]
                                                       [--custom]
                                                       [--deleted]
                                                       [--exists]
                                                       [--ids]
                                                       [--interval]
                                                       [--local-rulestack-name]
                                                       [--name]
                                                       [--resource-group]
                                                       [--subscription]
                                                       [--timeout]
                                                       [--updated]

Optional Parameters

--created

Wait until created with 'provisioningState' at 'Succeeded'.

Default value: False
--custom

Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].

--deleted

Wait until deleted.

Default value: False
--exists

Wait until the resource exists.

Default value: False
--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--interval

Polling interval in seconds.

Default value: 30
--local-rulestack-name

LocalRulestack resource name.

--name -n

Local Rule priority.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

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

--timeout

Maximum wait in seconds.

Default value: 3600
--updated

Wait until updated with provisioningState at 'Succeeded'.

Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--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.