次の方法で共有


BackupProtectedItemResource.GetBackupRecoveryPointAsync メソッド

定義

RecoveryPointID を使用して識別されたバックアップ データの情報を提供します。 これは非同期操作です。 操作の状態を確認するには、GetProtectedItemOperationResult API を呼び出します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}/recoveryPoints/{recoveryPointId}
  • 操作IdRecoveryPoints_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.BackupRecoveryPointResource>> GetBackupRecoveryPointAsync (string recoveryPointId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetBackupRecoveryPointAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.BackupRecoveryPointResource>>
override this.GetBackupRecoveryPointAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.BackupRecoveryPointResource>>
Public Overridable Function GetBackupRecoveryPointAsync (recoveryPointId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BackupRecoveryPointResource))

パラメーター

recoveryPointId
String

RecoveryPointID は、フェッチするバックアップ データを表します。

cancellationToken
CancellationToken

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

戻り値

例外

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

recoveryPointId が null です。

適用対象