com.microsoft.azure.management.cosmosdb.CosmosDBAccount Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-cosmosdb Show documentation
Show all versions of azure-mgmt-cosmosdb Show documentation
This package contains Microsoft Azure CosmosDB SDK. A new set of management libraries are now Generally Available. For documentation on how to use the new libraries, please see https://aka.ms/azsdk/java/mgmt
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
package com.microsoft.azure.management.cosmosdb;
import com.microsoft.azure.management.apigeneration.Beta;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.apigeneration.Beta.SinceVersion;
import com.microsoft.azure.management.apigeneration.Method;
import com.microsoft.azure.management.cosmosdb.implementation.CosmosDBManager;
import com.microsoft.azure.management.cosmosdb.implementation.DatabaseAccountGetResultsInner;
import com.microsoft.azure.management.resources.fluentcore.arm.Region;
import com.microsoft.azure.management.resources.fluentcore.arm.models.GroupableResource;
import com.microsoft.azure.management.resources.fluentcore.arm.models.Resource;
import com.microsoft.azure.management.resources.fluentcore.model.Appliable;
import com.microsoft.azure.management.resources.fluentcore.model.Creatable;
import com.microsoft.azure.management.resources.fluentcore.model.Refreshable;
import com.microsoft.azure.management.resources.fluentcore.model.Updatable;
import rx.Completable;
import rx.Observable;
import java.util.List;
import java.util.Map;
/**
* An immutable client-side representation of an Azure Cosmos DB.
*/
@Fluent
@Beta(SinceVersion.V1_2_0)
public interface CosmosDBAccount extends
GroupableResource,
Refreshable,
Updatable {
/**
* @return indicates the type of database account
*/
DatabaseAccountKind kind();
/**
* @return the connection endpoint for the CosmosDB database account
*/
String documentEndpoint();
/**
* @return the offer type for the CosmosDB database account
*/
DatabaseAccountOfferType databaseAccountOfferType();
/**
* @return specifies the set of IP addresses or IP address ranges in CIDR form.
*/
String ipRangeFilter();
/**
* @return the consistency policy for the CosmosDB database account
*/
ConsistencyPolicy consistencyPolicy();
/**
* @return the default consistency level for the CosmosDB database account
*/
DefaultConsistencyLevel defaultConsistencyLevel();
/**
* @return an array that contains the writable georeplication locations enabled for the CosmosDB account
*/
List writableReplications();
/**
* @return an array that contains the readable georeplication locations enabled for the CosmosDB account
*/
List readableReplications();
/**
* @return the access keys for the specified Azure CosmosDB database account
*/
DatabaseAccountListKeysResult listKeys();
/**
* @return the access keys for the specified Azure CosmosDB database account
*/
Observable listKeysAsync();
/**
* @return the read-only access keys for the specified Azure CosmosDB database account
*/
DatabaseAccountListReadOnlyKeysResult listReadOnlyKeys();
/**
* @return the read-only access keys for the specified Azure CosmosDB database account
*/
Observable listReadOnlyKeysAsync();
/**
* @return the connection strings for the specified Azure CosmosDB database account
*/
DatabaseAccountListConnectionStringsResult listConnectionStrings();
/**
* @return the connection strings for the specified Azure CosmosDB database account
*/
Observable listConnectionStringsAsync();
/**
* @return the list of Azure Cosmos DB SQL databases
*/
List listSqlDatabases();
/**
* @return the list of Azure Cosmos DB SQL databases
*/
Observable> listSqlDatabasesAsync();
/**
* @return whether write is enabled for multiple locations or not
*/
boolean multipleWriteLocationsEnabled();
/**
* @return whether cassandra connector is enabled or not.
*/
boolean cassandraConnectorEnabled();
/**
* @return the current cassandra connector offer.
*/
ConnectorOffer cassandraConnectorOffer();
/**
* @return whether metadata write access is disabled or not.
*/
boolean keyBasedMetadataWriteAccessDisabled();
/**
* @return all private link resources in the account.
*/
Observable> listPrivateLinkResourcesAsync();
/**
* @return all private link resources in the account.
*/
List listPrivateLinkResources();
/**
* @param groupName group name of private link resource
* @return the specific private link resource group
*/
Observable getPrivateLinkResourceAsync(String groupName);
/**
* @param groupName group name of private link resource
* @return the specific private link resource group
*/
PrivateLinkResource getPrivateLinkResource(String groupName);
/**
* @return all private endpoint connection in the account.
*/
Observable
© 2015 - 2025 Weber Informatics LLC | Privacy Policy