def backup_partition_with_http_info(partition_id, backup_partition_description:nil, backup_timeout:10, timeout:60, custom_headers:nil)
      backup_partition_async(partition_id, backup_partition_description:backup_partition_description, backup_timeout:backup_timeout, timeout:timeout, custom_headers:custom_headers).value!
    end
def backup_partition_with_http_info(partition_id, backup_partition_description:nil, backup_timeout:10, timeout:60, custom_headers:nil)
      backup_partition_async(partition_id, backup_partition_description:backup_partition_description, backup_timeout:backup_timeout, timeout:timeout, custom_headers:custom_headers).value!
    end
Triggers backup of the partition's state.

 Creates a backup of the stateful persisted partition's state. In case the
 partition is already being periodically backed up, then by default the new
 backup is created at the same backup storage. One can also override the same
 by specifying the backup storage details as part of the request body. Once
 the backup is initiated, its progress can be tracked using the
 GetBackupProgress operation.
 In case, the operation times out, specify a greater backup timeout value in
 the query parameter.

 @param partition_id The identity of the partition.
 @param backup_partition_description [BackupPartitionDescription] Describes
 the parameters to backup the partition now. If not present, backup operation
 uses default parameters from the backup policy current associated with this
 partition.
 @param backup_timeout [Integer] Specifies the maximum amount of time, in
 minutes, to wait for the backup operation to complete. Post that, the
 operation completes with timeout error. However, in certain corner cases it
 could be that though the operation returns back timeout, the backup actually
 goes through. In case of timeout error, its recommended to invoke this
 operation again with a greater timeout value. The default value for the same
 is 10 minutes.
 @param timeout [Integer] The server timeout for performing the operation in
 seconds. This timeout specifies the time duration that the client is willing
 to wait for the requested operation to complete. The default value for this
 parameter is 60 seconds.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [MsRestAzure::AzureOperationResponse] HTTP response information.