Class TenantsOperationsExtensions
Extension methods for TenantsOperations.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Subscription.dll
Syntax
public static class TenantsOperationsExtensions
Methods
List(ITenantsOperations)
Gets the tenants for your account.
Declaration
public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Subscription.Models.TenantIdDescription> List (this Microsoft.Azure.Management.Subscription.ITenantsOperations operations);
Parameters
ITenantsOperations
operations
The operations group for this extension method. |
Returns
IPage<TenantIdDescription>
|
ListAsync(ITenantsOperations, CancellationToken)
Gets the tenants for your account.
Declaration
[System.Diagnostics.DebuggerStepThrough]
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Subscription.Models.TenantIdDescription>> ListAsync (this Microsoft.Azure.Management.Subscription.ITenantsOperations operations, System.Threading.CancellationToken cancellationToken = null);
Parameters
ITenantsOperations
operations
The operations group for this extension method. |
CancellationToken
cancellationToken
The cancellation token. |
Returns
Task<IPage<TenantIdDescription>>
|
ListNext(ITenantsOperations, String)
Gets the tenants for your account.
Declaration
public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Subscription.Models.TenantIdDescription> ListNext (this Microsoft.Azure.Management.Subscription.ITenantsOperations operations, string nextPageLink);
Parameters
ITenantsOperations
operations
The operations group for this extension method. |
String
nextPageLink
The NextLink from the previous successful call to List operation. |
Returns
IPage<TenantIdDescription>
|
ListNextAsync(ITenantsOperations, String, CancellationToken)
Gets the tenants for your account.
Declaration
[System.Diagnostics.DebuggerStepThrough]
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Subscription.Models.TenantIdDescription>> ListNextAsync (this Microsoft.Azure.Management.Subscription.ITenantsOperations operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = null);
Parameters
ITenantsOperations
operations
The operations group for this extension method. |
String
nextPageLink
The NextLink from the previous successful call to List operation. |
CancellationToken
cancellationToken
The cancellation token. |
Returns
Task<IPage<TenantIdDescription>>
|