Share via


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

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

--default-action

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

Property Value
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.

Property Value
Accepted values: BatchAccount, NodeManagement
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 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

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

--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.

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