Share via


StorageSyncServicesOperationsExtensions.ListBySubscriptionAsync Method

Definition

Get a StorageSyncService list by subscription.

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

Parameters

operations
IStorageSyncServicesOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to