public class DatabaseAccountCreateUpdateParameters extends ARMResourceProperties
| 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.
|
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.
|
String |
databaseAccountOfferType()
Get the offer type for the database.
|
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.
|
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 |
withConnectorOffer(ConnectorOffer connectorOffer)
Set the cassandra connector offer type for the Cosmos DB database C* 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 |
withDisableKeyBasedMetadataWriteAccess(Boolean disableKeyBasedMetadataWriteAccess)
Set disable write operations on metadata resources (databases, containers, throughput) via account keys.
|
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 |
withEnableCassandraConnector(Boolean enableCassandraConnector)
Set enables the cassandra connector on the Cosmos DB C* account.
|
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 setpublic Boolean enableCassandraConnector()
public DatabaseAccountCreateUpdateParameters withEnableCassandraConnector(Boolean enableCassandraConnector)
enableCassandraConnector - the enableCassandraConnector value to setpublic ConnectorOffer connectorOffer()
public DatabaseAccountCreateUpdateParameters withConnectorOffer(ConnectorOffer connectorOffer)
connectorOffer - the connectorOffer value to setpublic Boolean disableKeyBasedMetadataWriteAccess()
public DatabaseAccountCreateUpdateParameters 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.
*/