Class SharedKeysInner

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

public final class SharedKeysInner extends Object implements com.azure.json.JsonSerializable<SharedKeysInner>
The shared keys for a workspace.
  • Method Details

    • primarySharedKey

      public String primarySharedKey()
      Get the primarySharedKey property: The primary shared key of a workspace.
      Returns:
      the primarySharedKey value.
    • secondarySharedKey

      public String secondarySharedKey()
      Get the secondarySharedKey property: The secondary shared key of a workspace.
      Returns:
      the secondarySharedKey value.
    • toJson

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

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