次の方法で共有


StorageSyncServiceCollection.GetAsync(String, CancellationToken) メソッド

定義

特定の StorageSyncService を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}
  • 操作IdStorageSyncServices_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageSync.StorageSyncServiceResource>> GetAsync (string storageSyncServiceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageSync.StorageSyncServiceResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageSync.StorageSyncServiceResource>>
Public Overridable Function GetAsync (storageSyncServiceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of StorageSyncServiceResource))

パラメーター

storageSyncServiceName
String

ストレージ同期サービス リソースの名前。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

storageSyncServiceName は空の文字列であり、空でないと予想されていました。

storageSyncServiceName が null です。

適用対象