DataDisks Class
Data disks settings.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
msrest.serialization.ModelDataDisks
Constructor
DataDisks(*, disk_size_in_gb: int, disk_count: int, storage_account_type: str | StorageAccountType, caching_type: str | CachingType | None = 'none', **kwargs)
Parameters
Name | Description |
---|---|
disk_size_in_gb
Required
|
Required. Disk size in GB for the blank data disks. |
caching_type
Required
|
str or
<xref:batch_ai.models.CachingType>
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
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
Required
|
str or
<xref:batch_ai.models.StorageAccountType>
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". |
Keyword-Only Parameters
Name | Description |
---|---|
disk_size_in_gb
Required
|
|
disk_count
Required
|
|
storage_account_type
Required
|
|
caching_type
|
default value: none
|
Azure SDK for Python
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for