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


az batch account network-profile

Manage Batch account Network profiles.

Commands

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

Manage Batch account Network rules in Network Profile.

Core GA
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 set

Set the Network profile for Batch account.

Core GA
az batch account network-profile show

Get information about the Network profile for Batch account.

Core GA

az batch account network-profile set

Set the Network profile for Batch account.

az batch account network-profile set --resource-group
                                     [--default-action {Allow, Deny}]
                                     [--name]
                                     [--profile {BatchAccount, NodeManagement}]

Examples

Set the BatchAccount network-profile to the Allow

az batch account network-profile set -g MyResourceGroup -n MyBatchAccount --profile BatchAccount --default-action Allow

Required Parameters

--resource-group -g

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

Optional Parameters

--default-action

Default action for endpoint access. It is only applicable when publicNetworkAccess is enabled. Possible values include: 'Allow', 'Deny'.

Accepted values: Allow, Deny
--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 show

Get information about the Network profile for Batch account.

az batch account network-profile show --resource-group
                                      [--name]

Examples

Show the network-profile for both BatchAccount and NodeManagement

az batch account network-profile show -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.