The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::NetworkManager::CreateDevice - Arguments for method CreateDevice on Paws::NetworkManager

DESCRIPTION

This class represents the parameters used for calling the method CreateDevice on the AWS Network Manager service. Use the attributes of this class as arguments to method CreateDevice.

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

SYNOPSIS

    my $networkmanager = Paws->service('NetworkManager');
    my $CreateDeviceResponse = $networkmanager->CreateDevice(
      GlobalNetworkId => 'MyString',
      AWSLocation     => {
        SubnetArn => 'MyString',
        Zone      => 'MyString',
      },    # OPTIONAL
      Description => 'MyString',    # OPTIONAL
      Location    => {
        Address   => 'MyString',
        Latitude  => 'MyString',
        Longitude => 'MyString',
      },                            # OPTIONAL
      Model        => 'MyString',   # OPTIONAL
      SerialNumber => 'MyString',   # OPTIONAL
      SiteId       => 'MyString',   # OPTIONAL
      Tags         => [
        {
          Key   => 'MyTagKey',      # OPTIONAL
          Value => 'MyTagValue',    # OPTIONAL
        },
        ...
      ],    # OPTIONAL
      Type   => 'MyString',    # OPTIONAL
      Vendor => 'MyString',    # OPTIONAL
    );

    # Results:
    my $Device = $CreateDeviceResponse->Device;

    # Returns a L<Paws::NetworkManager::CreateDeviceResponse> 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/networkmanager/CreateDevice

ATTRIBUTES

AWSLocation => Paws::NetworkManager::AWSLocation

The AWS location of the device.

Description => Str

A description of the device.

Length Constraints: Maximum length of 256 characters.

REQUIRED GlobalNetworkId => Str

The ID of the global network.

Location => Paws::NetworkManager::Location

The location of the device.

Model => Str

The model of the device.

Length Constraints: Maximum length of 128 characters.

SerialNumber => Str

The serial number of the device.

Length Constraints: Maximum length of 128 characters.

SiteId => Str

The ID of the site.

Tags => ArrayRef[Paws::NetworkManager::Tag]

The tags to apply to the resource during creation.

Type => Str

The type of the device.

Vendor => Str

The vendor of the device.

Length Constraints: Maximum length of 128 characters.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateDevice in Paws::NetworkManager

BUGS and CONTRIBUTIONS

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