Ejemplo n.º 1
0
 /// <summary>
 /// Gets a Recovery Point using recoveryPointId for a Datasource.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='vaultName'>
 /// The name of the backup vault.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group where the backup vault is present.
 /// </param>
 /// <param name='backupInstanceName'>
 /// The name of the backup instance
 /// </param>
 /// <param name='recoveryPointId'>
 /// </param>
 public static AzureBackupRecoveryPointResource Get(this IRecoveryPointsOperations operations, string vaultName, string resourceGroupName, string backupInstanceName, string recoveryPointId)
 {
     return(operations.GetAsync(vaultName, resourceGroupName, backupInstanceName, recoveryPointId).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Provides the information of the backed up data identified using
 /// RecoveryPointID. This is an asynchronous operation.
 /// To know the status of the operation, call the
 /// GetProtectedItemOperationResult API.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='vaultName'>
 /// The name of the recovery services vault.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group where the recovery services vault is
 /// present.
 /// </param>
 /// <param name='fabricName'>
 /// Fabric name associated with backed up item.
 /// </param>
 /// <param name='containerName'>
 /// Container name associated with backed up item.
 /// </param>
 /// <param name='protectedItemName'>
 /// Backed up item name whose backup data needs to be fetched.
 /// </param>
 /// <param name='recoveryPointId'>
 /// RecoveryPointID represents the backed up data to be fetched.
 /// </param>
 public static RecoveryPointResource Get(this IRecoveryPointsOperations operations, string vaultName, string resourceGroupName, string fabricName, string containerName, string protectedItemName, string recoveryPointId)
 {
     return(operations.GetAsync(vaultName, resourceGroupName, fabricName, containerName, protectedItemName, recoveryPointId).GetAwaiter().GetResult());
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Gets a recovery point.
 /// </summary>
 /// <remarks>
 /// Get the details of specified recovery point.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='fabricName'>
 /// The fabric name.
 /// </param>
 /// <param name='protectionContainerName'>
 /// The protection container name.
 /// </param>
 /// <param name='replicatedProtectedItemName'>
 /// The replication protected item name.
 /// </param>
 /// <param name='recoveryPointName'>
 /// The recovery point name.
 /// </param>
 public static RecoveryPoint Get(this IRecoveryPointsOperations operations, string fabricName, string protectionContainerName, string replicatedProtectedItemName, string recoveryPointName)
 {
     return(operations.GetAsync(fabricName, protectionContainerName, replicatedProtectedItemName, recoveryPointName).GetAwaiter().GetResult());
 }