共用方式為


ComputeManagementClient 類別

計算用戶端。

繼承
builtins.object
ComputeManagementClient

建構函式

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

參數

credential
AsyncTokenCredential
必要

用戶端連線到 Azure 所需的認證。 必要。

subscription_id
str
必要

可唯一識別 azure 訂用帳戶Microsoft的訂用帳號憑證。 訂用帳戶識別碼會構成每個服務呼叫 URI 的一部分。 必要。

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

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

api_version
str

Api 版本。 預設值為 「2021-07-01」。 請注意,覆寫此預設值可能會導致不支援的行為。

polling_interval
int

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

變數

operations
Operations

作業作業

availability_sets
AvailabilitySetsOperations

AvailabilitySetsOperations 作業

proximity_placement_groups
ProximityPlacementGroupsOperations

ProximityPlacementGroupsOperations 作業

dedicated_host_groups
DedicatedHostGroupsOperations

DedicatedHostGroupsOperations 作業

dedicated_hosts
DedicatedHostsOperations

DedicatedHostsOperations 作業

ssh_public_keys
SshPublicKeysOperations

SshPublicKeysOperations 作業

virtual_machine_extension_images
VirtualMachineExtensionImagesOperations

VirtualMachineExtensionImagesOperations 作業

virtual_machine_extensions
VirtualMachineExtensionsOperations

VirtualMachineExtensionsOperations 作業

virtual_machine_images
VirtualMachineImagesOperations

VirtualMachineImagesOperations 作業

virtual_machine_images_edge_zone
VirtualMachineImagesEdgeZoneOperations

VirtualMachineImagesEdgeZoneOperations 作業

usage
UsageOperations

UsageOperations 作業

virtual_machines
VirtualMachinesOperations

VirtualMachinesOperations 作業

virtual_machine_scale_sets
VirtualMachineScaleSetsOperations

VirtualMachineScaleSetsOperations 作業

virtual_machine_sizes
VirtualMachineSizesOperations

VirtualMachineSizesOperations 作業

images
ImagesOperations

ImagesOperations 作業

restore_point_collections
RestorePointCollectionsOperations

RestorePointCollectionsOperations 作業

restore_points
RestorePointsOperations

RestorePointsOperations 作業

capacity_reservation_groups
CapacityReservationGroupsOperations

CapacityReservationGroupsOperations 作業

capacity_reservations
CapacityReservationsOperations

CapacityReservationsOperations 作業

virtual_machine_scale_set_extensions
VirtualMachineScaleSetExtensionsOperations

VirtualMachineScaleSetExtensionsOperations 作業

virtual_machine_scale_set_rolling_upgrades
VirtualMachineScaleSetRollingUpgradesOperations

VirtualMachineScaleSetRollingUpgradesOperations 作業

virtual_machine_scale_set_vm_extensions
VirtualMachineScaleSetVMExtensionsOperations

VirtualMachineScaleSetVMExtensionsOperations 作業

virtual_machine_scale_set_vms
VirtualMachineScaleSetVMsOperations

VirtualMachineScaleSetVMsOperations 作業

log_analytics
LogAnalyticsOperations

LogAnalyticsOperations 作業

virtual_machine_run_commands
VirtualMachineRunCommandsOperations

VirtualMachineRunCommandsOperations 作業

virtual_machine_scale_set_vm_run_commands
VirtualMachineScaleSetVMRunCommandsOperations

VirtualMachineScaleSetVMRunCommandsOperations 作業

resource_skus
ResourceSkusOperations

ResourceSkusOperations 作業

galleries
GalleriesOperations

資源庫Operations 作業

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 作業

community_galleries
CommunityGalleriesOperations

CommunityGalleriesOperations 作業

community_gallery_images
CommunityGalleryImagesOperations

CommunityGalleryImagesOperations 作業

community_gallery_image_versions
CommunityGalleryImageVersionsOperations

CommunityGalleryImageVersionsOperations 作業

方法

close

close

async close() -> None