public class DatabaseAccountUpdateParameters extends Object
| Constructor and Description |
|---|
DatabaseAccountUpdateParameters() |
| Modifier and Type | Method and Description |
|---|---|
List<Capability> |
capabilities()
Get the capabilities property: List of Cosmos DB capabilities for the account.
|
ConnectorOffer |
connectorOffer()
Get the connectorOffer property: The cassandra connector offer type for the Cosmos DB database C* account.
|
ConsistencyPolicy |
consistencyPolicy()
Get the consistencyPolicy property: The consistency policy for the Cosmos DB account.
|
Boolean |
disableKeyBasedMetadataWriteAccess()
Get the disableKeyBasedMetadataWriteAccess property: Disable write operations on metadata resources (databases,
containers, throughput) via account keys.
|
Boolean |
enableAutomaticFailover()
Get the enableAutomaticFailover property: Enables automatic failover of the write region in the rare event that
the region is unavailable due to an outage.
|
Boolean |
enableCassandraConnector()
Get the enableCassandraConnector property: Enables the cassandra connector on the Cosmos DB C* account.
|
Boolean |
enableMultipleWriteLocations()
Get the enableMultipleWriteLocations property: Enables the account to write in multiple locations.
|
String |
ipRangeFilter()
Get the ipRangeFilter property: 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 the isVirtualNetworkFilterEnabled property: Flag to indicate whether to enable/disable Virtual Network ACL
rules.
|
String |
location()
Get the location property: The location of the resource group to which the resource belongs.
|
List<Location> |
locations()
Get the locations property: An array that contains the georeplication locations enabled for the Cosmos DB
account.
|
Map<String,String> |
tags()
Get the tags property: Tags are a list of key-value pairs that describe the resource.
|
void |
validate()
Validates the instance.
|
List<VirtualNetworkRule> |
virtualNetworkRules()
Get the virtualNetworkRules property: List of Virtual Network ACL rules configured for the Cosmos DB account.
|
DatabaseAccountUpdateParameters |
withCapabilities(List<Capability> capabilities)
Set the capabilities property: List of Cosmos DB capabilities for the account.
|
DatabaseAccountUpdateParameters |
withConnectorOffer(ConnectorOffer connectorOffer)
Set the connectorOffer property: The cassandra connector offer type for the Cosmos DB database C* account.
|
DatabaseAccountUpdateParameters |
withConsistencyPolicy(ConsistencyPolicy consistencyPolicy)
Set the consistencyPolicy property: The consistency policy for the Cosmos DB account.
|
DatabaseAccountUpdateParameters |
withDisableKeyBasedMetadataWriteAccess(Boolean disableKeyBasedMetadataWriteAccess)
Set the disableKeyBasedMetadataWriteAccess property: Disable write operations on metadata resources (databases,
containers, throughput) via account keys.
|
DatabaseAccountUpdateParameters |
withEnableAutomaticFailover(Boolean enableAutomaticFailover)
Set the enableAutomaticFailover property: Enables automatic failover of the write region in the rare event that
the region is unavailable due to an outage.
|
DatabaseAccountUpdateParameters |
withEnableCassandraConnector(Boolean enableCassandraConnector)
Set the enableCassandraConnector property: Enables the cassandra connector on the Cosmos DB C* account.
|
DatabaseAccountUpdateParameters |
withEnableMultipleWriteLocations(Boolean enableMultipleWriteLocations)
Set the enableMultipleWriteLocations property: Enables the account to write in multiple locations.
|
DatabaseAccountUpdateParameters |
withIpRangeFilter(String ipRangeFilter)
Set the ipRangeFilter property: 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.
|
DatabaseAccountUpdateParameters |
withIsVirtualNetworkFilterEnabled(Boolean isVirtualNetworkFilterEnabled)
Set the isVirtualNetworkFilterEnabled property: Flag to indicate whether to enable/disable Virtual Network ACL
rules.
|
DatabaseAccountUpdateParameters |
withLocation(String location)
Set the location property: The location of the resource group to which the resource belongs.
|
DatabaseAccountUpdateParameters |
withLocations(List<Location> locations)
Set the locations property: An array that contains the georeplication locations enabled for the Cosmos DB
account.
|
DatabaseAccountUpdateParameters |
withTags(Map<String,String> tags)
Set the tags property: Tags are a list of key-value pairs that describe the resource.
|
DatabaseAccountUpdateParameters |
withVirtualNetworkRules(List<VirtualNetworkRule> virtualNetworkRules)
Set the virtualNetworkRules property: List of Virtual Network ACL rules configured for the Cosmos DB account.
|
public Map<String,String> tags()
public DatabaseAccountUpdateParameters withTags(Map<String,String> tags)
tags - the tags value to set.public String location()
public DatabaseAccountUpdateParameters withLocation(String location)
location - the location value to set.public ConsistencyPolicy consistencyPolicy()
public DatabaseAccountUpdateParameters withConsistencyPolicy(ConsistencyPolicy consistencyPolicy)
consistencyPolicy - the consistencyPolicy value to set.public List<Location> locations()
public DatabaseAccountUpdateParameters withLocations(List<Location> locations)
locations - the locations value to set.public String ipRangeFilter()
public DatabaseAccountUpdateParameters withIpRangeFilter(String ipRangeFilter)
ipRangeFilter - the ipRangeFilter value to set.public Boolean isVirtualNetworkFilterEnabled()
public DatabaseAccountUpdateParameters withIsVirtualNetworkFilterEnabled(Boolean isVirtualNetworkFilterEnabled)
isVirtualNetworkFilterEnabled - the isVirtualNetworkFilterEnabled value to set.public Boolean enableAutomaticFailover()
public DatabaseAccountUpdateParameters withEnableAutomaticFailover(Boolean enableAutomaticFailover)
enableAutomaticFailover - the enableAutomaticFailover value to set.public List<Capability> capabilities()
public DatabaseAccountUpdateParameters withCapabilities(List<Capability> capabilities)
capabilities - the capabilities value to set.public List<VirtualNetworkRule> virtualNetworkRules()
public DatabaseAccountUpdateParameters withVirtualNetworkRules(List<VirtualNetworkRule> virtualNetworkRules)
virtualNetworkRules - the virtualNetworkRules value to set.public Boolean enableMultipleWriteLocations()
public DatabaseAccountUpdateParameters withEnableMultipleWriteLocations(Boolean enableMultipleWriteLocations)
enableMultipleWriteLocations - the enableMultipleWriteLocations value to set.public Boolean enableCassandraConnector()
public DatabaseAccountUpdateParameters withEnableCassandraConnector(Boolean enableCassandraConnector)
enableCassandraConnector - the enableCassandraConnector value to set.public ConnectorOffer connectorOffer()
public DatabaseAccountUpdateParameters withConnectorOffer(ConnectorOffer connectorOffer)
connectorOffer - the connectorOffer value to set.public Boolean disableKeyBasedMetadataWriteAccess()
public DatabaseAccountUpdateParameters withDisableKeyBasedMetadataWriteAccess(Boolean disableKeyBasedMetadataWriteAccess)
disableKeyBasedMetadataWriteAccess - the disableKeyBasedMetadataWriteAccess value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.