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-07-01')[source]¶ Module depends on the API version:
2015-06-15:
v2015_06_15.models
2016-03-30:
v2016_03_30.models
2016-04-30-preview:
v2016_04_30_preview.models
2017-03-30:
v2017_03_30.models
2017-09-01:
v2017_09_01.models
2017-12-01:
v2017_12_01.models
2018-04-01:
v2018_04_01.models
2018-06-01:
v2018_06_01.models
2018-09-30:
v2018_09_30.models
2018-10-01:
v2018_10_01.models
2019-03-01:
v2019_03_01.models
2019-04-01:
v2019_04_01.models
2019-07-01:
v2019_07_01.models
-
DEFAULT_API_VERSION
= '2019-07-01'¶
-
LATEST_PROFILE
= azure.mgmt.compute.ComputeManagementClient latest¶
-
property
availability_sets
¶ Instance depends on the API version:
2015-06-15:
AvailabilitySetsOperations
2016-03-30:
AvailabilitySetsOperations
2016-04-30-preview:
AvailabilitySetsOperations
2017-03-30:
AvailabilitySetsOperations
2017-12-01:
AvailabilitySetsOperations
2018-04-01:
AvailabilitySetsOperations
2018-06-01:
AvailabilitySetsOperations
2018-10-01:
AvailabilitySetsOperations
2019-03-01:
AvailabilitySetsOperations
2019-07-01:
AvailabilitySetsOperations
-
property
dedicated_host_groups
¶ Instance depends on the API version:
2019-03-01:
DedicatedHostGroupsOperations
2019-07-01:
DedicatedHostGroupsOperations
-
property
dedicated_hosts
¶ Instance depends on the API version:
2019-03-01:
DedicatedHostsOperations
2019-07-01:
DedicatedHostsOperations
-
property
disk_encryption_sets
¶ Instance depends on the API version:
2019-07-01:
DiskEncryptionSetsOperations
-
property
disks
¶ Instance depends on the API version:
2016-04-30-preview:
DisksOperations
2017-03-30:
DisksOperations
2018-04-01:
DisksOperations
2018-06-01:
DisksOperations
2018-09-30:
DisksOperations
2019-03-01:
DisksOperations
2019-07-01:
DisksOperations
-
property
galleries
¶ Instance depends on the API version:
2018-06-01:
GalleriesOperations
2019-03-01:
GalleriesOperations
2019-07-01:
GalleriesOperations
-
property
gallery_application_versions
¶ Instance depends on the API version:
2019-03-01:
GalleryApplicationVersionsOperations
2019-07-01:
GalleryApplicationVersionsOperations
-
property
gallery_applications
¶ Instance depends on the API version:
2019-03-01:
GalleryApplicationsOperations
2019-07-01:
GalleryApplicationsOperations
-
property
gallery_image_versions
¶ Instance depends on the API version:
2018-06-01:
GalleryImageVersionsOperations
2019-03-01:
GalleryImageVersionsOperations
2019-07-01:
GalleryImageVersionsOperations
-
property
gallery_images
¶ Instance depends on the API version:
2018-06-01:
GalleryImagesOperations
2019-03-01:
GalleryImagesOperations
2019-07-01:
GalleryImagesOperations
-
property
images
¶ Instance depends on the API version:
2016-04-30-preview:
ImagesOperations
2017-03-30:
ImagesOperations
2017-12-01:
ImagesOperations
2018-04-01:
ImagesOperations
2018-06-01:
ImagesOperations
2018-10-01:
ImagesOperations
2019-03-01:
ImagesOperations
2019-07-01:
ImagesOperations
-
property
log_analytics
¶ Instance depends on the API version:
2017-12-01:
LogAnalyticsOperations
2018-04-01:
LogAnalyticsOperations
2018-06-01:
LogAnalyticsOperations
2018-10-01:
LogAnalyticsOperations
2019-03-01:
LogAnalyticsOperations
2019-07-01:
LogAnalyticsOperations
-
property
operations
¶ Instance depends on the API version:
2017-12-01:
Operations
2018-04-01:
Operations
2018-06-01:
Operations
2018-10-01:
Operations
2019-03-01:
Operations
2019-07-01:
Operations
-
property
proximity_placement_groups
¶ Instance depends on the API version:
2018-04-01:
ProximityPlacementGroupsOperations
2018-06-01:
ProximityPlacementGroupsOperations
2018-10-01:
ProximityPlacementGroupsOperations
2019-03-01:
ProximityPlacementGroupsOperations
2019-07-01:
ProximityPlacementGroupsOperations
-
property
resource_skus
¶ Instance depends on the API version:
2017-03-30:
ResourceSkusOperations
2017-09-01:
ResourceSkusOperations
2019-04-01:
ResourceSkusOperations
-
property
snapshots
¶ Instance depends on the API version:
2016-04-30-preview:
SnapshotsOperations
2017-03-30:
SnapshotsOperations
2018-04-01:
SnapshotsOperations
2018-06-01:
SnapshotsOperations
2018-09-30:
SnapshotsOperations
2019-03-01:
SnapshotsOperations
2019-07-01:
SnapshotsOperations
-
property
usage
¶ Instance depends on the API version:
2015-06-15:
UsageOperations
2016-03-30:
UsageOperations
2016-04-30-preview:
UsageOperations
2017-03-30:
UsageOperations
2017-12-01:
UsageOperations
2018-04-01:
UsageOperations
2018-06-01:
UsageOperations
2018-10-01:
UsageOperations
2019-03-01:
UsageOperations
2019-07-01:
UsageOperations
-
property
virtual_machine_extension_images
¶ Instance depends on the API version:
2015-06-15:
VirtualMachineExtensionImagesOperations
2016-03-30:
VirtualMachineExtensionImagesOperations
2016-04-30-preview:
VirtualMachineExtensionImagesOperations
2017-03-30:
VirtualMachineExtensionImagesOperations
2017-12-01:
VirtualMachineExtensionImagesOperations
2018-04-01:
VirtualMachineExtensionImagesOperations
2018-06-01:
VirtualMachineExtensionImagesOperations
2018-10-01:
VirtualMachineExtensionImagesOperations
2019-03-01:
VirtualMachineExtensionImagesOperations
2019-07-01:
VirtualMachineExtensionImagesOperations
-
property
virtual_machine_extensions
¶ Instance depends on the API version:
2015-06-15:
VirtualMachineExtensionsOperations
2016-03-30:
VirtualMachineExtensionsOperations
2016-04-30-preview:
VirtualMachineExtensionsOperations
2017-03-30:
VirtualMachineExtensionsOperations
2017-12-01:
VirtualMachineExtensionsOperations
2018-04-01:
VirtualMachineExtensionsOperations
2018-06-01:
VirtualMachineExtensionsOperations
2018-10-01:
VirtualMachineExtensionsOperations
2019-03-01:
VirtualMachineExtensionsOperations
2019-07-01:
VirtualMachineExtensionsOperations
-
property
virtual_machine_images
¶ Instance depends on the API version:
2015-06-15:
VirtualMachineImagesOperations
2016-03-30:
VirtualMachineImagesOperations
2016-04-30-preview:
VirtualMachineImagesOperations
2017-03-30:
VirtualMachineImagesOperations
2017-12-01:
VirtualMachineImagesOperations
2018-04-01:
VirtualMachineImagesOperations
2018-06-01:
VirtualMachineImagesOperations
2018-10-01:
VirtualMachineImagesOperations
2019-03-01:
VirtualMachineImagesOperations
2019-07-01:
VirtualMachineImagesOperations
-
property
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
2018-10-01:
VirtualMachineRunCommandsOperations
2019-03-01:
VirtualMachineRunCommandsOperations
2019-07-01:
VirtualMachineRunCommandsOperations
-
property
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
2018-10-01:
VirtualMachineScaleSetExtensionsOperations
2019-03-01:
VirtualMachineScaleSetExtensionsOperations
2019-07-01:
VirtualMachineScaleSetExtensionsOperations
-
property
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
2018-10-01:
VirtualMachineScaleSetRollingUpgradesOperations
2019-03-01:
VirtualMachineScaleSetRollingUpgradesOperations
2019-07-01:
VirtualMachineScaleSetRollingUpgradesOperations
-
property
virtual_machine_scale_set_vm_extensions
¶ Instance depends on the API version:
2019-07-01:
VirtualMachineScaleSetVMExtensionsOperations
-
property
virtual_machine_scale_set_vms
¶ Instance depends on the API version:
2015-06-15:
VirtualMachineScaleSetVMsOperations
2016-03-30:
VirtualMachineScaleSetVMsOperations
2016-04-30-preview:
VirtualMachineScaleSetVMsOperations
2017-03-30:
VirtualMachineScaleSetVMsOperations
2017-12-01:
VirtualMachineScaleSetVMsOperations
2018-04-01:
VirtualMachineScaleSetVMsOperations
2018-06-01:
VirtualMachineScaleSetVMsOperations
2018-10-01:
VirtualMachineScaleSetVMsOperations
2019-03-01:
VirtualMachineScaleSetVMsOperations
2019-07-01:
VirtualMachineScaleSetVMsOperations
-
property
virtual_machine_scale_sets
¶ Instance depends on the API version:
2015-06-15:
VirtualMachineScaleSetsOperations
2016-03-30:
VirtualMachineScaleSetsOperations
2016-04-30-preview:
VirtualMachineScaleSetsOperations
2017-03-30:
VirtualMachineScaleSetsOperations
2017-12-01:
VirtualMachineScaleSetsOperations
2018-04-01:
VirtualMachineScaleSetsOperations
2018-06-01:
VirtualMachineScaleSetsOperations
2018-10-01:
VirtualMachineScaleSetsOperations
2019-03-01:
VirtualMachineScaleSetsOperations
2019-07-01:
VirtualMachineScaleSetsOperations
-
property
virtual_machine_sizes
¶ Instance depends on the API version:
2015-06-15:
VirtualMachineSizesOperations
2016-03-30:
VirtualMachineSizesOperations
2016-04-30-preview:
VirtualMachineSizesOperations
2017-03-30:
VirtualMachineSizesOperations
2017-12-01:
VirtualMachineSizesOperations
2018-04-01:
VirtualMachineSizesOperations
2018-06-01:
VirtualMachineSizesOperations
2018-10-01:
VirtualMachineSizesOperations
2019-03-01:
VirtualMachineSizesOperations
2019-07-01:
VirtualMachineSizesOperations
-
property
virtual_machines
¶ Instance depends on the API version:
2015-06-15:
VirtualMachinesOperations
2016-03-30:
VirtualMachinesOperations
2016-04-30-preview:
VirtualMachinesOperations
2017-03-30:
VirtualMachinesOperations
2017-12-01:
VirtualMachinesOperations
2018-04-01:
VirtualMachinesOperations
2018-06-01:
VirtualMachinesOperations
2018-10-01:
VirtualMachinesOperations
2019-03-01:
VirtualMachinesOperations
2019-07-01:
VirtualMachinesOperations
-
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¶
- azure.mgmt.compute.v2019_04_01 package
- azure.mgmt.compute.v2019_04_01 package
- azure.mgmt.compute.v2019_03_01 package
- azure.mgmt.compute.v2019_03_01 package
- azure.mgmt.compute.v2018_10_01 package
- azure.mgmt.compute.v2018_10_01 package
- azure.mgmt.compute.v2018_09_30 package
- azure.mgmt.compute.v2018_09_30 package
- azure.mgmt.compute.v2018_06_01 package
- azure.mgmt.compute.v2018_06_01 package
- azure.mgmt.compute.v2018_04_01 package
- azure.mgmt.compute.v2018_04_01 package
- azure.mgmt.compute.v2017_12_01 package
- azure.mgmt.compute.v2017_12_01 package
- azure.mgmt.compute.v2017_09_01 package
- azure.mgmt.compute.v2017_09_01 package
- azure.mgmt.compute.v2017_03_30 package
- azure.mgmt.compute.v2017_03_30 package
- azure.mgmt.compute.v2016_04_30_preview package
- azure.mgmt.compute.v2016_04_30_preview package
- azure.mgmt.compute.v2016_03_30 package
- azure.mgmt.compute.v2016_03_30 package
- azure.mgmt.compute.v2015_06_15 package
- azure.mgmt.compute.v2015_06_15 package