| Modifier and Type | Interface and Description |
|---|---|
static interface |
CosmosDBAccount.Update
Grouping of cosmos db update stages.
|
| Modifier and Type | Method and Description |
|---|---|
CosmosDBAccount.UpdateStages.WithOptionals |
CosmosDBAccount.UpdateStages.WithConsistencyPolicy.withBoundedStalenessConsistency(long maxStalenessPrefix,
int maxIntervalInSeconds)
The consistency policy for the CosmosDB account.
|
CosmosDBAccount.UpdateStages.WithOptionals |
CosmosDBAccount.UpdateStages.WithConnector.withCassandraConnector(ConnectorOffer connectorOffer)
Specifies a connector offer for cassandra connector.
|
CosmosDBAccount.UpdateStages.WithOptionals |
CosmosDBAccount.UpdateStages.WithKeyBasedMetadataWriteAccess.withDisableKeyBaseMetadataWriteAccess(boolean disabled)
Specifies whether metadata write access should be disabled.
|
CosmosDBAccount.UpdateStages.WithOptionals |
CosmosDBAccount.UpdateStages.WithConsistencyPolicy.withEventualConsistency()
The consistency policy for the CosmosDB account.
|
CosmosDBAccount.UpdateStages.WithOptionals |
CosmosDBAccount.UpdateStages.WithIpRangeFilter.withIpRangeFilter(String ipRangeFilter)
CosmosDB 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.
|
CosmosDBAccount.UpdateStages.WithOptionals |
CosmosDBAccount.UpdateStages.WithMultipleLocations.withMultipleWriteLocationsEnabled(boolean enabled)
Specifies whether multiple write locations are enabled or not for this cosmos db account.
|
CosmosDBAccount.UpdateStages.WithOptionals |
CosmosDBAccount.UpdateStages.WithConnector.withoutCassandraConnector()
Remove the connector offer.
|
CosmosDBAccount.UpdateStages.WithOptionals |
CosmosDBAccount.UpdateStages.WithPrivateEndpointConnection.withoutPrivateEndpointConnection(String name)
Remove an existing private endpoint connection.
|
CosmosDBAccount.UpdateStages.WithOptionals |
CosmosDBAccount.UpdateStages.WithVirtualNetworkRule.withoutVirtualNetwork(String virtualNetworkId,
String subnetName)
Removes a Virtual Network ACL Rule for the CosmosDB account.
|
CosmosDBAccount.UpdateStages.WithOptionals |
CosmosDBAccount.UpdateStages.WithConsistencyPolicy.withSessionConsistency()
The consistency policy for the CosmosDB account.
|
CosmosDBAccount.UpdateStages.WithOptionals |
CosmosDBAccount.UpdateStages.WithConsistencyPolicy.withStrongConsistency()
The consistency policy for the CosmosDB account.
|
CosmosDBAccount.UpdateStages.WithOptionals |
CosmosDBAccount.UpdateStages.WithVirtualNetworkRule.withVirtualNetwork(String virtualNetworkId,
String subnetName)
Specifies a new Virtual Network ACL Rule for the CosmosDB account.
|
CosmosDBAccount.UpdateStages.WithOptionals |
CosmosDBAccount.UpdateStages.WithVirtualNetworkRule.withVirtualNetworkRules(List<VirtualNetworkRule> virtualNetworkRules)
A Virtual Network ACL Rule for the CosmosDB account.
|
| Modifier and Type | Method and Description |
|---|---|
PrivateEndpointConnection.UpdateDefinitionStages.Blank<CosmosDBAccount.UpdateStages.WithOptionals> |
CosmosDBAccount.UpdateStages.WithPrivateEndpointConnection.defineNewPrivateEndpointConnection(String name)
Start the definition of a private endpoint connection to be attached
to the cosmos db account.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/