Share via


SyncGroupsOperationsExtensions.ListByStorageSyncServiceAsync Method

Definition

Get a SyncGroup List.

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

Parameters

operations
ISyncGroupsOperations

The operations group for this extension method.

resourceGroupName
String

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

storageSyncServiceName
String

Name of Storage Sync Service resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to