你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

az healthcareapis private-endpoint-connection

注意

此参考是 Azure CLI(版本 2.15.0 或更高版本)的医疗保健apis 扩展的一部分。 该扩展将在首次运行 az healthcareapis private-endpoint-connection 命令时自动安装。 详细了解扩展。

Healthcareapis private-endpoint-connection。

命令

名称 说明 类型 状态
az healthcareapis private-endpoint-connection create

更新与服务关联的指定专用终结点连接的状态。

扩展 GA
az healthcareapis private-endpoint-connection delete

删除专用终结点连接。

分机 GA
az healthcareapis private-endpoint-connection list

列出服务的所有专用终结点连接。

扩展 GA
az healthcareapis private-endpoint-connection show

获取与服务关联的指定专用终结点连接。

扩展 GA
az healthcareapis private-endpoint-connection update

更新与服务关联的指定专用终结点连接的状态。

扩展 GA
az healthcareapis private-endpoint-connection wait

将 CLI 置于等待状态,直到满足 healthcareapis 专用终结点连接的条件。

分机 GA

az healthcareapis private-endpoint-connection create

更新与服务关联的指定专用终结点连接的状态。

az healthcareapis private-endpoint-connection create --name
                                                     --resource-group
                                                     --resource-name
                                                     [--no-wait]
                                                     [--private-link-service-connection-state]
                                                     [--private-link-service-connection-state-actions-required]
                                                     [--private-link-service-connection-state-description]
                                                     [--private-link-service-connection-state-status {Approved, Pending, Rejected}]

示例

PrivateEndpoint连接ion_CreateOrUpdate

az healthcareapis private-endpoint-connection create --name "myConnection" --private-link-service-connection-state description="Auto-Approved" status="Approved" --resource-group "rgname" --resource-name "service1"

必需参数

--name --private-endpoint-connection-name -n

与 Azure 资源关联的专用终结点连接的名称。

--resource-group -g

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

--resource-name

服务实例的名称。

可选参数

--no-wait

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

默认值: False
--private-link-service-connection-state -s

有关服务使用者与提供程序之间的连接状态的信息集合。

用法:--private-link-service-connection-state status=XX description=XX actions-required=XX

状态:指示连接是否已被服务的所有者批准/拒绝/删除。 说明:批准/拒绝连接的原因。 action-required:一条消息,指示服务提供商上的更改是否需要对使用者进行任何更新。

--private-link-service-connection-state-actions-required
已放弃

参数“private_link_service_connection_state_actions_required”已弃用,将在将来的版本中删除。 请改用“--private-link-service-connection-state”。

一条消息,指示服务提供商上的更改是否需要对使用者进行任何更新。

--private-link-service-connection-state-description
已放弃

参数“private_link_service_connection_state_description”已弃用,将在将来的版本中删除。 请改用“--private-link-service-connection-state”。

批准/拒绝连接的原因。

--private-link-service-connection-state-status
已放弃

参数“private_link_service_connection_state_status”已弃用,将在将来的版本中删除。 请改用“--private-link-service-connection-state”。

指示连接是否已被服务的所有者批准/拒绝/删除。

接受的值: Approved, Pending, Rejected
全局参数
--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 healthcareapis private-endpoint-connection delete

删除专用终结点连接。

az healthcareapis private-endpoint-connection delete [--ids]
                                                     [--name]
                                                     [--no-wait]
                                                     [--resource-group]
                                                     [--resource-name]
                                                     [--subscription]
                                                     [--yes]

示例

PrivateEndpoint连接ions_Delete

az healthcareapis private-endpoint-connection delete --name "myConnection" --resource-group "rgname" --resource-name "service1"

可选参数

--ids

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

--name --private-endpoint-connection-name -n

与 Azure 资源关联的专用终结点连接的名称。

--no-wait

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

默认值: False
--resource-group -g

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

--resource-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 healthcareapis private-endpoint-connection list

列出服务的所有专用终结点连接。

az healthcareapis private-endpoint-connection list --resource-group
                                                   --resource-name

示例

PrivateEndpoint连接ion_List

az healthcareapis private-endpoint-connection list --resource-group "rgname" --resource-name "service1"

