DatabaseAccountManagerInternal Interface
public interface DatabaseAccountManagerInternal
Method Summary
Modifier and Type | Method and Description |
---|---|
Connection |
getConnectionPolicy()
Gets the connection policy |
Database |
getDatabaseAccountFromEndpoint(URI endpoint)
Gets database account information. |
URI |
getServiceEndpoint()
Gets the service endpoint |
Method Details
getConnectionPolicy
public ConnectionPolicy getConnectionPolicy()
Gets the connection policy
Returns:
connection policy
getDatabaseAccountFromEndpoint
public DatabaseAccount getDatabaseAccountFromEndpoint(URI endpoint)
Gets database account information.
Parameters:
endpoint
- the endpoint from which gets the database account
Returns:
the database account.
Throws:
DocumentClientException
- the document client exception.
getServiceEndpoint
public URI getServiceEndpoint()
Gets the service endpoint
Returns:
service endpoint
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java