SiteRecoveryServicesProviderCollection.GetIfExistsAsync メソッド

定義

サービスからこのリソースの詳細の取得を試みます。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}
  • 操作IdReplicationRecoveryServicesProviders_Get
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryServicesProviderResource>> GetIfExistsAsync (string providerName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryServicesProviderResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryServicesProviderResource>>
Public Overridable Function GetIfExistsAsync (providerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of SiteRecoveryServicesProviderResource))

パラメーター

providerName
String

Recovery Services プロバイダー名。

cancellationToken
CancellationToken

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

戻り値

例外

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

providerName が null です。

適用対象