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: "GlobalNetworkId", # required
  device_id: "DeviceId", # 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",
}

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:



6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 6371

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.

Constraints: Maximum length of 256 characters.

Returns:

  • (String)


6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 6371

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)


6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 6371

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)


6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 6371

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:



6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 6371

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.

Constraints: Maximum length of 128 characters.

Returns:

  • (String)


6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 6371

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.

Constraints: Maximum length of 128 characters.

Returns:

  • (String)


6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 6371

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)


6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 6371

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)


6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 6371

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.

Constraints: Maximum length of 128 characters.

Returns:

  • (String)


6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 6371

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