Class DiskAccessProperties
java.lang.Object
com.azure.resourcemanager.compute.fluent.models.DiskAccessProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DiskAccessProperties>
public final class DiskAccessProperties
extends Object
implements com.azure.json.JsonSerializable<DiskAccessProperties>
The DiskAccessProperties model.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DiskAccessPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of DiskAccessProperties from the JsonReader.Get the privateEndpointConnections property: A readonly collection of private endpoint connections created on the disk.Get the provisioningState property: The disk access resource provisioning state.Get the timeCreated property: The time when the disk access was created.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
DiskAccessProperties
public DiskAccessProperties()Creates an instance of DiskAccessProperties class.
-
-
Method Details
-
privateEndpointConnections
Get the privateEndpointConnections property: A readonly collection of private endpoint connections created on the disk. Currently only one endpoint connection is supported.- Returns:
- the privateEndpointConnections value.
-
provisioningState
Get the provisioningState property: The disk access resource provisioning state.- Returns:
- the provisioningState value.
-
timeCreated
Get the timeCreated property: The time when the disk access was created.- Returns:
- the timeCreated value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<DiskAccessProperties>- Throws:
IOException
-
fromJson
public static DiskAccessProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of DiskAccessProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of DiskAccessProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the DiskAccessProperties.
-