public class DatabaseAccountUpdateParameters extends Object
| Constructor and Description |
|---|
DatabaseAccountUpdateParameters() |
| Modifier and Type | Method and Description |
|---|---|
List<Capability> |
capabilities()
Get list of Cosmos DB capabilities for the account.
|
ConnectorOffer |
connectorOffer()
Get the cassandra connector offer type for the Cosmos DB database C* account.
|
ConsistencyPolicy |
consistencyPolicy()
Get the consistency policy for the Cosmos DB account.
|
Boolean |
disableKeyBasedMetadataWriteAccess()
Get disable write operations on metadata resources (databases, containers, throughput) via account keys.
|
Boolean |
enableAutomaticFailover()
Get enables automatic failover of the write region in the rare event that the region is unavailable due to an outage.
|
Boolean |
enableCassandraConnector()
Get enables the cassandra connector on the Cosmos DB C* account.
|
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.
|
String |
location()
Get the location of the resource group to which the resource belongs.
|
List<Location> |
locations()
Get an array that contains the georeplication locations enabled for the Cosmos DB account.
|
Map<String,String> |
tags()
Get the tags value.
|
List<VirtualNetworkRule> |
virtualNetworkRules()
Get list of Virtual Network ACL rules configured for the Cosmos DB account.
|
DatabaseAccountUpdateParameters |
withCapabilities(List<Capability> capabilities)
Set list of Cosmos DB capabilities for the account.
|
DatabaseAccountUpdateParameters |
withConnectorOffer(ConnectorOffer connectorOffer)
Set the cassandra connector offer type for the Cosmos DB database C* account.
|
DatabaseAccountUpdateParameters |
withConsistencyPolicy(ConsistencyPolicy consistencyPolicy)
Set the consistency policy for the Cosmos DB account.
|
DatabaseAccountUpdateParameters |
withDisableKeyBasedMetadataWriteAccess(Boolean disableKeyBasedMetadataWriteAccess)
Set disable write operations on metadata resources (databases, containers, throughput) via account keys.
|
DatabaseAccountUpdateParameters |
withEnableAutomaticFailover(Boolean enableAutomaticFailover)
Set 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 enables the cassandra connector on the Cosmos DB C* account.
|
DatabaseAccountUpdateParameters |
withEnableMultipleWriteLocations(Boolean enableMultipleWriteLocations)
Set enables the account to write in multiple locations.
|
DatabaseAccountUpdateParameters |
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.
|
DatabaseAccountUpdateParameters |
withIsVirtualNetworkFilterEnabled(Boolean isVirtualNetworkFilterEnabled)
Set flag to indicate whether to enable/disable Virtual Network ACL rules.
|
DatabaseAccountUpdateParameters |
withLocation(String location)
Set the location of the resource group to which the resource belongs.
|
DatabaseAccountUpdateParameters |
withLocations(List<Location> locations)
Set an array that contains the georeplication locations enabled for the Cosmos DB account.
|
DatabaseAccountUpdateParameters |
withTags(Map<String,String> tags)
Set the tags value.
|
DatabaseAccountUpdateParameters |
withVirtualNetworkRules(List<VirtualNetworkRule> virtualNetworkRules)
Set list of Virtual Network ACL rules configured for the Cosmos DB account.
|
public DatabaseAccountUpdateParameters withTags(Map<String,String> tags)
tags - the tags value to setpublic String location()
public DatabaseAccountUpdateParameters withLocation(String location)
location - the location value to setpublic ConsistencyPolicy consistencyPolicy()
public DatabaseAccountUpdateParameters withConsistencyPolicy(ConsistencyPolicy consistencyPolicy)
consistencyPolicy - the consistencyPolicy value to setpublic List<Location> locations()
public DatabaseAccountUpdateParameters withLocations(List<Location> locations)
locations - the locations value to setpublic String ipRangeFilter()
public DatabaseAccountUpdateParameters withIpRangeFilter(String ipRangeFilter)
ipRangeFilter - the ipRangeFilter value to setpublic Boolean isVirtualNetworkFilterEnabled()
public DatabaseAccountUpdateParameters withIsVirtualNetworkFilterEnabled(Boolean isVirtualNetworkFilterEnabled)
isVirtualNetworkFilterEnabled - the isVirtualNetworkFilterEnabled value to setpublic Boolean enableAutomaticFailover()
public DatabaseAccountUpdateParameters withEnableAutomaticFailover(Boolean enableAutomaticFailover)
enableAutomaticFailover - the enableAutomaticFailover value to setpublic List<Capability> capabilities()
public DatabaseAccountUpdateParameters withCapabilities(List<Capability> capabilities)
capabilities - the capabilities value to setpublic List<VirtualNetworkRule> virtualNetworkRules()
public DatabaseAccountUpdateParameters withVirtualNetworkRules(List<VirtualNetworkRule> virtualNetworkRules)
virtualNetworkRules - the virtualNetworkRules value to setpublic Boolean enableMultipleWriteLocations()
public DatabaseAccountUpdateParameters withEnableMultipleWriteLocations(Boolean enableMultipleWriteLocations)
enableMultipleWriteLocations - the enableMultipleWriteLocations value to setpublic Boolean enableCassandraConnector()
public DatabaseAccountUpdateParameters withEnableCassandraConnector(Boolean enableCassandraConnector)
enableCassandraConnector - the enableCassandraConnector value to setpublic ConnectorOffer connectorOffer()
public DatabaseAccountUpdateParameters withConnectorOffer(ConnectorOffer connectorOffer)
connectorOffer - the connectorOffer value to setpublic Boolean disableKeyBasedMetadataWriteAccess()
public DatabaseAccountUpdateParameters withDisableKeyBasedMetadataWriteAccess(Boolean disableKeyBasedMetadataWriteAccess)
disableKeyBasedMetadataWriteAccess - the disableKeyBasedMetadataWriteAccess value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/