az dnc orchestrator-instance-service
注释
此参考是 Azure CLI 的 dnc 扩展(版本 2.51.0 或更高版本)的一部分。 该扩展将在首次运行 az dnc orchestrator-instance-service 命令时自动安装。 了解更多关于扩展 的相关信息。
命令组“az dnc”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
使用 dnc 管理业务流程协调程序实例服务。
命令
名称 | 说明 | 类型 | Status |
---|---|---|---|
az dnc orchestrator-instance-service create |
创建业务流程协调程序实例。 |
扩展 | 预览 |
az dnc orchestrator-instance-service delete |
删除 Orchestrator 实例。 |
扩展 | 预览 |
az dnc orchestrator-instance-service show |
获取有关业务流程协调程序实例的详细信息。 |
扩展 | 预览 |
az dnc orchestrator-instance-service wait |
将 CLI 置于等待状态,直到满足条件。 |
扩展 | 预览 |
az dnc orchestrator-instance-service create
命令组“az dnc orchestrator-instance-service”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
创建业务流程协调程序实例。
az dnc orchestrator-instance-service create --name --resource-name
--resource-group
[--api-server-endpoint]
[--cluster-root-ca]
[--id]
[--kind {Kubernetes}]
[--___location]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--orchestrator-app-id]
[--orchestrator-tenant-id]
[--priv-link-resource-id]
[--tags]
[--type {None, SystemAssigned}]
示例
创建业务流程协调程序实例
az dnc orchestrator-instance-service create --type "SystemAssigned" --___location "West US" --kind "Kubernetes" --api-server-endpoint "https://testk8s.cloudapp.net" --cluster-root-ca "ddsadsad344mfdsfdl" --id "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.DelegatedNetwork/controller/testcontroller" --orchestrator-app-id "546192d7-503f-477a-9cfe-4efc3ee2b6e1" --orchestrator-tenant-id "da6192d7-503f-477a-9cfe-4efc3ee2b6c3" --priv-link-resource-id "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.Network/privateLinkServices/plresource1" --resource-group "TestRG" --resource-name "testk8s1"
必需参数
资源的名称。 它必须至少为 3 个字符,最多为 63 个字符。
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
可选参数
K8s APIServer URL。 可以指定 apiServerEndpoint 或 privateLinkResourceId 之一。
已编码 kubernetes 群集 base64 的 RootCA 证书。
控制器 arm 资源 ID。
工作簿的类型。 选项为用户和共享。
资源的位置。
不等待长时间运行的操作完成。
用于 apiserver 的 AAD ID。
服务器应用 ID 的 TenantID。
专用链接 arm 资源 ID。可以指定 apiServerEndpoint 或 privateLinkResourceId 之一。
资源标记。 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。
用于业务流程协调程序群集的标识类型。 类型“SystemAssigned”将使用隐式创建的标识业务流程协调程序群集。
全局参数
提高日志记录详细程度以显示所有调试日志。
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
输出格式。
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
az dnc orchestrator-instance-service delete
命令组“az dnc orchestrator-instance-service”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
删除 Orchestrator 实例。
az dnc orchestrator-instance-service delete [--force-delete {0, 1, f, false, n, no, t, true, y, yes}]
[--ids]
[--name --resource-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--subscription]
[--yes]
示例
删除业务流程协调程序实例
az dnc orchestrator-instance-service delete --resource-group "TestRG" --resource-name "testk8s1"
可选参数
强制删除资源。
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
资源的名称。 它必须至少为 3 个字符,最多为 63 个字符。
不等待长时间运行的操作完成。
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
不要提示确认。
全局参数
提高日志记录详细程度以显示所有调试日志。
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
输出格式。
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
az dnc orchestrator-instance-service show
命令组“az dnc orchestrator-instance-service”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
获取有关业务流程协调程序实例的详细信息。
az dnc orchestrator-instance-service show [--ids]
[--name --resource-name]
[--resource-group]
[--subscription]
示例
获取业务流程协调程序实例的详细信息
az dnc orchestrator-instance-service show --resource-group "TestRG" --resource-name "testk8s1"
可选参数
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
资源的名称。 它必须至少为 3 个字符,最多为 63 个字符。
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
全局参数
提高日志记录详细程度以显示所有调试日志。
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
输出格式。
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
az dnc orchestrator-instance-service wait
命令组“az dnc orchestrator-instance-service”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
将 CLI 置于等待状态,直到满足条件。
az dnc orchestrator-instance-service wait [--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--name --resource-name]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
可选参数
等待在“Succeeded”中使用“provisioningState”创建。
等待条件满足自定义 JMESPath 查询。 例如 provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running']。
等到删除为止。
等待资源存在。
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
轮询间隔(以秒为单位)。
资源的名称。 它必须至少为 3 个字符,最多为 63 个字符。
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
最大等待(以秒为单位)。
等到 provisioningState 更新为“Succeeded”。
全局参数
提高日志记录详细程度以显示所有调试日志。
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
输出格式。
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。