azure.mgmt.compute.v2018_09_30.models module

class azure.mgmt.compute.v2018_09_30.models.AccessLevel(value)[source]

Bases: str, enum.Enum

AccessLevel.

NONE = 'None'
READ = 'Read'
WRITE = 'Write'
class azure.mgmt.compute.v2018_09_30.models.AccessUri(**kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

A disk access SAS uri.

Variables are only populated by the server, and will be ignored when sending a request.

Variables

access_sas (str) – A SAS uri for accessing a disk.

class azure.mgmt.compute.v2018_09_30.models.CreationData(*, create_option: Union[str, _models.DiskCreateOption], storage_account_id: Optional[str] = None, image_reference: Optional[_models.ImageDiskReference] = None, source_uri: Optional[str] = None, source_resource_id: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Data used when creating a disk.

All required parameters must be populated in order to send to Azure.

Variables
  • create_option (str or DiskCreateOption) – This enumerates the possible sources of a disk’s creation. Required. Known values are: “Empty”, “Attach”, “FromImage”, “Import”, “Copy”, “Restore”, and “Upload”.

  • storage_account_id (str) – If createOption is Import, the Azure Resource Manager identifier of the storage account containing the blob to import as a disk. Required only if the blob is in a different subscription.

  • image_reference (ImageDiskReference) – Disk source information.

  • source_uri (str) – If createOption is Import, this is the URI of a blob to be imported into a managed disk.

  • source_resource_id (str) – If createOption is Copy, this is the ARM id of the source snapshot or disk.

Keyword Arguments
  • create_option (str or DiskCreateOption) – This enumerates the possible sources of a disk’s creation. Required. Known values are: “Empty”, “Attach”, “FromImage”, “Import”, “Copy”, “Restore”, and “Upload”.

  • storage_account_id (str) – If createOption is Import, the Azure Resource Manager identifier of the storage account containing the blob to import as a disk. Required only if the blob is in a different subscription.

  • image_reference (ImageDiskReference) – Disk source information.

  • source_uri (str) – If createOption is Import, this is the URI of a blob to be imported into a managed disk.

  • source_resource_id (str) – If createOption is Copy, this is the ARM id of the source snapshot or disk.

class azure.mgmt.compute.v2018_09_30.models.Disk(*, location: str, tags: Optional[Dict[str, str]] = None, sku: Optional[_models.DiskSku] = None, zones: Optional[List[str]] = None, os_type: Optional[Union[str, _models.OperatingSystemTypes]] = None, hyper_v_generation: Optional[Union[str, _models.HyperVGeneration]] = None, creation_data: Optional[_models.CreationData] = None, disk_size_gb: Optional[int] = None, encryption_settings_collection: Optional[_models.EncryptionSettingsCollection] = None, disk_iops_read_write: Optional[int] = None, disk_m_bps_read_write: Optional[int] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute.v2018_09_30.models._models_py3.Resource

Disk resource.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Resource Id.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • location (str) – Resource location. Required.

  • tags (dict[str, str]) – Resource tags.

  • managed_by (str) – A relative URI containing the ID of the VM that has the disk attached.

  • sku (DiskSku) – The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.

  • zones (list[str]) – The Logical zone list for Disk.

  • time_created (datetime) – The time when the disk was created.

  • os_type (str or OperatingSystemTypes) – The Operating System type. Known values are: “Windows” and “Linux”.

  • hyper_v_generation (str or HyperVGeneration) – The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Known values are: “V1” and “V2”.

  • creation_data (CreationData) – Disk source information. CreationData information cannot be changed after the disk has been created.

  • disk_size_gb (int) – If creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk’s size.

  • encryption_settings_collection (EncryptionSettingsCollection) – Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.

  • provisioning_state (str) – The disk provisioning state.

  • disk_iops_read_write (int) – The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.

  • disk_m_bps_read_write (int) – The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.

  • disk_state (str or DiskState) – The state of the disk. Known values are: “Unattached”, “Attached”, “Reserved”, “ActiveSAS”, “ReadyToUpload”, and “ActiveUpload”.

Keyword Arguments
  • location (str) – Resource location. Required.

  • tags (dict[str, str]) – Resource tags.

  • sku (DiskSku) – The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.

  • zones (list[str]) – The Logical zone list for Disk.

  • os_type (str or OperatingSystemTypes) – The Operating System type. Known values are: “Windows” and “Linux”.

  • hyper_v_generation (str or HyperVGeneration) – The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Known values are: “V1” and “V2”.

  • creation_data (CreationData) – Disk source information. CreationData information cannot be changed after the disk has been created.

  • disk_size_gb (int) – If creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk’s size.

  • encryption_settings_collection (EncryptionSettingsCollection) – Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.

  • disk_iops_read_write (int) – The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.

  • disk_m_bps_read_write (int) – The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.

class azure.mgmt.compute.v2018_09_30.models.DiskCreateOption(value)[source]

Bases: str, enum.Enum

This enumerates the possible sources of a disk’s creation.

ATTACH = 'Attach'
COPY = 'Copy'
EMPTY = 'Empty'
FROM_IMAGE = 'FromImage'
IMPORT = 'Import'
RESTORE = 'Restore'
UPLOAD = 'Upload'
class azure.mgmt.compute.v2018_09_30.models.DiskList(*, value: List[_models.Disk], next_link: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

The List Disks operation response.

All required parameters must be populated in order to send to Azure.

Variables
  • value (list[Disk]) – A list of disks. Required.

  • next_link (str) – The uri to fetch the next page of disks. Call ListNext() with this to fetch the next page of disks.

Keyword Arguments
  • value (list[Disk]) – A list of disks. Required.

  • next_link (str) – The uri to fetch the next page of disks. Call ListNext() with this to fetch the next page of disks.

class azure.mgmt.compute.v2018_09_30.models.DiskSku(*, name: Optional[Union[str, _models.DiskStorageAccountTypes]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • name (str or DiskStorageAccountTypes) – The sku name. Known values are: “Standard_LRS”, “Premium_LRS”, “StandardSSD_LRS”, and “UltraSSD_LRS”.

  • tier (str) – The sku tier.

Keyword Arguments

name (str or DiskStorageAccountTypes) – The sku name. Known values are: “Standard_LRS”, “Premium_LRS”, “StandardSSD_LRS”, and “UltraSSD_LRS”.

class azure.mgmt.compute.v2018_09_30.models.DiskState(value)[source]

Bases: str, enum.Enum

The state of the disk.

ACTIVE_SAS = 'ActiveSAS'
ACTIVE_UPLOAD = 'ActiveUpload'
ATTACHED = 'Attached'
READY_TO_UPLOAD = 'ReadyToUpload'
RESERVED = 'Reserved'
UNATTACHED = 'Unattached'
class azure.mgmt.compute.v2018_09_30.models.DiskStorageAccountTypes(value)[source]

Bases: str, enum.Enum

The sku name.

PREMIUM_LRS = 'Premium_LRS'
STANDARD_LRS = 'Standard_LRS'
STANDARD_SSD_LRS = 'StandardSSD_LRS'
ULTRA_SSD_LRS = 'UltraSSD_LRS'
class azure.mgmt.compute.v2018_09_30.models.DiskUpdate(*, tags: Optional[Dict[str, str]] = None, sku: Optional[_models.DiskSku] = None, os_type: Optional[Union[str, _models.OperatingSystemTypes]] = None, disk_size_gb: Optional[int] = None, encryption_settings_collection: Optional[_models.EncryptionSettingsCollection] = None, disk_iops_read_write: Optional[int] = None, disk_m_bps_read_write: Optional[int] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Disk update resource.

Variables
  • tags (dict[str, str]) – Resource tags.

  • sku (DiskSku) – The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.

  • os_type (str or OperatingSystemTypes) – the Operating System type. Known values are: “Windows” and “Linux”.

  • disk_size_gb (int) – If creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk’s size.

  • encryption_settings_collection (EncryptionSettingsCollection) – Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.

  • disk_iops_read_write (int) – The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.

  • disk_m_bps_read_write (int) – The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.

Keyword Arguments
  • tags (dict[str, str]) – Resource tags.

  • sku (DiskSku) – The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.

  • os_type (str or OperatingSystemTypes) – the Operating System type. Known values are: “Windows” and “Linux”.

  • disk_size_gb (int) – If creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk’s size.

  • encryption_settings_collection (EncryptionSettingsCollection) – Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.

  • disk_iops_read_write (int) – The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.

  • disk_m_bps_read_write (int) – The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.

class azure.mgmt.compute.v2018_09_30.models.EncryptionSettingsCollection(*, enabled: bool, encryption_settings: Optional[List[_models.EncryptionSettingsElement]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Encryption settings for disk or snapshot.

All required parameters must be populated in order to send to Azure.

Variables
  • enabled (bool) – Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged. Required.

  • encryption_settings (list[EncryptionSettingsElement]) – A collection of encryption settings, one for each disk volume.

Keyword Arguments
  • enabled (bool) – Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged. Required.

  • encryption_settings (list[EncryptionSettingsElement]) – A collection of encryption settings, one for each disk volume.

class azure.mgmt.compute.v2018_09_30.models.EncryptionSettingsElement(*, disk_encryption_key: Optional[_models.KeyVaultAndSecretReference] = None, key_encryption_key: Optional[_models.KeyVaultAndKeyReference] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Encryption settings for one disk volume.

Variables
  • disk_encryption_key (KeyVaultAndSecretReference) – Key Vault Secret Url and vault id of the disk encryption key.

  • key_encryption_key (KeyVaultAndKeyReference) – Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.

Keyword Arguments
  • disk_encryption_key (KeyVaultAndSecretReference) – Key Vault Secret Url and vault id of the disk encryption key.

  • key_encryption_key (KeyVaultAndKeyReference) – Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.

class azure.mgmt.compute.v2018_09_30.models.GrantAccessData(*, access: Union[str, _models.AccessLevel], duration_in_seconds: int, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Data used for requesting a SAS.

All required parameters must be populated in order to send to Azure.

Variables
  • access (str or AccessLevel) – Required. Known values are: “None”, “Read”, and “Write”.

  • duration_in_seconds (int) – Time duration in seconds until the SAS access expires. Required.

Keyword Arguments
  • access (str or AccessLevel) – Required. Known values are: “None”, “Read”, and “Write”.

  • duration_in_seconds (int) – Time duration in seconds until the SAS access expires. Required.

class azure.mgmt.compute.v2018_09_30.models.HyperVGeneration(value)[source]

Bases: str, enum.Enum

The hypervisor generation of the Virtual Machine. Applicable to OS disks only.

V1 = 'V1'
V2 = 'V2'
class azure.mgmt.compute.v2018_09_30.models.ImageDiskReference(*, id: str, lun: Optional[int] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

The source image used for creating the disk.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – A relative uri containing either a Platform Image Repository or user image reference. Required.

  • lun (int) – If the disk is created from an image’s data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.

Keyword Arguments
  • id (str) – A relative uri containing either a Platform Image Repository or user image reference. Required.

  • lun (int) – If the disk is created from an image’s data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.

class azure.mgmt.compute.v2018_09_30.models.KeyVaultAndKeyReference(*, source_vault: _models.SourceVault, key_url: str, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey.

All required parameters must be populated in order to send to Azure.

Variables
  • source_vault (SourceVault) – Resource id of the KeyVault containing the key or secret. Required.

  • key_url (str) – Url pointing to a key or secret in KeyVault. Required.

Keyword Arguments
  • source_vault (SourceVault) – Resource id of the KeyVault containing the key or secret. Required.

  • key_url (str) – Url pointing to a key or secret in KeyVault. Required.

class azure.mgmt.compute.v2018_09_30.models.KeyVaultAndSecretReference(*, source_vault: _models.SourceVault, secret_url: str, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Key Vault Secret Url and vault id of the encryption key.

All required parameters must be populated in order to send to Azure.

Variables
  • source_vault (SourceVault) – Resource id of the KeyVault containing the key or secret. Required.

  • secret_url (str) – Url pointing to a key or secret in KeyVault. Required.

Keyword Arguments
  • source_vault (SourceVault) – Resource id of the KeyVault containing the key or secret. Required.

  • secret_url (str) – Url pointing to a key or secret in KeyVault. Required.

class azure.mgmt.compute.v2018_09_30.models.OperatingSystemTypes(value)[source]

Bases: str, enum.Enum

The Operating System type.

LINUX = 'Linux'
WINDOWS = 'Windows'
class azure.mgmt.compute.v2018_09_30.models.Resource(*, location: str, tags: Optional[Dict[str, str]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

The Resource model definition.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Resource Id.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • location (str) – Resource location. Required.

  • tags (dict[str, str]) – Resource tags.

Keyword Arguments
  • location (str) – Resource location. Required.

  • tags (dict[str, str]) – Resource tags.

class azure.mgmt.compute.v2018_09_30.models.Snapshot(*, location: str, tags: Optional[Dict[str, str]] = None, sku: Optional[_models.SnapshotSku] = None, os_type: Optional[Union[str, _models.OperatingSystemTypes]] = None, hyper_v_generation: Optional[Union[str, _models.HyperVGeneration]] = None, creation_data: Optional[_models.CreationData] = None, disk_size_gb: Optional[int] = None, encryption_settings_collection: Optional[_models.EncryptionSettingsCollection] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute.v2018_09_30.models._models_py3.Resource

Snapshot resource.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Resource Id.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • location (str) – Resource location. Required.

  • tags (dict[str, str]) – Resource tags.

  • managed_by (str) – Unused. Always Null.

  • sku (SnapshotSku) – The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS.

  • time_created (datetime) – The time when the disk was created.

  • os_type (str or OperatingSystemTypes) – The Operating System type. Known values are: “Windows” and “Linux”.

  • hyper_v_generation (str or HyperVGeneration) – The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Known values are: “V1” and “V2”.

  • creation_data (CreationData) – Disk source information. CreationData information cannot be changed after the disk has been created.

  • disk_size_gb (int) – If creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk’s size.

  • encryption_settings_collection (EncryptionSettingsCollection) – Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.

  • provisioning_state (str) – The disk provisioning state.

Keyword Arguments
  • location (str) – Resource location. Required.

  • tags (dict[str, str]) – Resource tags.

  • sku (SnapshotSku) – The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS.

  • os_type (str or OperatingSystemTypes) – The Operating System type. Known values are: “Windows” and “Linux”.

  • hyper_v_generation (str or HyperVGeneration) – The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Known values are: “V1” and “V2”.

  • creation_data (CreationData) – Disk source information. CreationData information cannot be changed after the disk has been created.

  • disk_size_gb (int) – If creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk’s size.

  • encryption_settings_collection (EncryptionSettingsCollection) – Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.

class azure.mgmt.compute.v2018_09_30.models.SnapshotList(*, value: List[_models.Snapshot], next_link: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

The List Snapshots operation response.

All required parameters must be populated in order to send to Azure.

Variables
  • value (list[Snapshot]) – A list of snapshots. Required.

  • next_link (str) – The uri to fetch the next page of snapshots. Call ListNext() with this to fetch the next page of snapshots.

Keyword Arguments
  • value (list[Snapshot]) – A list of snapshots. Required.

  • next_link (str) – The uri to fetch the next page of snapshots. Call ListNext() with this to fetch the next page of snapshots.

class azure.mgmt.compute.v2018_09_30.models.SnapshotSku(*, name: Optional[Union[str, _models.SnapshotStorageAccountTypes]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • name (str or SnapshotStorageAccountTypes) – The sku name. Known values are: “Standard_LRS”, “Premium_LRS”, and “Standard_ZRS”.

  • tier (str) – The sku tier.

Keyword Arguments

name (str or SnapshotStorageAccountTypes) – The sku name. Known values are: “Standard_LRS”, “Premium_LRS”, and “Standard_ZRS”.

class azure.mgmt.compute.v2018_09_30.models.SnapshotStorageAccountTypes(value)[source]

Bases: str, enum.Enum

The sku name.

PREMIUM_LRS = 'Premium_LRS'
STANDARD_LRS = 'Standard_LRS'
STANDARD_ZRS = 'Standard_ZRS'
class azure.mgmt.compute.v2018_09_30.models.SnapshotUpdate(*, tags: Optional[Dict[str, str]] = None, sku: Optional[_models.SnapshotSku] = None, os_type: Optional[Union[str, _models.OperatingSystemTypes]] = None, disk_size_gb: Optional[int] = None, encryption_settings_collection: Optional[_models.EncryptionSettingsCollection] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

Snapshot update resource.

Variables
  • tags (dict[str, str]) – Resource tags.

  • sku (SnapshotSku) – The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS.

  • os_type (str or OperatingSystemTypes) – the Operating System type. Known values are: “Windows” and “Linux”.

  • disk_size_gb (int) – If creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk’s size.

  • encryption_settings_collection (EncryptionSettingsCollection) – Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.

Keyword Arguments
  • tags (dict[str, str]) – Resource tags.

  • sku (SnapshotSku) – The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS.

  • os_type (str or OperatingSystemTypes) – the Operating System type. Known values are: “Windows” and “Linux”.

  • disk_size_gb (int) – If creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk’s size.

  • encryption_settings_collection (EncryptionSettingsCollection) – Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.

class azure.mgmt.compute.v2018_09_30.models.SourceVault(*, id: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.compute._serialization.Model

The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}.

Variables

id (str) – Resource Id.

Keyword Arguments

id (str) – Resource Id.