Class CosmosManager

java.lang.Object
com.azure.resourcemanager.resources.fluentcore.arm.Manager<CosmosDBManagementClient>
com.azure.resourcemanager.cosmos.CosmosManager
All Implemented Interfaces:
com.azure.resourcemanager.resources.fluentcore.model.HasServiceClient<CosmosDBManagementClient>

public final class CosmosManager extends com.azure.resourcemanager.resources.fluentcore.arm.Manager<CosmosDBManagementClient>
Entry point to Azure Cosmos DB resource management.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
    The interface allowing configurations to be set.
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    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.
    Get 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 com.azure.resourcemanager.resources.fluentcore.arm.Manager

    environment, httpPipeline, resourceManager, serviceClient, subscriptionId, withResourceManager

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • configure

      public static CosmosManager.Configurable 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 use
      profile - 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 - the HttpPipeline configured with Azure authentication credential.
      profile - the profile
      Returns:
      the CosmosManager
    • databaseAccounts

      public CosmosDBAccounts databaseAccounts()
      Gets the cosmos db database account resource management API entry point.
      Returns:
      the cosmos db database account resource management API entry point