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

ComputeManagementClient 类

计算客户端。

继承
builtins.object
ComputeManagementClient

构造函数

ComputeManagementClient(credential: TokenCredential, subscription_id: str, base_url: str = 'https://management.azure.com', **kwargs: Any)

参数

credential
TokenCredential
必需

客户端连接到 Azure 所需的凭据。 必需。

subscription_id
str
必需

唯一标识 Microsoft Azure 订阅的订阅凭据。 此订阅 ID 是每个服务调用的 URI 的一部分。 必需。

base_url
str
默认值: https://management.azure.com

服务 URL。 默认值为“https://management.azure.com”。

api_version
str

Api 版本。 默认值为“2022-04-04”。 请注意,重写此默认值可能会导致不受支持的行为。

polling_interval
int

如果没有Retry-After标头,则 LRO 操作的两次轮询之间的默认等待时间。

变量

cloud_service_role_instances
CloudServiceRoleInstancesOperations

CloudServiceRoleInstancesOperations 操作

cloud_service_roles
CloudServiceRolesOperations

CloudServiceRolesOperations 操作

cloud_services
CloudServicesOperations

CloudServicesOperations 操作

cloud_services_update_domain
CloudServicesUpdateDomainOperations

CloudServicesUpdateDomainOperations 操作

cloud_service_operating_systems
CloudServiceOperatingSystemsOperations

CloudServiceOperatingSystemsOperations 操作

方法

close

close

close() -> None