共用方式為


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 版本。 預設值為 「2020-09-30」。 請注意,覆寫此預設值可能會導致不支援的行為。

polling_interval
int

如果沒有Retry-After標頭,則兩次輪詢 LRO 作業之間的預設等候時間。

變數

disks
DisksOperations

DisksOperations 作業

snapshots
SnapshotsOperations

SnapshotsOperations 作業

disk_encryption_sets
DiskEncryptionSetsOperations

DiskEncryptionSetsOperations 作業

disk_accesses
DiskAccessesOperations

DiskAccessesOperations 作業

disk_restore_point
DiskRestorePointOperations

DiskRestorePointOperations 作業

galleries
GalleriesOperations

GalleriesOperations 作業

gallery_images
GalleryImagesOperations

GalleryImagesOperations 作業

gallery_image_versions
GalleryImageVersionsOperations

GalleryImageVersionsOperations 作業

gallery_applications
GalleryApplicationsOperations

GalleryApplicationsOperations 作業

gallery_application_versions
GalleryApplicationVersionsOperations

GalleryApplicationVersionsOperations 作業

gallery_sharing_profile
GallerySharingProfileOperations

GallerySharingProfileOperations 作業

shared_galleries
SharedGalleriesOperations

SharedGalleriesOperations 作業

shared_gallery_images
SharedGalleryImagesOperations

SharedGalleryImagesOperations 作業

shared_gallery_image_versions
SharedGalleryImageVersionsOperations

SharedGalleryImageVersionsOperations 作業

方法

close

close

close() -> None