Class: Aws::NetworkManager::Types::CreateDeviceRequest

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

Overview

Note:

When making an API call, you may pass CreateDeviceRequest data as a hash:

{
  global_network_id: "GlobalNetworkId", # required
  aws_location: {
    zone: "ConstrainedString",
    subnet_arn: "SubnetArn",
  },
  description: "ConstrainedString",
  type: "ConstrainedString",
  vendor: "ConstrainedString",
  model: "ConstrainedString",
  serial_number: "ConstrainedString",
  location: {
    address: "ConstrainedString",
    latitude: "ConstrainedString",
    longitude: "ConstrainedString",
  },
  site_id: "SiteId",
  tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[:location]

Instance Attribute Summary collapse

Instance Attribute Details

#aws_locationTypes::AWSLocation

The Amazon Web Services location of the device, if applicable. For an on-premises device, you can omit this parameter.

Returns:



1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 1604

class CreateDeviceRequest < Struct.new(
  :global_network_id,
  :aws_location,
  :description,
  :type,
  :vendor,
  :model,
  :serial_number,
  :location,
  :site_id,
  :tags)
  SENSITIVE = [:location]
  include Aws::Structure
end

#descriptionString

A description of the device.

Constraints: Maximum length of 256 characters.

Returns:

  • (String)


1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 1604

class CreateDeviceRequest < Struct.new(
  :global_network_id,
  :aws_location,
  :description,
  :type,
  :vendor,
  :model,
  :serial_number,
  :location,
  :site_id,
  :tags)
  SENSITIVE = [:location]
  include Aws::Structure
end

#global_network_idString

The ID of the global network.

Returns:

  • (String)


1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 1604

class CreateDeviceRequest < Struct.new(
  :global_network_id,
  :aws_location,
  :description,
  :type,
  :vendor,
  :model,
  :serial_number,
  :location,
  :site_id,
  :tags)
  SENSITIVE = [:location]
  include Aws::Structure
end

#locationTypes::Location

The location of the device.

Returns:



1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 1604

class CreateDeviceRequest < Struct.new(
  :global_network_id,
  :aws_location,
  :description,
  :type,
  :vendor,
  :model,
  :serial_number,
  :location,
  :site_id,
  :tags)
  SENSITIVE = [:location]
  include Aws::Structure
end

#modelString

The model of the device.

Constraints: Maximum length of 128 characters.

Returns:

  • (String)


1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 1604

class CreateDeviceRequest < Struct.new(
  :global_network_id,
  :aws_location,
  :description,
  :type,
  :vendor,
  :model,
  :serial_number,
  :location,
  :site_id,
  :tags)
  SENSITIVE = [:location]
  include Aws::Structure
end

#serial_numberString

The serial number of the device.

Constraints: Maximum length of 128 characters.

Returns:

  • (String)


1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 1604

class CreateDeviceRequest < Struct.new(
  :global_network_id,
  :aws_location,
  :description,
  :type,
  :vendor,
  :model,
  :serial_number,
  :location,
  :site_id,
  :tags)
  SENSITIVE = [:location]
  include Aws::Structure
end

#site_idString

The ID of the site.

Returns:

  • (String)


1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 1604

class CreateDeviceRequest < Struct.new(
  :global_network_id,
  :aws_location,
  :description,
  :type,
  :vendor,
  :model,
  :serial_number,
  :location,
  :site_id,
  :tags)
  SENSITIVE = [:location]
  include Aws::Structure
end

#tagsArray<Types::Tag>

The tags to apply to the resource during creation.

Returns:



1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 1604

class CreateDeviceRequest < Struct.new(
  :global_network_id,
  :aws_location,
  :description,
  :type,
  :vendor,
  :model,
  :serial_number,
  :location,
  :site_id,
  :tags)
  SENSITIVE = [:location]
  include Aws::Structure
end

#typeString

The type of the device.

Returns:

  • (String)


1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 1604

class CreateDeviceRequest < Struct.new(
  :global_network_id,
  :aws_location,
  :description,
  :type,
  :vendor,
  :model,
  :serial_number,
  :location,
  :site_id,
  :tags)
  SENSITIVE = [:location]
  include Aws::Structure
end

#vendorString

The vendor of the device.

Constraints: Maximum length of 128 characters.

Returns:

  • (String)


1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 1604

class CreateDeviceRequest < Struct.new(
  :global_network_id,
  :aws_location,
  :description,
  :type,
  :vendor,
  :model,
  :serial_number,
  :location,
  :site_id,
  :tags)
  SENSITIVE = [:location]
  include Aws::Structure
end