Class CosmosManager

    • Method Detail

      • configure

        public static CosmosManager.Configurable 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 use
        profile - the profile to use
        Returns:
        the ComputeManager
      • databaseAccounts

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