DataDisks Class

Data disks settings.

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

Inheritance
DataDisks

Constructor

DataDisks(*, disk_size_in_gb: int, disk_count: int, storage_account_type: Union[str, azure.mgmt.batchai.models._batch_ai_enums.StorageAccountType], caching_type: Optional[Union[str, azure.mgmt.batchai.models._batch_ai_enums.CachingType]] = 'none', **kwargs)

Parameters

disk_size_in_gb
int
Required

Required. Disk size in GB for the blank data disks.

caching_type
str or <xref:batch_ai.models.CachingType>
Required

Caching type for the disks. Available values are none (default), readonly, readwrite. Caching type can be set only for VM sizes supporting premium storage. Possible values include: "none", "readonly", "readwrite". Default value: "none".

disk_count
int
Required

Required. Number of data disks attached to the File Server. If multiple disks attached, they will be configured in RAID level 0.

storage_account_type
str or <xref:batch_ai.models.StorageAccountType>
Required

Required. Type of storage account to be used on the disk. Possible values are: Standard_LRS or Premium_LRS. Premium storage account type can only be used with VM sizes supporting premium storage. Possible values include: "Standard_LRS", "Premium_LRS".