Class SiteMachineKey

java.lang.Object
com.azure.resourcemanager.appservice.models.SiteMachineKey
All Implemented Interfaces:
com.azure.json.JsonSerializable<SiteMachineKey>

public final class SiteMachineKey extends Object implements com.azure.json.JsonSerializable<SiteMachineKey>
MachineKey of an app.
  • Method Details

    • validation

      public String validation()
      Get the validation property: MachineKey validation.
      Returns:
      the validation value.
    • validationKey

      public String validationKey()
      Get the validationKey property: Validation key.
      Returns:
      the validationKey value.
    • decryption

      public String decryption()
      Get the decryption property: Algorithm used for decryption.
      Returns:
      the decryption value.
    • decryptionKey

      public String decryptionKey()
      Get the decryptionKey property: Decryption key.
      Returns:
      the decryptionKey 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<SiteMachineKey>
      Throws:
      IOException
    • fromJson

      public static SiteMachineKey fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of SiteMachineKey from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of SiteMachineKey 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 SiteMachineKey.