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.

Class: Aws::StorageGateway::Types::DetachVolumeInput

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

Overview

Note:

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

{
  volume_arn: "VolumeARN", # required
  force_detach: false,
}

AttachVolumeInput

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#force_detachBoolean

Set to true to forcibly remove the iSCSI connection of the target volume and detach the volume. The default is false. If this value is set to false, you must manually disconnect the iSCSI connection from the target volume.

Valid Values: true | false

Returns:

  • (Boolean)


4230
4231
4232
4233
4234
4235
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 4230

class DetachVolumeInput < Struct.new(
  :volume_arn,
  :force_detach)
  SENSITIVE = []
  include Aws::Structure
end

#volume_arnString

The Amazon Resource Name (ARN) of the volume to detach from the gateway.

Returns:

  • (String)


4230
4231
4232
4233
4234
4235
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 4230

class DetachVolumeInput < Struct.new(
  :volume_arn,
  :force_detach)
  SENSITIVE = []
  include Aws::Structure
end