Switch

Import

Vswitch can be imported using the id, e.g.

$ pulumi import alicloud:vpc/switch:Switch example vsw-abc123456

Properties

Link copied to clipboard

Field availability_zone has been deprecated from provider version 1.119.0. New field zone_id instead.

Link copied to clipboard
val cidrBlock: Output<String>

The CIDR block for the switch.

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

The switch description. Defaults to null.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

Field name has been deprecated from provider version 1.119.0. New field vswitch_name instead.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val status: Output<String>

(Available in 1.119.0+) The status of the switch.

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

A mapping of tags to assign to the resource.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val vpcId: Output<String>

The VPC ID.

Link copied to clipboard
val vswitchName: Output<String>

The name of the switch. Defaults to null.

Link copied to clipboard
val zoneId: Output<String>

The AZ for the switch. Note: Required for a VPC switch.