Κοινή χρήση μέσω


az batch account network-profile network-rule

Manage Batch account Network rules in Network Profile.

Commands

Name Description Type Status
az batch account network-profile network-rule add

Add a Network rule from a Network Profile.

Core GA
az batch account network-profile network-rule delete

Delete a Network rule from a Network Profile.

Core GA
az batch account network-profile network-rule list

List the Network rules from a Network Profile.

Core GA

az batch account network-profile network-rule add

Add a Network rule from a Network Profile.

az batch account network-profile network-rule add --resource-group
                                                  [--ip-address]
                                                  [--name]
                                                  [--profile {BatchAccount, NodeManagement}]

Examples

Add ip address to BatchAccount network rule

az batch account network-profile network-rule add -g MyResourceGroup -n MyBatchAccount --profile BatchAccount --ip-address 1.2.3.4

Required Parameters

--resource-group -g

Name of the resource group. If not specified will display currently set account.

Optional Parameters

--ip-address

IPv4 address or CIDR range.

--name -n

Name of the batch account to show. If not specified will display currently set account.

--profile

Network profile to set.

Accepted values: BatchAccount, NodeManagement
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 batch account network-profile network-rule delete

Delete a Network rule from a Network Profile.

az batch account network-profile network-rule delete --resource-group
                                                     [--ip-address]
                                                     [--name]
                                                     [--profile {BatchAccount, NodeManagement}]
                                                     [--yes]

Examples

Delete ip address from BatchAccount network rule

az batch account network-profile network-rule delete -g MyResourceGroup -n MyBatchAccount --profile BatchAccount --ip-address 1.2.3.4

Required Parameters

--resource-group -g

Name of the resource group. If not specified will display currently set account.

Optional Parameters

--ip-address

IPv4 address or CIDR range.

--name -n

Name of the batch account to show. If not specified will display currently set account.

--profile

Network profile to set.

Accepted values: BatchAccount, NodeManagement
--yes -y

Do not prompt for confirmation.

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.

az batch account network-profile network-rule list

List the Network rules from a Network Profile.

az batch account network-profile network-rule list --resource-group
                                                   [--name]

Examples

List the Batch Accounts network profile

az batch account network-profile network-rule list -g MyResourceGroup -n MyBatchAccount

Required Parameters

--resource-group -g

Name of the resource group. If not specified will display currently set account.

Optional Parameters

--name -n

Name of the batch account to show. If not specified will display currently set account.

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.