Show / Hide Table of Contents

    Interface IUsagesOperations

    UsagesOperations operations.

    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.DataMigration.dll
    Syntax
    public interface IUsagesOperations

    Methods

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

    Get resource quotas and usage information

    Declaration
    public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.DataMigration.Models.Quota>>> ListNextWithHttpMessagesAsync (string nextPageLink, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
    Parameters
    String nextPageLink

    The NextLink from the previous successful call to List operation.

    Dictionary<String,List<String>> customHeaders

    The headers that will be added to request.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Task<AzureOperationResponse<IPage<Quota>>>

    Remarks

    This method returns region-specific quotas and resource usage

    information for the Database Migration Service.

    Exceptions
    ApiErrorException

    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

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

    Get resource quotas and usage information

    Declaration
    public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.DataMigration.Models.Quota>>> ListWithHttpMessagesAsync (string location, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
    Parameters
    String location

    The Azure region of the operation

    Dictionary<String,List<String>> customHeaders

    The headers that will be added to request.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Task<AzureOperationResponse<IPage<Quota>>>

    Remarks

    This method returns region-specific quotas and resource usage

    information for the Database Migration Service.

    Exceptions
    ApiErrorException

    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

    UsagesOperationsExtensions.List(IUsagesOperations, String)
    UsagesOperationsExtensions.ListAsync(IUsagesOperations, String, CancellationToken)
    UsagesOperationsExtensions.ListNext(IUsagesOperations, String)
    UsagesOperationsExtensions.ListNextAsync(IUsagesOperations, String, CancellationToken)
    Back to top Azure SDK for Net