Show / Hide Table of Contents

    Interface IServerUsagesOperations

    ServerUsagesOperations operations.

    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Sql.dll
    Syntax
    public interface IServerUsagesOperations

    Methods

    ListByServerWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

    Returns server usages.

    Declaration
    public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Sql.Models.ServerUsage>>> ListByServerWithHttpMessagesAsync (string resourceGroupName, string serverName, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
    Parameters
    String 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.

    String serverName

    The name of the server.

    Dictionary<String,List<String>> customHeaders

    The headers that will be added to request.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Task<AzureOperationResponse<IEnumerable<ServerUsage>>>

    Exceptions
    CloudException

    Thrown when the operation returned an invalid status code

    SerializationException

    Thrown when unable to deserialize the response

    ValidationException

    Thrown when a required parameter is null

    Extension Methods

    ServerUsagesOperationsExtensions.ListByServer(IServerUsagesOperations, String, String)
    ServerUsagesOperationsExtensions.ListByServerAsync(IServerUsagesOperations, String, String, CancellationToken)
    Back to top Azure SDK for Net