Esempio n. 1
0
 /// <summary>
 /// Gets the list of recovery points for a replication protected item.
 /// </summary>
 /// <remarks>
 /// Lists the available recovery points for a replication protected item.
 /// </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='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <RecoveryPoint> > ListByReplicationProtectedItemsAsync(this IRecoveryPointsOperations operations, string fabricName, string protectionContainerName, string replicatedProtectedItemName, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListByReplicationProtectedItemsWithHttpMessagesAsync(fabricName, protectionContainerName, replicatedProtectedItemName, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }