Class LocalUserKeysInner

java.lang.Object
com.azure.resourcemanager.storage.fluent.models.LocalUserKeysInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<LocalUserKeysInner>

public final class LocalUserKeysInner extends Object implements com.azure.json.JsonSerializable<LocalUserKeysInner>
The Storage Account Local User keys.
  • Constructor Details

    • LocalUserKeysInner

      public LocalUserKeysInner()
      Creates an instance of LocalUserKeysInner class.
  • Method Details

    • sshAuthorizedKeys

      public List<SshPublicKey> sshAuthorizedKeys()
      Get the sshAuthorizedKeys property: Optional, local user ssh authorized keys for SFTP.
      Returns:
      the sshAuthorizedKeys value.
    • withSshAuthorizedKeys

      public LocalUserKeysInner withSshAuthorizedKeys(List<SshPublicKey> sshAuthorizedKeys)
      Set the sshAuthorizedKeys property: Optional, local user ssh authorized keys for SFTP.
      Parameters:
      sshAuthorizedKeys - the sshAuthorizedKeys value to set.
      Returns:
      the LocalUserKeysInner object itself.
    • sharedKey

      public String sharedKey()
      Get the sharedKey property: Auto generated by the server for SMB authentication.
      Returns:
      the sharedKey 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<LocalUserKeysInner>
      Throws:
      IOException
    • fromJson

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