ComputeManagementClient Class

Compute Client.

Inheritance
builtins.object
ComputeManagementClient

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
str

Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. Required.

base_url
str

Service URL. Default value is "https://management.azure.com".

Default value: https://management.azure.com

Keyword-Only Parameters

Name Description
api_version
str

Api Version. Default value is "2020-09-30". Note that overriding this default value may result in unsupported behavior.

polling_interval
int

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Variables

Name Description
disks

DisksOperations operations

snapshots

SnapshotsOperations operations

disk_encryption_sets

DiskEncryptionSetsOperations operations

disk_accesses

DiskAccessesOperations operations

disk_restore_point

DiskRestorePointOperations operations

galleries

GalleriesOperations operations

gallery_images

GalleryImagesOperations operations

gallery_image_versions

GalleryImageVersionsOperations operations

gallery_applications

GalleryApplicationsOperations operations

gallery_application_versions

GalleryApplicationVersionsOperations operations

gallery_sharing_profile

GallerySharingProfileOperations operations

shared_galleries

SharedGalleriesOperations operations

shared_gallery_images

SharedGalleryImagesOperations operations

shared_gallery_image_versions

SharedGalleryImageVersionsOperations operations

Methods

close

close

close() -> None