Skip to main content
版本:v1.2

阿里云 VSWITCH

描述

用于部署阿里云 VSwitch 的组件说明

参数说明

属性

名称描述类型是否必须默认值
create_vpcWhether to create vpc. If false, you can specify an existing vpc by setting 'vpc_id'.boolfalse
vpc_cidrThe cidr block used to launch a new vpc.stringfalse
vpc_descriptionThe vpc description used to launch a new vpc.stringfalse
vpc_idThe vpc id used to launch several vswitches. If set, the 'create' will be ignored.stringfalse
vpc_nameThe vpc name used to launch a new vpc.stringfalse
vswitch_cidrcidr blocks used to launch a new vswitch.stringfalse
vswitch_descriptionThe vswitch description used to launch several new vswitch.stringfalse
vswitch_nameThe vswitch name prefix used to launch several new vswitches.false
writeConnectionSecretToRefThe secret which the cloud resource connection will be written towriteConnectionSecretToReffalse
zone_idAvailability Zone IDstringfalse

writeConnectionSecretToRef

名称描述类型是否必须默认值
nameThe secret name which the cloud resource connection will be written tostringtrue
namespaceThe secret namespace which the cloud resource connection will be written tostringfalse

输出

如果设置了 writeConnectionSecretToRef,一个 Kubernetes Secret 将会被创建,并且,它的数据里有这些键(key):

名称描述
VPC_IDVPC ID
VSWITCH_IDVSwitch ID