Class CosmosManager

All Implemented Interfaces:
HasServiceClient<CosmosDBManagementClient>

public final class CosmosManager extends Manager<CosmosDBManagementClient>
Entry point to Azure Cosmos DB resource management.
  • 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