DatabaseConnectionOverview Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.DatabaseConnectionOverview

Implements

public final class DatabaseConnectionOverview
implements JsonSerializable<DatabaseConnectionOverview>

Static Site Database Connection overview.

Constructor Summary

Constructor Description
DatabaseConnectionOverview()

Creates an instance of DatabaseConnectionOverview class.

Method Summary

Modifier and Type Method and Description
List<StaticSiteDatabaseConnectionConfigurationFileOverview> configurationFiles()

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

String connectionIdentity()

Get the connectionIdentity property: If present, the identity is used in conjunction with connection string to connect to the database.

static DatabaseConnectionOverview fromJson(JsonReader jsonReader)

Reads an instance of DatabaseConnectionOverview from the JsonReader.

String name()

Get the name property: If present, the name of this database connection resource.

String region()

Get the region property: The region of the database resource.

String resourceId()

Get the resourceId property: The resource id of the database.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

DatabaseConnectionOverview

public DatabaseConnectionOverview()

Creates an instance of DatabaseConnectionOverview class.

Method Details

configurationFiles

public List configurationFiles()

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

Returns:

the configurationFiles 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.

fromJson

public static DatabaseConnectionOverview fromJson(JsonReader jsonReader)

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.

name

public String name()

Get the name property: If present, the name of this database connection resource.

Returns:

the name value.

region

public String region()

Get the region property: The region of the database resource.

Returns:

the region value.

resourceId

public String resourceId()

Get the resourceId property: The resource id of the database.

Returns:

the resourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to