@Beta(value=V1_2_0) public interface CosmosDBAccount extends com.microsoft.azure.management.resources.fluentcore.arm.models.GroupableResource<com.microsoft.azure.management.cosmosdb.implementation.CosmosDBManager,com.microsoft.azure.management.cosmosdb.implementation.DatabaseAccountInner>, com.microsoft.azure.management.resources.fluentcore.model.Refreshable<CosmosDBAccount>, com.microsoft.azure.management.resources.fluentcore.model.Updatable<CosmosDBAccount.Update>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
CosmosDBAccount.Definition
Grouping of cosmos db definition stages.
|
static interface |
CosmosDBAccount.DefinitionStages
Grouping of cosmos db definition stages.
|
static interface |
CosmosDBAccount.Update
Grouping of cosmos db update stages.
|
static interface |
CosmosDBAccount.UpdateStages
Grouping of cosmos db update stages.
|
com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.DefinitionWithRegion<T>, com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.DefinitionWithTags<T>, com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.UpdateWithTags<T>| Modifier and Type | Method and Description |
|---|---|
List<Capability> |
capabilities() |
ConsistencyPolicy |
consistencyPolicy() |
DatabaseAccountOfferType |
databaseAccountOfferType() |
DefaultConsistencyLevel |
defaultConsistencyLevel() |
String |
documentEndpoint() |
String |
ipRangeFilter() |
DatabaseAccountKind |
kind() |
DatabaseAccountListConnectionStringsResult |
listConnectionStrings() |
rx.Observable<DatabaseAccountListConnectionStringsResult> |
listConnectionStringsAsync() |
DatabaseAccountListKeysResult |
listKeys() |
rx.Observable<DatabaseAccountListKeysResult> |
listKeysAsync() |
DatabaseAccountListReadOnlyKeysResult |
listReadOnlyKeys() |
rx.Observable<DatabaseAccountListReadOnlyKeysResult> |
listReadOnlyKeysAsync() |
boolean |
multipleWriteLocationsEnabled() |
void |
offlineRegion(com.microsoft.azure.management.resources.fluentcore.arm.Region region)
It takes offline the specified region for the current Azure Cosmos DB database account.
|
rx.Completable |
offlineRegionAsync(com.microsoft.azure.management.resources.fluentcore.arm.Region region)
Asynchronously it takes offline the specified region for the current Azure Cosmos DB database account.
|
void |
onlineRegion(com.microsoft.azure.management.resources.fluentcore.arm.Region region)
It brings online the specified region for the current Azure Cosmos DB database account.
|
rx.Completable |
onlineRegionAsync(com.microsoft.azure.management.resources.fluentcore.arm.Region region)
Asynchronously it brings online the specified region for the current Azure Cosmos DB database account.
|
List<Location> |
readableReplications() |
void |
regenerateKey(KeyKind keyKind) |
rx.Completable |
regenerateKeyAsync(KeyKind keyKind) |
List<VirtualNetworkRule> |
virtualNetworkRules() |
List<Location> |
writableReplications() |
region, regionName, tags, typekeyidnameresourceGroupNamemanagerinnerDatabaseAccountKind kind()
String documentEndpoint()
DatabaseAccountOfferType databaseAccountOfferType()
String ipRangeFilter()
ConsistencyPolicy consistencyPolicy()
DefaultConsistencyLevel defaultConsistencyLevel()
List<Location> writableReplications()
List<Location> readableReplications()
DatabaseAccountListKeysResult listKeys()
rx.Observable<DatabaseAccountListKeysResult> listKeysAsync()
DatabaseAccountListReadOnlyKeysResult listReadOnlyKeys()
rx.Observable<DatabaseAccountListReadOnlyKeysResult> listReadOnlyKeysAsync()
DatabaseAccountListConnectionStringsResult listConnectionStrings()
rx.Observable<DatabaseAccountListConnectionStringsResult> listConnectionStringsAsync()
boolean multipleWriteLocationsEnabled()
@Beta(value=V1_10_0) List<Capability> capabilities()
@Beta(value=V1_10_0) List<VirtualNetworkRule> virtualNetworkRules()
@Beta(value=V1_11_0) void offlineRegion(com.microsoft.azure.management.resources.fluentcore.arm.Region region)
region - Cosmos DB region@Beta(value=V1_11_0) rx.Completable offlineRegionAsync(com.microsoft.azure.management.resources.fluentcore.arm.Region region)
region - Cosmos DB region@Beta(value=V1_11_0) void onlineRegion(com.microsoft.azure.management.resources.fluentcore.arm.Region region)
region - Cosmos DB region@Beta(value=V1_11_0) rx.Completable onlineRegionAsync(com.microsoft.azure.management.resources.fluentcore.arm.Region region)
region - Cosmos DB regionvoid regenerateKey(KeyKind keyKind)
keyKind - the key kind@Beta(value=V1_11_0) rx.Completable regenerateKeyAsync(KeyKind keyKind)
keyKind - the key kind/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/