/// <summary> /// The operation to get the restore point. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='restorePointCollectionName'> /// The name of the restore point collection. /// </param> /// <param name='restorePointName'> /// The name of the restore point. /// </param> public static RestorePoint Get(this IRestorePointsOperations operations, string resourceGroupName, string restorePointCollectionName, string restorePointName) { return(operations.GetAsync(resourceGroupName, restorePointCollectionName, restorePointName).GetAwaiter().GetResult()); }
/// <summary> /// Gets a restore point. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group that contains the resource. You can obtain /// this value from the Azure Resource Manager API or the portal. /// </param> /// <param name='serverName'> /// The name of the server. /// </param> /// <param name='databaseName'> /// The name of the database. /// </param> /// <param name='restorePointName'> /// The name of the restore point. /// </param> public static RestorePoint Get(this IRestorePointsOperations operations, string resourceGroupName, string serverName, string databaseName, string restorePointName) { return(operations.GetAsync(resourceGroupName, serverName, databaseName, restorePointName).GetAwaiter().GetResult()); }