GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Paws::StorageGateway::AttachVolume(3) User Contributed Perl Documentation Paws::StorageGateway::AttachVolume(3)

Paws::StorageGateway::AttachVolume - Arguments for method AttachVolume on Paws::StorageGateway

This class represents the parameters used for calling the method AttachVolume on the AWS Storage Gateway service. Use the attributes of this class as arguments to method AttachVolume.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AttachVolume.

    my $storagegateway = Paws->service('StorageGateway');
    my $AttachVolumeOutput = $storagegateway->AttachVolume(
      GatewayARN         => 'MyGatewayARN',
      NetworkInterfaceId => 'MyNetworkInterfaceId',
      VolumeARN          => 'MyVolumeARN',
      DiskId             => 'MyDiskId',               # OPTIONAL
      TargetName         => 'MyTargetName',           # OPTIONAL
    );
    # Results:
    my $TargetARN = $AttachVolumeOutput->TargetARN;
    my $VolumeARN = $AttachVolumeOutput->VolumeARN;
    # Returns a L<Paws::StorageGateway::AttachVolumeOutput> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/storagegateway/AttachVolume>

The unique device ID or other distinguishing data that identifies the local disk used to create the volume. This value is only required when you are attaching a stored volume.

REQUIRED GatewayARN => Str

The Amazon Resource Name (ARN) of the gateway that you want to attach the volume to.

REQUIRED NetworkInterfaceId => Str

The network interface of the gateway on which to expose the iSCSI target. Only IPv4 addresses are accepted. Use DescribeGatewayInformation to get a list of the network interfaces available on a gateway.

Valid Values: A valid IP address.

The name of the iSCSI target used by an initiator to connect to a volume and used as a suffix for the target ARN. For example, specifying "TargetName" as myvolume results in the target ARN of "arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume". The target name must be unique across all volumes on a gateway.

If you don't specify a value, Storage Gateway uses the value that was previously used for this volume as the new target name.

REQUIRED VolumeARN => Str

The Amazon Resource Name (ARN) of the volume to attach to the specified gateway.

This class forms part of Paws, documenting arguments for method AttachVolume in Paws::StorageGateway

The source code is located here: <https://github.com/pplu/aws-sdk-perl>

Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>

2022-06-01 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.