Package com.azure.resourcemanager.cosmos
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 compute 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 ComputeManager that exposes Compute resource management API entry points.static CosmosManagerauthenticate(com.azure.core.http.HttpPipeline httpPipeline, com.azure.core.management.profile.AzureProfile profile) Creates an instance of ComputeManager that exposes Compute resource management API entry points.static CosmosManager.ConfigurableGet a Configurable instance that can be used to create ComputeManager 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
-
Method Details
-
configure
Get a Configurable instance that can be used to create ComputeManager 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 ComputeManager that exposes Compute resource management API entry points.- Parameters:
credential- the credential to useprofile- the profile to use- Returns:
- the ComputeManager
-
authenticate
public static CosmosManager authenticate(com.azure.core.http.HttpPipeline httpPipeline, com.azure.core.management.profile.AzureProfile profile) Creates an instance of ComputeManager that exposes Compute resource management API entry points.- Parameters:
httpPipeline- theHttpPipelineconfigured with Azure authentication credential.profile- the profile- Returns:
- the ComputeManager
-
databaseAccounts
Gets the cosmos db database account resource management API entry point.- Returns:
- the cosmos db database account resource management API entry point
-