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

Class: Aws::StorageGateway::Types::Disk

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

Overview

Represents a gateway's local disk.

Instance Attribute Summary collapse

Instance Attribute Details

#disk_allocation_resourceString

The iSCSI qualified name (IQN) that is defined for a disk. This field is not included in the response if the local disk is not defined as an iSCSI target. The format of this field is targetIqn::LUNNumber::region-volumeId.

Returns:

  • (String)


2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 2941

class Disk < Struct.new(
  :disk_id,
  :disk_path,
  :disk_node,
  :disk_status,
  :disk_size_in_bytes,
  :disk_allocation_type,
  :disk_allocation_resource,
  :disk_attribute_list)
  include Aws::Structure
end

#disk_allocation_typeString

One of the DiskAllocationType enumeration values that identifies how a local disk is used. Valid values: UPLOAD_BUFFER, CACHE_STORAGE

Returns:

  • (String)


2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 2941

class Disk < Struct.new(
  :disk_id,
  :disk_path,
  :disk_node,
  :disk_status,
  :disk_size_in_bytes,
  :disk_allocation_type,
  :disk_allocation_resource,
  :disk_attribute_list)
  include Aws::Structure
end

#disk_attribute_listArray<String>

A list of values that represents attributes of a local disk.

Returns:

  • (Array<String>)


2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 2941

class Disk < Struct.new(
  :disk_id,
  :disk_path,
  :disk_node,
  :disk_status,
  :disk_size_in_bytes,
  :disk_allocation_type,
  :disk_allocation_resource,
  :disk_attribute_list)
  include Aws::Structure
end

#disk_idString

The unique device ID or other distinguishing data that identifies a local disk.

Returns:

  • (String)


2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 2941

class Disk < Struct.new(
  :disk_id,
  :disk_path,
  :disk_node,
  :disk_status,
  :disk_size_in_bytes,
  :disk_allocation_type,
  :disk_allocation_resource,
  :disk_attribute_list)
  include Aws::Structure
end

#disk_nodeString

The device node of a local disk as assigned by the virtualization environment.

Returns:

  • (String)


2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 2941

class Disk < Struct.new(
  :disk_id,
  :disk_path,
  :disk_node,
  :disk_status,
  :disk_size_in_bytes,
  :disk_allocation_type,
  :disk_allocation_resource,
  :disk_attribute_list)
  include Aws::Structure
end

#disk_pathString

The path of a local disk in the gateway virtual machine (VM).

Returns:

  • (String)


2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 2941

class Disk < Struct.new(
  :disk_id,
  :disk_path,
  :disk_node,
  :disk_status,
  :disk_size_in_bytes,
  :disk_allocation_type,
  :disk_allocation_resource,
  :disk_attribute_list)
  include Aws::Structure
end

#disk_size_in_bytesInteger

The local disk size in bytes.

Returns:

  • (Integer)


2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 2941

class Disk < Struct.new(
  :disk_id,
  :disk_path,
  :disk_node,
  :disk_status,
  :disk_size_in_bytes,
  :disk_allocation_type,
  :disk_allocation_resource,
  :disk_attribute_list)
  include Aws::Structure
end

#disk_statusString

A value that represents the status of a local disk.

Returns:

  • (String)


2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 2941

class Disk < Struct.new(
  :disk_id,
  :disk_path,
  :disk_node,
  :disk_status,
  :disk_size_in_bytes,
  :disk_allocation_type,
  :disk_allocation_resource,
  :disk_attribute_list)
  include Aws::Structure
end