Class StorageProfile
java.lang.Object
com.azure.resourcemanager.baremetalinfrastructure.models.StorageProfile
Specifies the storage settings for the AzureBareMetal instance disks.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the nfsIpAddress property: IP Address to connect to storage.osDisks()
Get the osDisks property: Specifies information about the operating system disk used by baremetal instance.void
validate()
Validates the instance.withOsDisks
(List<Disk> osDisks) Set the osDisks property: Specifies information about the operating system disk used by baremetal instance.
-
Constructor Details
-
StorageProfile
public StorageProfile()Creates an instance of StorageProfile class.
-
-
Method Details
-
nfsIpAddress
Get the nfsIpAddress property: IP Address to connect to storage.- Returns:
- the nfsIpAddress value.
-
osDisks
Get the osDisks property: Specifies information about the operating system disk used by baremetal instance.- Returns:
- the osDisks value.
-
withOsDisks
Set the osDisks property: Specifies information about the operating system disk used by baremetal instance.- Parameters:
osDisks
- the osDisks value to set.- Returns:
- the StorageProfile object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-