CmdID

CmdID / aws / aws networkmanager

aws networkmanager create-device

Creates a new device in a global network. AWS CLI reference

1 example 10 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To create a device

The following create-device example creates a device in the specified global network. The device details include a description, the type, vendor, model, and serial number.

aws networkmanager create-device --global-network-id global-network-01231231231231231 --description "New York office device" --type "office device" --vendor "anycompany" --model "abcabc" --serial-number "1234"Identify
--global-network-idThe ID of the global network.
--descriptionA description of the device.
--typeThe type of the device.
--vendorThe vendor of the device.
--modelThe model of the device.
--serial-numberThe serial number of the device.
Its output
{
    "Device": {
        "DeviceId": "device-07f6fd08867abc123",
        "DeviceArn": "arn:aws:networkmanager::123456789012:device/global-network-01231231231231231/device-07f6fd08867abc123",
        "GlobalNetworkId": "global-network-01231231231231231",
        "Description": "New York office device",
        "Type": "office device",
        "Vendor": "anycompany",
        "Model": "abcabc",
        "SerialNumber": "1234",
        "CreatedAt": 1575554005.0,
        "State": "PENDING"
    }
}

For more information, see Devices in AWS Global Networks for Transit Gateways in the Transit Gateway Network Manager Guide.

Options

10 in the AWS CLI reference
--aws-locationThe Amazon Web Services location of the device, if applicable.
--descriptionA description of the device.
--global-network-idThe ID of the global network.
--locationThe location of the device.
--modelThe model of the device.
--serial-numberThe serial number of the device.
--site-idThe ID of the site.
--tagsThe tags to apply to the resource during creation.
--typeThe type of the device.
--vendorThe vendor of the device.