Interface DatabaseUsagesClient


  • public interface DatabaseUsagesClient
    An instance of this class provides access to all the operations defined in DatabaseUsagesClient.
    • Method Detail

      • listByDatabaseAsync

        com.azure.core.http.rest.PagedFlux<DatabaseUsageInner> listByDatabaseAsync​(String resourceGroupName,
                                                                                   String serverName,
                                                                                   String databaseName)
        Returns database usages.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        databaseName - The name of the database.
        Returns:
        the response to a list database metrics request.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listByDatabase

        com.azure.core.http.rest.PagedIterable<DatabaseUsageInner> listByDatabase​(String resourceGroupName,
                                                                                  String serverName,
                                                                                  String databaseName)
        Returns database usages.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        databaseName - The name of the database.
        Returns:
        the response to a list database metrics request.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listByDatabase

        com.azure.core.http.rest.PagedIterable<DatabaseUsageInner> listByDatabase​(String resourceGroupName,
                                                                                  String serverName,
                                                                                  String databaseName,
                                                                                  com.azure.core.util.Context context)
        Returns database usages.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        serverName - The name of the server.
        databaseName - The name of the database.
        context - The context to associate with this operation.
        Returns:
        the response to a list database metrics request.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.