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

az healthcareapis workspace dicom-service

注意

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

使用 healthcareapis 管理 dicom 服务。

命令

名称 说明 类型 状态
az healthcareapis workspace dicom-service create

使用指定的参数创建 DICOM 服务资源。

分机 GA
az healthcareapis workspace dicom-service delete

删除 DICOM 服务。

分机 GA
az healthcareapis workspace dicom-service list

列出给定工作区的所有 DICOM 服务。

扩展 GA
az healthcareapis workspace dicom-service show

获取指定 DICOM 服务的属性。

扩展 GA
az healthcareapis workspace dicom-service update

修补 DICOM 服务详细信息。

分机 GA
az healthcareapis workspace dicom-service wait

将 CLI 置于等待状态,直到满足 healthcareapis 工作区 dicom-service 的条件。

分机 GA

az healthcareapis workspace dicom-service create

使用指定的参数创建 DICOM 服务资源。

az healthcareapis workspace dicom-service create --dicom-service-name
                                                 --resource-group
                                                 --workspace-name
                                                 [--etag]
                                                 [--identity-type {None, SystemAssigned, SystemAssigned,UserAssigned, UserAssigned}]
                                                 [--location]
                                                 [--no-wait]
                                                 [--public-network-access {Disabled, Enabled}]
                                                 [--tags]
                                                 [--user-assigned-identities]

示例

创建或更新 Dicom 服务

az healthcareapis workspace dicom-service create --name "blue" --location "westus" --resource-group "testRG" --workspace-name "workspace1"

必需参数

--dicom-service-name --name -n

DICOM 服务资源的名称。

--resource-group -g

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

--workspace-name

工作区资源的名称。

可选参数

--etag

与资源关联的 etag,在编辑资源时用于乐观并发。

--identity-type

指定的标识类型,当前允许 SystemAssigned 和 None。

接受的值: None, SystemAssigned, SystemAssigned,UserAssigned, UserAssigned
--location -l

Location。 az account list-locations 中的值。 可以使用 az configure --defaults location=<location> 配置默认位置。

--no-wait

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

默认值: False
--public-network-access

启用专用终结点时,控制来自公用网络的数据平面流量的权限。

接受的值: Disabled, Enabled
--tags

空格分隔标记:key[=value] [key[=value] ...]。使用“”清除现有标记。

--user-assigned-identities -i

与资源关联的用户分配标识集。 userAssignedIdentities 字典密钥将为 ARM 资源 ID,格式为“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}”。 字典值可以是请求中的空对象({})。 预期值:json-string/json-file/@json-file。

全局参数
--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 workspace dicom-service delete

删除 DICOM 服务。

az healthcareapis workspace dicom-service delete [--dicom-service-name]
                                                 [--ids]
                                                 [--no-wait]
                                                 [--resource-group]
                                                 [--subscription]
                                                 [--workspace-name]
                                                 [--yes]

示例

删除 dicomservice

az healthcareapis workspace dicom-service delete --name "blue" --resource-group "testRG" --workspace-name "workspace1"

可选参数

--dicom-service-name --name -n

DICOM 服务资源的名称。

--ids

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

--no-wait

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

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

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

--subscription

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

--workspace-name

工作区资源的名称。

--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 workspace dicom-service list

列出给定工作区的所有 DICOM 服务。

az healthcareapis workspace dicom-service list --resource-group
                                               --workspace-name

示例

列出 dicomservices

az healthcareapis workspace dicom-service list --resource-group "testRG" --workspace-name "workspace1"

必需参数

--resource-group -g

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

--workspace-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 workspace dicom-service show

获取指定 DICOM 服务的属性。

az healthcareapis workspace dicom-service show [--dicom-service-name]
                                               [--ids]
                                               [--resource-group]
                                               [--subscription]
                                               [--workspace-name]

示例

获取 dicomservice

az healthcareapis workspace dicom-service show --name "blue" --resource-group "testRG" --workspace-name "workspace1"

可选参数

--dicom-service-name --name -n

DICOM 服务资源的名称。

--ids

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

--resource-group -g

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

--subscription

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

--workspace-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 workspace dicom-service update

修补 DICOM 服务详细信息。

az healthcareapis workspace dicom-service update [--dicom-service-name]
                                                 [--identity-type {None, SystemAssigned, SystemAssigned,UserAssigned, UserAssigned}]
                                                 [--ids]
                                                 [--no-wait]
                                                 [--resource-group]
                                                 [--subscription]
                                                 [--tags]
                                                 [--user-assigned-identities]
                                                 [--workspace-name]

示例

更新 dicomservice

az healthcareapis workspace dicom-service update --name "blue" --tags tagKey="tagValue" --resource-group "testRG" --workspace-name "workspace1"

可选参数

--dicom-service-name --name -n

DICOM 服务资源的名称。

--identity-type

指定的标识类型,当前允许 SystemAssigned 和 None。

接受的值: None, SystemAssigned, SystemAssigned,UserAssigned, UserAssigned
--ids

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

--no-wait

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

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

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

--subscription

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

--tags

空格分隔标记:key[=value] [key[=value] ...]。使用“”清除现有标记。

--user-assigned-identities -i

与资源关联的用户分配标识集。 userAssignedIdentities 字典密钥将为 ARM 资源 ID,格式为“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}”。 字典值可以是请求中的空对象({})。 预期值:json-string/json-file/@json-file。

--workspace-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 workspace dicom-service wait

将 CLI 置于等待状态,直到满足 healthcareapis 工作区 dicom-service 的条件。

az healthcareapis workspace dicom-service wait [--created]
                                               [--custom]
                                               [--deleted]
                                               [--dicom-service-name]
                                               [--exists]
                                               [--ids]
                                               [--interval]
                                               [--resource-group]
                                               [--subscription]
                                               [--timeout]
                                               [--updated]
                                               [--workspace-name]

示例

暂停执行下一行 CLI 脚本,直到成功创建 healthcareapis 工作区 dicom-service。

az healthcareapis workspace dicom-service wait --name "blue" --resource-group "testRG" --workspace-name "workspace1" --created

暂停执行下一行 CLI 脚本,直到 healthcareapis 工作区 dicom-service 成功更新。

az healthcareapis workspace dicom-service wait --name "blue" --resource-group "testRG" --workspace-name "workspace1" --updated

暂停执行下一行 CLI 脚本,直到成功删除 healthcareapis 工作区 dicom-service。

az healthcareapis workspace dicom-service wait --name "blue" --resource-group "testRG" --workspace-name "workspace1" --deleted

可选参数

--created

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

默认值: False
--custom

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

--deleted

等到删除为止。

默认值: False
--dicom-service-name --name -n

DICOM 服务资源的名称。

--exists

等待资源存在。

默认值: False
--ids

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

--interval

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

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

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

--subscription

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

--timeout

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

默认值: 3600
--updated

等到 provisioningState 更新为“Succeeded”。

默认值: False
--workspace-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 获取完整的调试日志。