public class DatabaseAccountCreateUpdateParameters extends Resource
Constructor and Description |
---|
DatabaseAccountCreateUpdateParameters()
Creates an instance of DatabaseAccountCreateUpdateParameters class.
|
Modifier and Type | Method and Description |
---|---|
List<Capability> |
capabilities()
Get list of Cosmos DB capabilities for the account.
|
ConsistencyPolicy |
consistencyPolicy()
Get the consistency policy for the Cosmos DB account.
|
String |
databaseAccountOfferType()
Get the offer type for the database.
|
Boolean |
enableAutomaticFailover()
Get enables automatic failover of the write region in the rare event that the region is unavailable due to an outage.
|
Boolean |
enableMultipleWriteLocations()
Get enables the account to write in multiple locations.
|
String |
ipRangeFilter()
Get cosmos DB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account.
|
Boolean |
isVirtualNetworkFilterEnabled()
Get flag to indicate whether to enable/disable Virtual Network ACL rules.
|
DatabaseAccountKind |
kind()
Get indicates the type of database account.
|
List<Location> |
locations()
Get an array that contains the georeplication locations enabled for the Cosmos DB account.
|
List<VirtualNetworkRule> |
virtualNetworkRules()
Get list of Virtual Network ACL rules configured for the Cosmos DB account.
|
DatabaseAccountCreateUpdateParameters |
withCapabilities(List<Capability> capabilities)
Set list of Cosmos DB capabilities for the account.
|
DatabaseAccountCreateUpdateParameters |
withConsistencyPolicy(ConsistencyPolicy consistencyPolicy)
Set the consistency policy for the Cosmos DB account.
|
DatabaseAccountCreateUpdateParameters |
withDatabaseAccountOfferType(String databaseAccountOfferType)
Set the offer type for the database.
|
DatabaseAccountCreateUpdateParameters |
withEnableAutomaticFailover(Boolean enableAutomaticFailover)
Set enables automatic failover of the write region in the rare event that the region is unavailable due to an outage.
|
DatabaseAccountCreateUpdateParameters |
withEnableMultipleWriteLocations(Boolean enableMultipleWriteLocations)
Set enables the account to write in multiple locations.
|
DatabaseAccountCreateUpdateParameters |
withIpRangeFilter(String ipRangeFilter)
Set cosmos DB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account.
|
DatabaseAccountCreateUpdateParameters |
withIsVirtualNetworkFilterEnabled(Boolean isVirtualNetworkFilterEnabled)
Set flag to indicate whether to enable/disable Virtual Network ACL rules.
|
DatabaseAccountCreateUpdateParameters |
withKind(DatabaseAccountKind kind)
Set indicates the type of database account.
|
DatabaseAccountCreateUpdateParameters |
withLocations(List<Location> locations)
Set an array that contains the georeplication locations enabled for the Cosmos DB account.
|
DatabaseAccountCreateUpdateParameters |
withVirtualNetworkRules(List<VirtualNetworkRule> virtualNetworkRules)
Set list of Virtual Network ACL rules configured for the Cosmos DB account.
|
public DatabaseAccountCreateUpdateParameters()
public DatabaseAccountKind kind()
public DatabaseAccountCreateUpdateParameters withKind(DatabaseAccountKind kind)
kind
- the kind value to setpublic ConsistencyPolicy consistencyPolicy()
public DatabaseAccountCreateUpdateParameters withConsistencyPolicy(ConsistencyPolicy consistencyPolicy)
consistencyPolicy
- the consistencyPolicy value to setpublic List<Location> locations()
public DatabaseAccountCreateUpdateParameters withLocations(List<Location> locations)
locations
- the locations value to setpublic String databaseAccountOfferType()
public DatabaseAccountCreateUpdateParameters withDatabaseAccountOfferType(String databaseAccountOfferType)
databaseAccountOfferType
- the databaseAccountOfferType value to setpublic String ipRangeFilter()
public DatabaseAccountCreateUpdateParameters withIpRangeFilter(String ipRangeFilter)
ipRangeFilter
- the ipRangeFilter value to setpublic Boolean isVirtualNetworkFilterEnabled()
public DatabaseAccountCreateUpdateParameters withIsVirtualNetworkFilterEnabled(Boolean isVirtualNetworkFilterEnabled)
isVirtualNetworkFilterEnabled
- the isVirtualNetworkFilterEnabled value to setpublic Boolean enableAutomaticFailover()
public DatabaseAccountCreateUpdateParameters withEnableAutomaticFailover(Boolean enableAutomaticFailover)
enableAutomaticFailover
- the enableAutomaticFailover value to setpublic List<Capability> capabilities()
public DatabaseAccountCreateUpdateParameters withCapabilities(List<Capability> capabilities)
capabilities
- the capabilities value to setpublic List<VirtualNetworkRule> virtualNetworkRules()
public DatabaseAccountCreateUpdateParameters withVirtualNetworkRules(List<VirtualNetworkRule> virtualNetworkRules)
virtualNetworkRules
- the virtualNetworkRules value to setpublic Boolean enableMultipleWriteLocations()
public DatabaseAccountCreateUpdateParameters withEnableMultipleWriteLocations(Boolean enableMultipleWriteLocations)
enableMultipleWriteLocations
- the enableMultipleWriteLocations value to setCopyright © 2019. All rights reserved.