You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

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.

Returns:

  • (Boolean)


3151
3152
3153
3154
3155
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 3151

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

#volume_arnString

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

Returns:

  • (String)


3151
3152
3153
3154
3155
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 3151

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