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::UpdateDeviceRequest

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 UpdateDeviceRequest data as a hash:

{
  global_network_id: "String", # required
  device_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",
}

Constant Summary collapse

SENSITIVE =
[:location]

Instance Attribute Summary collapse

Instance Attribute Details

#aws_locationTypes::AWSLocation

The AWS location of the device.

Returns:



2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 2349

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

#descriptionString

A description of the device.

Length Constraints: Maximum length of 256 characters.

Returns:

  • (String)


2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 2349

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

#device_idString

The ID of the device.

Returns:

  • (String)


2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 2349

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

#global_network_idString

The ID of the global network.

Returns:

  • (String)


2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 2349

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

#locationTypes::Location

Describes a location.

Returns:



2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 2349

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

#modelString

The model of the device.

Length Constraints: Maximum length of 128 characters.

Returns:

  • (String)


2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 2349

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

#serial_numberString

The serial number of the device.

Length Constraints: Maximum length of 128 characters.

Returns:

  • (String)


2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 2349

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

#site_idString

The ID of the site.

Returns:

  • (String)


2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 2349

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

#typeString

The type of the device.

Returns:

  • (String)


2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 2349

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

#vendorString

The vendor of the device.

Length Constraints: Maximum length of 128 characters.

Returns:

  • (String)


2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 2349

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