DatabaseConnectionInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. appservice. models. ProxyOnlyResource - com.
azure. resourcemanager. appservice. fluent. models. DatabaseConnectionInner
- com.
- com.
- com.
public final class DatabaseConnectionInner
extends ProxyOnlyResource
Static Site Database Connection resource.
Constructor Summary
Constructor | Description |
---|---|
DatabaseConnectionInner() |
Creates an instance of Database |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Static |
configurationFiles()
Get the configuration |
String |
connectionIdentity()
Get the connection |
String |
connectionString()
Get the connection |
String |
region()
Get the region property: The region of the database resource. |
String |
resourceId()
Get the resource |
void |
validate()
Validates the instance. |
Database |
withConnectionIdentity(String connectionIdentity)
Set the connection |
Database |
withConnectionString(String connectionString)
Set the connection |
Database |
withKind(String kind)
Set the kind property: Kind of resource. |
Database |
withRegion(String region)
Set the region property: The region of the database resource. |
Database |
withResourceId(String resourceId)
Set the resource |
Methods inherited from ProxyResource
Methods inherited from ProxyOnlyResource
Methods inherited from java.lang.Object
Constructor Details
DatabaseConnectionInner
public DatabaseConnectionInner()
Creates an instance of DatabaseConnectionInner class.
Method Details
configurationFiles
public List
Get the configurationFiles property: A list of configuration files associated with this database connection.
Returns:
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:
connectionString
public String connectionString()
Get the connectionString property: The connection string to use to connect to the database.
Returns:
region
public String region()
Get the region property: The region of the database resource.
Returns:
resourceId
public String resourceId()
Get the resourceId property: The resource id of the database.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
DatabaseConnectionInner.validate()withConnectionIdentity
public DatabaseConnectionInner withConnectionIdentity(String connectionIdentity)
Set 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.
Parameters:
Returns:
withConnectionString
public DatabaseConnectionInner withConnectionString(String connectionString)
Set the connectionString property: The connection string to use to connect to the database.
Parameters:
Returns:
withKind
public DatabaseConnectionInner withKind(String kind)
Set the kind property: Kind of resource.
Overrides:
DatabaseConnectionInner.withKind(String kind)Parameters:
withRegion
public DatabaseConnectionInner withRegion(String region)
Set the region property: The region of the database resource.
Parameters:
Returns:
withResourceId
public DatabaseConnectionInner withResourceId(String resourceId)
Set the resourceId property: The resource id of the database.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for