你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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 订阅的订阅凭据。 此订阅 ID 是每个服务调用的 URI 的一部分。 必需。

base_url
str
默认值: https://management.azure.com

服务 URL。 默认值为“https://management.azure.com”。

api_version
str

Api 版本。 默认值为“2021-03-01”。 请注意,重写此默认值可能会导致不受支持的行为。

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

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

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

方法

close

close

close() -> None