az keyvault backup
管理完整的 HSM 备份。
命令
| 名称 | 说明 | 类型 | Status |
|---|---|---|---|
| az keyvault backup start |
开始 HSM 的完整备份。 |
Core | GA |
az keyvault backup start
开始 HSM 的完整备份。
az keyvault backup start [--blob-container-name]
[--hsm-name]
[--id]
[--storage-account-name]
[--storage-container-SAS-token]
[--storage-resource-uri]
[--use-managed-identity {false, true}]
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Blob 容器的名称。
| 属性 | 值 |
|---|---|
| Parameter group: | Storage Id Arguments |
HSM 的名称。 如果指定了 --id,则可以省略。
| 属性 | 值 |
|---|---|
| Parameter group: | HSM Id Arguments |
HSM 的完整 URI。
| 属性 | 值 |
|---|---|
| Parameter group: | HSM Id Arguments |
Azure 存储帐户的名称。
| 属性 | 值 |
|---|---|
| Parameter group: | Storage Id Arguments |
指向 Azure Blob 存储容器的 SAS 令牌。
Azure Blob 存储容器 URI。 如果指定了所有其他“存储 ID”参数,则应省略。
| 属性 | 值 |
|---|---|
| Parameter group: | Storage Id Arguments |
如果为 True,托管 HSM 将使用已配置的用户分配的托管标识通过 Azure 存储进行身份验证。 否则,必须指定 sas_token。
| 属性 | 值 |
|---|---|
| 接受的值: | false, true |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |