CmdID / aws / aws networkmanager
aws networkmanager delete-device
Deletes an existing device. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To delete a device
The following delete-device example deletes the specified device from the specified global network.
aws networkmanager delete-device --global-network-id global-network-01231231231231231 --device-id device-07f6fd08867abc123Identify--global-network-idThe ID of the global network.--device-idThe ID 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",
"SiteId": "site-444555aaabbb11223",
"CreatedAt": 1575554005.0,
"State": "DELETING"
}
}For more information, see Devices in AWS Global Networks for Transit Gateways in the Transit Gateway Network Manager Guide.
Options
--device-idThe ID of the device.--global-network-idThe ID of the global network.