次の方法で共有


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

定義

指定した復旧ポイントの詳細を取得します。

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

パラメーター

recoveryPointName
String

復旧ポイント名。

cancellationToken
CancellationToken

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

戻り値

例外

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

recoveryPointName が null です。

適用対象