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.
  • Method Details

    • accessSas

      public String accessSas()
      Get the accessSas property: A SAS uri for accessing a disk.
      Returns:
      the accessSas value.
    • securityDataAccessSas

      public String securityDataAccessSas()
      Get the securityDataAccessSas property: A SAS uri for accessing a VM guest state.
      Returns:
      the securityDataAccessSas value.
    • securityMetadataAccessSas

      public String 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<AccessUriInner>
      Throws:
      IOException
    • fromJson

      public static AccessUriInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.