DiskInstanceView Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. DiskInstanceView
- com.
Implements
public final class DiskInstanceView
implements JsonSerializable<DiskInstanceView>
The instance view of the disk.
Constructor Summary
Constructor | Description |
---|---|
DiskInstanceView() |
Creates an instance of Disk |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Disk |
encryptionSettings()
Get the encryption |
static
Disk |
fromJson(JsonReader jsonReader)
Reads an instance of Disk |
String |
name()
Get the name property: The disk name. |
List<Instance |
statuses()
Get the statuses property: The resource status information. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Disk |
withEncryptionSettings(List<DiskEncryptionSettings> encryptionSettings)
Set the encryption |
Disk |
withName(String name)
Set the name property: The disk name. |
Disk |
withStatuses(List<InstanceViewStatus> statuses)
Set the statuses property: The resource status information. |
Methods inherited from java.lang.Object
Constructor Details
DiskInstanceView
public DiskInstanceView()
Creates an instance of DiskInstanceView class.
Method Details
encryptionSettings
public List
Get the encryptionSettings property: Specifies the encryption settings for the OS Disk.
Minimum api-version: 2015-06-15.
Returns:
fromJson
public static DiskInstanceView fromJson(JsonReader jsonReader)
Reads an instance of DiskInstanceView from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The disk name.
Returns:
statuses
public List
Get the statuses property: The resource status information.
Returns:
toJson
validate
public void validate()
Validates the instance.
withEncryptionSettings
public DiskInstanceView withEncryptionSettings(List
Set the encryptionSettings property: Specifies the encryption settings for the OS Disk.
Minimum api-version: 2015-06-15.
Parameters:
Returns:
withName
public DiskInstanceView withName(String name)
Set the name property: The disk name.
Parameters:
Returns:
withStatuses
public DiskInstanceView withStatuses(List
Set the statuses property: The resource status information.
Parameters:
Returns:
Applies to
Azure SDK for Java