你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ComputeManagementClient Class
Compute Client.
- Inheritance
-
builtins.objectComputeManagementClient
Constructor
ComputeManagementClient(credential: TokenCredential, subscription_id: str, base_url: str = 'https://management.azure.com', **kwargs: Any)
Parameters
Name | Description |
---|---|
credential
Required
|
Credential needed for the client to connect to Azure. Required. |
subscription_id
Required
|
Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. Required. |
base_url
|
Service URL. Default value is "https://management.azure.com". Default value: https://management.azure.com
|
Keyword-Only Parameters
Name | Description |
---|---|
api_version
|
Api Version. Default value is "2020-06-01". Note that overriding this default value may result in unsupported behavior. |
polling_interval
|
Default waiting time between two polls for LRO operations if no Retry-After header is present. |
Variables
Name | Description |
---|---|
operations
|
Operations operations |
availability_sets
|
AvailabilitySetsOperations operations |
proximity_placement_groups
|
ProximityPlacementGroupsOperations operations |
dedicated_host_groups
|
DedicatedHostGroupsOperations operations |
dedicated_hosts
|
DedicatedHostsOperations operations |
ssh_public_keys
|
SshPublicKeysOperations operations |
virtual_machine_extension_images
|
VirtualMachineExtensionImagesOperations operations |
virtual_machine_extensions
|
VirtualMachineExtensionsOperations operations |
virtual_machine_images
|
VirtualMachineImagesOperations operations |
usage
|
UsageOperations operations |
virtual_machines
|
VirtualMachinesOperations operations |
virtual_machine_sizes
|
VirtualMachineSizesOperations operations |
images
|
ImagesOperations operations |
virtual_machine_scale_sets
|
VirtualMachineScaleSetsOperations operations |
virtual_machine_scale_set_extensions
|
VirtualMachineScaleSetExtensionsOperations operations |
virtual_machine_scale_set_rolling_upgrades
|
VirtualMachineScaleSetRollingUpgradesOperations operations |
virtual_machine_scale_set_vm_extensions
|
VirtualMachineScaleSetVMExtensionsOperations operations |
virtual_machine_scale_set_vms
|
VirtualMachineScaleSetVMsOperations operations |
log_analytics
|
LogAnalyticsOperations operations |
virtual_machine_run_commands
|
VirtualMachineRunCommandsOperations operations |
virtual_machine_scale_set_vm_run_commands
|
VirtualMachineScaleSetVMRunCommandsOperations operations |
Methods
close |
close
close() -> None