| Modifier and Type | Method and Description |
|---|---|
Location |
Location.withFailoverPriority(Integer failoverPriority)
Set the failover priority of the region.
|
Location |
Location.withLocationName(String locationName)
Set the name of the region.
|
Location |
Location.withProvisioningState(String provisioningState)
Set the provisioningState value.
|
| Modifier and Type | Method and Description |
|---|---|
List<Location> |
CosmosDBAccount.readableReplications() |
List<Location> |
CosmosDBAccount.writableReplications() |
| Modifier and Type | Method and Description |
|---|---|
void |
CosmosDBAccounts.failoverPriorityChange(String groupName,
String accountName,
List<Location> failoverPolicies)
Changes the failover priority for the Azure CosmosDB database account.
|
rx.Observable<Void> |
CosmosDBAccounts.failoverPriorityChangeAsync(String groupName,
String accountName,
List<Location> failoverPolicies)
Changes the failover priority for the Azure CosmosDB database account.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/