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"

必需参数

--name --resource-name -n

资源的名称。 它必须至少为 3 个字符,最多为 63 个字符。

--resource-group -g

资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。

可选参数

--api-server-endpoint

K8s APIServer URL。 可以指定 apiServerEndpoint 或 privateLinkResourceId 之一。

--cluster-root-ca

已编码 kubernetes 群集 base64 的 RootCA 证书。

--id

控制器 arm 资源 ID。

--kind

工作簿的类型。 选项为用户和共享。

接受的值: Kubernetes
默认值: Kubernetes
--___location -l

资源的位置。

--no-wait

不等待长时间运行的操作完成。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--orchestrator-app-id

用于 apiserver 的 AAD ID。

--orchestrator-tenant-id

服务器应用 ID 的 TenantID。

--priv-link-resource-id

专用链接 arm 资源 ID。可以指定 apiServerEndpoint 或 privateLinkResourceId 之一。

--tags

资源标记。 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

--type

用于业务流程协调程序群集的标识类型。 类型“SystemAssigned”将使用隐式创建的标识业务流程协调程序群集。

接受的值: None, SystemAssigned
全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

增加日志记录详细程度。 使用 --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"

可选参数

--force-delete

强制删除资源。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--ids

一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。

--name --resource-name -n

资源的名称。 它必须至少为 3 个字符,最多为 63 个字符。

--no-wait

不等待长时间运行的操作完成。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--resource-group -g

资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--yes -y

不要提示确认。

默认值: False
全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

增加日志记录详细程度。 使用 --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"

可选参数

--ids

一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。

--name --resource-name -n

资源的名称。 它必须至少为 3 个字符,最多为 63 个字符。

--resource-group -g

资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

增加日志记录详细程度。 使用 --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]

可选参数

--created

等待在“Succeeded”中使用“provisioningState”创建。

默认值: False
--custom

等待条件满足自定义 JMESPath 查询。 例如 provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running']。

--deleted

等到删除为止。

默认值: False
--exists

等待资源存在。

默认值: False
--ids

一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。

--interval

轮询间隔(以秒为单位)。

默认值: 30
--name --resource-name -n

资源的名称。 它必须至少为 3 个字符,最多为 63 个字符。

--resource-group -g

资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--timeout

最大等待(以秒为单位)。

默认值: 3600
--updated

等到 provisioningState 更新为“Succeeded”。

默认值: False
全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

增加日志记录详细程度。 使用 --debug 获取完整的调试日志。