AccountOperationsExtensions.ListByResourceGroupAsync Method (IAccountOperations, String, CancellationToken)
Gets information about the Batch accounts associated within the specified resource group.
Namespace: Microsoft.Azure.Management.Batch
Assembly: Microsoft.Azure.Management.Batch (in Microsoft.Azure.Management.Batch.dll)
Syntax
public static Task<IPage<AccountResource>> ListByResourceGroupAsync(
this IAccountOperations operations,
string resourceGroupName,
CancellationToken cancellationToken = null
)
public:
[ExtensionAttribute]
static Task<IPage<AccountResource^>^>^ ListByResourceGroupAsync(
IAccountOperations^ operations,
String^ resourceGroupName,
CancellationToken cancellationToken = null
)
static member ListByResourceGroupAsync :
operations:IAccountOperations *
resourceGroupName:string *
cancellationToken:CancellationToken = null -> Task<IPage<AccountResource>>
<ExtensionAttribute>
Public Shared Function ListByResourceGroupAsync (
operations As IAccountOperations,
resourceGroupName As String,
cancellationToken As CancellationToken
) As Task(Of IPage(Of AccountResource))
Parameters
operations
Type: Microsoft.Azure.Management.Batch.IAccountOperationsThe operations group for this extension method.
resourceGroupName
Type: System.StringThe name of the resource group whose Batch accounts to list.
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task<IPage<AccountResource>>
See Also
AccountOperationsExtensions Class
Microsoft.Azure.Management.Batch Namespace
Return to top