ComputeManagementClient class

Definition

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.

ComputeManagementClient(credentials, subscription_id, api_version=None, base_url=None, profile=<KnownProfiles.default: <azure.profiles.DefaultProfile object>>)
Inheritance
builtins.object
ComputeManagementClient
builtins.object
ComputeManagementClient

Parameters

credentials
azure_active_directory

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
KnownProfiles

A profile definition, from KnownProfiles to dict.

Variables

config
ComputeManagementClientConfiguration
Configuration for client.

Methods

models(api_version='2019-07-01')

Module depends on the API version:

models(api_version='2019-07-01')

Module depends on the API version:

models(api_version='2019-07-01')

Parameters

cls
api_version
default value: 2019-07-01

Attributes

availability_sets

Instance depends on the API version --

dedicated_host_groups

Instance depends on the API version --

dedicated_hosts

Instance depends on the API version --

disk_encryption_sets

Instance depends on the API version --

disks

Instance depends on the API version --

galleries

Instance depends on the API version --

Instance depends on the API version --

Instance depends on the API version --

Instance depends on the API version --

Instance depends on the API version --

images

Instance depends on the API version --

log_analytics

Instance depends on the API version --

operations

Instance depends on the API version --

proximity_placement_groups

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

virtual_machine_extensions

virtual_machine_images

virtual_machine_run_commands

virtual_machine_scale_set_extensions

virtual_machine_scale_set_rolling_upgrades

virtual_machine_scale_set_vm_extensions

Instance depends on the API version --

virtual_machine_scale_set_vms

virtual_machine_scale_sets

virtual_machine_sizes

virtual_machines

Instance depends on the API version --

DEFAULT_API_VERSION

DEFAULT_API_VERSION = '2019-07-01'

LATEST_PROFILE

LATEST_PROFILE = azure.mgmt.compute.ComputeManagementClient latest