Class DiskInstanceView
java.lang.Object
com.azure.resourcemanager.compute.models.DiskInstanceView
The instance view of the disk.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the encryptionSettings property: Specifies the encryption settings for the OS Disk.name()Get the name property: The disk name.statuses()Get the statuses property: The resource status information.voidvalidate()Validates the instance.withEncryptionSettings(List<DiskEncryptionSettings> encryptionSettings) Set the encryptionSettings property: Specifies the encryption settings for the OS Disk.Set the name property: The disk name.withStatuses(List<InstanceViewStatus> statuses) Set the statuses property: The resource status information.
-
Constructor Details
-
DiskInstanceView
public DiskInstanceView()
-
-
Method Details
-
name
Get the name property: The disk name.- Returns:
- the name value.
-
withName
Set the name property: The disk name.- Parameters:
name- the name value to set.- Returns:
- the DiskInstanceView object itself.
-
encryptionSettings
Get the encryptionSettings property: Specifies the encryption settings for the OS Disk. <br><br> Minimum api-version: 2015-06-15.- Returns:
- the encryptionSettings value.
-
withEncryptionSettings
Set the encryptionSettings property: Specifies the encryption settings for the OS Disk. <br><br> Minimum api-version: 2015-06-15.- Parameters:
encryptionSettings- the encryptionSettings value to set.- Returns:
- the DiskInstanceView object itself.
-
statuses
Get the statuses property: The resource status information.- Returns:
- the statuses value.
-
withStatuses
Set the statuses property: The resource status information.- Parameters:
statuses- the statuses value to set.- Returns:
- the DiskInstanceView object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-