# AzureVirtualMachineScaleSetDataDisk

Describes a virtual machine scale set data disk.

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | Gets or sets the disk name. | [optional] 
**lun** | **int** | Gets or sets specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. | [optional] 
**caching** | [**AzureCachingTypes**](AzureCachingTypes.md) | Gets or sets specifies the caching requirements. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Possible values are: &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; **None** &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; **ReadOnly** &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; **ReadWrite** &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Default: **None for Standard storage. ReadOnly for Premium storage**. Possible values include: &#39;None&#39;, &#39;ReadOnly&#39;, &#39;ReadWrite&#39; | [optional] 
**write_accelerator_enabled** | **bool** | Gets or sets specifies whether writeAccelerator should be enabled or disabled on the disk. | [optional] 
**create_option** | **str** | Gets or sets the create option. Possible values include: &#39;FromImage&#39;, &#39;Empty&#39;, &#39;Attach&#39; | [optional] 
**disk_size_gb** | **int** | Gets or sets specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; diskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023 | [optional] 
**managed_disk** | [**AzureVirtualMachineScaleSetManagedDiskParameters**](AzureVirtualMachineScaleSetManagedDiskParameters.md) | Gets or sets the managed disk parameters. | [optional] 
**disk_iops_read_write** | **int** | Gets or sets specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB. | [optional] 
**disk_m_bps_read_write** | **int** | Gets or sets specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB. | [optional] 
**delete_option** | **str** | Gets or sets specifies whether data disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only).&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Possible values: &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; **Delete** If this value is used, the data disk is deleted when the VMSS Flex VM is deleted.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; **Detach** If this value is used, the data disk is retained after VMSS Flex VM is deleted.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; The default value is set to **Delete**. Possible values include: &#39;Delete&#39;, &#39;Detach&#39; | [optional] 

## Example

```python
from duplocloud_sdk.models.azure_virtual_machine_scale_set_data_disk import AzureVirtualMachineScaleSetDataDisk

# TODO update the JSON string below
json = "{}"
# create an instance of AzureVirtualMachineScaleSetDataDisk from a JSON string
azure_virtual_machine_scale_set_data_disk_instance = AzureVirtualMachineScaleSetDataDisk.from_json(json)
# print the JSON string representation of the object
print(AzureVirtualMachineScaleSetDataDisk.to_json())

# convert the object into a dict
azure_virtual_machine_scale_set_data_disk_dict = azure_virtual_machine_scale_set_data_disk_instance.to_dict()
# create an instance of AzureVirtualMachineScaleSetDataDisk from a dict
azure_virtual_machine_scale_set_data_disk_from_dict = AzureVirtualMachineScaleSetDataDisk.from_dict(azure_virtual_machine_scale_set_data_disk_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


