Show / Hide Table of Contents

    Interface ITenantsOperations

    TenantsOperations operations.

    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Subscription.dll
    Syntax
    public interface ITenantsOperations

    Methods

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

    Gets the tenants for your account.

    Declaration
    public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Subscription.Models.TenantIdDescription>>> 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<TenantIdDescription>>>

    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

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

    Gets the tenants for your account.

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

    The headers that will be added to request.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Task<AzureOperationResponse<IPage<TenantIdDescription>>>

    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

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