必需参数

--resource-group -g

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

--resource-name

服务实例的名称。

全局参数
--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 healthcareapis private-endpoint-connection show

获取与服务关联的指定专用终结点连接。

az healthcareapis private-endpoint-connection show [--ids]
                                                   [--name]
                                                   [--resource-group]
                                                   [--resource-name]
                                                   [--subscription]

示例

PrivateEndpoint连接ion_Get连接ion

az healthcareapis private-endpoint-connection show --name "myConnection" --resource-group "rgname" --resource-name "service1"

可选参数

--ids

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

--name --private-endpoint-connection-name -n

与 Azure 资源关联的专用终结点连接的名称。

--resource-group -g

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

--resource-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 healthcareapis private-endpoint-connection update

更新与服务关联的指定专用终结点连接的状态。

az healthcareapis private-endpoint-connection update [--ids]
                                                     [--name]
                                                     [--no-wait]
                                                     [--private-link-service-connection-state]
                                                     [--private-link-service-connection-state-actions-required]
                                                     [--private-link-service-connection-state-description]
                                                     [--private-link-service-connection-state-status {Approved, Pending, Rejected}]
                                                     [--resource-group]
                                                     [--resource-name]
                                                     [--subscription]

可选参数

--ids

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

--name --private-endpoint-connection-name -n

与 Azure 资源关联的专用终结点连接的名称。

--no-wait

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

默认值: False
--private-link-service-connection-state -s

有关服务使用者与提供程序之间的连接状态的信息集合。

用法:--private-link-service-connection-state status=XX description=XX actions-required=XX

状态:指示连接是否已被服务的所有者批准/拒绝/删除。 说明:批准/拒绝连接的原因。 action-required:一条消息,指示服务提供商上的更改是否需要对使用者进行任何更新。

--private-link-service-connection-state-actions-required
已放弃

参数“private_link_service_connection_state_actions_required”已弃用,将在将来的版本中删除。 请改用“--private-link-service-connection-state”。

一条消息,指示服务提供商上的更改是否需要对使用者进行任何更新。

--private-link-service-connection-state-description
已放弃

参数“private_link_service_connection_state_description”已弃用,将在将来的版本中删除。 请改用“--private-link-service-connection-state”。

批准/拒绝连接的原因。

--private-link-service-connection-state-status
已放弃

参数“private_link_service_connection_state_status”已弃用,将在将来的版本中删除。 请改用“--private-link-service-connection-state”。

指示连接是否已被服务的所有者批准/拒绝/删除。

接受的值: Approved, Pending, Rejected
--resource-group -g

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

--resource-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 healthcareapis private-endpoint-connection wait

将 CLI 置于等待状态,直到满足 healthcareapis 专用终结点连接的条件。

az healthcareapis private-endpoint-connection wait [--created]
                                                   [--custom]
                                                   [--deleted]
                                                   [--exists]
                                                   [--ids]
                                                   [--interval]
                                                   [--name]
                                                   [--resource-group]
                                                   [--resource-name]
                                                   [--subscription]
                                                   [--timeout]
                                                   [--updated]

示例

暂停执行下一行 CLI 脚本,直到成功创建 healthcareapis private-endpoint-connection。

az healthcareapis private-endpoint-connection wait --name "myConnection" --resource-group "rgname" --resource-name "service1" --created

暂停执行下一行 CLI 脚本,直到 healthcareapis private-endpoint-connection 成功更新。

az healthcareapis private-endpoint-connection wait --name "myConnection" --resource-group "rgname" --resource-name "service1" --updated

暂停执行下一行 CLI 脚本,直到成功删除 healthcareapis private-endpoint-connection。

az healthcareapis private-endpoint-connection wait --name "myConnection" --resource-group "rgname" --resource-name "service1" --deleted

可选参数

--created

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

默认值: False
--custom

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

--deleted

等到删除为止。

默认值: False
--exists

等待资源存在。

默认值: False
--ids

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

--interval

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

默认值: 30
--name --private-endpoint-connection-name -n

与 Azure 资源关联的专用终结点连接的名称。

--resource-group -g

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

--resource-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 获取完整的调试日志。