StorageProfile Class
- java.
lang. Object - com.
azure. resourcemanager. devopsinfrastructure. models. StorageProfile
- com.
Implements
public final class StorageProfile
implements JsonSerializable<StorageProfile>
The storage profile of the VMSS.
Constructor Summary
| Constructor | Description |
|---|---|
| StorageProfile() |
Creates an instance of Storage |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Data |
dataDisks()
Get the data |
|
static
Storage |
fromJson(JsonReader jsonReader)
Reads an instance of Storage |
|
Os |
osDiskStorageAccountType()
Get the os |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Storage |
withDataDisks(List<DataDisk> dataDisks)
Set the data |
|
Storage |
withOsDiskStorageAccountType(OsDiskStorageAccountType osDiskStorageAccountType)
Set the os |
Methods inherited from java.lang.Object
Constructor Details
StorageProfile
public StorageProfile()
Creates an instance of StorageProfile class.
Method Details
dataDisks
public List<DataDisk> dataDisks()
Get the dataDisks property: A list of empty data disks to attach.
Returns:
fromJson
public static StorageProfile fromJson(JsonReader jsonReader)
Reads an instance of StorageProfile from the JsonReader.
Parameters:
Returns:
Throws:
osDiskStorageAccountType
public OsDiskStorageAccountType osDiskStorageAccountType()
Get the osDiskStorageAccountType property: The Azure SKU name of the machines in the pool.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDataDisks
public StorageProfile withDataDisks(List<DataDisk> dataDisks)
Set the dataDisks property: A list of empty data disks to attach.
Parameters:
Returns:
withOsDiskStorageAccountType
public StorageProfile withOsDiskStorageAccountType(OsDiskStorageAccountType osDiskStorageAccountType)
Set the osDiskStorageAccountType property: The Azure SKU name of the machines in the pool.
Parameters:
Returns: