Device

class Device : KotlinCustomResource

Creates a device in a global network. If you specify both a site ID and a location, the location of the site is used for visualization in the Network Manager console.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.networkmanager.Device;
import com.pulumi.aws.networkmanager.DeviceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Device("example", DeviceArgs.builder()
.globalNetworkId(aws_networkmanager_global_network.example().id())
.siteId(aws_networkmanager_site.example().id())
.build());
}
}

Import

aws_networkmanager_device can be imported using the device ARN, e.g.

$ pulumi import aws:networkmanager/device:Device example arn:aws:networkmanager::123456789012:device/global-network-0d47f6t230mz46dy4/device-07f6fd08867abc123

Properties

Link copied to clipboard
val arn: Output<String>

The Amazon Resource Name (ARN) of the device.

Link copied to clipboard

The AWS location of the device. Documented below.

Link copied to clipboard
val description: Output<String>?

A description of the device.

Link copied to clipboard
val globalNetworkId: Output<String>

The ID of the global network.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<DeviceLocation>?

The location of the device. Documented below.

Link copied to clipboard
val model: Output<String>?

The model of device.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val serialNumber: Output<String>?

The serial number of the device.

Link copied to clipboard
val siteId: Output<String>?

The ID of the site.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Key-value tags for the device. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val type: Output<String>?

The type of device.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val vendor: Output<String>?

The vendor of the device.