CosmosDBAccount Interface
Implements
public interface CosmosDBAccount
extends GroupableResource<CosmosManager,DatabaseAccountGetResultsInner>, Refreshable<CosmosDBAccount>, Updatable<Update>, SupportsUpdatingPrivateEndpointConnection
An immutable client-side representation of an Azure Cosmos DB.
Method Summary
Method Details
capabilities
public abstract List
Returns:
cassandraConnectorEnabled
public abstract boolean cassandraConnectorEnabled()
Returns:
cassandraConnectorOffer
public abstract ConnectorOffer cassandraConnectorOffer()
Returns:
consistencyPolicy
public abstract ConsistencyPolicy consistencyPolicy()
Returns:
databaseAccountOfferType
public abstract DatabaseAccountOfferType databaseAccountOfferType()
Returns:
defaultConsistencyLevel
public abstract DefaultConsistencyLevel defaultConsistencyLevel()
Returns:
documentEndpoint
public abstract String documentEndpoint()
Returns:
getPrivateEndpointConnection
public abstract PrivateEndpointConnection getPrivateEndpointConnection(String name)
Parameters:
Returns:
getPrivateEndpointConnectionAsync
public abstract Mono
Parameters:
Returns:
getPrivateLinkResource
public abstract PrivateLinkResource getPrivateLinkResource(String groupName)
Parameters:
Returns:
getPrivateLinkResourceAsync
public abstract Mono
Parameters:
Returns:
ipRangeFilter
@Deprecated
public abstract String ipRangeFilter()
Deprecated
Returns:
ipRules
public abstract List
Returns:
keyBasedMetadataWriteAccessDisabled
public abstract boolean keyBasedMetadataWriteAccessDisabled()
Returns:
kind
public abstract DatabaseAccountKind kind()
Returns:
listConnectionStrings
public abstract DatabaseAccountListConnectionStringsResult listConnectionStrings()
Returns:
listConnectionStringsAsync
public abstract Mono
Returns:
listKeys
public abstract DatabaseAccountListKeysResult listKeys()
Returns:
listKeysAsync
public abstract Mono
Returns:
listPrivateEndpointConnection
public abstract Map
Returns:
listPrivateEndpointConnectionAsync
public abstract Mono
Returns:
listPrivateLinkResources
public abstract List
Returns:
listPrivateLinkResourcesAsync
public abstract PagedFlux
Returns:
listReadOnlyKeys
public abstract DatabaseAccountListReadOnlyKeysResult listReadOnlyKeys()
Returns:
listReadOnlyKeysAsync
public abstract Mono
Returns:
listSqlDatabases
public abstract List
Returns:
listSqlDatabasesAsync
public abstract PagedFlux
Returns:
multipleWriteLocationsEnabled
public abstract boolean multipleWriteLocationsEnabled()
Returns:
offlineRegion
public abstract void offlineRegion(Region region)
It takes offline the specified region for the current Azure Cosmos DB database account.
Parameters:
offlineRegionAsync
public abstract Mono
Asynchronously it takes offline the specified region for the current Azure Cosmos DB database account.
Parameters:
Returns:
onlineRegion
public abstract void onlineRegion(Region region)
It brings online the specified region for the current Azure Cosmos DB database account.
Parameters:
onlineRegionAsync
public abstract Mono
Asynchronously it brings online the specified region for the current Azure Cosmos DB database account.
Parameters:
Returns:
publicNetworkAccess
public abstract PublicNetworkAccess publicNetworkAccess()
Whether the CosmosDB account can be accessed from public network.
Returns:
readableReplications
public abstract List
Returns:
regenerateKey
public abstract void regenerateKey(KeyKind keyKind)
Parameters:
regenerateKeyAsync
public abstract Mono
Parameters:
Returns:
virtualNetworkRules
public abstract List
Returns:
writableReplications
public abstract List
Returns:
Applies to
Azure SDK for Java