Class: Aws::NetworkManager::Types::CreateSiteRequest

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

{
  global_network_id: "String", # required
  description: "String",
  location: {
    address: "String",
    latitude: "String",
    longitude: "String",
  },
  tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

A description of your site.

Length Constraints: Maximum length of 256 characters.

Returns:

  • (String)


446
447
448
449
450
451
452
453
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 446

class CreateSiteRequest < Struct.new(
  :global_network_id,
  :description,
  :location,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#global_network_idString

The ID of the global network.

Returns:

  • (String)


446
447
448
449
450
451
452
453
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 446

class CreateSiteRequest < Struct.new(
  :global_network_id,
  :description,
  :location,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#locationTypes::Location

The site location. This information is used for visualization in the Network Manager console. If you specify the address, the latitude and longitude are automatically calculated.

  • Address: The physical address of the site.

  • Latitude: The latitude of the site.

  • Longitude: The longitude of the site.

Returns:



446
447
448
449
450
451
452
453
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 446

class CreateSiteRequest < Struct.new(
  :global_network_id,
  :description,
  :location,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

The tags to apply to the resource during creation.

Returns:



446
447
448
449
450
451
452
453
# File 'gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/types.rb', line 446

class CreateSiteRequest < Struct.new(
  :global_network_id,
  :description,
  :location,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end