共用方式為


StorageSyncServicesOperationsExtensions.GetAsync Method

Definition

Get a given StorageSyncService.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.StorageSync.Models.StorageSyncService> GetAsync (this Microsoft.Azure.Management.StorageSync.IStorageSyncServicesOperations operations, string resourceGroupName, string storageSyncServiceName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.StorageSync.IStorageSyncServicesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.StorageSync.Models.StorageSyncService>
<Extension()>
Public Function GetAsync (operations As IStorageSyncServicesOperations, resourceGroupName As String, storageSyncServiceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of StorageSyncService)

Parameters

operations
IStorageSyncServicesOperations

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