AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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: "String", # required
  aws_location: {
    zone: "String",
    subnet_arn: "String",
  },
  description: "String",
  type: "String",
  vendor: "String",
  model: "String",
  serial_number: "String",
  location: {
    address: "String",
    latitude: "String",
    longitude: "String",
  },
  site_id: "String",
  tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[:location]

Instance Attribute Summary collapse

Instance Attribute Details

#aws_locationTypes::AWSLocation

The AWS location of the device.

Returns:



468
469
470
471
472
473
474
475
476
477
478
479
480
481
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 468

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.

Length Constraints: Maximum length of 256 characters.

Returns:

  • (String)


468
469
470
471
472
473
474
475
476
477
478
479
480
481
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 468

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)


468
469
470
471
472
473
474
475
476
477
478
479
480
481
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 468

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:



468
469
470
471
472
473
474
475
476
477
478
479
480
481
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 468

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.

Length Constraints: Maximum length of 128 characters.

Returns:

  • (String)


468
469
470
471
472
473
474
475
476
477
478
479
480
481
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 468

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.

Length Constraints: Maximum length of 128 characters.

Returns:

  • (String)


468
469
470
471
472
473
474
475
476
477
478
479
480
481
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 468

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)


468
469
470
471
472
473
474
475
476
477
478
479
480
481
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 468

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:



468
469
470
471
472
473
474
475
476
477
478
479
480
481
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 468

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)


468
469
470
471
472
473
474
475
476
477
478
479
480
481
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 468

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.

Length Constraints: Maximum length of 128 characters.

Returns:

  • (String)


468
469
470
471
472
473
474
475
476
477
478
479
480
481
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 468

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