public class DatabaseAccount extends Resource
Constructor and Description |
---|
DatabaseAccount()
Constructor.
|
DatabaseAccount(String jsonString)
Initialize a database account object from json string.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getEnableMultipleWriteLocations() |
Iterable<DatabaseAccountLocation> |
getReadableLocations()
Gets the list of readable locations for this database account.
|
Iterable<DatabaseAccountLocation> |
getWritableLocations()
Gets the list of writable locations for this database account.
|
String |
toJson()
Converts to a JSON string.
|
getETag, getId, getResourceId, getSelfLink, getTimestamp, setId, setResourceId
get, getBoolean, getCollection, getDouble, getInt, getList, getLogger, getLong, getMap, getObject, getObjectByPath, getString, has, toJson, toObject, toString
public DatabaseAccount()
public DatabaseAccount(String jsonString)
jsonString
- the json string that represents the database account.public Iterable<DatabaseAccountLocation> getWritableLocations()
public Iterable<DatabaseAccountLocation> getReadableLocations()
public boolean getEnableMultipleWriteLocations()
public String toJson()
JsonSerializable
toJson
in class JsonSerializable
Copyright © 2020 Microsoft Corporation. All rights reserved.