Freigeben über


StorageSyncGroupCollection.GetAsync(String, CancellationToken) Methode

Definition

Rufen Sie eine bestimmte SyncGroup ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}
  • Vorgangs-IdSyncGroups_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageSync.StorageSyncGroupResource>> GetAsync (string syncGroupName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageSync.StorageSyncGroupResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageSync.StorageSyncGroupResource>>
Public Overridable Function GetAsync (syncGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of StorageSyncGroupResource))

Parameter

syncGroupName
String

Name der Synchronisierungsgruppenressource.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

syncGroupName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

syncGroupName ist NULL.

Gilt für: