共用方式為


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
必要

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

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

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

api_version
str

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

polling_interval
int

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

變數

operations
Operations

作業作業

usage
UsageOperations

UsageOperations 作業

virtual_machine_sizes
VirtualMachineSizesOperations

VirtualMachineSizesOperations 作業

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

virtual_machine_extensions
VirtualMachineExtensionsOperations

VirtualMachineExtensionsOperations 作業

virtual_machines
VirtualMachinesOperations

VirtualMachinesOperations 作業

virtual_machine_images
VirtualMachineImagesOperations

VirtualMachineImagesOperations 作業

virtual_machine_images_edge_zone
VirtualMachineImagesEdgeZoneOperations

VirtualMachineImagesEdgeZoneOperations 作業

virtual_machine_extension_images
VirtualMachineExtensionImagesOperations

VirtualMachineExtensionImagesOperations 作業

availability_sets
AvailabilitySetsOperations

AvailabilitySetsOperations 作業

proximity_placement_groups
ProximityPlacementGroupsOperations

ProximityPlacementGroupsOperations 作業

dedicated_host_groups
DedicatedHostGroupsOperations

DedicatedHostGroupsOperations 作業

dedicated_hosts
DedicatedHostsOperations

DedicatedHostsOperations 作業

ssh_public_keys
SshPublicKeysOperations

SshPublicKeysOperations 作業

images
ImagesOperations

ImagesOperations 作業

restore_point_collections
RestorePointCollectionsOperations

RestorePointCollectionsOperations 作業

restore_points
RestorePointsOperations

RestorePointsOperations 作業

capacity_reservation_groups
CapacityReservationGroupsOperations

CapacityReservationGroupsOperations 作業

capacity_reservations
CapacityReservationsOperations

CapacityReservationsOperations 作業

log_analytics
LogAnalyticsOperations

LogAnalyticsOperations 作業

virtual_machine_run_commands
VirtualMachineRunCommandsOperations

VirtualMachineRunCommandsOperations 作業

virtual_machine_scale_set_vm_run_commands
VirtualMachineScaleSetVMRunCommandsOperations

VirtualMachineScaleSetVMRunCommandsOperations 作業

方法

close

close

async close() -> None