Skip to content

Create Site

networkmanager_create_site R Documentation

Creates a new site in a global network

Description

Creates a new site in a global network.

Usage

networkmanager_create_site(GlobalNetworkId, Description, Location, Tags)

Arguments

GlobalNetworkId

[required] The ID of the global network.

Description

A description of your site.

Constraints: Maximum length of 256 characters.

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.

Tags

The tags to apply to the resource during creation.

Value

A list with the following syntax:

list(
  Site = list(
    SiteId = "string",
    SiteArn = "string",
    GlobalNetworkId = "string",
    Description = "string",
    Location = list(
      Address = "string",
      Latitude = "string",
      Longitude = "string"
    ),
    CreatedAt = as.POSIXct(
      "2015-01-01"
    ),
    State = "PENDING"|"AVAILABLE"|"DELETING"|"UPDATING",
    Tags = list(
      list(
        Key = "string",
        Value = "string"
      )
    )
  )
)

Request syntax

svc$create_site(
  GlobalNetworkId = "string",
  Description = "string",
  Location = list(
    Address = "string",
    Latitude = "string",
    Longitude = "string"
  ),
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)