![]() |
![]()
| ![]() |
![]()
NAMEPaws::NetworkManager::CreateDevice - Arguments for method CreateDevice on Paws::NetworkManager DESCRIPTIONThis 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. SYNOPSISmy $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> ATTRIBUTESAWSLocation => Paws::NetworkManager::AWSLocationThe AWS location of the device. Description => StrA description of the device. Length Constraints: Maximum length of 256 characters. REQUIRED GlobalNetworkId => StrThe ID of the global network. Location => Paws::NetworkManager::LocationThe location of the device. Model => StrThe model of the device. Length Constraints: Maximum length of 128 characters. SerialNumber => StrThe serial number of the device. Length Constraints: Maximum length of 128 characters. SiteId => StrThe ID of the site. Tags => ArrayRef[Paws::NetworkManager::Tag]The tags to apply to the resource during creation. Type => StrThe type of the device. Vendor => StrThe vendor of the device. Length Constraints: Maximum length of 128 characters. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateDevice in Paws::NetworkManager BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|