SwitchArgs

data class SwitchArgs(val availabilityZone: Output<String>? = null, val cidrBlock: Output<String>? = null, val description: Output<String>? = null, val name: Output<String>? = null, val tags: Output<Map<String, Any>>? = null, val vpcId: Output<String>? = null, val vswitchName: Output<String>? = null, val zoneId: Output<String>? = null) : ConvertibleToJava<SwitchArgs>

Import

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

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

Constructors

Link copied to clipboard
fun SwitchArgs(availabilityZone: Output<String>? = null, cidrBlock: Output<String>? = null, description: Output<String>? = null, name: Output<String>? = null, tags: Output<Map<String, Any>>? = null, vpcId: Output<String>? = null, vswitchName: Output<String>? = null, zoneId: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): SwitchArgs

Properties

Link copied to clipboard
val availabilityZone: Output<String>? = null

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>? = null

The CIDR block for the switch.

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

The switch description. Defaults to null.

Link copied to clipboard
val name: Output<String>? = null

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

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

A mapping of tags to assign to the resource.

Link copied to clipboard
val vpcId: Output<String>? = null

The VPC ID.

Link copied to clipboard
val vswitchName: Output<String>? = null

The name of the switch. Defaults to null.

Link copied to clipboard
val zoneId: Output<String>? = null

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