Condividi tramite


RegisteredServersOperationsExtensions.ListByStorageSyncServiceAsync Method

Definition

Get a given registered server list.

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

Parameters

operations
IRegisteredServersOperations

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