az arc-multicloud
Note
此参考是 Azure CLI 的多云连接器 扩展的一部分(版本 2.61.0 或更高版本)。 该扩展将在首次运行 az arc-multicloud 命令时自动安装。 了解更多关于扩展的信息。
arc-multicloud 的命令。
有关更多详细信息,请访问 https://free.blessedness.top/en-us/cli/azure/arc-multicloud?view=azure-cli-latest。
命令
az arc-multicloud generate-aws-template
检索 AWS 云形成模板。
az arc-multicloud generate-aws-template --connector-id
[--no-wait]
[--output-directory]
示例
GenerateAwsTemplate_Post
az arc-multicloud generate-aws-template --connector-id /subscriptions/{}/resourceGroups/{}/providers/Microsoft.HybridConnectivity/publicCloudConnectors/{} --output-directory example_folder/templates
必需参数
公有云连接器的完全限定的 Azure 资源管理器标识符。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 默认值: | False |
将写入输出 AWS 模板 JSON 文件的目录。 默认为“./AzureArcMulticloudFolder/”。
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |