StorageSyncServicesOperationsExtensions.ListByResourceGroupAsync(IStorageSyncServicesOperations, String, CancellationToken) Method

Definition

Get a StorageSyncService list by Resource group name.

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.StorageSync.Models.StorageSyncService>> ListByResourceGroupAsync (this Microsoft.Azure.Management.StorageSync.IStorageSyncServicesOperations operations, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member ListByResourceGroupAsync : Microsoft.Azure.Management.StorageSync.IStorageSyncServicesOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.StorageSync.Models.StorageSyncService>>
<Extension()>
Public Function ListByResourceGroupAsync (operations As IStorageSyncServicesOperations, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of StorageSyncService))

Parameters

operations
IStorageSyncServicesOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group. The name is case insensitive.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<StorageSyncService>>

Applies to