/// <summary>
 /// Creates a restore point for a data warehouse.
 /// </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='parameters'>
 /// The definition for creating the restore point of this database.
 /// </param>
 public static RestorePoint BeginCreate(this IRestorePointsOperations operations, string resourceGroupName, string serverName, string databaseName, CreateDatabaseRestorePointDefinition parameters)
 {
     return(operations.BeginCreateAsync(resourceGroupName, serverName, databaseName, parameters).GetAwaiter().GetResult());
 }
Пример #2
0
 /// <summary>
 /// The operation to create the restore point. Updating properties of an
 /// existing restore point is not allowed
 /// </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>
 /// <param name='parameters'>
 /// Parameters supplied to the Create restore point operation.
 /// </param>
 public static RestorePoint BeginCreate(this IRestorePointsOperations operations, string resourceGroupName, string restorePointCollectionName, string restorePointName, RestorePoint parameters)
 {
     return(operations.BeginCreateAsync(resourceGroupName, restorePointCollectionName, restorePointName, parameters).GetAwaiter().GetResult());
 }
Пример #3
0
 /// <summary>
 /// The operation to create the restore point. Updating properties of an
 /// existing restore point is not allowed
 /// </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>
 /// <param name='excludeDisks'>
 /// List of disk resource ids that the customer wishes to exclude from the
 /// restore point. If no disks are specified, all disks will be included.
 /// </param>
 public static RestorePoint BeginCreate(this IRestorePointsOperations operations, string resourceGroupName, string restorePointCollectionName, string restorePointName, IList <ApiEntityReference> excludeDisks = default(IList <ApiEntityReference>))
 {
     return(operations.BeginCreateAsync(resourceGroupName, restorePointCollectionName, restorePointName, excludeDisks).GetAwaiter().GetResult());
 }