az batch account
管理 Azure Batch 帐户。
命令
名称 | 说明 | 类型 | Status |
---|---|---|---|
az batch account autostorage-keys |
管理为 Batch 帐户配置的自动存储帐户的访问密钥。 |
Core | GA |
az batch account autostorage-keys sync |
仅当使用存储密钥身份验证时,才会同步为指定的 Batch 帐户配置的自动存储帐户的访问密钥。 |
Core | GA |
az batch account create |
使用指定的参数创建 Batch 帐户。 |
Core | GA |
az batch account delete |
删除指定的 Batch 帐户。 |
Core | GA |
az batch account identity |
管理批处理帐户的标识。 |
Core | GA |
az batch account identity assign |
将托管标识添加到现有批处理帐户。 |
Core | GA |
az batch account identity remove |
从现有批处理帐户中删除托管标识。 |
Core | GA |
az batch account identity show |
显示批处理帐户的托管标识。 |
Core | GA |
az batch account keys |
管理 Batch 帐户密钥。 |
Core | GA |
az batch account keys list |
获取指定 Batch 帐户的帐户密钥。 此操作仅适用于包含“SharedKey”的 allowedAuthenticationModes 的 Batch 帐户。 如果 Batch 帐户在其 allowedAuthenticationMode 中不包含“SharedKey”,则客户端无法使用共享密钥进行身份验证,并且必须改用另一个 allowedAuthenticationModes。 在这种情况下,获取密钥将失败。 |
Core | GA |
az batch account keys renew |
续订 Batch 帐户的密钥。 |
Core | GA |
az batch account list |
列出与订阅或资源组关联的 Batch 帐户。 |
Core | GA |
az batch account login |
通过 Azure Active Directory 或共享密钥身份验证登录到 Batch 帐户。 |
Core | GA |
az batch account network-profile |
管理 Batch 帐户网络配置文件。 |
Core | GA |
az batch account network-profile network-rule |
在网络配置文件中管理 Batch 帐户网络规则。 |
Core | GA |
az batch account network-profile network-rule add |
从网络配置文件添加网络规则。 |
Core | GA |
az batch account network-profile network-rule delete |
从网络配置文件中删除网络规则。 |
Core | GA |
az batch account network-profile network-rule list |
列出网络配置文件中的网络规则。 |
Core | GA |
az batch account network-profile set |
设置 Batch 帐户的网络配置文件。 |
Core | GA |
az batch account network-profile show |
获取有关 Batch 帐户的网络配置文件的信息。 |
Core | GA |
az batch account outbound-endpoints |
列出帐户的出站网络依赖项。 |
Core | GA |
az batch account set |
更新 Batch 帐户的属性。 |
Core | GA |
az batch account show |
获取指定的 Batch 帐户或当前设置的帐户。 |
Core | GA |
az batch account create
使用指定的参数创建 Batch 帐户。
az batch account create --location
--name
--resource-group
[--encryption-key-identifier]
[--encryption-key-source {Microsoft.Batch, Microsoft.KeyVault}]
[--keyvault]
[--mi-system-assigned]
[--mi-user-assigned]
[--no-wait]
[--public-network-access {Disabled, Enabled}]
[--storage-account]
[--tags]
示例
使用指定的参数创建 Batch 帐户。
az batch account create --name MyBatchAccount --resource-group MyResourceGroup --location eastus
必需参数
在其中创建帐户的区域。
Batch 帐户的名称。
资源组的名称。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Batch 帐户的加密配置的一部分。 版本控制机密的完整路径。 示例 https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053
。
Batch 帐户的加密配置的一部分。 密钥源的类型。 可以是 Microsoft.Batch 或 Microsoft.KeyVault。
属性 | 值 |
---|---|
接受的值: | Microsoft.Batch, Microsoft.KeyVault |
要用于池分配模式为“用户订阅”的帐户的 KeyVault 名称或资源 ID。
在批处理服务帐户上设置系统托管标识。
属性 | 值 |
---|---|
Parameter group: | Identity Arguments |
批处理服务帐户的用户分配标识的资源 ID。
属性 | 值 |
---|---|
Parameter group: | Identity Arguments |
不等待长时间运行的操作完成。
属性 | 值 |
---|---|
默认值: | False |
用于访问 Azure Batch 帐户的网络访问类型。 可以启用或禁用值。
属性 | 值 |
---|---|
接受的值: | Disabled, Enabled |
要用于自动存储的存储帐户名称或资源 ID。
采用“key[=value]”格式的空间分隔标记。
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |
az batch account delete
删除指定的 Batch 帐户。
az batch account delete --name
--resource-group
[--no-wait]
[--yes]
必需参数
Batch 帐户的名称。
资源组的名称。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
不等待长时间运行的操作完成。
属性 | 值 |
---|---|
默认值: | False |
不要提示确认。
属性 | 值 |
---|---|
默认值: | False |
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |
az batch account list
列出与订阅或资源组关联的 Batch 帐户。
az batch account list [--resource-group]
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
资源组的名称。
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |
az batch account login
通过 Azure Active Directory 或共享密钥身份验证登录到 Batch 帐户。
az batch account login --name
--resource-group
[--shared-key-auth]
[--show]
必需参数
Batch 帐户的名称。
资源组的名称。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
如果未指定,则使用共享密钥身份验证,它将使用 Azure Active Directory 身份验证。
属性 | 值 |
---|---|
默认值: | False |
显示 Batch 帐户的凭据信息。
属性 | 值 |
---|---|
默认值: | False |
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |
az batch account outbound-endpoints
列出帐户的出站网络依赖项。
列出此 Batch 帐户下 Batch 计算节点可以调用的终结点,作为 Batch 服务管理的一部分。 如果要在指定的虚拟网络内部署池,必须确保网络允许对这些终结点进行出站访问。 未能允许访问这些终结点可能会导致 Batch 将受影响的节点标记为不可用。 For more information about creating a pool inside of a virtual network, see https://learn.microsoft.com/azure/batch/batch-virtual-network.".
az batch account outbound-endpoints --name
--resource-group
必需参数
Batch 帐户的名称。
资源组的名称。
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |
az batch account set
更新 Batch 帐户的属性。
az batch account set --name
--resource-group
[--encryption-key-identifier]
[--encryption-key-source]
[--public-network-access {Disabled, Enabled}]
[--storage-account]
[--tags]
示例
更新 Batch 帐户的属性。 (autogenerated)
az batch account set --name MyBatchAccount --resource-group MyResourceGroup
必需参数
Batch 帐户的名称。
资源组的名称。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Batch 帐户的加密配置的一部分。 版本控制机密的完整路径。 示例 https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053
。
Batch 帐户的加密配置的一部分。 密钥源的类型。 可以是 Microsoft.Batch 或 Microsoft.KeyVault。
用于访问 Azure Batch 帐户的网络访问类型。 可以启用或禁用值。
属性 | 值 |
---|---|
接受的值: | Disabled, Enabled |
要用于自动存储的存储帐户名称或资源 ID。
空格分隔标记:key[=value] [key[=value] ...]。使用“”清除现有标记。
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |
az batch account show
获取指定的 Batch 帐户或当前设置的帐户。
az batch account show [--name]
[--resource-group]
示例
获取指定的 Batch 帐户或当前设置的帐户。 (autogenerated)
az batch account show --name MyBatchAccount --resource-group MyResourceGroup
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
要显示的批处理帐户的名称。 如果未指定,将显示当前设置的帐户。
资源组的名称。 如果未指定,将显示当前设置的帐户。
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |