azure.mgmt.compute package

Module contents

class azure.mgmt.compute.ComputeManagementClient(credential, subscription_id, api_version=None, base_url=None, profile=<KnownProfiles.default: <azure.profiles.DefaultProfile object>>, **kwargs)[source]

Bases: azure.profiles.multiapiclient.MultiApiClientMixin, azure.mgmt.compute._compute_management_client._SDKClient

Compute Client.

This ready contains multiple API versions, to help you deal with all of the Azure clouds (Azure Stack, Azure Government, Azure China, etc.). By default, it uses the latest API version available on public Azure. For production, you should stick to a particular api-version and/or profile. The profile sets a mapping between an operation group and its API version. The api-version parameter sets the default API version if the operation group is not described in the profile.

Parameters
  • credential (TokenCredential) – Credential needed for the client to connect to Azure.

  • subscription_id (str) – Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

  • api_version (str) – API version to use if no profile is provided, or if missing in profile.

  • base_url (str) – Service URL

  • profile (azure.profiles.KnownProfiles) – A profile definition, from KnownProfiles to dict.

Keyword Arguments

polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.

This is a fake class to support current implemetation of MultiApiClientMixin.” Will be removed in final version of multiapi azure-core based client

close()[source]
classmethod models(api_version='2019-12-01')[source]

Module depends on the API version:

DEFAULT_API_VERSION = '2019-12-01'
LATEST_PROFILE = azure.mgmt.compute.ComputeManagementClient latest
property availability_sets

Instance depends on the API version:

property dedicated_host_groups

Instance depends on the API version:

property dedicated_hosts

Instance depends on the API version:

property disk_encryption_sets

Instance depends on the API version:

  • 2019-07-01: DiskEncryptionSetsOperations

  • 2019-11-01: DiskEncryptionSetsOperations

property disks

Instance depends on the API version:

property galleries

Instance depends on the API version:

property gallery_application_versions

Instance depends on the API version:

property gallery_applications

Instance depends on the API version:

property gallery_image_versions

Instance depends on the API version:

property gallery_images

Instance depends on the API version:

property images

Instance depends on the API version:

property log_analytics

Instance depends on the API version:

property operations

Instance depends on the API version:

property proximity_placement_groups

Instance depends on the API version:

property resource_skus

Instance depends on the API version:

property snapshots

Instance depends on the API version:

property ssh_public_keys

Instance depends on the API version:

  • 2019-12-01: SshPublicKeysOperations

property usage

Instance depends on the API version:

property virtual_machine_extension_images

Instance depends on the API version:

property virtual_machine_extensions

Instance depends on the API version:

property virtual_machine_images

Instance depends on the API version:

property virtual_machine_run_commands

Instance depends on the API version:

property virtual_machine_scale_set_extensions

Instance depends on the API version:

property virtual_machine_scale_set_rolling_upgrades

Instance depends on the API version:

property virtual_machine_scale_set_vm_extensions

Instance depends on the API version:

  • 2019-07-01: VirtualMachineScaleSetVMExtensionsOperations

  • 2019-12-01: VirtualMachineScaleSetVMExtensionsOperations

property virtual_machine_scale_set_vms

Instance depends on the API version:

property virtual_machine_scale_sets

Instance depends on the API version:

property virtual_machine_sizes

Instance depends on the API version:

property virtual_machines

Instance depends on the API version:

Submodules