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.

DEFAULT_API_VERSION = '2018-06-01'
LATEST_PROFILE = azure.mgmt.compute.ComputeManagementClient latest
availability_sets

Instance depends on the API version:

disks

Instance depends on the API version:

galleries

Instance depends on the API version:

  • 2018-06-01: GalleriesOperations

gallery_image_versions

Instance depends on the API version:

  • 2018-06-01: GalleryImageVersionsOperations

gallery_images

Instance depends on the API version:

  • 2018-06-01: GalleryImagesOperations

images

Instance depends on the API version:

log_analytics

Instance depends on the API version:

  • 2017-12-01: LogAnalyticsOperations

  • 2018-04-01: LogAnalyticsOperations

  • 2018-06-01: LogAnalyticsOperations

classmethod models(api_version='2018-06-01')[source]

Module depends on the API version:

operations

Instance depends on the API version:

  • 2017-12-01: Operations

  • 2018-04-01: Operations

  • 2018-06-01: Operations

resource_skus

Instance depends on the API version:

snapshots

Instance depends on the API version:

usage

Instance depends on the API version:

virtual_machine_extension_images

Instance depends on the API version:

virtual_machine_extensions

Instance depends on the API version:

virtual_machine_images

Instance depends on the API version:

virtual_machine_run_commands

Instance depends on the API version:

  • 2017-03-30: VirtualMachineRunCommandsOperations

  • 2017-12-01: VirtualMachineRunCommandsOperations

  • 2018-04-01: VirtualMachineRunCommandsOperations

  • 2018-06-01: VirtualMachineRunCommandsOperations

virtual_machine_scale_set_extensions

Instance depends on the API version:

  • 2017-03-30: VirtualMachineScaleSetExtensionsOperations

  • 2017-12-01: VirtualMachineScaleSetExtensionsOperations

  • 2018-04-01: VirtualMachineScaleSetExtensionsOperations

  • 2018-06-01: VirtualMachineScaleSetExtensionsOperations

virtual_machine_scale_set_rolling_upgrades

Instance depends on the API version:

  • 2017-03-30: VirtualMachineScaleSetRollingUpgradesOperations

  • 2017-12-01: VirtualMachineScaleSetRollingUpgradesOperations

  • 2018-04-01: VirtualMachineScaleSetRollingUpgradesOperations

  • 2018-06-01: VirtualMachineScaleSetRollingUpgradesOperations

virtual_machine_scale_set_vms

Instance depends on the API version:

virtual_machine_scale_sets

Instance depends on the API version:

virtual_machine_sizes

Instance depends on the API version:

virtual_machines

Instance depends on the API version: