Class DatabaseConnectionOverview

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

public final class DatabaseConnectionOverview extends Object implements com.azure.json.JsonSerializable<DatabaseConnectionOverview>
Static Site Database Connection overview.
  • Constructor Details

    • DatabaseConnectionOverview

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

    • resourceId

      public String resourceId()
      Get the resourceId property: The resource id of the database.
      Returns:
      the resourceId value.
    • connectionIdentity

      public String connectionIdentity()
      Get the connectionIdentity property: If present, the identity is used in conjunction with connection string to connect to the database. Use of the system-assigned managed identity is indicated with the string 'SystemAssigned', while use of a user-assigned managed identity is indicated with the resource id of the managed identity resource.
      Returns:
      the connectionIdentity value.
    • region

      public String region()
      Get the region property: The region of the database resource.
      Returns:
      the region value.
    • configurationFiles

      Get the configurationFiles property: A list of configuration files associated with this database connection.
      Returns:
      the configurationFiles value.
    • name

      public String name()
      Get the name property: If present, the name of this database connection resource.
      Returns:
      the name 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<DatabaseConnectionOverview>
      Throws:
      IOException
    • fromJson

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