Microsoft Azure Health Care Apis Management Client Library for Python
项目描述
Microsoft Azure SDK for Python
这是Microsoft Azure Health Care Apis Management客户端库。此包已在Python 3.8+上进行了测试。有关Azure库的完整视图,请参阅azure sdk python发行。
免责声明
Azure SDK Python包对Python 2.7的支持已于2022年1月1日结束。有关更多信息及疑问,请参阅https://github.com/Azure/azure-sdk-for-python/issues/20691
入门
先决条件
- 使用此包需要Python 3.8+。
- Azure订阅
安装包
pip install azure-mgmt-healthcareapis
pip install azure-identity
身份验证
默认情况下,Azure Active Directory令牌身份验证依赖于以下环境变量的正确配置。
AZURE_CLIENT_ID
用于Azure客户端ID。AZURE_TENANT_ID
用于Azure租户ID。AZURE_CLIENT_SECRET
用于Azure客户端密钥。
此外,Azure订阅ID可以通过环境变量AZURE_SUBSCRIPTION_ID
进行配置。
配置如上,客户端可以通过以下代码进行认证
from azure.identity import DefaultAzureCredential
from azure.mgmt.healthcareapis import HealthcareApisManagementClient
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = HealthcareApisManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
示例
本软件包的代码示例可在以下位置找到
故障排除
下一步操作
提供反馈
如果您遇到任何错误或有建议,请在项目的问题部分提交一个问题。
发布历史
2.1.0 (2024-04-22)
新增功能
- 模型 DicomService 新增参数 enable_data_partitions
- 模型 DicomService 新增参数 storage_configuration
- 模型 FhirServiceAuthenticationConfiguration 新增参数 smart_identity_providers
2.0.0 (2023-12-18)
新增功能
- 模型 DicomService 新增参数 cors_configuration
- 模型 DicomService 新增参数 encryption
- 模型 DicomService 新增参数 event_state
- 模型 FhirService 新增参数 encryption
- 模型 FhirService 新增参数 implementation_guides_configuration
- 模型 FhirService 新增参数 import_configuration
- 模型 MetricSpecification 新增参数 enable_regional_mdm_account
- 模型 MetricSpecification 新增参数 is_internal
- 模型 MetricSpecification 新增参数 metric_filter_pattern
- 模型 MetricSpecification 新增参数 resource_id_dimension_name_override
- 模型 MetricSpecification 新增参数 source_mdm_account
- 模型 ServiceCosmosDbConfigurationInfo 新增参数 cross_tenant_cmk_application_id
- 模型 ServicesProperties 新增参数 import_configuration
重大更改
- 模型 FhirService 不再具有参数 access_policies
1.2.0b1 (2022-11-22)
新增功能
- 模型 DicomService 新增参数 cors_configuration
- 模型 FhirService 新增参数 import_configuration
- 模型 MetricSpecification 新增参数 enable_regional_mdm_account
- 模型 MetricSpecification 新增参数 is_internal
- 模型 MetricSpecification 新增参数 metric_filter_pattern
- 模型 MetricSpecification 新增参数 resource_id_dimension_name_override
- 模型 MetricSpecification 新增参数 source_mdm_account
- 模型 ServicesProperties 新增参数 import_configuration
1.1.0 (2022-03-31)
功能
- 添加了操作组 WorkspacePrivateEndpointConnectionsOperations
- 添加了操作组 WorkspacePrivateLinkResourcesOperations
- 模型 DicomService 新增参数 identity
- 模型 DicomService 新增参数 private_endpoint_connections
- 模型 DicomService 新增参数 public_network_access
- 模型 DicomServicePatchResource 新增参数 identity
- 模型 FhirService 新增参数 event_state
- 模型 FhirService 新增参数 private_endpoint_connections
- 模型 FhirService 新增参数 public_network_access
- 模型 FhirService 新增参数 resource_version_policy_configuration
- 模型 FhirServiceAcrConfiguration 新增参数 oci_artifacts
- 模型 OperationDetail 新增参数 properties
- 模型 OperationResultsDescription 新增参数 end_time
- 模型 ServiceAcrConfigurationInfo 新增参数 oci_artifacts
- 模型 ServiceManagedIdentityIdentity 新增参数 principal_id
- 模型 ServiceManagedIdentityIdentity 新增参数 tenant_id
- 模型 ServiceManagedIdentityIdentity 新增参数 user_assigned_identities
- 模型 WorkspaceProperties 新增参数 private_endpoint_connections
- 模型 WorkspaceProperties 新增参数 public_network_access
重大更改
- 模型 ServiceManagedIdentityIdentity 的参数类型现在为必需
1.1.0b1 (2021-08-26)
功能
- 添加了操作组 IotConnectorFhirDestinationOperations
- 添加了操作组 WorkspacesOperations
- 添加了操作组 FhirDestinationsOperations
- 添加了操作组 DicomServicesOperations
- 添加了操作组 FhirServicesOperations
- 添加了操作组 IotConnectorsOperations
1.0.0 (2021-04-12)
功能
- 模型 ServicesDescription 新增参数 system_data
- 模型 ServicesProperties 新增参数 acr_configuration
1.0.0b1 (2020-12-04)
这是测试预览版本。
此版本使用下一代代码生成器,引入了重要的重大更改,但也引入了重要的新功能(如统一身份验证和异步编程)。
一般重大更改
-
凭证系统已彻底重造
azure.common.credentials
或msrestazure.azure_active_directory
实例不再受支持,请使用azure-identity
类:[https://pypi.ac.cn/project/azure-identity/](https://pypi.ac.cn/project/azure-identity/)credentials
参数已重命名为credential
-
config
属性不再存在于客户端中,配置应通过 kwarg 传递。例如:MyClient(credential, subscription_id, enable_logging=True)
。有关支持的完整选项集,请参阅azure-core 初始化文档中接受的参数 -
您不能再导入
version
模块了,请使用__version__
代替 -
以前返回
msrest.polling.LROPoller
的操作现在返回azure.core.polling.LROPoller
,并以begin_
前缀。 -
异常树已被简化,大多数异常现在为
azure.core.exceptions.HttpResponseError
(已删除CloudError
)。 -
大多数操作 kwarg 已更改。一些最明显的更改包括
raw
已被移除。等效功能可以通过使用cls
(一个回调,将提供对内部 HTTP 响应的访问,以供高级用户使用)来找到- 有关支持的完整选项集,请参阅azure-core 请求文档中接受的参数
通用新功能
- 支持使用
typing
进行类型注解。SDKs 已准备好使用 mypy。 - 此客户端现在提供稳定且官方的异步支持。检查您的包中的
aio
命名空间以找到异步客户端。 - 此客户端现在原生支持 OpenCensus 或 OpenTelemetry 等跟踪库。请参阅此跟踪快速入门以获取概述。
0.2.0 (2020-11-02)
功能
- Model ServiceCosmosDbConfigurationInfo 有一个新参数 key_vault_key_uri
- Model ServicesPatchDescription 有一个新参数 public_network_access
- Model ServicesDescription 有一个新参数 identity
- Model ServicesProperties 有一个新参数 public_network_access
- Model ServicesProperties 有一个新参数 export_configuration
- Model ServicesProperties 有一个新参数 private_endpoint_connections
- 添加了操作组 PrivateEndpointConnectionsOperations
- 添加了操作组 PrivateLinkResourcesOperations
重大更改
- 操作 ServicesOperations.update 有一个新签名
- Model Resource 不再具有参数 kind
- Model Resource 不再具有参数 tags
- Model Resource 不再具有参数 etag
- Model Resource 不再具有参数 location
0.1.0 (2019-08-03)
- 初始发布
项目详情
下载文件
下载您平台的文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。
源分发
构建分发
哈希 用于 azure_mgmt_healthcareapis-2.1.0-py3-none-any.whl
算法 | 哈希摘要 | |
---|---|---|
SHA256 | dd82996ca359ce5bfe48d4693447504b4b1491f1735a3c581c0e20f7885c0dbc |
|
MD5 | 7493a71870c4195230794b50d12c7edf |
|
BLAKE2b-256 | b661925e2cc2f9fbf1fcf85d57cfbe36aff7e62ca5e794b24759d0f2c520fd06 |