共用方式為


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 訂用帳戶的訂用帳號憑證。 訂用帳戶識別碼會構成每個服務呼叫 URI 的一部分。 必要。

base_url
str
預設值: https://management.azure.com

服務 URL。 預設值為 「 https://management.azure.com 」。

api_version
str

API 版本。 預設值為 「2022-09-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