AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the DeleteBackup operation. Deletes an Amazon FSx backup. After deletion, the backup no longer exists, and its data is gone.
The DeleteBackup
call returns instantly. The backup won't show up in later
DescribeBackups
calls.
The data in a deleted backup is also deleted and can't be recovered by any means.
Namespace: Amazon.FSx.Model
Assembly: AWSSDK.FSx.dll
Version: 3.x.y.z
public class DeleteBackupRequest : AmazonFSxRequest IAmazonWebServiceRequest
The DeleteBackupRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
DeleteBackupRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
BackupId | System.String |
Gets and sets the property BackupId. The ID of the backup that you want to delete. |
![]() |
ClientRequestToken | System.String |
Gets and sets the property ClientRequestToken. A string of up to 63 ASCII characters that Amazon FSx uses to ensure idempotent deletion. This parameter is automatically filled on your behalf when using the CLI or SDK. |
This operation deletes an Amazon FSx file system backup.
var client = new AmazonFSxClient(); var response = client.DeleteBackup(new DeleteBackupRequest { BackupId = "backup-03e3c82e0183b7b6b" }); string backupId = response.BackupId; string lifecycle = response.Lifecycle;
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5