Udostępnij za pośrednictwem


SyncGroupsOperationsExtensions.GetAsync Method

Definition

Get a given SyncGroup.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.StorageSync.Models.SyncGroup> GetAsync (this Microsoft.Azure.Management.StorageSync.ISyncGroupsOperations operations, string resourceGroupName, string storageSyncServiceName, string syncGroupName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.StorageSync.ISyncGroupsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.StorageSync.Models.SyncGroup>
<Extension()>
Public Function GetAsync (operations As ISyncGroupsOperations, resourceGroupName As String, storageSyncServiceName As String, syncGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(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.

syncGroupName
String

Name of Sync Group resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to