Interface WorkspaceManagedSqlServerUsages


  • public interface WorkspaceManagedSqlServerUsages
    Resource collection API of WorkspaceManagedSqlServerUsages.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.azure.core.http.rest.PagedIterable<ServerUsage> list​(String resourceGroupName, String workspaceName)
      Get list of server usages metric for workspace managed sql server.
      com.azure.core.http.rest.PagedIterable<ServerUsage> list​(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
      Get list of server usages metric for workspace managed sql server.
    • Method Detail

      • list

        com.azure.core.http.rest.PagedIterable<ServerUsage> list​(String resourceGroupName,
                                                                 String workspaceName)
        Get list of server usages metric for workspace managed sql server.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        Returns:
        list of server usages metric for workspace managed sql server as paginated response with PagedIterable.
        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.
      • list

        com.azure.core.http.rest.PagedIterable<ServerUsage> list​(String resourceGroupName,
                                                                 String workspaceName,
                                                                 com.azure.core.util.Context context)
        Get list of server usages metric for workspace managed sql server.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        context - The context to associate with this operation.
        Returns:
        list of server usages metric for workspace managed sql server as paginated response with PagedIterable.
        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.