共用方式為


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 版本。 預設值為 「2019-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 作業

virtual_machine_extension_images
VirtualMachineExtensionImagesOperations

VirtualMachineExtensionImagesOperations 作業

virtual_machine_extensions
VirtualMachineExtensionsOperations

VirtualMachineExtensionsOperations 作業

virtual_machine_images
VirtualMachineImagesOperations

VirtualMachineImagesOperations 作業

usage
UsageOperations

UsageOperations 作業

virtual_machines
VirtualMachinesOperations

VirtualMachinesOperations 作業

virtual_machine_sizes
VirtualMachineSizesOperations

VirtualMachineSizesOperations 作業

images
ImagesOperations

ImagesOperations 作業

virtual_machine_scale_sets
VirtualMachineScaleSetsOperations

VirtualMachineScaleSetsOperations 作業

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

disks
DisksOperations

DisksOperations 作業

snapshots
SnapshotsOperations

SnapshotsOperations 作業

disk_encryption_sets
DiskEncryptionSetsOperations

DiskEncryptionSetsOperations 作業

galleries
GalleriesOperations

資源庫Operations 作業

gallery_images
GalleryImagesOperations

GalleryImagesOperations 作業

gallery_image_versions
GalleryImageVersionsOperations

GalleryImageVersionsOperations 作業

gallery_applications
GalleryApplicationsOperations

GalleryApplicationsOperations 作業

gallery_application_versions
GalleryApplicationVersionsOperations

GalleryApplicationVersionsOperations 作業

virtual_machine_run_commands
VirtualMachineRunCommandsOperations

VirtualMachineRunCommandsOperations 作業

方法

close

close

close() -> None