Class CosmosManager
java.lang.Object
com.azure.resourcemanager.resources.fluentcore.arm.Manager<CosmosDBManagementClient>
com.azure.resourcemanager.cosmos.CosmosManager
- All Implemented Interfaces:
HasServiceClient<CosmosDBManagementClient>
Entry point to Azure Cosmos DB resource management.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThe interface allowing configurations to be set. -
Method Summary
Modifier and TypeMethodDescriptionstatic CosmosManagerauthenticate(com.azure.core.credential.TokenCredential credential, com.azure.core.management.profile.AzureProfile profile) Creates an instance of CosmosManager that exposes Cosmos DB resource management API entry points.static CosmosManagerauthenticate(com.azure.core.http.HttpPipeline httpPipeline, com.azure.core.management.profile.AzureProfile profile) Creates an instance of CosmosManager that exposes Cosmos DB resource management API entry points.static CosmosManager.ConfigurableGet a Configurable instance that can be used to create CosmosManager with optional configuration.Gets the cosmos db database account resource management API entry point.Methods inherited from class Manager
environment, httpPipeline, resourceManager, serviceClient, subscriptionId, withResourceManager
-
Method Details
-
configure
Get a Configurable instance that can be used to create CosmosManager with optional configuration.- Returns:
- Configurable
-
authenticate
public static CosmosManager authenticate(com.azure.core.credential.TokenCredential credential, com.azure.core.management.profile.AzureProfile profile) Creates an instance of CosmosManager that exposes Cosmos DB resource management API entry points.- Parameters:
credential- the credential to useprofile- the profile to use- Returns:
- the CosmosManager
-
authenticate
public static CosmosManager authenticate(com.azure.core.http.HttpPipeline httpPipeline, com.azure.core.management.profile.AzureProfile profile) Creates an instance of CosmosManager that exposes Cosmos DB resource management API entry points.- Parameters:
httpPipeline- theHttpPipelineconfigured with Azure authentication credential.profile- the profile- Returns:
- the CosmosManager
-
databaseAccounts
Gets the cosmos db database account resource management API entry point.- Returns:
- the cosmos db database account resource management API entry point
-