models.azure_params module

class models.azure_params.AzureParams(data_disk_type=None, instance_id=None, network_resource_group_id=None, os_disk_type=None, resource_group=None, storage_account=None, storage_container=None, storage_resource_group_id=None, subnet_id=None, temp_vm_resource_group_id=None, temp_vm_storage_account_id=None, temp_vm_storage_container_id=None, temp_vm_subnet_id=None, temp_vm_virtual_network_id=None, virtual_network_id=None)[source]

Bases: object

Implementation of the ‘AzureParams’ model.

Specifies various resources when converting and deploying a VM to Azure.

Attributes:
data_disk_type (DataDiskTypeEnum): Specifies the disk type used by the

data. ‘kPremiumSSD’ is disk type backed by SSDs, delivers high performance, low latency disk support for VMs running I/O intensive workloads. ‘kStandardSSD’ implies disk type that offers more consistent performance and reliability than HDD. ‘kStandardHDD’ implies disk type backed by HDDs, delivers cost effective storage.

instance_id (long|int): Specifies Type of VM (e.g. small, medium,

large) when cloning the VM in Azure.

network_resource_group_id (long|int): Specifies id of the resource

group for the selected virtual network.

os_disk_type (OsDiskTypeEnum): Specifies the disk type used by the OS.

‘kPremiumSSD’ is disk type backed by SSDs, delivers high performance, low latency disk support for VMs running I/O intensive workloads. ‘kStandardSSD’ implies disk type that offers more consistent performance and reliability than HDD. ‘kStandardHDD’ implies disk type backed by HDDs, delivers cost effective storage.

resource_group (long|int): Specifies id of the Azure resource group.

Its value is globally unique within Azure.

storage_account (long|int): Specifies id of the storage account that

will contain the storage container within which we will create the blob that will become the VHD disk for the cloned VM.

storage_container (long|int): Specifies id of the storage container

within the above storage account.

storage_resource_group_id (long|int): Specifies id of the resource

group for the selected storage account.

subnet_id (long|int): Specifies Id of the subnet within the above

virtual network.

temp_vm_resource_group_id (long|int): Specifies the resource group

where temporary VM needs to be created.

temp_vm_storage_account_id (long|int): Specifies the Storage account

where temporary VM needs to be created.

temp_vm_storage_container_id (long|int): Specifies the Storage

container where temporary VM needs to be created.

temp_vm_subnet_id (long|int): Specifies the Subnet where temporary VM

needs to be created.

temp_vm_virtual_network_id (long|int): Specifies the Virtual network

where temporary VM needs to be created.

virtual_network_id (long|int): Specifies Id of the Virtual Network.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.