Class: Aws::FSx::Types::DeleteVolumeRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb

Overview

Note:

When making an API call, you may pass DeleteVolumeRequest data as a hash:

{
  client_request_token: "ClientRequestToken",
  volume_id: "VolumeId", # required
  ontap_configuration: {
    skip_final_backup: false,
    final_backup_tags: [
      {
        key: "TagKey", # required
        value: "TagValue", # required
      },
    ],
  },
  open_zfs_configuration: {
    options: ["DELETE_CHILD_VOLUMES_AND_SNAPSHOTS"], # accepts DELETE_CHILD_VOLUMES_AND_SNAPSHOTS
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_request_tokenString

(Optional) An idempotency token for resource creation, in a string of up to 64 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


4255
4256
4257
4258
4259
4260
4261
4262
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 4255

class DeleteVolumeRequest < Struct.new(
  :client_request_token,
  :volume_id,
  :ontap_configuration,
  :open_zfs_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#ontap_configurationTypes::DeleteVolumeOntapConfiguration

For Amazon FSx for ONTAP volumes, specify whether to take a final backup of the volume and apply tags to the backup. To apply tags to the backup, you must have the fsx:TagResource permission.



4255
4256
4257
4258
4259
4260
4261
4262
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 4255

class DeleteVolumeRequest < Struct.new(
  :client_request_token,
  :volume_id,
  :ontap_configuration,
  :open_zfs_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#open_zfs_configurationTypes::DeleteVolumeOpenZFSConfiguration

For Amazon FSx for OpenZFS volumes, specify whether to delete all child volumes and snapshots.



4255
4256
4257
4258
4259
4260
4261
4262
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 4255

class DeleteVolumeRequest < Struct.new(
  :client_request_token,
  :volume_id,
  :ontap_configuration,
  :open_zfs_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#volume_idString

The ID of the volume that you are deleting.

Returns:

  • (String)


4255
4256
4257
4258
4259
4260
4261
4262
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 4255

class DeleteVolumeRequest < Struct.new(
  :client_request_token,
  :volume_id,
  :ontap_configuration,
  :open_zfs_configuration)
  SENSITIVE = []
  include Aws::Structure
end