# AzureVirtualMachineScaleSetOSDisk

Describes a virtual machine scale set operating system disk.

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | Gets or sets the disk name. | [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 specifies how the virtual machines in the scale set should be created.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; The only allowed value is: **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you  also use the plan element previously described. Possible values include: &#39;FromImage&#39;, &#39;Empty&#39;, &#39;Attach&#39; | [optional] 
**diff_disk_settings** | [**AzureDiffDiskSettings**](AzureDiffDiskSettings.md) | Gets or sets specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set. | [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] 
**os_type** | [**AzureOperatingSystemTypes**](AzureOperatingSystemTypes.md) | Gets or sets this property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; Possible values are: &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; **Windows** &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; **Linux**. Possible values include: &#39;Windows&#39;, &#39;Linux&#39; | [optional] 
**image** | [**AzureVirtualHardDisk**](AzureVirtualHardDisk.md) | Gets or sets specifies information about the unmanaged user image to base the scale set on. | [optional] 
**vhd_containers** | **List[str]** | Gets or sets specifies the container urls that are used to store operating system disks for the scale set. | [optional] 
**managed_disk** | [**AzureVirtualMachineScaleSetManagedDiskParameters**](AzureVirtualMachineScaleSetManagedDiskParameters.md) | Gets or sets the managed disk parameters. | [optional] 
**delete_option** | **str** | Gets or sets specifies whether OS 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 OS disk is deleted when VMSS Flex VM is deleted.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; **Detach** If this value is used, the OS 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**. For an Ephemeral OS Disk, the default value is set to **Delete**. User cannot change the delete option for Ephemeral OS Disk. Possible values include: &#39;Delete&#39;, &#39;Detach&#39; | [optional] 

## Example

```python
from duplocloud_sdk.models.azure_virtual_machine_scale_set_os_disk import AzureVirtualMachineScaleSetOSDisk

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

# convert the object into a dict
azure_virtual_machine_scale_set_os_disk_dict = azure_virtual_machine_scale_set_os_disk_instance.to_dict()
# create an instance of AzureVirtualMachineScaleSetOSDisk from a dict
azure_virtual_machine_scale_set_os_disk_from_dict = AzureVirtualMachineScaleSetOSDisk.from_dict(azure_virtual_machine_scale_set_os_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)


