azure.mgmt.compute package

Module contents

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

Bases: azure.profiles.multiapiclient.MultiApiClientMixin, msrest.service_client.SDKClient

Compute Client

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

Variables

config (ComputeManagementClientConfiguration) – Configuration for client.

Parameters
  • credentials (A msrestazure Credentials object) – Credentials 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.

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:

class azure.mgmt.compute.ComputeManagementClientConfiguration(credentials, subscription_id, base_url=None)[source]

Bases: msrestazure.azure_configuration.AzureConfiguration

Configuration for ComputeManagementClient Note that all parameters used to create this instance are saved as instance attributes.

Parameters
  • credentials (A msrestazure Credentials object) – Credentials 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.

  • base_url (str) – Service URL

Submodules