Class AccessUriInner
java.lang.Object
com.azure.resourcemanager.compute.fluent.models.AccessUriInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AccessUriInner>
public final class AccessUriInner
extends Object
implements com.azure.json.JsonSerializable<AccessUriInner>
A disk access SAS uri.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the accessSas property: A SAS uri for accessing a disk.static AccessUriInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AccessUriInner from the JsonReader.Get the securityDataAccessSas property: A SAS uri for accessing a VM guest state.Get the securityMetadataAccessSas property: A SAS uri for accessing a VM metadata.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
-
AccessUriInner
public AccessUriInner()Creates an instance of AccessUriInner class.
-
-
Method Details
-
accessSas
Get the accessSas property: A SAS uri for accessing a disk.- Returns:
- the accessSas value.
-
securityDataAccessSas
Get the securityDataAccessSas property: A SAS uri for accessing a VM guest state.- Returns:
- the securityDataAccessSas value.
-
securityMetadataAccessSas
Get the securityMetadataAccessSas property: A SAS uri for accessing a VM metadata.- Returns:
- the securityMetadataAccessSas 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<AccessUriInner>- Throws:
IOException
-
fromJson
Reads an instance of AccessUriInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AccessUriInner 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 AccessUriInner.
-