Documentation ¶
Index ¶
- type GetVPNConnectionVpnConnection
- type GetVPNConnectionVpnConnectionArgs
- func (GetVPNConnectionVpnConnectionArgs) ElementType() reflect.Type
- func (i GetVPNConnectionVpnConnectionArgs) ToGetVPNConnectionVpnConnectionOutput() GetVPNConnectionVpnConnectionOutput
- func (i GetVPNConnectionVpnConnectionArgs) ToGetVPNConnectionVpnConnectionOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionOutput
- type GetVPNConnectionVpnConnectionArray
- func (GetVPNConnectionVpnConnectionArray) ElementType() reflect.Type
- func (i GetVPNConnectionVpnConnectionArray) ToGetVPNConnectionVpnConnectionArrayOutput() GetVPNConnectionVpnConnectionArrayOutput
- func (i GetVPNConnectionVpnConnectionArray) ToGetVPNConnectionVpnConnectionArrayOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionArrayOutput
- type GetVPNConnectionVpnConnectionArrayInput
- type GetVPNConnectionVpnConnectionArrayOutput
- func (GetVPNConnectionVpnConnectionArrayOutput) ElementType() reflect.Type
- func (o GetVPNConnectionVpnConnectionArrayOutput) Index(i pulumi.IntInput) GetVPNConnectionVpnConnectionOutput
- func (o GetVPNConnectionVpnConnectionArrayOutput) ToGetVPNConnectionVpnConnectionArrayOutput() GetVPNConnectionVpnConnectionArrayOutput
- func (o GetVPNConnectionVpnConnectionArrayOutput) ToGetVPNConnectionVpnConnectionArrayOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionArrayOutput
- type GetVPNConnectionVpnConnectionIkeConfig
- type GetVPNConnectionVpnConnectionIkeConfigArgs
- func (GetVPNConnectionVpnConnectionIkeConfigArgs) ElementType() reflect.Type
- func (i GetVPNConnectionVpnConnectionIkeConfigArgs) ToGetVPNConnectionVpnConnectionIkeConfigOutput() GetVPNConnectionVpnConnectionIkeConfigOutput
- func (i GetVPNConnectionVpnConnectionIkeConfigArgs) ToGetVPNConnectionVpnConnectionIkeConfigOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionIkeConfigOutput
- type GetVPNConnectionVpnConnectionIkeConfigArray
- func (GetVPNConnectionVpnConnectionIkeConfigArray) ElementType() reflect.Type
- func (i GetVPNConnectionVpnConnectionIkeConfigArray) ToGetVPNConnectionVpnConnectionIkeConfigArrayOutput() GetVPNConnectionVpnConnectionIkeConfigArrayOutput
- func (i GetVPNConnectionVpnConnectionIkeConfigArray) ToGetVPNConnectionVpnConnectionIkeConfigArrayOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionIkeConfigArrayOutput
- type GetVPNConnectionVpnConnectionIkeConfigArrayInput
- type GetVPNConnectionVpnConnectionIkeConfigArrayOutput
- func (GetVPNConnectionVpnConnectionIkeConfigArrayOutput) ElementType() reflect.Type
- func (o GetVPNConnectionVpnConnectionIkeConfigArrayOutput) Index(i pulumi.IntInput) GetVPNConnectionVpnConnectionIkeConfigOutput
- func (o GetVPNConnectionVpnConnectionIkeConfigArrayOutput) ToGetVPNConnectionVpnConnectionIkeConfigArrayOutput() GetVPNConnectionVpnConnectionIkeConfigArrayOutput
- func (o GetVPNConnectionVpnConnectionIkeConfigArrayOutput) ToGetVPNConnectionVpnConnectionIkeConfigArrayOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionIkeConfigArrayOutput
- type GetVPNConnectionVpnConnectionIkeConfigInput
- type GetVPNConnectionVpnConnectionIkeConfigOutput
- func (o GetVPNConnectionVpnConnectionIkeConfigOutput) AuthenticationAlgorithm() pulumi.StringOutput
- func (o GetVPNConnectionVpnConnectionIkeConfigOutput) DhGroup() pulumi.StringOutput
- func (GetVPNConnectionVpnConnectionIkeConfigOutput) ElementType() reflect.Type
- func (o GetVPNConnectionVpnConnectionIkeConfigOutput) EncryptionAlgorithm() pulumi.StringOutput
- func (o GetVPNConnectionVpnConnectionIkeConfigOutput) ExchangeMode() pulumi.StringOutput
- func (o GetVPNConnectionVpnConnectionIkeConfigOutput) IkeVersion() pulumi.StringOutput
- func (o GetVPNConnectionVpnConnectionIkeConfigOutput) LocalId() pulumi.StringOutput
- func (o GetVPNConnectionVpnConnectionIkeConfigOutput) PreSharedKey() pulumi.StringOutput
- func (o GetVPNConnectionVpnConnectionIkeConfigOutput) RemoteId() pulumi.StringOutput
- func (o GetVPNConnectionVpnConnectionIkeConfigOutput) SaLifeTime() pulumi.IntOutput
- func (o GetVPNConnectionVpnConnectionIkeConfigOutput) ToGetVPNConnectionVpnConnectionIkeConfigOutput() GetVPNConnectionVpnConnectionIkeConfigOutput
- func (o GetVPNConnectionVpnConnectionIkeConfigOutput) ToGetVPNConnectionVpnConnectionIkeConfigOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionIkeConfigOutput
- type GetVPNConnectionVpnConnectionInput
- type GetVPNConnectionVpnConnectionIpsecConfig
- type GetVPNConnectionVpnConnectionIpsecConfigArgs
- func (GetVPNConnectionVpnConnectionIpsecConfigArgs) ElementType() reflect.Type
- func (i GetVPNConnectionVpnConnectionIpsecConfigArgs) ToGetVPNConnectionVpnConnectionIpsecConfigOutput() GetVPNConnectionVpnConnectionIpsecConfigOutput
- func (i GetVPNConnectionVpnConnectionIpsecConfigArgs) ToGetVPNConnectionVpnConnectionIpsecConfigOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionIpsecConfigOutput
- type GetVPNConnectionVpnConnectionIpsecConfigArray
- func (GetVPNConnectionVpnConnectionIpsecConfigArray) ElementType() reflect.Type
- func (i GetVPNConnectionVpnConnectionIpsecConfigArray) ToGetVPNConnectionVpnConnectionIpsecConfigArrayOutput() GetVPNConnectionVpnConnectionIpsecConfigArrayOutput
- func (i GetVPNConnectionVpnConnectionIpsecConfigArray) ToGetVPNConnectionVpnConnectionIpsecConfigArrayOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionIpsecConfigArrayOutput
- type GetVPNConnectionVpnConnectionIpsecConfigArrayInput
- type GetVPNConnectionVpnConnectionIpsecConfigArrayOutput
- func (GetVPNConnectionVpnConnectionIpsecConfigArrayOutput) ElementType() reflect.Type
- func (o GetVPNConnectionVpnConnectionIpsecConfigArrayOutput) Index(i pulumi.IntInput) GetVPNConnectionVpnConnectionIpsecConfigOutput
- func (o GetVPNConnectionVpnConnectionIpsecConfigArrayOutput) ToGetVPNConnectionVpnConnectionIpsecConfigArrayOutput() GetVPNConnectionVpnConnectionIpsecConfigArrayOutput
- func (o GetVPNConnectionVpnConnectionIpsecConfigArrayOutput) ToGetVPNConnectionVpnConnectionIpsecConfigArrayOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionIpsecConfigArrayOutput
- type GetVPNConnectionVpnConnectionIpsecConfigInput
- type GetVPNConnectionVpnConnectionIpsecConfigOutput
- func (o GetVPNConnectionVpnConnectionIpsecConfigOutput) AuthenticationAlgorithm() pulumi.StringOutput
- func (GetVPNConnectionVpnConnectionIpsecConfigOutput) ElementType() reflect.Type
- func (o GetVPNConnectionVpnConnectionIpsecConfigOutput) EncryptionAlgorithm() pulumi.StringOutput
- func (o GetVPNConnectionVpnConnectionIpsecConfigOutput) LocalSubnetIds() pulumi.StringArrayOutput
- func (o GetVPNConnectionVpnConnectionIpsecConfigOutput) PfsDhGroup() pulumi.StringOutput
- func (o GetVPNConnectionVpnConnectionIpsecConfigOutput) Protocol() pulumi.StringOutput
- func (o GetVPNConnectionVpnConnectionIpsecConfigOutput) RemoteSubnets() pulumi.StringArrayOutput
- func (o GetVPNConnectionVpnConnectionIpsecConfigOutput) SaLifeTime() pulumi.IntOutput
- func (o GetVPNConnectionVpnConnectionIpsecConfigOutput) SaLifeTimeBytes() pulumi.IntOutput
- func (o GetVPNConnectionVpnConnectionIpsecConfigOutput) ToGetVPNConnectionVpnConnectionIpsecConfigOutput() GetVPNConnectionVpnConnectionIpsecConfigOutput
- func (o GetVPNConnectionVpnConnectionIpsecConfigOutput) ToGetVPNConnectionVpnConnectionIpsecConfigOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionIpsecConfigOutput
- type GetVPNConnectionVpnConnectionOutput
- func (o GetVPNConnectionVpnConnectionOutput) CreateTime() pulumi.StringOutput
- func (o GetVPNConnectionVpnConnectionOutput) CustomerGatewayId() pulumi.StringOutput
- func (GetVPNConnectionVpnConnectionOutput) ElementType() reflect.Type
- func (o GetVPNConnectionVpnConnectionOutput) Id() pulumi.StringOutput
- func (o GetVPNConnectionVpnConnectionOutput) IkeConfigs() GetVPNConnectionVpnConnectionIkeConfigArrayOutput
- func (o GetVPNConnectionVpnConnectionOutput) IpsecConfigs() GetVPNConnectionVpnConnectionIpsecConfigArrayOutput
- func (o GetVPNConnectionVpnConnectionOutput) Name() pulumi.StringOutput
- func (o GetVPNConnectionVpnConnectionOutput) Remark() pulumi.StringOutput
- func (o GetVPNConnectionVpnConnectionOutput) Tag() pulumi.StringOutput
- func (o GetVPNConnectionVpnConnectionOutput) ToGetVPNConnectionVpnConnectionOutput() GetVPNConnectionVpnConnectionOutput
- func (o GetVPNConnectionVpnConnectionOutput) ToGetVPNConnectionVpnConnectionOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionOutput
- func (o GetVPNConnectionVpnConnectionOutput) VpcId() pulumi.StringOutput
- func (o GetVPNConnectionVpnConnectionOutput) VpnGatewayId() pulumi.StringOutput
- type GetVPNCustomerGatewayVpnCustomerGateway
- type GetVPNCustomerGatewayVpnCustomerGatewayArgs
- func (GetVPNCustomerGatewayVpnCustomerGatewayArgs) ElementType() reflect.Type
- func (i GetVPNCustomerGatewayVpnCustomerGatewayArgs) ToGetVPNCustomerGatewayVpnCustomerGatewayOutput() GetVPNCustomerGatewayVpnCustomerGatewayOutput
- func (i GetVPNCustomerGatewayVpnCustomerGatewayArgs) ToGetVPNCustomerGatewayVpnCustomerGatewayOutputWithContext(ctx context.Context) GetVPNCustomerGatewayVpnCustomerGatewayOutput
- type GetVPNCustomerGatewayVpnCustomerGatewayArray
- func (GetVPNCustomerGatewayVpnCustomerGatewayArray) ElementType() reflect.Type
- func (i GetVPNCustomerGatewayVpnCustomerGatewayArray) ToGetVPNCustomerGatewayVpnCustomerGatewayArrayOutput() GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput
- func (i GetVPNCustomerGatewayVpnCustomerGatewayArray) ToGetVPNCustomerGatewayVpnCustomerGatewayArrayOutputWithContext(ctx context.Context) GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput
- type GetVPNCustomerGatewayVpnCustomerGatewayArrayInput
- type GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput
- func (GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput) ElementType() reflect.Type
- func (o GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput) Index(i pulumi.IntInput) GetVPNCustomerGatewayVpnCustomerGatewayOutput
- func (o GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput) ToGetVPNCustomerGatewayVpnCustomerGatewayArrayOutput() GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput
- func (o GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput) ToGetVPNCustomerGatewayVpnCustomerGatewayArrayOutputWithContext(ctx context.Context) GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput
- type GetVPNCustomerGatewayVpnCustomerGatewayInput
- type GetVPNCustomerGatewayVpnCustomerGatewayOutput
- func (o GetVPNCustomerGatewayVpnCustomerGatewayOutput) CreateTime() pulumi.StringOutput
- func (GetVPNCustomerGatewayVpnCustomerGatewayOutput) ElementType() reflect.Type
- func (o GetVPNCustomerGatewayVpnCustomerGatewayOutput) Id() pulumi.StringOutput
- func (o GetVPNCustomerGatewayVpnCustomerGatewayOutput) IpAddress() pulumi.StringOutput
- func (o GetVPNCustomerGatewayVpnCustomerGatewayOutput) Name() pulumi.StringOutput
- func (o GetVPNCustomerGatewayVpnCustomerGatewayOutput) Remark() pulumi.StringOutput
- func (o GetVPNCustomerGatewayVpnCustomerGatewayOutput) Tag() pulumi.StringOutput
- func (o GetVPNCustomerGatewayVpnCustomerGatewayOutput) ToGetVPNCustomerGatewayVpnCustomerGatewayOutput() GetVPNCustomerGatewayVpnCustomerGatewayOutput
- func (o GetVPNCustomerGatewayVpnCustomerGatewayOutput) ToGetVPNCustomerGatewayVpnCustomerGatewayOutputWithContext(ctx context.Context) GetVPNCustomerGatewayVpnCustomerGatewayOutput
- type GetVPNGatewayVpnGateway
- type GetVPNGatewayVpnGatewayArgs
- type GetVPNGatewayVpnGatewayArray
- func (GetVPNGatewayVpnGatewayArray) ElementType() reflect.Type
- func (i GetVPNGatewayVpnGatewayArray) ToGetVPNGatewayVpnGatewayArrayOutput() GetVPNGatewayVpnGatewayArrayOutput
- func (i GetVPNGatewayVpnGatewayArray) ToGetVPNGatewayVpnGatewayArrayOutputWithContext(ctx context.Context) GetVPNGatewayVpnGatewayArrayOutput
- type GetVPNGatewayVpnGatewayArrayInput
- type GetVPNGatewayVpnGatewayArrayOutput
- func (GetVPNGatewayVpnGatewayArrayOutput) ElementType() reflect.Type
- func (o GetVPNGatewayVpnGatewayArrayOutput) Index(i pulumi.IntInput) GetVPNGatewayVpnGatewayOutput
- func (o GetVPNGatewayVpnGatewayArrayOutput) ToGetVPNGatewayVpnGatewayArrayOutput() GetVPNGatewayVpnGatewayArrayOutput
- func (o GetVPNGatewayVpnGatewayArrayOutput) ToGetVPNGatewayVpnGatewayArrayOutputWithContext(ctx context.Context) GetVPNGatewayVpnGatewayArrayOutput
- type GetVPNGatewayVpnGatewayInput
- type GetVPNGatewayVpnGatewayIpSet
- type GetVPNGatewayVpnGatewayIpSetArgs
- func (GetVPNGatewayVpnGatewayIpSetArgs) ElementType() reflect.Type
- func (i GetVPNGatewayVpnGatewayIpSetArgs) ToGetVPNGatewayVpnGatewayIpSetOutput() GetVPNGatewayVpnGatewayIpSetOutput
- func (i GetVPNGatewayVpnGatewayIpSetArgs) ToGetVPNGatewayVpnGatewayIpSetOutputWithContext(ctx context.Context) GetVPNGatewayVpnGatewayIpSetOutput
- type GetVPNGatewayVpnGatewayIpSetArray
- func (GetVPNGatewayVpnGatewayIpSetArray) ElementType() reflect.Type
- func (i GetVPNGatewayVpnGatewayIpSetArray) ToGetVPNGatewayVpnGatewayIpSetArrayOutput() GetVPNGatewayVpnGatewayIpSetArrayOutput
- func (i GetVPNGatewayVpnGatewayIpSetArray) ToGetVPNGatewayVpnGatewayIpSetArrayOutputWithContext(ctx context.Context) GetVPNGatewayVpnGatewayIpSetArrayOutput
- type GetVPNGatewayVpnGatewayIpSetArrayInput
- type GetVPNGatewayVpnGatewayIpSetArrayOutput
- func (GetVPNGatewayVpnGatewayIpSetArrayOutput) ElementType() reflect.Type
- func (o GetVPNGatewayVpnGatewayIpSetArrayOutput) Index(i pulumi.IntInput) GetVPNGatewayVpnGatewayIpSetOutput
- func (o GetVPNGatewayVpnGatewayIpSetArrayOutput) ToGetVPNGatewayVpnGatewayIpSetArrayOutput() GetVPNGatewayVpnGatewayIpSetArrayOutput
- func (o GetVPNGatewayVpnGatewayIpSetArrayOutput) ToGetVPNGatewayVpnGatewayIpSetArrayOutputWithContext(ctx context.Context) GetVPNGatewayVpnGatewayIpSetArrayOutput
- type GetVPNGatewayVpnGatewayIpSetInput
- type GetVPNGatewayVpnGatewayIpSetOutput
- func (GetVPNGatewayVpnGatewayIpSetOutput) ElementType() reflect.Type
- func (o GetVPNGatewayVpnGatewayIpSetOutput) InternetType() pulumi.StringOutput
- func (o GetVPNGatewayVpnGatewayIpSetOutput) Ip() pulumi.StringOutput
- func (o GetVPNGatewayVpnGatewayIpSetOutput) ToGetVPNGatewayVpnGatewayIpSetOutput() GetVPNGatewayVpnGatewayIpSetOutput
- func (o GetVPNGatewayVpnGatewayIpSetOutput) ToGetVPNGatewayVpnGatewayIpSetOutputWithContext(ctx context.Context) GetVPNGatewayVpnGatewayIpSetOutput
- type GetVPNGatewayVpnGatewayOutput
- func (o GetVPNGatewayVpnGatewayOutput) AutoRenew() pulumi.BoolOutput
- func (o GetVPNGatewayVpnGatewayOutput) ChargeType() pulumi.StringOutput
- func (o GetVPNGatewayVpnGatewayOutput) CreateTime() pulumi.StringOutput
- func (GetVPNGatewayVpnGatewayOutput) ElementType() reflect.Type
- func (o GetVPNGatewayVpnGatewayOutput) ExpireTime() pulumi.StringOutput
- func (o GetVPNGatewayVpnGatewayOutput) Grade() pulumi.StringOutput
- func (o GetVPNGatewayVpnGatewayOutput) Id() pulumi.StringOutput
- func (o GetVPNGatewayVpnGatewayOutput) IpSets() GetVPNGatewayVpnGatewayIpSetArrayOutput
- func (o GetVPNGatewayVpnGatewayOutput) Name() pulumi.StringOutput
- func (o GetVPNGatewayVpnGatewayOutput) Remark() pulumi.StringOutput
- func (o GetVPNGatewayVpnGatewayOutput) Tag() pulumi.StringOutput
- func (o GetVPNGatewayVpnGatewayOutput) ToGetVPNGatewayVpnGatewayOutput() GetVPNGatewayVpnGatewayOutput
- func (o GetVPNGatewayVpnGatewayOutput) ToGetVPNGatewayVpnGatewayOutputWithContext(ctx context.Context) GetVPNGatewayVpnGatewayOutput
- func (o GetVPNGatewayVpnGatewayOutput) VpcId() pulumi.StringOutput
- type LookupVPNConnectionArgs
- type LookupVPNConnectionResult
- type LookupVPNCustomerGatewayArgs
- type LookupVPNCustomerGatewayResult
- type LookupVPNGatewayArgs
- type LookupVPNGatewayResult
- type VPNConnection
- func (*VPNConnection) ElementType() reflect.Type
- func (i *VPNConnection) ToVPNConnectionOutput() VPNConnectionOutput
- func (i *VPNConnection) ToVPNConnectionOutputWithContext(ctx context.Context) VPNConnectionOutput
- func (i *VPNConnection) ToVPNConnectionPtrOutput() VPNConnectionPtrOutput
- func (i *VPNConnection) ToVPNConnectionPtrOutputWithContext(ctx context.Context) VPNConnectionPtrOutput
- type VPNConnectionArgs
- type VPNConnectionArray
- type VPNConnectionArrayInput
- type VPNConnectionArrayOutput
- func (VPNConnectionArrayOutput) ElementType() reflect.Type
- func (o VPNConnectionArrayOutput) Index(i pulumi.IntInput) VPNConnectionOutput
- func (o VPNConnectionArrayOutput) ToVPNConnectionArrayOutput() VPNConnectionArrayOutput
- func (o VPNConnectionArrayOutput) ToVPNConnectionArrayOutputWithContext(ctx context.Context) VPNConnectionArrayOutput
- type VPNConnectionIkeConfig
- type VPNConnectionIkeConfigArgs
- func (VPNConnectionIkeConfigArgs) ElementType() reflect.Type
- func (i VPNConnectionIkeConfigArgs) ToVPNConnectionIkeConfigOutput() VPNConnectionIkeConfigOutput
- func (i VPNConnectionIkeConfigArgs) ToVPNConnectionIkeConfigOutputWithContext(ctx context.Context) VPNConnectionIkeConfigOutput
- func (i VPNConnectionIkeConfigArgs) ToVPNConnectionIkeConfigPtrOutput() VPNConnectionIkeConfigPtrOutput
- func (i VPNConnectionIkeConfigArgs) ToVPNConnectionIkeConfigPtrOutputWithContext(ctx context.Context) VPNConnectionIkeConfigPtrOutput
- type VPNConnectionIkeConfigInput
- type VPNConnectionIkeConfigOutput
- func (o VPNConnectionIkeConfigOutput) AuthenticationAlgorithm() pulumi.StringPtrOutput
- func (o VPNConnectionIkeConfigOutput) DhGroup() pulumi.StringPtrOutput
- func (VPNConnectionIkeConfigOutput) ElementType() reflect.Type
- func (o VPNConnectionIkeConfigOutput) EncryptionAlgorithm() pulumi.StringPtrOutput
- func (o VPNConnectionIkeConfigOutput) ExchangeMode() pulumi.StringPtrOutput
- func (o VPNConnectionIkeConfigOutput) IkeVersion() pulumi.StringPtrOutput
- func (o VPNConnectionIkeConfigOutput) LocalId() pulumi.StringPtrOutput
- func (o VPNConnectionIkeConfigOutput) PreSharedKey() pulumi.StringOutput
- func (o VPNConnectionIkeConfigOutput) RemoteId() pulumi.StringPtrOutput
- func (o VPNConnectionIkeConfigOutput) SaLifeTime() pulumi.IntPtrOutput
- func (o VPNConnectionIkeConfigOutput) ToVPNConnectionIkeConfigOutput() VPNConnectionIkeConfigOutput
- func (o VPNConnectionIkeConfigOutput) ToVPNConnectionIkeConfigOutputWithContext(ctx context.Context) VPNConnectionIkeConfigOutput
- func (o VPNConnectionIkeConfigOutput) ToVPNConnectionIkeConfigPtrOutput() VPNConnectionIkeConfigPtrOutput
- func (o VPNConnectionIkeConfigOutput) ToVPNConnectionIkeConfigPtrOutputWithContext(ctx context.Context) VPNConnectionIkeConfigPtrOutput
- type VPNConnectionIkeConfigPtrInput
- type VPNConnectionIkeConfigPtrOutput
- func (o VPNConnectionIkeConfigPtrOutput) AuthenticationAlgorithm() pulumi.StringPtrOutput
- func (o VPNConnectionIkeConfigPtrOutput) DhGroup() pulumi.StringPtrOutput
- func (o VPNConnectionIkeConfigPtrOutput) Elem() VPNConnectionIkeConfigOutput
- func (VPNConnectionIkeConfigPtrOutput) ElementType() reflect.Type
- func (o VPNConnectionIkeConfigPtrOutput) EncryptionAlgorithm() pulumi.StringPtrOutput
- func (o VPNConnectionIkeConfigPtrOutput) ExchangeMode() pulumi.StringPtrOutput
- func (o VPNConnectionIkeConfigPtrOutput) IkeVersion() pulumi.StringPtrOutput
- func (o VPNConnectionIkeConfigPtrOutput) LocalId() pulumi.StringPtrOutput
- func (o VPNConnectionIkeConfigPtrOutput) PreSharedKey() pulumi.StringPtrOutput
- func (o VPNConnectionIkeConfigPtrOutput) RemoteId() pulumi.StringPtrOutput
- func (o VPNConnectionIkeConfigPtrOutput) SaLifeTime() pulumi.IntPtrOutput
- func (o VPNConnectionIkeConfigPtrOutput) ToVPNConnectionIkeConfigPtrOutput() VPNConnectionIkeConfigPtrOutput
- func (o VPNConnectionIkeConfigPtrOutput) ToVPNConnectionIkeConfigPtrOutputWithContext(ctx context.Context) VPNConnectionIkeConfigPtrOutput
- type VPNConnectionInput
- type VPNConnectionIpsecConfig
- type VPNConnectionIpsecConfigArgs
- func (VPNConnectionIpsecConfigArgs) ElementType() reflect.Type
- func (i VPNConnectionIpsecConfigArgs) ToVPNConnectionIpsecConfigOutput() VPNConnectionIpsecConfigOutput
- func (i VPNConnectionIpsecConfigArgs) ToVPNConnectionIpsecConfigOutputWithContext(ctx context.Context) VPNConnectionIpsecConfigOutput
- func (i VPNConnectionIpsecConfigArgs) ToVPNConnectionIpsecConfigPtrOutput() VPNConnectionIpsecConfigPtrOutput
- func (i VPNConnectionIpsecConfigArgs) ToVPNConnectionIpsecConfigPtrOutputWithContext(ctx context.Context) VPNConnectionIpsecConfigPtrOutput
- type VPNConnectionIpsecConfigInput
- type VPNConnectionIpsecConfigOutput
- func (o VPNConnectionIpsecConfigOutput) AuthenticationAlgorithm() pulumi.StringPtrOutput
- func (VPNConnectionIpsecConfigOutput) ElementType() reflect.Type
- func (o VPNConnectionIpsecConfigOutput) EncryptionAlgorithm() pulumi.StringPtrOutput
- func (o VPNConnectionIpsecConfigOutput) LocalSubnetIds() pulumi.StringArrayOutput
- func (o VPNConnectionIpsecConfigOutput) PfsDhGroup() pulumi.StringPtrOutput
- func (o VPNConnectionIpsecConfigOutput) Protocol() pulumi.StringPtrOutput
- func (o VPNConnectionIpsecConfigOutput) RemoteSubnets() pulumi.StringArrayOutput
- func (o VPNConnectionIpsecConfigOutput) SaLifeTime() pulumi.IntPtrOutput
- func (o VPNConnectionIpsecConfigOutput) SaLifeTimeBytes() pulumi.IntPtrOutput
- func (o VPNConnectionIpsecConfigOutput) ToVPNConnectionIpsecConfigOutput() VPNConnectionIpsecConfigOutput
- func (o VPNConnectionIpsecConfigOutput) ToVPNConnectionIpsecConfigOutputWithContext(ctx context.Context) VPNConnectionIpsecConfigOutput
- func (o VPNConnectionIpsecConfigOutput) ToVPNConnectionIpsecConfigPtrOutput() VPNConnectionIpsecConfigPtrOutput
- func (o VPNConnectionIpsecConfigOutput) ToVPNConnectionIpsecConfigPtrOutputWithContext(ctx context.Context) VPNConnectionIpsecConfigPtrOutput
- type VPNConnectionIpsecConfigPtrInput
- type VPNConnectionIpsecConfigPtrOutput
- func (o VPNConnectionIpsecConfigPtrOutput) AuthenticationAlgorithm() pulumi.StringPtrOutput
- func (o VPNConnectionIpsecConfigPtrOutput) Elem() VPNConnectionIpsecConfigOutput
- func (VPNConnectionIpsecConfigPtrOutput) ElementType() reflect.Type
- func (o VPNConnectionIpsecConfigPtrOutput) EncryptionAlgorithm() pulumi.StringPtrOutput
- func (o VPNConnectionIpsecConfigPtrOutput) LocalSubnetIds() pulumi.StringArrayOutput
- func (o VPNConnectionIpsecConfigPtrOutput) PfsDhGroup() pulumi.StringPtrOutput
- func (o VPNConnectionIpsecConfigPtrOutput) Protocol() pulumi.StringPtrOutput
- func (o VPNConnectionIpsecConfigPtrOutput) RemoteSubnets() pulumi.StringArrayOutput
- func (o VPNConnectionIpsecConfigPtrOutput) SaLifeTime() pulumi.IntPtrOutput
- func (o VPNConnectionIpsecConfigPtrOutput) SaLifeTimeBytes() pulumi.IntPtrOutput
- func (o VPNConnectionIpsecConfigPtrOutput) ToVPNConnectionIpsecConfigPtrOutput() VPNConnectionIpsecConfigPtrOutput
- func (o VPNConnectionIpsecConfigPtrOutput) ToVPNConnectionIpsecConfigPtrOutputWithContext(ctx context.Context) VPNConnectionIpsecConfigPtrOutput
- type VPNConnectionMap
- type VPNConnectionMapInput
- type VPNConnectionMapOutput
- func (VPNConnectionMapOutput) ElementType() reflect.Type
- func (o VPNConnectionMapOutput) MapIndex(k pulumi.StringInput) VPNConnectionOutput
- func (o VPNConnectionMapOutput) ToVPNConnectionMapOutput() VPNConnectionMapOutput
- func (o VPNConnectionMapOutput) ToVPNConnectionMapOutputWithContext(ctx context.Context) VPNConnectionMapOutput
- type VPNConnectionOutput
- func (VPNConnectionOutput) ElementType() reflect.Type
- func (o VPNConnectionOutput) ToVPNConnectionOutput() VPNConnectionOutput
- func (o VPNConnectionOutput) ToVPNConnectionOutputWithContext(ctx context.Context) VPNConnectionOutput
- func (o VPNConnectionOutput) ToVPNConnectionPtrOutput() VPNConnectionPtrOutput
- func (o VPNConnectionOutput) ToVPNConnectionPtrOutputWithContext(ctx context.Context) VPNConnectionPtrOutput
- type VPNConnectionPtrInput
- type VPNConnectionPtrOutput
- type VPNConnectionState
- type VPNCustomerGateway
- func (*VPNCustomerGateway) ElementType() reflect.Type
- func (i *VPNCustomerGateway) ToVPNCustomerGatewayOutput() VPNCustomerGatewayOutput
- func (i *VPNCustomerGateway) ToVPNCustomerGatewayOutputWithContext(ctx context.Context) VPNCustomerGatewayOutput
- func (i *VPNCustomerGateway) ToVPNCustomerGatewayPtrOutput() VPNCustomerGatewayPtrOutput
- func (i *VPNCustomerGateway) ToVPNCustomerGatewayPtrOutputWithContext(ctx context.Context) VPNCustomerGatewayPtrOutput
- type VPNCustomerGatewayArgs
- type VPNCustomerGatewayArray
- type VPNCustomerGatewayArrayInput
- type VPNCustomerGatewayArrayOutput
- func (VPNCustomerGatewayArrayOutput) ElementType() reflect.Type
- func (o VPNCustomerGatewayArrayOutput) Index(i pulumi.IntInput) VPNCustomerGatewayOutput
- func (o VPNCustomerGatewayArrayOutput) ToVPNCustomerGatewayArrayOutput() VPNCustomerGatewayArrayOutput
- func (o VPNCustomerGatewayArrayOutput) ToVPNCustomerGatewayArrayOutputWithContext(ctx context.Context) VPNCustomerGatewayArrayOutput
- type VPNCustomerGatewayInput
- type VPNCustomerGatewayMap
- type VPNCustomerGatewayMapInput
- type VPNCustomerGatewayMapOutput
- func (VPNCustomerGatewayMapOutput) ElementType() reflect.Type
- func (o VPNCustomerGatewayMapOutput) MapIndex(k pulumi.StringInput) VPNCustomerGatewayOutput
- func (o VPNCustomerGatewayMapOutput) ToVPNCustomerGatewayMapOutput() VPNCustomerGatewayMapOutput
- func (o VPNCustomerGatewayMapOutput) ToVPNCustomerGatewayMapOutputWithContext(ctx context.Context) VPNCustomerGatewayMapOutput
- type VPNCustomerGatewayOutput
- func (VPNCustomerGatewayOutput) ElementType() reflect.Type
- func (o VPNCustomerGatewayOutput) ToVPNCustomerGatewayOutput() VPNCustomerGatewayOutput
- func (o VPNCustomerGatewayOutput) ToVPNCustomerGatewayOutputWithContext(ctx context.Context) VPNCustomerGatewayOutput
- func (o VPNCustomerGatewayOutput) ToVPNCustomerGatewayPtrOutput() VPNCustomerGatewayPtrOutput
- func (o VPNCustomerGatewayOutput) ToVPNCustomerGatewayPtrOutputWithContext(ctx context.Context) VPNCustomerGatewayPtrOutput
- type VPNCustomerGatewayPtrInput
- type VPNCustomerGatewayPtrOutput
- type VPNCustomerGatewayState
- type VPNGateway
- func (*VPNGateway) ElementType() reflect.Type
- func (i *VPNGateway) ToVPNGatewayOutput() VPNGatewayOutput
- func (i *VPNGateway) ToVPNGatewayOutputWithContext(ctx context.Context) VPNGatewayOutput
- func (i *VPNGateway) ToVPNGatewayPtrOutput() VPNGatewayPtrOutput
- func (i *VPNGateway) ToVPNGatewayPtrOutputWithContext(ctx context.Context) VPNGatewayPtrOutput
- type VPNGatewayArgs
- type VPNGatewayArray
- type VPNGatewayArrayInput
- type VPNGatewayArrayOutput
- func (VPNGatewayArrayOutput) ElementType() reflect.Type
- func (o VPNGatewayArrayOutput) Index(i pulumi.IntInput) VPNGatewayOutput
- func (o VPNGatewayArrayOutput) ToVPNGatewayArrayOutput() VPNGatewayArrayOutput
- func (o VPNGatewayArrayOutput) ToVPNGatewayArrayOutputWithContext(ctx context.Context) VPNGatewayArrayOutput
- type VPNGatewayInput
- type VPNGatewayMap
- type VPNGatewayMapInput
- type VPNGatewayMapOutput
- func (VPNGatewayMapOutput) ElementType() reflect.Type
- func (o VPNGatewayMapOutput) MapIndex(k pulumi.StringInput) VPNGatewayOutput
- func (o VPNGatewayMapOutput) ToVPNGatewayMapOutput() VPNGatewayMapOutput
- func (o VPNGatewayMapOutput) ToVPNGatewayMapOutputWithContext(ctx context.Context) VPNGatewayMapOutput
- type VPNGatewayOutput
- func (VPNGatewayOutput) ElementType() reflect.Type
- func (o VPNGatewayOutput) ToVPNGatewayOutput() VPNGatewayOutput
- func (o VPNGatewayOutput) ToVPNGatewayOutputWithContext(ctx context.Context) VPNGatewayOutput
- func (o VPNGatewayOutput) ToVPNGatewayPtrOutput() VPNGatewayPtrOutput
- func (o VPNGatewayOutput) ToVPNGatewayPtrOutputWithContext(ctx context.Context) VPNGatewayPtrOutput
- type VPNGatewayPtrInput
- type VPNGatewayPtrOutput
- type VPNGatewayState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetVPNConnectionVpnConnection ¶
type GetVPNConnectionVpnConnection struct { // The time of creation for VPN Connection, formatted in RFC3339 time string. CreateTime string `pulumi:"createTime"` // The ID of VPN Customer Gateway. CustomerGatewayId string `pulumi:"customerGatewayId"` // The ID of VPN Connection. Id string `pulumi:"id"` // It is a nested type which documented below. IkeConfigs []GetVPNConnectionVpnConnectionIkeConfig `pulumi:"ikeConfigs"` // It is a nested type which documented below. IpsecConfigs []GetVPNConnectionVpnConnectionIpsecConfig `pulumi:"ipsecConfigs"` // The name of the VPN Connection. Name string `pulumi:"name"` // The remarks of VPN Connection. Remark string `pulumi:"remark"` // A tag assigned to VPN Connection. Tag string `pulumi:"tag"` // The ID of VPC linked to the VPN Connection. VpcId string `pulumi:"vpcId"` // The ID of VPN Gateway. VpnGatewayId string `pulumi:"vpnGatewayId"` }
type GetVPNConnectionVpnConnectionArgs ¶
type GetVPNConnectionVpnConnectionArgs struct { // The time of creation for VPN Connection, formatted in RFC3339 time string. CreateTime pulumi.StringInput `pulumi:"createTime"` // The ID of VPN Customer Gateway. CustomerGatewayId pulumi.StringInput `pulumi:"customerGatewayId"` // The ID of VPN Connection. Id pulumi.StringInput `pulumi:"id"` // It is a nested type which documented below. IkeConfigs GetVPNConnectionVpnConnectionIkeConfigArrayInput `pulumi:"ikeConfigs"` // It is a nested type which documented below. IpsecConfigs GetVPNConnectionVpnConnectionIpsecConfigArrayInput `pulumi:"ipsecConfigs"` // The name of the VPN Connection. Name pulumi.StringInput `pulumi:"name"` // The remarks of VPN Connection. Remark pulumi.StringInput `pulumi:"remark"` // A tag assigned to VPN Connection. Tag pulumi.StringInput `pulumi:"tag"` // The ID of VPC linked to the VPN Connection. VpcId pulumi.StringInput `pulumi:"vpcId"` // The ID of VPN Gateway. VpnGatewayId pulumi.StringInput `pulumi:"vpnGatewayId"` }
func (GetVPNConnectionVpnConnectionArgs) ElementType ¶
func (GetVPNConnectionVpnConnectionArgs) ElementType() reflect.Type
func (GetVPNConnectionVpnConnectionArgs) ToGetVPNConnectionVpnConnectionOutput ¶
func (i GetVPNConnectionVpnConnectionArgs) ToGetVPNConnectionVpnConnectionOutput() GetVPNConnectionVpnConnectionOutput
func (GetVPNConnectionVpnConnectionArgs) ToGetVPNConnectionVpnConnectionOutputWithContext ¶
func (i GetVPNConnectionVpnConnectionArgs) ToGetVPNConnectionVpnConnectionOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionOutput
type GetVPNConnectionVpnConnectionArray ¶
type GetVPNConnectionVpnConnectionArray []GetVPNConnectionVpnConnectionInput
func (GetVPNConnectionVpnConnectionArray) ElementType ¶
func (GetVPNConnectionVpnConnectionArray) ElementType() reflect.Type
func (GetVPNConnectionVpnConnectionArray) ToGetVPNConnectionVpnConnectionArrayOutput ¶
func (i GetVPNConnectionVpnConnectionArray) ToGetVPNConnectionVpnConnectionArrayOutput() GetVPNConnectionVpnConnectionArrayOutput
func (GetVPNConnectionVpnConnectionArray) ToGetVPNConnectionVpnConnectionArrayOutputWithContext ¶
func (i GetVPNConnectionVpnConnectionArray) ToGetVPNConnectionVpnConnectionArrayOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionArrayOutput
type GetVPNConnectionVpnConnectionArrayInput ¶
type GetVPNConnectionVpnConnectionArrayInput interface { pulumi.Input ToGetVPNConnectionVpnConnectionArrayOutput() GetVPNConnectionVpnConnectionArrayOutput ToGetVPNConnectionVpnConnectionArrayOutputWithContext(context.Context) GetVPNConnectionVpnConnectionArrayOutput }
GetVPNConnectionVpnConnectionArrayInput is an input type that accepts GetVPNConnectionVpnConnectionArray and GetVPNConnectionVpnConnectionArrayOutput values. You can construct a concrete instance of `GetVPNConnectionVpnConnectionArrayInput` via:
GetVPNConnectionVpnConnectionArray{ GetVPNConnectionVpnConnectionArgs{...} }
type GetVPNConnectionVpnConnectionArrayOutput ¶
type GetVPNConnectionVpnConnectionArrayOutput struct{ *pulumi.OutputState }
func (GetVPNConnectionVpnConnectionArrayOutput) ElementType ¶
func (GetVPNConnectionVpnConnectionArrayOutput) ElementType() reflect.Type
func (GetVPNConnectionVpnConnectionArrayOutput) ToGetVPNConnectionVpnConnectionArrayOutput ¶
func (o GetVPNConnectionVpnConnectionArrayOutput) ToGetVPNConnectionVpnConnectionArrayOutput() GetVPNConnectionVpnConnectionArrayOutput
func (GetVPNConnectionVpnConnectionArrayOutput) ToGetVPNConnectionVpnConnectionArrayOutputWithContext ¶
func (o GetVPNConnectionVpnConnectionArrayOutput) ToGetVPNConnectionVpnConnectionArrayOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionArrayOutput
type GetVPNConnectionVpnConnectionIkeConfig ¶
type GetVPNConnectionVpnConnectionIkeConfig struct { // The authentication algorithm of IPSec negotiation. AuthenticationAlgorithm string `pulumi:"authenticationAlgorithm"` // The Diffie-Hellman group used by IKE negotiation. DhGroup string `pulumi:"dhGroup"` // The encryption algorithm of IPSec negotiation. EncryptionAlgorithm string `pulumi:"encryptionAlgorithm"` // The negotiation exchange mode of IKE V1 of VPN gateway. ExchangeMode string `pulumi:"exchangeMode"` // The version of the IKE protocol. IkeVersion string `pulumi:"ikeVersion"` // The identification of the VPN gateway. LocalId string `pulumi:"localId"` PreSharedKey string `pulumi:"preSharedKey"` // The identification of the Customer gateway. RemoteId string `pulumi:"remoteId"` // The Security Association lifecycle as the result of IPSec negotiation. SaLifeTime int `pulumi:"saLifeTime"` }
type GetVPNConnectionVpnConnectionIkeConfigArgs ¶
type GetVPNConnectionVpnConnectionIkeConfigArgs struct { // The authentication algorithm of IPSec negotiation. AuthenticationAlgorithm pulumi.StringInput `pulumi:"authenticationAlgorithm"` // The Diffie-Hellman group used by IKE negotiation. DhGroup pulumi.StringInput `pulumi:"dhGroup"` // The encryption algorithm of IPSec negotiation. EncryptionAlgorithm pulumi.StringInput `pulumi:"encryptionAlgorithm"` // The negotiation exchange mode of IKE V1 of VPN gateway. ExchangeMode pulumi.StringInput `pulumi:"exchangeMode"` // The version of the IKE protocol. IkeVersion pulumi.StringInput `pulumi:"ikeVersion"` // The identification of the VPN gateway. LocalId pulumi.StringInput `pulumi:"localId"` PreSharedKey pulumi.StringInput `pulumi:"preSharedKey"` // The identification of the Customer gateway. RemoteId pulumi.StringInput `pulumi:"remoteId"` // The Security Association lifecycle as the result of IPSec negotiation. SaLifeTime pulumi.IntInput `pulumi:"saLifeTime"` }
func (GetVPNConnectionVpnConnectionIkeConfigArgs) ElementType ¶
func (GetVPNConnectionVpnConnectionIkeConfigArgs) ElementType() reflect.Type
func (GetVPNConnectionVpnConnectionIkeConfigArgs) ToGetVPNConnectionVpnConnectionIkeConfigOutput ¶
func (i GetVPNConnectionVpnConnectionIkeConfigArgs) ToGetVPNConnectionVpnConnectionIkeConfigOutput() GetVPNConnectionVpnConnectionIkeConfigOutput
func (GetVPNConnectionVpnConnectionIkeConfigArgs) ToGetVPNConnectionVpnConnectionIkeConfigOutputWithContext ¶
func (i GetVPNConnectionVpnConnectionIkeConfigArgs) ToGetVPNConnectionVpnConnectionIkeConfigOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionIkeConfigOutput
type GetVPNConnectionVpnConnectionIkeConfigArray ¶
type GetVPNConnectionVpnConnectionIkeConfigArray []GetVPNConnectionVpnConnectionIkeConfigInput
func (GetVPNConnectionVpnConnectionIkeConfigArray) ElementType ¶
func (GetVPNConnectionVpnConnectionIkeConfigArray) ElementType() reflect.Type
func (GetVPNConnectionVpnConnectionIkeConfigArray) ToGetVPNConnectionVpnConnectionIkeConfigArrayOutput ¶
func (i GetVPNConnectionVpnConnectionIkeConfigArray) ToGetVPNConnectionVpnConnectionIkeConfigArrayOutput() GetVPNConnectionVpnConnectionIkeConfigArrayOutput
func (GetVPNConnectionVpnConnectionIkeConfigArray) ToGetVPNConnectionVpnConnectionIkeConfigArrayOutputWithContext ¶
func (i GetVPNConnectionVpnConnectionIkeConfigArray) ToGetVPNConnectionVpnConnectionIkeConfigArrayOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionIkeConfigArrayOutput
type GetVPNConnectionVpnConnectionIkeConfigArrayInput ¶
type GetVPNConnectionVpnConnectionIkeConfigArrayInput interface { pulumi.Input ToGetVPNConnectionVpnConnectionIkeConfigArrayOutput() GetVPNConnectionVpnConnectionIkeConfigArrayOutput ToGetVPNConnectionVpnConnectionIkeConfigArrayOutputWithContext(context.Context) GetVPNConnectionVpnConnectionIkeConfigArrayOutput }
GetVPNConnectionVpnConnectionIkeConfigArrayInput is an input type that accepts GetVPNConnectionVpnConnectionIkeConfigArray and GetVPNConnectionVpnConnectionIkeConfigArrayOutput values. You can construct a concrete instance of `GetVPNConnectionVpnConnectionIkeConfigArrayInput` via:
GetVPNConnectionVpnConnectionIkeConfigArray{ GetVPNConnectionVpnConnectionIkeConfigArgs{...} }
type GetVPNConnectionVpnConnectionIkeConfigArrayOutput ¶
type GetVPNConnectionVpnConnectionIkeConfigArrayOutput struct{ *pulumi.OutputState }
func (GetVPNConnectionVpnConnectionIkeConfigArrayOutput) ElementType ¶
func (GetVPNConnectionVpnConnectionIkeConfigArrayOutput) ElementType() reflect.Type
func (GetVPNConnectionVpnConnectionIkeConfigArrayOutput) ToGetVPNConnectionVpnConnectionIkeConfigArrayOutput ¶
func (o GetVPNConnectionVpnConnectionIkeConfigArrayOutput) ToGetVPNConnectionVpnConnectionIkeConfigArrayOutput() GetVPNConnectionVpnConnectionIkeConfigArrayOutput
func (GetVPNConnectionVpnConnectionIkeConfigArrayOutput) ToGetVPNConnectionVpnConnectionIkeConfigArrayOutputWithContext ¶
func (o GetVPNConnectionVpnConnectionIkeConfigArrayOutput) ToGetVPNConnectionVpnConnectionIkeConfigArrayOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionIkeConfigArrayOutput
type GetVPNConnectionVpnConnectionIkeConfigInput ¶
type GetVPNConnectionVpnConnectionIkeConfigInput interface { pulumi.Input ToGetVPNConnectionVpnConnectionIkeConfigOutput() GetVPNConnectionVpnConnectionIkeConfigOutput ToGetVPNConnectionVpnConnectionIkeConfigOutputWithContext(context.Context) GetVPNConnectionVpnConnectionIkeConfigOutput }
GetVPNConnectionVpnConnectionIkeConfigInput is an input type that accepts GetVPNConnectionVpnConnectionIkeConfigArgs and GetVPNConnectionVpnConnectionIkeConfigOutput values. You can construct a concrete instance of `GetVPNConnectionVpnConnectionIkeConfigInput` via:
GetVPNConnectionVpnConnectionIkeConfigArgs{...}
type GetVPNConnectionVpnConnectionIkeConfigOutput ¶
type GetVPNConnectionVpnConnectionIkeConfigOutput struct{ *pulumi.OutputState }
func (GetVPNConnectionVpnConnectionIkeConfigOutput) AuthenticationAlgorithm ¶
func (o GetVPNConnectionVpnConnectionIkeConfigOutput) AuthenticationAlgorithm() pulumi.StringOutput
The authentication algorithm of IPSec negotiation.
func (GetVPNConnectionVpnConnectionIkeConfigOutput) DhGroup ¶
func (o GetVPNConnectionVpnConnectionIkeConfigOutput) DhGroup() pulumi.StringOutput
The Diffie-Hellman group used by IKE negotiation.
func (GetVPNConnectionVpnConnectionIkeConfigOutput) ElementType ¶
func (GetVPNConnectionVpnConnectionIkeConfigOutput) ElementType() reflect.Type
func (GetVPNConnectionVpnConnectionIkeConfigOutput) EncryptionAlgorithm ¶
func (o GetVPNConnectionVpnConnectionIkeConfigOutput) EncryptionAlgorithm() pulumi.StringOutput
The encryption algorithm of IPSec negotiation.
func (GetVPNConnectionVpnConnectionIkeConfigOutput) ExchangeMode ¶
func (o GetVPNConnectionVpnConnectionIkeConfigOutput) ExchangeMode() pulumi.StringOutput
The negotiation exchange mode of IKE V1 of VPN gateway.
func (GetVPNConnectionVpnConnectionIkeConfigOutput) IkeVersion ¶
func (o GetVPNConnectionVpnConnectionIkeConfigOutput) IkeVersion() pulumi.StringOutput
The version of the IKE protocol.
func (GetVPNConnectionVpnConnectionIkeConfigOutput) LocalId ¶
func (o GetVPNConnectionVpnConnectionIkeConfigOutput) LocalId() pulumi.StringOutput
The identification of the VPN gateway.
func (GetVPNConnectionVpnConnectionIkeConfigOutput) PreSharedKey ¶
func (o GetVPNConnectionVpnConnectionIkeConfigOutput) PreSharedKey() pulumi.StringOutput
The key used for authentication between the VPN gateway and the Customer gateway.
func (GetVPNConnectionVpnConnectionIkeConfigOutput) RemoteId ¶
func (o GetVPNConnectionVpnConnectionIkeConfigOutput) RemoteId() pulumi.StringOutput
The identification of the Customer gateway.
func (GetVPNConnectionVpnConnectionIkeConfigOutput) SaLifeTime ¶
func (o GetVPNConnectionVpnConnectionIkeConfigOutput) SaLifeTime() pulumi.IntOutput
The Security Association lifecycle as the result of IPSec negotiation.
func (GetVPNConnectionVpnConnectionIkeConfigOutput) ToGetVPNConnectionVpnConnectionIkeConfigOutput ¶
func (o GetVPNConnectionVpnConnectionIkeConfigOutput) ToGetVPNConnectionVpnConnectionIkeConfigOutput() GetVPNConnectionVpnConnectionIkeConfigOutput
func (GetVPNConnectionVpnConnectionIkeConfigOutput) ToGetVPNConnectionVpnConnectionIkeConfigOutputWithContext ¶
func (o GetVPNConnectionVpnConnectionIkeConfigOutput) ToGetVPNConnectionVpnConnectionIkeConfigOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionIkeConfigOutput
type GetVPNConnectionVpnConnectionInput ¶
type GetVPNConnectionVpnConnectionInput interface { pulumi.Input ToGetVPNConnectionVpnConnectionOutput() GetVPNConnectionVpnConnectionOutput ToGetVPNConnectionVpnConnectionOutputWithContext(context.Context) GetVPNConnectionVpnConnectionOutput }
GetVPNConnectionVpnConnectionInput is an input type that accepts GetVPNConnectionVpnConnectionArgs and GetVPNConnectionVpnConnectionOutput values. You can construct a concrete instance of `GetVPNConnectionVpnConnectionInput` via:
GetVPNConnectionVpnConnectionArgs{...}
type GetVPNConnectionVpnConnectionIpsecConfig ¶
type GetVPNConnectionVpnConnectionIpsecConfig struct { // The authentication algorithm of IPSec negotiation. AuthenticationAlgorithm string `pulumi:"authenticationAlgorithm"` // The encryption algorithm of IPSec negotiation. EncryptionAlgorithm string `pulumi:"encryptionAlgorithm"` // The id list of Local subnet. LocalSubnetIds []string `pulumi:"localSubnetIds"` // Whether the PFS of IPSec negotiation is on or off, `disable` as off, The Diffie-Hellman group as open. PfsDhGroup string `pulumi:"pfsDhGroup"` // The security protocol of IPSec negotiation. Protocol string `pulumi:"protocol"` // The ip address list of remote subnet. RemoteSubnets []string `pulumi:"remoteSubnets"` // The Security Association lifecycle as the result of IPSec negotiation. SaLifeTime int `pulumi:"saLifeTime"` // The Security Association lifecycle in bytes as the result of IPSec negotiation. SaLifeTimeBytes int `pulumi:"saLifeTimeBytes"` }
type GetVPNConnectionVpnConnectionIpsecConfigArgs ¶
type GetVPNConnectionVpnConnectionIpsecConfigArgs struct { // The authentication algorithm of IPSec negotiation. AuthenticationAlgorithm pulumi.StringInput `pulumi:"authenticationAlgorithm"` // The encryption algorithm of IPSec negotiation. EncryptionAlgorithm pulumi.StringInput `pulumi:"encryptionAlgorithm"` // The id list of Local subnet. LocalSubnetIds pulumi.StringArrayInput `pulumi:"localSubnetIds"` // Whether the PFS of IPSec negotiation is on or off, `disable` as off, The Diffie-Hellman group as open. PfsDhGroup pulumi.StringInput `pulumi:"pfsDhGroup"` // The security protocol of IPSec negotiation. Protocol pulumi.StringInput `pulumi:"protocol"` // The ip address list of remote subnet. RemoteSubnets pulumi.StringArrayInput `pulumi:"remoteSubnets"` // The Security Association lifecycle as the result of IPSec negotiation. SaLifeTime pulumi.IntInput `pulumi:"saLifeTime"` // The Security Association lifecycle in bytes as the result of IPSec negotiation. SaLifeTimeBytes pulumi.IntInput `pulumi:"saLifeTimeBytes"` }
func (GetVPNConnectionVpnConnectionIpsecConfigArgs) ElementType ¶
func (GetVPNConnectionVpnConnectionIpsecConfigArgs) ElementType() reflect.Type
func (GetVPNConnectionVpnConnectionIpsecConfigArgs) ToGetVPNConnectionVpnConnectionIpsecConfigOutput ¶
func (i GetVPNConnectionVpnConnectionIpsecConfigArgs) ToGetVPNConnectionVpnConnectionIpsecConfigOutput() GetVPNConnectionVpnConnectionIpsecConfigOutput
func (GetVPNConnectionVpnConnectionIpsecConfigArgs) ToGetVPNConnectionVpnConnectionIpsecConfigOutputWithContext ¶
func (i GetVPNConnectionVpnConnectionIpsecConfigArgs) ToGetVPNConnectionVpnConnectionIpsecConfigOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionIpsecConfigOutput
type GetVPNConnectionVpnConnectionIpsecConfigArray ¶
type GetVPNConnectionVpnConnectionIpsecConfigArray []GetVPNConnectionVpnConnectionIpsecConfigInput
func (GetVPNConnectionVpnConnectionIpsecConfigArray) ElementType ¶
func (GetVPNConnectionVpnConnectionIpsecConfigArray) ElementType() reflect.Type
func (GetVPNConnectionVpnConnectionIpsecConfigArray) ToGetVPNConnectionVpnConnectionIpsecConfigArrayOutput ¶
func (i GetVPNConnectionVpnConnectionIpsecConfigArray) ToGetVPNConnectionVpnConnectionIpsecConfigArrayOutput() GetVPNConnectionVpnConnectionIpsecConfigArrayOutput
func (GetVPNConnectionVpnConnectionIpsecConfigArray) ToGetVPNConnectionVpnConnectionIpsecConfigArrayOutputWithContext ¶
func (i GetVPNConnectionVpnConnectionIpsecConfigArray) ToGetVPNConnectionVpnConnectionIpsecConfigArrayOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionIpsecConfigArrayOutput
type GetVPNConnectionVpnConnectionIpsecConfigArrayInput ¶
type GetVPNConnectionVpnConnectionIpsecConfigArrayInput interface { pulumi.Input ToGetVPNConnectionVpnConnectionIpsecConfigArrayOutput() GetVPNConnectionVpnConnectionIpsecConfigArrayOutput ToGetVPNConnectionVpnConnectionIpsecConfigArrayOutputWithContext(context.Context) GetVPNConnectionVpnConnectionIpsecConfigArrayOutput }
GetVPNConnectionVpnConnectionIpsecConfigArrayInput is an input type that accepts GetVPNConnectionVpnConnectionIpsecConfigArray and GetVPNConnectionVpnConnectionIpsecConfigArrayOutput values. You can construct a concrete instance of `GetVPNConnectionVpnConnectionIpsecConfigArrayInput` via:
GetVPNConnectionVpnConnectionIpsecConfigArray{ GetVPNConnectionVpnConnectionIpsecConfigArgs{...} }
type GetVPNConnectionVpnConnectionIpsecConfigArrayOutput ¶
type GetVPNConnectionVpnConnectionIpsecConfigArrayOutput struct{ *pulumi.OutputState }
func (GetVPNConnectionVpnConnectionIpsecConfigArrayOutput) ElementType ¶
func (GetVPNConnectionVpnConnectionIpsecConfigArrayOutput) ElementType() reflect.Type
func (GetVPNConnectionVpnConnectionIpsecConfigArrayOutput) ToGetVPNConnectionVpnConnectionIpsecConfigArrayOutput ¶
func (o GetVPNConnectionVpnConnectionIpsecConfigArrayOutput) ToGetVPNConnectionVpnConnectionIpsecConfigArrayOutput() GetVPNConnectionVpnConnectionIpsecConfigArrayOutput
func (GetVPNConnectionVpnConnectionIpsecConfigArrayOutput) ToGetVPNConnectionVpnConnectionIpsecConfigArrayOutputWithContext ¶
func (o GetVPNConnectionVpnConnectionIpsecConfigArrayOutput) ToGetVPNConnectionVpnConnectionIpsecConfigArrayOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionIpsecConfigArrayOutput
type GetVPNConnectionVpnConnectionIpsecConfigInput ¶
type GetVPNConnectionVpnConnectionIpsecConfigInput interface { pulumi.Input ToGetVPNConnectionVpnConnectionIpsecConfigOutput() GetVPNConnectionVpnConnectionIpsecConfigOutput ToGetVPNConnectionVpnConnectionIpsecConfigOutputWithContext(context.Context) GetVPNConnectionVpnConnectionIpsecConfigOutput }
GetVPNConnectionVpnConnectionIpsecConfigInput is an input type that accepts GetVPNConnectionVpnConnectionIpsecConfigArgs and GetVPNConnectionVpnConnectionIpsecConfigOutput values. You can construct a concrete instance of `GetVPNConnectionVpnConnectionIpsecConfigInput` via:
GetVPNConnectionVpnConnectionIpsecConfigArgs{...}
type GetVPNConnectionVpnConnectionIpsecConfigOutput ¶
type GetVPNConnectionVpnConnectionIpsecConfigOutput struct{ *pulumi.OutputState }
func (GetVPNConnectionVpnConnectionIpsecConfigOutput) AuthenticationAlgorithm ¶
func (o GetVPNConnectionVpnConnectionIpsecConfigOutput) AuthenticationAlgorithm() pulumi.StringOutput
The authentication algorithm of IPSec negotiation.
func (GetVPNConnectionVpnConnectionIpsecConfigOutput) ElementType ¶
func (GetVPNConnectionVpnConnectionIpsecConfigOutput) ElementType() reflect.Type
func (GetVPNConnectionVpnConnectionIpsecConfigOutput) EncryptionAlgorithm ¶
func (o GetVPNConnectionVpnConnectionIpsecConfigOutput) EncryptionAlgorithm() pulumi.StringOutput
The encryption algorithm of IPSec negotiation.
func (GetVPNConnectionVpnConnectionIpsecConfigOutput) LocalSubnetIds ¶
func (o GetVPNConnectionVpnConnectionIpsecConfigOutput) LocalSubnetIds() pulumi.StringArrayOutput
The id list of Local subnet.
func (GetVPNConnectionVpnConnectionIpsecConfigOutput) PfsDhGroup ¶
func (o GetVPNConnectionVpnConnectionIpsecConfigOutput) PfsDhGroup() pulumi.StringOutput
Whether the PFS of IPSec negotiation is on or off, `disable` as off, The Diffie-Hellman group as open.
func (GetVPNConnectionVpnConnectionIpsecConfigOutput) Protocol ¶
func (o GetVPNConnectionVpnConnectionIpsecConfigOutput) Protocol() pulumi.StringOutput
The security protocol of IPSec negotiation.
func (GetVPNConnectionVpnConnectionIpsecConfigOutput) RemoteSubnets ¶
func (o GetVPNConnectionVpnConnectionIpsecConfigOutput) RemoteSubnets() pulumi.StringArrayOutput
The ip address list of remote subnet.
func (GetVPNConnectionVpnConnectionIpsecConfigOutput) SaLifeTime ¶
func (o GetVPNConnectionVpnConnectionIpsecConfigOutput) SaLifeTime() pulumi.IntOutput
The Security Association lifecycle as the result of IPSec negotiation.
func (GetVPNConnectionVpnConnectionIpsecConfigOutput) SaLifeTimeBytes ¶
func (o GetVPNConnectionVpnConnectionIpsecConfigOutput) SaLifeTimeBytes() pulumi.IntOutput
The Security Association lifecycle in bytes as the result of IPSec negotiation.
func (GetVPNConnectionVpnConnectionIpsecConfigOutput) ToGetVPNConnectionVpnConnectionIpsecConfigOutput ¶
func (o GetVPNConnectionVpnConnectionIpsecConfigOutput) ToGetVPNConnectionVpnConnectionIpsecConfigOutput() GetVPNConnectionVpnConnectionIpsecConfigOutput
func (GetVPNConnectionVpnConnectionIpsecConfigOutput) ToGetVPNConnectionVpnConnectionIpsecConfigOutputWithContext ¶
func (o GetVPNConnectionVpnConnectionIpsecConfigOutput) ToGetVPNConnectionVpnConnectionIpsecConfigOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionIpsecConfigOutput
type GetVPNConnectionVpnConnectionOutput ¶
type GetVPNConnectionVpnConnectionOutput struct{ *pulumi.OutputState }
func (GetVPNConnectionVpnConnectionOutput) CreateTime ¶
func (o GetVPNConnectionVpnConnectionOutput) CreateTime() pulumi.StringOutput
The time of creation for VPN Connection, formatted in RFC3339 time string.
func (GetVPNConnectionVpnConnectionOutput) CustomerGatewayId ¶
func (o GetVPNConnectionVpnConnectionOutput) CustomerGatewayId() pulumi.StringOutput
The ID of VPN Customer Gateway.
func (GetVPNConnectionVpnConnectionOutput) ElementType ¶
func (GetVPNConnectionVpnConnectionOutput) ElementType() reflect.Type
func (GetVPNConnectionVpnConnectionOutput) Id ¶
func (o GetVPNConnectionVpnConnectionOutput) Id() pulumi.StringOutput
The ID of VPN Connection.
func (GetVPNConnectionVpnConnectionOutput) IkeConfigs ¶
func (o GetVPNConnectionVpnConnectionOutput) IkeConfigs() GetVPNConnectionVpnConnectionIkeConfigArrayOutput
It is a nested type which documented below.
func (GetVPNConnectionVpnConnectionOutput) IpsecConfigs ¶
func (o GetVPNConnectionVpnConnectionOutput) IpsecConfigs() GetVPNConnectionVpnConnectionIpsecConfigArrayOutput
It is a nested type which documented below.
func (GetVPNConnectionVpnConnectionOutput) Name ¶
func (o GetVPNConnectionVpnConnectionOutput) Name() pulumi.StringOutput
The name of the VPN Connection.
func (GetVPNConnectionVpnConnectionOutput) Remark ¶
func (o GetVPNConnectionVpnConnectionOutput) Remark() pulumi.StringOutput
The remarks of VPN Connection.
func (GetVPNConnectionVpnConnectionOutput) Tag ¶
func (o GetVPNConnectionVpnConnectionOutput) Tag() pulumi.StringOutput
A tag assigned to VPN Connection.
func (GetVPNConnectionVpnConnectionOutput) ToGetVPNConnectionVpnConnectionOutput ¶
func (o GetVPNConnectionVpnConnectionOutput) ToGetVPNConnectionVpnConnectionOutput() GetVPNConnectionVpnConnectionOutput
func (GetVPNConnectionVpnConnectionOutput) ToGetVPNConnectionVpnConnectionOutputWithContext ¶
func (o GetVPNConnectionVpnConnectionOutput) ToGetVPNConnectionVpnConnectionOutputWithContext(ctx context.Context) GetVPNConnectionVpnConnectionOutput
func (GetVPNConnectionVpnConnectionOutput) VpcId ¶
func (o GetVPNConnectionVpnConnectionOutput) VpcId() pulumi.StringOutput
The ID of VPC linked to the VPN Connection.
func (GetVPNConnectionVpnConnectionOutput) VpnGatewayId ¶
func (o GetVPNConnectionVpnConnectionOutput) VpnGatewayId() pulumi.StringOutput
The ID of VPN Gateway.
type GetVPNCustomerGatewayVpnCustomerGateway ¶
type GetVPNCustomerGatewayVpnCustomerGateway struct { // The time of creation for VPN Customer Gateway, formatted in RFC3339 time string. CreateTime string `pulumi:"createTime"` // The ID of VPN Customer Gateway. Id string `pulumi:"id"` // The ip address of the VPN Customer Gateway. IpAddress string `pulumi:"ipAddress"` // The name of the VPN Customer Gateway. Name string `pulumi:"name"` // The remarks of VPN Customer Gateway. Remark string `pulumi:"remark"` // A tag assigned to VPN Customer Gateway. Tag string `pulumi:"tag"` }
type GetVPNCustomerGatewayVpnCustomerGatewayArgs ¶
type GetVPNCustomerGatewayVpnCustomerGatewayArgs struct { // The time of creation for VPN Customer Gateway, formatted in RFC3339 time string. CreateTime pulumi.StringInput `pulumi:"createTime"` // The ID of VPN Customer Gateway. Id pulumi.StringInput `pulumi:"id"` // The ip address of the VPN Customer Gateway. IpAddress pulumi.StringInput `pulumi:"ipAddress"` // The name of the VPN Customer Gateway. Name pulumi.StringInput `pulumi:"name"` // The remarks of VPN Customer Gateway. Remark pulumi.StringInput `pulumi:"remark"` // A tag assigned to VPN Customer Gateway. Tag pulumi.StringInput `pulumi:"tag"` }
func (GetVPNCustomerGatewayVpnCustomerGatewayArgs) ElementType ¶
func (GetVPNCustomerGatewayVpnCustomerGatewayArgs) ElementType() reflect.Type
func (GetVPNCustomerGatewayVpnCustomerGatewayArgs) ToGetVPNCustomerGatewayVpnCustomerGatewayOutput ¶
func (i GetVPNCustomerGatewayVpnCustomerGatewayArgs) ToGetVPNCustomerGatewayVpnCustomerGatewayOutput() GetVPNCustomerGatewayVpnCustomerGatewayOutput
func (GetVPNCustomerGatewayVpnCustomerGatewayArgs) ToGetVPNCustomerGatewayVpnCustomerGatewayOutputWithContext ¶
func (i GetVPNCustomerGatewayVpnCustomerGatewayArgs) ToGetVPNCustomerGatewayVpnCustomerGatewayOutputWithContext(ctx context.Context) GetVPNCustomerGatewayVpnCustomerGatewayOutput
type GetVPNCustomerGatewayVpnCustomerGatewayArray ¶
type GetVPNCustomerGatewayVpnCustomerGatewayArray []GetVPNCustomerGatewayVpnCustomerGatewayInput
func (GetVPNCustomerGatewayVpnCustomerGatewayArray) ElementType ¶
func (GetVPNCustomerGatewayVpnCustomerGatewayArray) ElementType() reflect.Type
func (GetVPNCustomerGatewayVpnCustomerGatewayArray) ToGetVPNCustomerGatewayVpnCustomerGatewayArrayOutput ¶
func (i GetVPNCustomerGatewayVpnCustomerGatewayArray) ToGetVPNCustomerGatewayVpnCustomerGatewayArrayOutput() GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput
func (GetVPNCustomerGatewayVpnCustomerGatewayArray) ToGetVPNCustomerGatewayVpnCustomerGatewayArrayOutputWithContext ¶
func (i GetVPNCustomerGatewayVpnCustomerGatewayArray) ToGetVPNCustomerGatewayVpnCustomerGatewayArrayOutputWithContext(ctx context.Context) GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput
type GetVPNCustomerGatewayVpnCustomerGatewayArrayInput ¶
type GetVPNCustomerGatewayVpnCustomerGatewayArrayInput interface { pulumi.Input ToGetVPNCustomerGatewayVpnCustomerGatewayArrayOutput() GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput ToGetVPNCustomerGatewayVpnCustomerGatewayArrayOutputWithContext(context.Context) GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput }
GetVPNCustomerGatewayVpnCustomerGatewayArrayInput is an input type that accepts GetVPNCustomerGatewayVpnCustomerGatewayArray and GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput values. You can construct a concrete instance of `GetVPNCustomerGatewayVpnCustomerGatewayArrayInput` via:
GetVPNCustomerGatewayVpnCustomerGatewayArray{ GetVPNCustomerGatewayVpnCustomerGatewayArgs{...} }
type GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput ¶
type GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput struct{ *pulumi.OutputState }
func (GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput) ElementType ¶
func (GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput) ElementType() reflect.Type
func (GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput) ToGetVPNCustomerGatewayVpnCustomerGatewayArrayOutput ¶
func (o GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput) ToGetVPNCustomerGatewayVpnCustomerGatewayArrayOutput() GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput
func (GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput) ToGetVPNCustomerGatewayVpnCustomerGatewayArrayOutputWithContext ¶
func (o GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput) ToGetVPNCustomerGatewayVpnCustomerGatewayArrayOutputWithContext(ctx context.Context) GetVPNCustomerGatewayVpnCustomerGatewayArrayOutput
type GetVPNCustomerGatewayVpnCustomerGatewayInput ¶
type GetVPNCustomerGatewayVpnCustomerGatewayInput interface { pulumi.Input ToGetVPNCustomerGatewayVpnCustomerGatewayOutput() GetVPNCustomerGatewayVpnCustomerGatewayOutput ToGetVPNCustomerGatewayVpnCustomerGatewayOutputWithContext(context.Context) GetVPNCustomerGatewayVpnCustomerGatewayOutput }
GetVPNCustomerGatewayVpnCustomerGatewayInput is an input type that accepts GetVPNCustomerGatewayVpnCustomerGatewayArgs and GetVPNCustomerGatewayVpnCustomerGatewayOutput values. You can construct a concrete instance of `GetVPNCustomerGatewayVpnCustomerGatewayInput` via:
GetVPNCustomerGatewayVpnCustomerGatewayArgs{...}
type GetVPNCustomerGatewayVpnCustomerGatewayOutput ¶
type GetVPNCustomerGatewayVpnCustomerGatewayOutput struct{ *pulumi.OutputState }
func (GetVPNCustomerGatewayVpnCustomerGatewayOutput) CreateTime ¶
func (o GetVPNCustomerGatewayVpnCustomerGatewayOutput) CreateTime() pulumi.StringOutput
The time of creation for VPN Customer Gateway, formatted in RFC3339 time string.
func (GetVPNCustomerGatewayVpnCustomerGatewayOutput) ElementType ¶
func (GetVPNCustomerGatewayVpnCustomerGatewayOutput) ElementType() reflect.Type
func (GetVPNCustomerGatewayVpnCustomerGatewayOutput) Id ¶
func (o GetVPNCustomerGatewayVpnCustomerGatewayOutput) Id() pulumi.StringOutput
The ID of VPN Customer Gateway.
func (GetVPNCustomerGatewayVpnCustomerGatewayOutput) IpAddress ¶
func (o GetVPNCustomerGatewayVpnCustomerGatewayOutput) IpAddress() pulumi.StringOutput
The ip address of the VPN Customer Gateway.
func (GetVPNCustomerGatewayVpnCustomerGatewayOutput) Name ¶
func (o GetVPNCustomerGatewayVpnCustomerGatewayOutput) Name() pulumi.StringOutput
The name of the VPN Customer Gateway.
func (GetVPNCustomerGatewayVpnCustomerGatewayOutput) Remark ¶
func (o GetVPNCustomerGatewayVpnCustomerGatewayOutput) Remark() pulumi.StringOutput
The remarks of VPN Customer Gateway.
func (GetVPNCustomerGatewayVpnCustomerGatewayOutput) Tag ¶
func (o GetVPNCustomerGatewayVpnCustomerGatewayOutput) Tag() pulumi.StringOutput
A tag assigned to VPN Customer Gateway.
func (GetVPNCustomerGatewayVpnCustomerGatewayOutput) ToGetVPNCustomerGatewayVpnCustomerGatewayOutput ¶
func (o GetVPNCustomerGatewayVpnCustomerGatewayOutput) ToGetVPNCustomerGatewayVpnCustomerGatewayOutput() GetVPNCustomerGatewayVpnCustomerGatewayOutput
func (GetVPNCustomerGatewayVpnCustomerGatewayOutput) ToGetVPNCustomerGatewayVpnCustomerGatewayOutputWithContext ¶
func (o GetVPNCustomerGatewayVpnCustomerGatewayOutput) ToGetVPNCustomerGatewayVpnCustomerGatewayOutputWithContext(ctx context.Context) GetVPNCustomerGatewayVpnCustomerGatewayOutput
type GetVPNGatewayVpnGateway ¶
type GetVPNGatewayVpnGateway struct { // Whether to renew an VPN Gateway automatically or not. AutoRenew bool `pulumi:"autoRenew"` // The charge type of VPN Gateway. ChargeType string `pulumi:"chargeType"` // The time of creation for VPN Gateway, formatted in RFC3339 time string. CreateTime string `pulumi:"createTime"` // The expiration time for VPN Gateway, formatted in RFC3339 time string. ExpireTime string `pulumi:"expireTime"` // The type of the VPN Gateway. Grade string `pulumi:"grade"` // The ID of VPN Gateway. Id string `pulumi:"id"` // It is a nested type which documented below. IpSets []GetVPNGatewayVpnGatewayIpSet `pulumi:"ipSets"` // The name of the VPN Gateway. Name string `pulumi:"name"` // The remarks of VPN Gateway. Remark string `pulumi:"remark"` // A tag assigned to VPN Gateway. Tag string `pulumi:"tag"` // The ID of VPC linked to the VPN Gateway. VpcId string `pulumi:"vpcId"` }
type GetVPNGatewayVpnGatewayArgs ¶
type GetVPNGatewayVpnGatewayArgs struct { // Whether to renew an VPN Gateway automatically or not. AutoRenew pulumi.BoolInput `pulumi:"autoRenew"` // The charge type of VPN Gateway. ChargeType pulumi.StringInput `pulumi:"chargeType"` // The time of creation for VPN Gateway, formatted in RFC3339 time string. CreateTime pulumi.StringInput `pulumi:"createTime"` // The expiration time for VPN Gateway, formatted in RFC3339 time string. ExpireTime pulumi.StringInput `pulumi:"expireTime"` // The type of the VPN Gateway. Grade pulumi.StringInput `pulumi:"grade"` // The ID of VPN Gateway. Id pulumi.StringInput `pulumi:"id"` // It is a nested type which documented below. IpSets GetVPNGatewayVpnGatewayIpSetArrayInput `pulumi:"ipSets"` // The name of the VPN Gateway. Name pulumi.StringInput `pulumi:"name"` // The remarks of VPN Gateway. Remark pulumi.StringInput `pulumi:"remark"` // A tag assigned to VPN Gateway. Tag pulumi.StringInput `pulumi:"tag"` // The ID of VPC linked to the VPN Gateway. VpcId pulumi.StringInput `pulumi:"vpcId"` }
func (GetVPNGatewayVpnGatewayArgs) ElementType ¶
func (GetVPNGatewayVpnGatewayArgs) ElementType() reflect.Type
func (GetVPNGatewayVpnGatewayArgs) ToGetVPNGatewayVpnGatewayOutput ¶
func (i GetVPNGatewayVpnGatewayArgs) ToGetVPNGatewayVpnGatewayOutput() GetVPNGatewayVpnGatewayOutput
func (GetVPNGatewayVpnGatewayArgs) ToGetVPNGatewayVpnGatewayOutputWithContext ¶
func (i GetVPNGatewayVpnGatewayArgs) ToGetVPNGatewayVpnGatewayOutputWithContext(ctx context.Context) GetVPNGatewayVpnGatewayOutput
type GetVPNGatewayVpnGatewayArray ¶
type GetVPNGatewayVpnGatewayArray []GetVPNGatewayVpnGatewayInput
func (GetVPNGatewayVpnGatewayArray) ElementType ¶
func (GetVPNGatewayVpnGatewayArray) ElementType() reflect.Type
func (GetVPNGatewayVpnGatewayArray) ToGetVPNGatewayVpnGatewayArrayOutput ¶
func (i GetVPNGatewayVpnGatewayArray) ToGetVPNGatewayVpnGatewayArrayOutput() GetVPNGatewayVpnGatewayArrayOutput
func (GetVPNGatewayVpnGatewayArray) ToGetVPNGatewayVpnGatewayArrayOutputWithContext ¶
func (i GetVPNGatewayVpnGatewayArray) ToGetVPNGatewayVpnGatewayArrayOutputWithContext(ctx context.Context) GetVPNGatewayVpnGatewayArrayOutput
type GetVPNGatewayVpnGatewayArrayInput ¶
type GetVPNGatewayVpnGatewayArrayInput interface { pulumi.Input ToGetVPNGatewayVpnGatewayArrayOutput() GetVPNGatewayVpnGatewayArrayOutput ToGetVPNGatewayVpnGatewayArrayOutputWithContext(context.Context) GetVPNGatewayVpnGatewayArrayOutput }
GetVPNGatewayVpnGatewayArrayInput is an input type that accepts GetVPNGatewayVpnGatewayArray and GetVPNGatewayVpnGatewayArrayOutput values. You can construct a concrete instance of `GetVPNGatewayVpnGatewayArrayInput` via:
GetVPNGatewayVpnGatewayArray{ GetVPNGatewayVpnGatewayArgs{...} }
type GetVPNGatewayVpnGatewayArrayOutput ¶
type GetVPNGatewayVpnGatewayArrayOutput struct{ *pulumi.OutputState }
func (GetVPNGatewayVpnGatewayArrayOutput) ElementType ¶
func (GetVPNGatewayVpnGatewayArrayOutput) ElementType() reflect.Type
func (GetVPNGatewayVpnGatewayArrayOutput) Index ¶
func (o GetVPNGatewayVpnGatewayArrayOutput) Index(i pulumi.IntInput) GetVPNGatewayVpnGatewayOutput
func (GetVPNGatewayVpnGatewayArrayOutput) ToGetVPNGatewayVpnGatewayArrayOutput ¶
func (o GetVPNGatewayVpnGatewayArrayOutput) ToGetVPNGatewayVpnGatewayArrayOutput() GetVPNGatewayVpnGatewayArrayOutput
func (GetVPNGatewayVpnGatewayArrayOutput) ToGetVPNGatewayVpnGatewayArrayOutputWithContext ¶
func (o GetVPNGatewayVpnGatewayArrayOutput) ToGetVPNGatewayVpnGatewayArrayOutputWithContext(ctx context.Context) GetVPNGatewayVpnGatewayArrayOutput
type GetVPNGatewayVpnGatewayInput ¶
type GetVPNGatewayVpnGatewayInput interface { pulumi.Input ToGetVPNGatewayVpnGatewayOutput() GetVPNGatewayVpnGatewayOutput ToGetVPNGatewayVpnGatewayOutputWithContext(context.Context) GetVPNGatewayVpnGatewayOutput }
GetVPNGatewayVpnGatewayInput is an input type that accepts GetVPNGatewayVpnGatewayArgs and GetVPNGatewayVpnGatewayOutput values. You can construct a concrete instance of `GetVPNGatewayVpnGatewayInput` via:
GetVPNGatewayVpnGatewayArgs{...}
type GetVPNGatewayVpnGatewayIpSetArgs ¶
type GetVPNGatewayVpnGatewayIpSetArgs struct { // Type of Elastic IP routes. InternetType pulumi.StringInput `pulumi:"internetType"` // Elastic IP address. Ip pulumi.StringInput `pulumi:"ip"` }
func (GetVPNGatewayVpnGatewayIpSetArgs) ElementType ¶
func (GetVPNGatewayVpnGatewayIpSetArgs) ElementType() reflect.Type
func (GetVPNGatewayVpnGatewayIpSetArgs) ToGetVPNGatewayVpnGatewayIpSetOutput ¶
func (i GetVPNGatewayVpnGatewayIpSetArgs) ToGetVPNGatewayVpnGatewayIpSetOutput() GetVPNGatewayVpnGatewayIpSetOutput
func (GetVPNGatewayVpnGatewayIpSetArgs) ToGetVPNGatewayVpnGatewayIpSetOutputWithContext ¶
func (i GetVPNGatewayVpnGatewayIpSetArgs) ToGetVPNGatewayVpnGatewayIpSetOutputWithContext(ctx context.Context) GetVPNGatewayVpnGatewayIpSetOutput
type GetVPNGatewayVpnGatewayIpSetArray ¶
type GetVPNGatewayVpnGatewayIpSetArray []GetVPNGatewayVpnGatewayIpSetInput
func (GetVPNGatewayVpnGatewayIpSetArray) ElementType ¶
func (GetVPNGatewayVpnGatewayIpSetArray) ElementType() reflect.Type
func (GetVPNGatewayVpnGatewayIpSetArray) ToGetVPNGatewayVpnGatewayIpSetArrayOutput ¶
func (i GetVPNGatewayVpnGatewayIpSetArray) ToGetVPNGatewayVpnGatewayIpSetArrayOutput() GetVPNGatewayVpnGatewayIpSetArrayOutput
func (GetVPNGatewayVpnGatewayIpSetArray) ToGetVPNGatewayVpnGatewayIpSetArrayOutputWithContext ¶
func (i GetVPNGatewayVpnGatewayIpSetArray) ToGetVPNGatewayVpnGatewayIpSetArrayOutputWithContext(ctx context.Context) GetVPNGatewayVpnGatewayIpSetArrayOutput
type GetVPNGatewayVpnGatewayIpSetArrayInput ¶
type GetVPNGatewayVpnGatewayIpSetArrayInput interface { pulumi.Input ToGetVPNGatewayVpnGatewayIpSetArrayOutput() GetVPNGatewayVpnGatewayIpSetArrayOutput ToGetVPNGatewayVpnGatewayIpSetArrayOutputWithContext(context.Context) GetVPNGatewayVpnGatewayIpSetArrayOutput }
GetVPNGatewayVpnGatewayIpSetArrayInput is an input type that accepts GetVPNGatewayVpnGatewayIpSetArray and GetVPNGatewayVpnGatewayIpSetArrayOutput values. You can construct a concrete instance of `GetVPNGatewayVpnGatewayIpSetArrayInput` via:
GetVPNGatewayVpnGatewayIpSetArray{ GetVPNGatewayVpnGatewayIpSetArgs{...} }
type GetVPNGatewayVpnGatewayIpSetArrayOutput ¶
type GetVPNGatewayVpnGatewayIpSetArrayOutput struct{ *pulumi.OutputState }
func (GetVPNGatewayVpnGatewayIpSetArrayOutput) ElementType ¶
func (GetVPNGatewayVpnGatewayIpSetArrayOutput) ElementType() reflect.Type
func (GetVPNGatewayVpnGatewayIpSetArrayOutput) ToGetVPNGatewayVpnGatewayIpSetArrayOutput ¶
func (o GetVPNGatewayVpnGatewayIpSetArrayOutput) ToGetVPNGatewayVpnGatewayIpSetArrayOutput() GetVPNGatewayVpnGatewayIpSetArrayOutput
func (GetVPNGatewayVpnGatewayIpSetArrayOutput) ToGetVPNGatewayVpnGatewayIpSetArrayOutputWithContext ¶
func (o GetVPNGatewayVpnGatewayIpSetArrayOutput) ToGetVPNGatewayVpnGatewayIpSetArrayOutputWithContext(ctx context.Context) GetVPNGatewayVpnGatewayIpSetArrayOutput
type GetVPNGatewayVpnGatewayIpSetInput ¶
type GetVPNGatewayVpnGatewayIpSetInput interface { pulumi.Input ToGetVPNGatewayVpnGatewayIpSetOutput() GetVPNGatewayVpnGatewayIpSetOutput ToGetVPNGatewayVpnGatewayIpSetOutputWithContext(context.Context) GetVPNGatewayVpnGatewayIpSetOutput }
GetVPNGatewayVpnGatewayIpSetInput is an input type that accepts GetVPNGatewayVpnGatewayIpSetArgs and GetVPNGatewayVpnGatewayIpSetOutput values. You can construct a concrete instance of `GetVPNGatewayVpnGatewayIpSetInput` via:
GetVPNGatewayVpnGatewayIpSetArgs{...}
type GetVPNGatewayVpnGatewayIpSetOutput ¶
type GetVPNGatewayVpnGatewayIpSetOutput struct{ *pulumi.OutputState }
func (GetVPNGatewayVpnGatewayIpSetOutput) ElementType ¶
func (GetVPNGatewayVpnGatewayIpSetOutput) ElementType() reflect.Type
func (GetVPNGatewayVpnGatewayIpSetOutput) InternetType ¶
func (o GetVPNGatewayVpnGatewayIpSetOutput) InternetType() pulumi.StringOutput
Type of Elastic IP routes.
func (GetVPNGatewayVpnGatewayIpSetOutput) Ip ¶
func (o GetVPNGatewayVpnGatewayIpSetOutput) Ip() pulumi.StringOutput
Elastic IP address.
func (GetVPNGatewayVpnGatewayIpSetOutput) ToGetVPNGatewayVpnGatewayIpSetOutput ¶
func (o GetVPNGatewayVpnGatewayIpSetOutput) ToGetVPNGatewayVpnGatewayIpSetOutput() GetVPNGatewayVpnGatewayIpSetOutput
func (GetVPNGatewayVpnGatewayIpSetOutput) ToGetVPNGatewayVpnGatewayIpSetOutputWithContext ¶
func (o GetVPNGatewayVpnGatewayIpSetOutput) ToGetVPNGatewayVpnGatewayIpSetOutputWithContext(ctx context.Context) GetVPNGatewayVpnGatewayIpSetOutput
type GetVPNGatewayVpnGatewayOutput ¶
type GetVPNGatewayVpnGatewayOutput struct{ *pulumi.OutputState }
func (GetVPNGatewayVpnGatewayOutput) AutoRenew ¶
func (o GetVPNGatewayVpnGatewayOutput) AutoRenew() pulumi.BoolOutput
Whether to renew an VPN Gateway automatically or not.
func (GetVPNGatewayVpnGatewayOutput) ChargeType ¶
func (o GetVPNGatewayVpnGatewayOutput) ChargeType() pulumi.StringOutput
The charge type of VPN Gateway.
func (GetVPNGatewayVpnGatewayOutput) CreateTime ¶
func (o GetVPNGatewayVpnGatewayOutput) CreateTime() pulumi.StringOutput
The time of creation for VPN Gateway, formatted in RFC3339 time string.
func (GetVPNGatewayVpnGatewayOutput) ElementType ¶
func (GetVPNGatewayVpnGatewayOutput) ElementType() reflect.Type
func (GetVPNGatewayVpnGatewayOutput) ExpireTime ¶
func (o GetVPNGatewayVpnGatewayOutput) ExpireTime() pulumi.StringOutput
The expiration time for VPN Gateway, formatted in RFC3339 time string.
func (GetVPNGatewayVpnGatewayOutput) Grade ¶
func (o GetVPNGatewayVpnGatewayOutput) Grade() pulumi.StringOutput
The type of the VPN Gateway.
func (GetVPNGatewayVpnGatewayOutput) Id ¶
func (o GetVPNGatewayVpnGatewayOutput) Id() pulumi.StringOutput
The ID of VPN Gateway.
func (GetVPNGatewayVpnGatewayOutput) IpSets ¶
func (o GetVPNGatewayVpnGatewayOutput) IpSets() GetVPNGatewayVpnGatewayIpSetArrayOutput
It is a nested type which documented below.
func (GetVPNGatewayVpnGatewayOutput) Name ¶
func (o GetVPNGatewayVpnGatewayOutput) Name() pulumi.StringOutput
The name of the VPN Gateway.
func (GetVPNGatewayVpnGatewayOutput) Remark ¶
func (o GetVPNGatewayVpnGatewayOutput) Remark() pulumi.StringOutput
The remarks of VPN Gateway.
func (GetVPNGatewayVpnGatewayOutput) Tag ¶
func (o GetVPNGatewayVpnGatewayOutput) Tag() pulumi.StringOutput
A tag assigned to VPN Gateway.
func (GetVPNGatewayVpnGatewayOutput) ToGetVPNGatewayVpnGatewayOutput ¶
func (o GetVPNGatewayVpnGatewayOutput) ToGetVPNGatewayVpnGatewayOutput() GetVPNGatewayVpnGatewayOutput
func (GetVPNGatewayVpnGatewayOutput) ToGetVPNGatewayVpnGatewayOutputWithContext ¶
func (o GetVPNGatewayVpnGatewayOutput) ToGetVPNGatewayVpnGatewayOutputWithContext(ctx context.Context) GetVPNGatewayVpnGatewayOutput
func (GetVPNGatewayVpnGatewayOutput) VpcId ¶
func (o GetVPNGatewayVpnGatewayOutput) VpcId() pulumi.StringOutput
The ID of VPC linked to the VPN Gateway.
type LookupVPNConnectionArgs ¶
type LookupVPNConnectionArgs struct { // A list of VPN Connection IDs, all the VPN Connections belongs to the defined region will be retrieved if this argument is `[]`. Ids []string `pulumi:"ids"` // A regex string to filter resulting VPN Connections by name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // A tag assigned to VPN Connection. Tag *string `pulumi:"tag"` }
A collection of arguments for invoking getVPNConnection.
type LookupVPNConnectionResult ¶
type LookupVPNConnectionResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // A tag assigned to the VPN Connection. Tag *string `pulumi:"tag"` // Total number of VPN Connections that satisfy the condition. TotalCount int `pulumi:"totalCount"` // It is a nested type. VPN Connections documented below. VpnConnections []GetVPNConnectionVpnConnection `pulumi:"vpnConnections"` }
A collection of values returned by getVPNConnection.
func LookupVPNConnection ¶
func LookupVPNConnection(ctx *pulumi.Context, args *LookupVPNConnectionArgs, opts ...pulumi.InvokeOption) (*LookupVPNConnectionResult, error)
This data source providers a list of VPN Connection resources according to their ID, name and tag.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/ipsecvpn" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := ipsecvpn.LookupVPNConnection(ctx, nil, nil) if err != nil { return err } ctx.Export("first", example.VpnConnections[0].Id) return nil }) }
```
type LookupVPNCustomerGatewayArgs ¶
type LookupVPNCustomerGatewayArgs struct { // A list of VPN Customer Gateway IDs, all the VPN Customer Gateways belongs to the defined region will be retrieved if this argument is `[]`. Ids []string `pulumi:"ids"` // A regex string to filter resulting VPN Customer Gateways by name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // A tag assigned to VPN Customer Gateway. Tag *string `pulumi:"tag"` }
A collection of arguments for invoking getVPNCustomerGateway.
type LookupVPNCustomerGatewayResult ¶
type LookupVPNCustomerGatewayResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // A tag assigned to the VPN Customer Gateway. Tag *string `pulumi:"tag"` // Total number of VPN Customer Gateways that satisfy the condition. TotalCount int `pulumi:"totalCount"` // It is a nested type. VPN Customer Gateways documented below. VpnCustomerGateways []GetVPNCustomerGatewayVpnCustomerGateway `pulumi:"vpnCustomerGateways"` }
A collection of values returned by getVPNCustomerGateway.
func LookupVPNCustomerGateway ¶
func LookupVPNCustomerGateway(ctx *pulumi.Context, args *LookupVPNCustomerGatewayArgs, opts ...pulumi.InvokeOption) (*LookupVPNCustomerGatewayResult, error)
This data source providers a list of VPN Customer Gateway resources according to their ID, name and tag.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/ipsecvpn" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := ipsecvpn.LookupVPNCustomerGateway(ctx, nil, nil) if err != nil { return err } ctx.Export("first", example.VpnCustomerGateways[0].Id) return nil }) }
```
type LookupVPNGatewayArgs ¶
type LookupVPNGatewayArgs struct { // A list of VPN Gateway IDs, all the VPN Gateways belongs to the defined region will be retrieved if this argument is `[]`. Ids []string `pulumi:"ids"` // A regex string to filter resulting VPN Gateways by name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // A tag assigned to VPN Gateway. Tag *string `pulumi:"tag"` // The ID of VPC linked to the VPN Gateway. VpcId *string `pulumi:"vpcId"` }
A collection of arguments for invoking getVPNGateway.
type LookupVPNGatewayResult ¶
type LookupVPNGatewayResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // A tag assigned to the VPN Gateway. Tag *string `pulumi:"tag"` // Total number of VPN Gateways that satisfy the condition. TotalCount int `pulumi:"totalCount"` // The ID of VPC linked to the VPN Gateway. VpcId *string `pulumi:"vpcId"` // It is a nested type. VPN Gateways documented below. VpnGateways []GetVPNGatewayVpnGateway `pulumi:"vpnGateways"` }
A collection of values returned by getVPNGateway.
func LookupVPNGateway ¶
func LookupVPNGateway(ctx *pulumi.Context, args *LookupVPNGatewayArgs, opts ...pulumi.InvokeOption) (*LookupVPNGatewayResult, error)
This data source providers a list of VPN Gateway resources according to their ID, name, vpc and tag.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/ipsecvpn" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := ipsecvpn.LookupVPNGateway(ctx, nil, nil) if err != nil { return err } ctx.Export("first", example.VpnGateways[0].Id) return nil }) }
```
type VPNConnection ¶
type VPNConnection struct { pulumi.CustomResourceState // The creation time for VPN Gateway Connection, formatted in RFC3339 time string. CreateTime pulumi.StringOutput `pulumi:"createTime"` // The grade of the VPN Gateway CustomerGatewayId pulumi.StringOutput `pulumi:"customerGatewayId"` // The configurations of IKE negotiation. Each ikeConfig supports fields documented below. IkeConfig VPNConnectionIkeConfigOutput `pulumi:"ikeConfig"` // The configurations of IPSec negotiation. Each ipsecConfig supports fields documented below. IpsecConfig VPNConnectionIpsecConfigOutput `pulumi:"ipsecConfig"` Name pulumi.StringOutput `pulumi:"name"` // The remarks of the VPN Gateway Connection. (Default: `""`). Remark pulumi.StringOutput `pulumi:"remark"` // A tag assigned to VPN Gateway Connection, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`). Tag pulumi.StringPtrOutput `pulumi:"tag"` // The ID of VPC linked to the VPN Gateway Connection. VpcId pulumi.StringOutput `pulumi:"vpcId"` // The ID of the VPN Customer Gateway. VpnGatewayId pulumi.StringOutput `pulumi:"vpnGatewayId"` }
Provides a IPSec VPN Gateway Connection resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/ipsecvpn" "github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/unet" "github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooVPC, err := vpc.NewVPC(ctx, "fooVPC", &vpc.VPCArgs{ Tag: pulumi.String("tf-acc"), CidrBlocks: pulumi.StringArray{ pulumi.String("192.168.0.0/16"), }, }) if err != nil { return err } fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{ Tag: pulumi.String("tf-acc"), CidrBlock: pulumi.String("192.168.1.0/24"), VpcId: fooVPC.ID(), }) if err != nil { return err } fooEIP, err := unet.NewEIP(ctx, "fooEIP", &unet.EIPArgs{ Bandwidth: pulumi.Int(1), InternetType: pulumi.String("bgp"), ChargeMode: pulumi.String("bandwidth"), Tag: pulumi.String("tf-acc"), }) if err != nil { return err } fooVPNGateway, err := ipsecvpn.NewVPNGateway(ctx, "fooVPNGateway", &ipsecvpn.VPNGatewayArgs{ VpcId: fooVPC.ID(), Grade: pulumi.String("standard"), EipId: fooEIP.ID(), Tag: pulumi.String("tf-acc"), }) if err != nil { return err } fooVPNCustomerGateway, err := ipsecvpn.NewVPNCustomerGateway(ctx, "fooVPNCustomerGateway", &ipsecvpn.VPNCustomerGatewayArgs{ IpAddress: pulumi.String("10.0.0.1"), Tag: pulumi.String("tf-acc"), }) if err != nil { return err } _, err = ipsecvpn.NewVPNConnection(ctx, "fooVPNConnection", &ipsecvpn.VPNConnectionArgs{ VpnGatewayId: fooVPNGateway.ID(), CustomerGatewayId: fooVPNCustomerGateway.ID(), VpcId: fooVPC.ID(), Tag: pulumi.String("tf-acc"), Remark: pulumi.String("test"), IkeConfig: &ipsecvpn.VPNConnectionIkeConfigArgs{ PreSharedKey: pulumi.String("test_2019"), }, IpsecConfig: &ipsecvpn.VPNConnectionIpsecConfigArgs{ LocalSubnetIds: pulumi.StringArray{ fooSubnet.ID(), }, RemoteSubnets: pulumi.StringArray{ pulumi.String("10.0.0.0/24"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
VPN Connection can be imported using the `id`, e.g.
```sh
$ pulumi import ucloud:ipsecvpn/vPNConnection:VPNConnection example vpntunnel-abc123456
```
func GetVPNConnection ¶
func GetVPNConnection(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VPNConnectionState, opts ...pulumi.ResourceOption) (*VPNConnection, error)
GetVPNConnection gets an existing VPNConnection resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewVPNConnection ¶
func NewVPNConnection(ctx *pulumi.Context, name string, args *VPNConnectionArgs, opts ...pulumi.ResourceOption) (*VPNConnection, error)
NewVPNConnection registers a new resource with the given unique name, arguments, and options.
func (*VPNConnection) ElementType ¶
func (*VPNConnection) ElementType() reflect.Type
func (*VPNConnection) ToVPNConnectionOutput ¶
func (i *VPNConnection) ToVPNConnectionOutput() VPNConnectionOutput
func (*VPNConnection) ToVPNConnectionOutputWithContext ¶
func (i *VPNConnection) ToVPNConnectionOutputWithContext(ctx context.Context) VPNConnectionOutput
func (*VPNConnection) ToVPNConnectionPtrOutput ¶
func (i *VPNConnection) ToVPNConnectionPtrOutput() VPNConnectionPtrOutput
func (*VPNConnection) ToVPNConnectionPtrOutputWithContext ¶
func (i *VPNConnection) ToVPNConnectionPtrOutputWithContext(ctx context.Context) VPNConnectionPtrOutput
type VPNConnectionArgs ¶
type VPNConnectionArgs struct { // The grade of the VPN Gateway CustomerGatewayId pulumi.StringInput // The configurations of IKE negotiation. Each ikeConfig supports fields documented below. IkeConfig VPNConnectionIkeConfigInput // The configurations of IPSec negotiation. Each ipsecConfig supports fields documented below. IpsecConfig VPNConnectionIpsecConfigInput Name pulumi.StringPtrInput // The remarks of the VPN Gateway Connection. (Default: `""`). Remark pulumi.StringPtrInput // A tag assigned to VPN Gateway Connection, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`). Tag pulumi.StringPtrInput // The ID of VPC linked to the VPN Gateway Connection. VpcId pulumi.StringInput // The ID of the VPN Customer Gateway. VpnGatewayId pulumi.StringInput }
The set of arguments for constructing a VPNConnection resource.
func (VPNConnectionArgs) ElementType ¶
func (VPNConnectionArgs) ElementType() reflect.Type
type VPNConnectionArray ¶
type VPNConnectionArray []VPNConnectionInput
func (VPNConnectionArray) ElementType ¶
func (VPNConnectionArray) ElementType() reflect.Type
func (VPNConnectionArray) ToVPNConnectionArrayOutput ¶
func (i VPNConnectionArray) ToVPNConnectionArrayOutput() VPNConnectionArrayOutput
func (VPNConnectionArray) ToVPNConnectionArrayOutputWithContext ¶
func (i VPNConnectionArray) ToVPNConnectionArrayOutputWithContext(ctx context.Context) VPNConnectionArrayOutput
type VPNConnectionArrayInput ¶
type VPNConnectionArrayInput interface { pulumi.Input ToVPNConnectionArrayOutput() VPNConnectionArrayOutput ToVPNConnectionArrayOutputWithContext(context.Context) VPNConnectionArrayOutput }
VPNConnectionArrayInput is an input type that accepts VPNConnectionArray and VPNConnectionArrayOutput values. You can construct a concrete instance of `VPNConnectionArrayInput` via:
VPNConnectionArray{ VPNConnectionArgs{...} }
type VPNConnectionArrayOutput ¶
type VPNConnectionArrayOutput struct{ *pulumi.OutputState }
func (VPNConnectionArrayOutput) ElementType ¶
func (VPNConnectionArrayOutput) ElementType() reflect.Type
func (VPNConnectionArrayOutput) Index ¶
func (o VPNConnectionArrayOutput) Index(i pulumi.IntInput) VPNConnectionOutput
func (VPNConnectionArrayOutput) ToVPNConnectionArrayOutput ¶
func (o VPNConnectionArrayOutput) ToVPNConnectionArrayOutput() VPNConnectionArrayOutput
func (VPNConnectionArrayOutput) ToVPNConnectionArrayOutputWithContext ¶
func (o VPNConnectionArrayOutput) ToVPNConnectionArrayOutputWithContext(ctx context.Context) VPNConnectionArrayOutput
type VPNConnectionIkeConfig ¶
type VPNConnectionIkeConfig struct { // The authentication algorithm of IPSec negotiation. Possible values: `sha1`, `md5`. (Default: `sha1`) AuthenticationAlgorithm *string `pulumi:"authenticationAlgorithm"` // The Diffie-Hellman group used by IKE negotiation. Possible values: `1`, `2`, `5`, `14`, `15`, `16`. (Default:`15`) DhGroup *string `pulumi:"dhGroup"` // The encryption algorithm of IPSec negotiation. Possible values: `aes128`, `aes192`, `aes256`, `aes512`, `3des`. (Default: `aes128`). EncryptionAlgorithm *string `pulumi:"encryptionAlgorithm"` // The negotiation exchange mode of IKE V1 of VPN gateway. Possible values: `main` (main mode), `aggressive` (aggressive mode). (Default: `main`) ExchangeMode *string `pulumi:"exchangeMode"` // The version of the IKE protocol which only be supported IKE V1 protocol at present. Possible values: ikev1. (Default: ikev1) IkeVersion *string `pulumi:"ikeVersion"` // The identification of the VPN gateway. LocalId *string `pulumi:"localId"` PreSharedKey string `pulumi:"preSharedKey"` // The identification of the Customer gateway. RemoteId *string `pulumi:"remoteId"` // The Security Association lifecycle as the result of IPSec negotiation. Unit: second. Range: 1200-604800. (Default: `3600`) SaLifeTime *int `pulumi:"saLifeTime"` }
type VPNConnectionIkeConfigArgs ¶
type VPNConnectionIkeConfigArgs struct { // The authentication algorithm of IPSec negotiation. Possible values: `sha1`, `md5`. (Default: `sha1`) AuthenticationAlgorithm pulumi.StringPtrInput `pulumi:"authenticationAlgorithm"` // The Diffie-Hellman group used by IKE negotiation. Possible values: `1`, `2`, `5`, `14`, `15`, `16`. (Default:`15`) DhGroup pulumi.StringPtrInput `pulumi:"dhGroup"` // The encryption algorithm of IPSec negotiation. Possible values: `aes128`, `aes192`, `aes256`, `aes512`, `3des`. (Default: `aes128`). EncryptionAlgorithm pulumi.StringPtrInput `pulumi:"encryptionAlgorithm"` // The negotiation exchange mode of IKE V1 of VPN gateway. Possible values: `main` (main mode), `aggressive` (aggressive mode). (Default: `main`) ExchangeMode pulumi.StringPtrInput `pulumi:"exchangeMode"` // The version of the IKE protocol which only be supported IKE V1 protocol at present. Possible values: ikev1. (Default: ikev1) IkeVersion pulumi.StringPtrInput `pulumi:"ikeVersion"` // The identification of the VPN gateway. LocalId pulumi.StringPtrInput `pulumi:"localId"` PreSharedKey pulumi.StringInput `pulumi:"preSharedKey"` // The identification of the Customer gateway. RemoteId pulumi.StringPtrInput `pulumi:"remoteId"` // The Security Association lifecycle as the result of IPSec negotiation. Unit: second. Range: 1200-604800. (Default: `3600`) SaLifeTime pulumi.IntPtrInput `pulumi:"saLifeTime"` }
func (VPNConnectionIkeConfigArgs) ElementType ¶
func (VPNConnectionIkeConfigArgs) ElementType() reflect.Type
func (VPNConnectionIkeConfigArgs) ToVPNConnectionIkeConfigOutput ¶
func (i VPNConnectionIkeConfigArgs) ToVPNConnectionIkeConfigOutput() VPNConnectionIkeConfigOutput
func (VPNConnectionIkeConfigArgs) ToVPNConnectionIkeConfigOutputWithContext ¶
func (i VPNConnectionIkeConfigArgs) ToVPNConnectionIkeConfigOutputWithContext(ctx context.Context) VPNConnectionIkeConfigOutput
func (VPNConnectionIkeConfigArgs) ToVPNConnectionIkeConfigPtrOutput ¶
func (i VPNConnectionIkeConfigArgs) ToVPNConnectionIkeConfigPtrOutput() VPNConnectionIkeConfigPtrOutput
func (VPNConnectionIkeConfigArgs) ToVPNConnectionIkeConfigPtrOutputWithContext ¶
func (i VPNConnectionIkeConfigArgs) ToVPNConnectionIkeConfigPtrOutputWithContext(ctx context.Context) VPNConnectionIkeConfigPtrOutput
type VPNConnectionIkeConfigInput ¶
type VPNConnectionIkeConfigInput interface { pulumi.Input ToVPNConnectionIkeConfigOutput() VPNConnectionIkeConfigOutput ToVPNConnectionIkeConfigOutputWithContext(context.Context) VPNConnectionIkeConfigOutput }
VPNConnectionIkeConfigInput is an input type that accepts VPNConnectionIkeConfigArgs and VPNConnectionIkeConfigOutput values. You can construct a concrete instance of `VPNConnectionIkeConfigInput` via:
VPNConnectionIkeConfigArgs{...}
type VPNConnectionIkeConfigOutput ¶
type VPNConnectionIkeConfigOutput struct{ *pulumi.OutputState }
func (VPNConnectionIkeConfigOutput) AuthenticationAlgorithm ¶
func (o VPNConnectionIkeConfigOutput) AuthenticationAlgorithm() pulumi.StringPtrOutput
The authentication algorithm of IPSec negotiation. Possible values: `sha1`, `md5`. (Default: `sha1`)
func (VPNConnectionIkeConfigOutput) DhGroup ¶
func (o VPNConnectionIkeConfigOutput) DhGroup() pulumi.StringPtrOutput
The Diffie-Hellman group used by IKE negotiation. Possible values: `1`, `2`, `5`, `14`, `15`, `16`. (Default:`15`)
func (VPNConnectionIkeConfigOutput) ElementType ¶
func (VPNConnectionIkeConfigOutput) ElementType() reflect.Type
func (VPNConnectionIkeConfigOutput) EncryptionAlgorithm ¶
func (o VPNConnectionIkeConfigOutput) EncryptionAlgorithm() pulumi.StringPtrOutput
The encryption algorithm of IPSec negotiation. Possible values: `aes128`, `aes192`, `aes256`, `aes512`, `3des`. (Default: `aes128`).
func (VPNConnectionIkeConfigOutput) ExchangeMode ¶
func (o VPNConnectionIkeConfigOutput) ExchangeMode() pulumi.StringPtrOutput
The negotiation exchange mode of IKE V1 of VPN gateway. Possible values: `main` (main mode), `aggressive` (aggressive mode). (Default: `main`)
func (VPNConnectionIkeConfigOutput) IkeVersion ¶
func (o VPNConnectionIkeConfigOutput) IkeVersion() pulumi.StringPtrOutput
The version of the IKE protocol which only be supported IKE V1 protocol at present. Possible values: ikev1. (Default: ikev1)
func (VPNConnectionIkeConfigOutput) LocalId ¶
func (o VPNConnectionIkeConfigOutput) LocalId() pulumi.StringPtrOutput
The identification of the VPN gateway.
func (VPNConnectionIkeConfigOutput) PreSharedKey ¶
func (o VPNConnectionIkeConfigOutput) PreSharedKey() pulumi.StringOutput
The key used for authentication between the VPN gateway and the Customer gateway which contains 1-128 characters and only support English, numbers and special characters: `!@#$%^&*()_+-=[]:,./'~`.
func (VPNConnectionIkeConfigOutput) RemoteId ¶
func (o VPNConnectionIkeConfigOutput) RemoteId() pulumi.StringPtrOutput
The identification of the Customer gateway.
func (VPNConnectionIkeConfigOutput) SaLifeTime ¶
func (o VPNConnectionIkeConfigOutput) SaLifeTime() pulumi.IntPtrOutput
The Security Association lifecycle as the result of IPSec negotiation. Unit: second. Range: 1200-604800. (Default: `3600`)
func (VPNConnectionIkeConfigOutput) ToVPNConnectionIkeConfigOutput ¶
func (o VPNConnectionIkeConfigOutput) ToVPNConnectionIkeConfigOutput() VPNConnectionIkeConfigOutput
func (VPNConnectionIkeConfigOutput) ToVPNConnectionIkeConfigOutputWithContext ¶
func (o VPNConnectionIkeConfigOutput) ToVPNConnectionIkeConfigOutputWithContext(ctx context.Context) VPNConnectionIkeConfigOutput
func (VPNConnectionIkeConfigOutput) ToVPNConnectionIkeConfigPtrOutput ¶
func (o VPNConnectionIkeConfigOutput) ToVPNConnectionIkeConfigPtrOutput() VPNConnectionIkeConfigPtrOutput
func (VPNConnectionIkeConfigOutput) ToVPNConnectionIkeConfigPtrOutputWithContext ¶
func (o VPNConnectionIkeConfigOutput) ToVPNConnectionIkeConfigPtrOutputWithContext(ctx context.Context) VPNConnectionIkeConfigPtrOutput
type VPNConnectionIkeConfigPtrInput ¶
type VPNConnectionIkeConfigPtrInput interface { pulumi.Input ToVPNConnectionIkeConfigPtrOutput() VPNConnectionIkeConfigPtrOutput ToVPNConnectionIkeConfigPtrOutputWithContext(context.Context) VPNConnectionIkeConfigPtrOutput }
VPNConnectionIkeConfigPtrInput is an input type that accepts VPNConnectionIkeConfigArgs, VPNConnectionIkeConfigPtr and VPNConnectionIkeConfigPtrOutput values. You can construct a concrete instance of `VPNConnectionIkeConfigPtrInput` via:
VPNConnectionIkeConfigArgs{...} or: nil
func VPNConnectionIkeConfigPtr ¶
func VPNConnectionIkeConfigPtr(v *VPNConnectionIkeConfigArgs) VPNConnectionIkeConfigPtrInput
type VPNConnectionIkeConfigPtrOutput ¶
type VPNConnectionIkeConfigPtrOutput struct{ *pulumi.OutputState }
func (VPNConnectionIkeConfigPtrOutput) AuthenticationAlgorithm ¶
func (o VPNConnectionIkeConfigPtrOutput) AuthenticationAlgorithm() pulumi.StringPtrOutput
The authentication algorithm of IPSec negotiation. Possible values: `sha1`, `md5`. (Default: `sha1`)
func (VPNConnectionIkeConfigPtrOutput) DhGroup ¶
func (o VPNConnectionIkeConfigPtrOutput) DhGroup() pulumi.StringPtrOutput
The Diffie-Hellman group used by IKE negotiation. Possible values: `1`, `2`, `5`, `14`, `15`, `16`. (Default:`15`)
func (VPNConnectionIkeConfigPtrOutput) Elem ¶
func (o VPNConnectionIkeConfigPtrOutput) Elem() VPNConnectionIkeConfigOutput
func (VPNConnectionIkeConfigPtrOutput) ElementType ¶
func (VPNConnectionIkeConfigPtrOutput) ElementType() reflect.Type
func (VPNConnectionIkeConfigPtrOutput) EncryptionAlgorithm ¶
func (o VPNConnectionIkeConfigPtrOutput) EncryptionAlgorithm() pulumi.StringPtrOutput
The encryption algorithm of IPSec negotiation. Possible values: `aes128`, `aes192`, `aes256`, `aes512`, `3des`. (Default: `aes128`).
func (VPNConnectionIkeConfigPtrOutput) ExchangeMode ¶
func (o VPNConnectionIkeConfigPtrOutput) ExchangeMode() pulumi.StringPtrOutput
The negotiation exchange mode of IKE V1 of VPN gateway. Possible values: `main` (main mode), `aggressive` (aggressive mode). (Default: `main`)
func (VPNConnectionIkeConfigPtrOutput) IkeVersion ¶
func (o VPNConnectionIkeConfigPtrOutput) IkeVersion() pulumi.StringPtrOutput
The version of the IKE protocol which only be supported IKE V1 protocol at present. Possible values: ikev1. (Default: ikev1)
func (VPNConnectionIkeConfigPtrOutput) LocalId ¶
func (o VPNConnectionIkeConfigPtrOutput) LocalId() pulumi.StringPtrOutput
The identification of the VPN gateway.
func (VPNConnectionIkeConfigPtrOutput) PreSharedKey ¶
func (o VPNConnectionIkeConfigPtrOutput) PreSharedKey() pulumi.StringPtrOutput
The key used for authentication between the VPN gateway and the Customer gateway which contains 1-128 characters and only support English, numbers and special characters: `!@#$%^&*()_+-=[]:,./'~`.
func (VPNConnectionIkeConfigPtrOutput) RemoteId ¶
func (o VPNConnectionIkeConfigPtrOutput) RemoteId() pulumi.StringPtrOutput
The identification of the Customer gateway.
func (VPNConnectionIkeConfigPtrOutput) SaLifeTime ¶
func (o VPNConnectionIkeConfigPtrOutput) SaLifeTime() pulumi.IntPtrOutput
The Security Association lifecycle as the result of IPSec negotiation. Unit: second. Range: 1200-604800. (Default: `3600`)
func (VPNConnectionIkeConfigPtrOutput) ToVPNConnectionIkeConfigPtrOutput ¶
func (o VPNConnectionIkeConfigPtrOutput) ToVPNConnectionIkeConfigPtrOutput() VPNConnectionIkeConfigPtrOutput
func (VPNConnectionIkeConfigPtrOutput) ToVPNConnectionIkeConfigPtrOutputWithContext ¶
func (o VPNConnectionIkeConfigPtrOutput) ToVPNConnectionIkeConfigPtrOutputWithContext(ctx context.Context) VPNConnectionIkeConfigPtrOutput
type VPNConnectionInput ¶
type VPNConnectionInput interface { pulumi.Input ToVPNConnectionOutput() VPNConnectionOutput ToVPNConnectionOutputWithContext(ctx context.Context) VPNConnectionOutput }
type VPNConnectionIpsecConfig ¶
type VPNConnectionIpsecConfig struct { // The authentication algorithm of IPSec negotiation. Possible values: `sha1`, `md5`. (Default: `sha1`) AuthenticationAlgorithm *string `pulumi:"authenticationAlgorithm"` // The encryption algorithm of IPSec negotiation. Possible values: `aes128`, `aes192`, `aes256`, `aes512`, `3des`. (Default: `aes128`). EncryptionAlgorithm *string `pulumi:"encryptionAlgorithm"` // The id list of Local subnet. LocalSubnetIds []string `pulumi:"localSubnetIds"` // Whether the PFS of IPSec negotiation is on or off, `disable` as off, The Diffie-Hellman group as open. Possible values: `disable`, `1`, `2`, `5`, `14`, `15`, `16`. (Default:`disable`) PfsDhGroup *string `pulumi:"pfsDhGroup"` // The security protocol of IPSec negotiation. Possible values: `esp`, `ah`. (Default:`esp`) Protocol *string `pulumi:"protocol"` // The ip address list of remote subnet. RemoteSubnets []string `pulumi:"remoteSubnets"` // The Security Association lifecycle as the result of IPSec negotiation. Unit: second. Range: 1200-604800. (Default: `3600`) SaLifeTime *int `pulumi:"saLifeTime"` // The Security Association lifecycle in bytes as the result of IPSec negotiation. Unit: second. Range: 1200-604800. (Default: `3600`) SaLifeTimeBytes *int `pulumi:"saLifeTimeBytes"` }
type VPNConnectionIpsecConfigArgs ¶
type VPNConnectionIpsecConfigArgs struct { // The authentication algorithm of IPSec negotiation. Possible values: `sha1`, `md5`. (Default: `sha1`) AuthenticationAlgorithm pulumi.StringPtrInput `pulumi:"authenticationAlgorithm"` // The encryption algorithm of IPSec negotiation. Possible values: `aes128`, `aes192`, `aes256`, `aes512`, `3des`. (Default: `aes128`). EncryptionAlgorithm pulumi.StringPtrInput `pulumi:"encryptionAlgorithm"` // The id list of Local subnet. LocalSubnetIds pulumi.StringArrayInput `pulumi:"localSubnetIds"` // Whether the PFS of IPSec negotiation is on or off, `disable` as off, The Diffie-Hellman group as open. Possible values: `disable`, `1`, `2`, `5`, `14`, `15`, `16`. (Default:`disable`) PfsDhGroup pulumi.StringPtrInput `pulumi:"pfsDhGroup"` // The security protocol of IPSec negotiation. Possible values: `esp`, `ah`. (Default:`esp`) Protocol pulumi.StringPtrInput `pulumi:"protocol"` // The ip address list of remote subnet. RemoteSubnets pulumi.StringArrayInput `pulumi:"remoteSubnets"` // The Security Association lifecycle as the result of IPSec negotiation. Unit: second. Range: 1200-604800. (Default: `3600`) SaLifeTime pulumi.IntPtrInput `pulumi:"saLifeTime"` // The Security Association lifecycle in bytes as the result of IPSec negotiation. Unit: second. Range: 1200-604800. (Default: `3600`) SaLifeTimeBytes pulumi.IntPtrInput `pulumi:"saLifeTimeBytes"` }
func (VPNConnectionIpsecConfigArgs) ElementType ¶
func (VPNConnectionIpsecConfigArgs) ElementType() reflect.Type
func (VPNConnectionIpsecConfigArgs) ToVPNConnectionIpsecConfigOutput ¶
func (i VPNConnectionIpsecConfigArgs) ToVPNConnectionIpsecConfigOutput() VPNConnectionIpsecConfigOutput
func (VPNConnectionIpsecConfigArgs) ToVPNConnectionIpsecConfigOutputWithContext ¶
func (i VPNConnectionIpsecConfigArgs) ToVPNConnectionIpsecConfigOutputWithContext(ctx context.Context) VPNConnectionIpsecConfigOutput
func (VPNConnectionIpsecConfigArgs) ToVPNConnectionIpsecConfigPtrOutput ¶
func (i VPNConnectionIpsecConfigArgs) ToVPNConnectionIpsecConfigPtrOutput() VPNConnectionIpsecConfigPtrOutput
func (VPNConnectionIpsecConfigArgs) ToVPNConnectionIpsecConfigPtrOutputWithContext ¶
func (i VPNConnectionIpsecConfigArgs) ToVPNConnectionIpsecConfigPtrOutputWithContext(ctx context.Context) VPNConnectionIpsecConfigPtrOutput
type VPNConnectionIpsecConfigInput ¶
type VPNConnectionIpsecConfigInput interface { pulumi.Input ToVPNConnectionIpsecConfigOutput() VPNConnectionIpsecConfigOutput ToVPNConnectionIpsecConfigOutputWithContext(context.Context) VPNConnectionIpsecConfigOutput }
VPNConnectionIpsecConfigInput is an input type that accepts VPNConnectionIpsecConfigArgs and VPNConnectionIpsecConfigOutput values. You can construct a concrete instance of `VPNConnectionIpsecConfigInput` via:
VPNConnectionIpsecConfigArgs{...}
type VPNConnectionIpsecConfigOutput ¶
type VPNConnectionIpsecConfigOutput struct{ *pulumi.OutputState }
func (VPNConnectionIpsecConfigOutput) AuthenticationAlgorithm ¶
func (o VPNConnectionIpsecConfigOutput) AuthenticationAlgorithm() pulumi.StringPtrOutput
The authentication algorithm of IPSec negotiation. Possible values: `sha1`, `md5`. (Default: `sha1`)
func (VPNConnectionIpsecConfigOutput) ElementType ¶
func (VPNConnectionIpsecConfigOutput) ElementType() reflect.Type
func (VPNConnectionIpsecConfigOutput) EncryptionAlgorithm ¶
func (o VPNConnectionIpsecConfigOutput) EncryptionAlgorithm() pulumi.StringPtrOutput
The encryption algorithm of IPSec negotiation. Possible values: `aes128`, `aes192`, `aes256`, `aes512`, `3des`. (Default: `aes128`).
func (VPNConnectionIpsecConfigOutput) LocalSubnetIds ¶
func (o VPNConnectionIpsecConfigOutput) LocalSubnetIds() pulumi.StringArrayOutput
The id list of Local subnet.
func (VPNConnectionIpsecConfigOutput) PfsDhGroup ¶
func (o VPNConnectionIpsecConfigOutput) PfsDhGroup() pulumi.StringPtrOutput
Whether the PFS of IPSec negotiation is on or off, `disable` as off, The Diffie-Hellman group as open. Possible values: `disable`, `1`, `2`, `5`, `14`, `15`, `16`. (Default:`disable`)
func (VPNConnectionIpsecConfigOutput) Protocol ¶
func (o VPNConnectionIpsecConfigOutput) Protocol() pulumi.StringPtrOutput
The security protocol of IPSec negotiation. Possible values: `esp`, `ah`. (Default:`esp`)
func (VPNConnectionIpsecConfigOutput) RemoteSubnets ¶
func (o VPNConnectionIpsecConfigOutput) RemoteSubnets() pulumi.StringArrayOutput
The ip address list of remote subnet.
func (VPNConnectionIpsecConfigOutput) SaLifeTime ¶
func (o VPNConnectionIpsecConfigOutput) SaLifeTime() pulumi.IntPtrOutput
The Security Association lifecycle as the result of IPSec negotiation. Unit: second. Range: 1200-604800. (Default: `3600`)
func (VPNConnectionIpsecConfigOutput) SaLifeTimeBytes ¶
func (o VPNConnectionIpsecConfigOutput) SaLifeTimeBytes() pulumi.IntPtrOutput
The Security Association lifecycle in bytes as the result of IPSec negotiation. Unit: second. Range: 1200-604800. (Default: `3600`)
func (VPNConnectionIpsecConfigOutput) ToVPNConnectionIpsecConfigOutput ¶
func (o VPNConnectionIpsecConfigOutput) ToVPNConnectionIpsecConfigOutput() VPNConnectionIpsecConfigOutput
func (VPNConnectionIpsecConfigOutput) ToVPNConnectionIpsecConfigOutputWithContext ¶
func (o VPNConnectionIpsecConfigOutput) ToVPNConnectionIpsecConfigOutputWithContext(ctx context.Context) VPNConnectionIpsecConfigOutput
func (VPNConnectionIpsecConfigOutput) ToVPNConnectionIpsecConfigPtrOutput ¶
func (o VPNConnectionIpsecConfigOutput) ToVPNConnectionIpsecConfigPtrOutput() VPNConnectionIpsecConfigPtrOutput
func (VPNConnectionIpsecConfigOutput) ToVPNConnectionIpsecConfigPtrOutputWithContext ¶
func (o VPNConnectionIpsecConfigOutput) ToVPNConnectionIpsecConfigPtrOutputWithContext(ctx context.Context) VPNConnectionIpsecConfigPtrOutput
type VPNConnectionIpsecConfigPtrInput ¶
type VPNConnectionIpsecConfigPtrInput interface { pulumi.Input ToVPNConnectionIpsecConfigPtrOutput() VPNConnectionIpsecConfigPtrOutput ToVPNConnectionIpsecConfigPtrOutputWithContext(context.Context) VPNConnectionIpsecConfigPtrOutput }
VPNConnectionIpsecConfigPtrInput is an input type that accepts VPNConnectionIpsecConfigArgs, VPNConnectionIpsecConfigPtr and VPNConnectionIpsecConfigPtrOutput values. You can construct a concrete instance of `VPNConnectionIpsecConfigPtrInput` via:
VPNConnectionIpsecConfigArgs{...} or: nil
func VPNConnectionIpsecConfigPtr ¶
func VPNConnectionIpsecConfigPtr(v *VPNConnectionIpsecConfigArgs) VPNConnectionIpsecConfigPtrInput
type VPNConnectionIpsecConfigPtrOutput ¶
type VPNConnectionIpsecConfigPtrOutput struct{ *pulumi.OutputState }
func (VPNConnectionIpsecConfigPtrOutput) AuthenticationAlgorithm ¶
func (o VPNConnectionIpsecConfigPtrOutput) AuthenticationAlgorithm() pulumi.StringPtrOutput
The authentication algorithm of IPSec negotiation. Possible values: `sha1`, `md5`. (Default: `sha1`)
func (VPNConnectionIpsecConfigPtrOutput) Elem ¶
func (o VPNConnectionIpsecConfigPtrOutput) Elem() VPNConnectionIpsecConfigOutput
func (VPNConnectionIpsecConfigPtrOutput) ElementType ¶
func (VPNConnectionIpsecConfigPtrOutput) ElementType() reflect.Type
func (VPNConnectionIpsecConfigPtrOutput) EncryptionAlgorithm ¶
func (o VPNConnectionIpsecConfigPtrOutput) EncryptionAlgorithm() pulumi.StringPtrOutput
The encryption algorithm of IPSec negotiation. Possible values: `aes128`, `aes192`, `aes256`, `aes512`, `3des`. (Default: `aes128`).
func (VPNConnectionIpsecConfigPtrOutput) LocalSubnetIds ¶
func (o VPNConnectionIpsecConfigPtrOutput) LocalSubnetIds() pulumi.StringArrayOutput
The id list of Local subnet.
func (VPNConnectionIpsecConfigPtrOutput) PfsDhGroup ¶
func (o VPNConnectionIpsecConfigPtrOutput) PfsDhGroup() pulumi.StringPtrOutput
Whether the PFS of IPSec negotiation is on or off, `disable` as off, The Diffie-Hellman group as open. Possible values: `disable`, `1`, `2`, `5`, `14`, `15`, `16`. (Default:`disable`)
func (VPNConnectionIpsecConfigPtrOutput) Protocol ¶
func (o VPNConnectionIpsecConfigPtrOutput) Protocol() pulumi.StringPtrOutput
The security protocol of IPSec negotiation. Possible values: `esp`, `ah`. (Default:`esp`)
func (VPNConnectionIpsecConfigPtrOutput) RemoteSubnets ¶
func (o VPNConnectionIpsecConfigPtrOutput) RemoteSubnets() pulumi.StringArrayOutput
The ip address list of remote subnet.
func (VPNConnectionIpsecConfigPtrOutput) SaLifeTime ¶
func (o VPNConnectionIpsecConfigPtrOutput) SaLifeTime() pulumi.IntPtrOutput
The Security Association lifecycle as the result of IPSec negotiation. Unit: second. Range: 1200-604800. (Default: `3600`)
func (VPNConnectionIpsecConfigPtrOutput) SaLifeTimeBytes ¶
func (o VPNConnectionIpsecConfigPtrOutput) SaLifeTimeBytes() pulumi.IntPtrOutput
The Security Association lifecycle in bytes as the result of IPSec negotiation. Unit: second. Range: 1200-604800. (Default: `3600`)
func (VPNConnectionIpsecConfigPtrOutput) ToVPNConnectionIpsecConfigPtrOutput ¶
func (o VPNConnectionIpsecConfigPtrOutput) ToVPNConnectionIpsecConfigPtrOutput() VPNConnectionIpsecConfigPtrOutput
func (VPNConnectionIpsecConfigPtrOutput) ToVPNConnectionIpsecConfigPtrOutputWithContext ¶
func (o VPNConnectionIpsecConfigPtrOutput) ToVPNConnectionIpsecConfigPtrOutputWithContext(ctx context.Context) VPNConnectionIpsecConfigPtrOutput
type VPNConnectionMap ¶
type VPNConnectionMap map[string]VPNConnectionInput
func (VPNConnectionMap) ElementType ¶
func (VPNConnectionMap) ElementType() reflect.Type
func (VPNConnectionMap) ToVPNConnectionMapOutput ¶
func (i VPNConnectionMap) ToVPNConnectionMapOutput() VPNConnectionMapOutput
func (VPNConnectionMap) ToVPNConnectionMapOutputWithContext ¶
func (i VPNConnectionMap) ToVPNConnectionMapOutputWithContext(ctx context.Context) VPNConnectionMapOutput
type VPNConnectionMapInput ¶
type VPNConnectionMapInput interface { pulumi.Input ToVPNConnectionMapOutput() VPNConnectionMapOutput ToVPNConnectionMapOutputWithContext(context.Context) VPNConnectionMapOutput }
VPNConnectionMapInput is an input type that accepts VPNConnectionMap and VPNConnectionMapOutput values. You can construct a concrete instance of `VPNConnectionMapInput` via:
VPNConnectionMap{ "key": VPNConnectionArgs{...} }
type VPNConnectionMapOutput ¶
type VPNConnectionMapOutput struct{ *pulumi.OutputState }
func (VPNConnectionMapOutput) ElementType ¶
func (VPNConnectionMapOutput) ElementType() reflect.Type
func (VPNConnectionMapOutput) MapIndex ¶
func (o VPNConnectionMapOutput) MapIndex(k pulumi.StringInput) VPNConnectionOutput
func (VPNConnectionMapOutput) ToVPNConnectionMapOutput ¶
func (o VPNConnectionMapOutput) ToVPNConnectionMapOutput() VPNConnectionMapOutput
func (VPNConnectionMapOutput) ToVPNConnectionMapOutputWithContext ¶
func (o VPNConnectionMapOutput) ToVPNConnectionMapOutputWithContext(ctx context.Context) VPNConnectionMapOutput
type VPNConnectionOutput ¶
type VPNConnectionOutput struct {
*pulumi.OutputState
}
func (VPNConnectionOutput) ElementType ¶
func (VPNConnectionOutput) ElementType() reflect.Type
func (VPNConnectionOutput) ToVPNConnectionOutput ¶
func (o VPNConnectionOutput) ToVPNConnectionOutput() VPNConnectionOutput
func (VPNConnectionOutput) ToVPNConnectionOutputWithContext ¶
func (o VPNConnectionOutput) ToVPNConnectionOutputWithContext(ctx context.Context) VPNConnectionOutput
func (VPNConnectionOutput) ToVPNConnectionPtrOutput ¶
func (o VPNConnectionOutput) ToVPNConnectionPtrOutput() VPNConnectionPtrOutput
func (VPNConnectionOutput) ToVPNConnectionPtrOutputWithContext ¶
func (o VPNConnectionOutput) ToVPNConnectionPtrOutputWithContext(ctx context.Context) VPNConnectionPtrOutput
type VPNConnectionPtrInput ¶
type VPNConnectionPtrInput interface { pulumi.Input ToVPNConnectionPtrOutput() VPNConnectionPtrOutput ToVPNConnectionPtrOutputWithContext(ctx context.Context) VPNConnectionPtrOutput }
type VPNConnectionPtrOutput ¶
type VPNConnectionPtrOutput struct {
*pulumi.OutputState
}
func (VPNConnectionPtrOutput) ElementType ¶
func (VPNConnectionPtrOutput) ElementType() reflect.Type
func (VPNConnectionPtrOutput) ToVPNConnectionPtrOutput ¶
func (o VPNConnectionPtrOutput) ToVPNConnectionPtrOutput() VPNConnectionPtrOutput
func (VPNConnectionPtrOutput) ToVPNConnectionPtrOutputWithContext ¶
func (o VPNConnectionPtrOutput) ToVPNConnectionPtrOutputWithContext(ctx context.Context) VPNConnectionPtrOutput
type VPNConnectionState ¶
type VPNConnectionState struct { // The creation time for VPN Gateway Connection, formatted in RFC3339 time string. CreateTime pulumi.StringPtrInput // The grade of the VPN Gateway CustomerGatewayId pulumi.StringPtrInput // The configurations of IKE negotiation. Each ikeConfig supports fields documented below. IkeConfig VPNConnectionIkeConfigPtrInput // The configurations of IPSec negotiation. Each ipsecConfig supports fields documented below. IpsecConfig VPNConnectionIpsecConfigPtrInput Name pulumi.StringPtrInput // The remarks of the VPN Gateway Connection. (Default: `""`). Remark pulumi.StringPtrInput // A tag assigned to VPN Gateway Connection, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`). Tag pulumi.StringPtrInput // The ID of VPC linked to the VPN Gateway Connection. VpcId pulumi.StringPtrInput // The ID of the VPN Customer Gateway. VpnGatewayId pulumi.StringPtrInput }
func (VPNConnectionState) ElementType ¶
func (VPNConnectionState) ElementType() reflect.Type
type VPNCustomerGateway ¶
type VPNCustomerGateway struct { pulumi.CustomResourceState // The creation time for VPN Customer Gateway, formatted in RFC3339 time string. CreateTime pulumi.StringOutput `pulumi:"createTime"` // The ip address of the VPN Customer Gateway. IpAddress pulumi.StringOutput `pulumi:"ipAddress"` Name pulumi.StringOutput `pulumi:"name"` // The remarks of the VPN Customer Gateway. (Default: `""`). Remark pulumi.StringOutput `pulumi:"remark"` // A tag assigned to VPN Customer Gateway, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`). // * “ Tag pulumi.StringPtrOutput `pulumi:"tag"` }
Provides a VPN Customer Gateway resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/ipsecvpn" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ipsecvpn.NewVPNCustomerGateway(ctx, "foo", &ipsecvpn.VPNCustomerGatewayArgs{ IpAddress: pulumi.String("10.0.0.1"), Tag: pulumi.String("tf-acc"), }) if err != nil { return err } return nil }) }
```
## Import
VPN Customer Gateway can be imported using the `id`, e.g.
```sh
$ pulumi import ucloud:ipsecvpn/vPNCustomerGateway:VPNCustomerGateway example remotevpngw-abc123456
```
func GetVPNCustomerGateway ¶
func GetVPNCustomerGateway(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VPNCustomerGatewayState, opts ...pulumi.ResourceOption) (*VPNCustomerGateway, error)
GetVPNCustomerGateway gets an existing VPNCustomerGateway resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewVPNCustomerGateway ¶
func NewVPNCustomerGateway(ctx *pulumi.Context, name string, args *VPNCustomerGatewayArgs, opts ...pulumi.ResourceOption) (*VPNCustomerGateway, error)
NewVPNCustomerGateway registers a new resource with the given unique name, arguments, and options.
func (*VPNCustomerGateway) ElementType ¶
func (*VPNCustomerGateway) ElementType() reflect.Type
func (*VPNCustomerGateway) ToVPNCustomerGatewayOutput ¶
func (i *VPNCustomerGateway) ToVPNCustomerGatewayOutput() VPNCustomerGatewayOutput
func (*VPNCustomerGateway) ToVPNCustomerGatewayOutputWithContext ¶
func (i *VPNCustomerGateway) ToVPNCustomerGatewayOutputWithContext(ctx context.Context) VPNCustomerGatewayOutput
func (*VPNCustomerGateway) ToVPNCustomerGatewayPtrOutput ¶
func (i *VPNCustomerGateway) ToVPNCustomerGatewayPtrOutput() VPNCustomerGatewayPtrOutput
func (*VPNCustomerGateway) ToVPNCustomerGatewayPtrOutputWithContext ¶
func (i *VPNCustomerGateway) ToVPNCustomerGatewayPtrOutputWithContext(ctx context.Context) VPNCustomerGatewayPtrOutput
type VPNCustomerGatewayArgs ¶
type VPNCustomerGatewayArgs struct { // The ip address of the VPN Customer Gateway. IpAddress pulumi.StringInput Name pulumi.StringPtrInput // The remarks of the VPN Customer Gateway. (Default: `""`). Remark pulumi.StringPtrInput // A tag assigned to VPN Customer Gateway, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`). // * “ Tag pulumi.StringPtrInput }
The set of arguments for constructing a VPNCustomerGateway resource.
func (VPNCustomerGatewayArgs) ElementType ¶
func (VPNCustomerGatewayArgs) ElementType() reflect.Type
type VPNCustomerGatewayArray ¶
type VPNCustomerGatewayArray []VPNCustomerGatewayInput
func (VPNCustomerGatewayArray) ElementType ¶
func (VPNCustomerGatewayArray) ElementType() reflect.Type
func (VPNCustomerGatewayArray) ToVPNCustomerGatewayArrayOutput ¶
func (i VPNCustomerGatewayArray) ToVPNCustomerGatewayArrayOutput() VPNCustomerGatewayArrayOutput
func (VPNCustomerGatewayArray) ToVPNCustomerGatewayArrayOutputWithContext ¶
func (i VPNCustomerGatewayArray) ToVPNCustomerGatewayArrayOutputWithContext(ctx context.Context) VPNCustomerGatewayArrayOutput
type VPNCustomerGatewayArrayInput ¶
type VPNCustomerGatewayArrayInput interface { pulumi.Input ToVPNCustomerGatewayArrayOutput() VPNCustomerGatewayArrayOutput ToVPNCustomerGatewayArrayOutputWithContext(context.Context) VPNCustomerGatewayArrayOutput }
VPNCustomerGatewayArrayInput is an input type that accepts VPNCustomerGatewayArray and VPNCustomerGatewayArrayOutput values. You can construct a concrete instance of `VPNCustomerGatewayArrayInput` via:
VPNCustomerGatewayArray{ VPNCustomerGatewayArgs{...} }
type VPNCustomerGatewayArrayOutput ¶
type VPNCustomerGatewayArrayOutput struct{ *pulumi.OutputState }
func (VPNCustomerGatewayArrayOutput) ElementType ¶
func (VPNCustomerGatewayArrayOutput) ElementType() reflect.Type
func (VPNCustomerGatewayArrayOutput) Index ¶
func (o VPNCustomerGatewayArrayOutput) Index(i pulumi.IntInput) VPNCustomerGatewayOutput
func (VPNCustomerGatewayArrayOutput) ToVPNCustomerGatewayArrayOutput ¶
func (o VPNCustomerGatewayArrayOutput) ToVPNCustomerGatewayArrayOutput() VPNCustomerGatewayArrayOutput
func (VPNCustomerGatewayArrayOutput) ToVPNCustomerGatewayArrayOutputWithContext ¶
func (o VPNCustomerGatewayArrayOutput) ToVPNCustomerGatewayArrayOutputWithContext(ctx context.Context) VPNCustomerGatewayArrayOutput
type VPNCustomerGatewayInput ¶
type VPNCustomerGatewayInput interface { pulumi.Input ToVPNCustomerGatewayOutput() VPNCustomerGatewayOutput ToVPNCustomerGatewayOutputWithContext(ctx context.Context) VPNCustomerGatewayOutput }
type VPNCustomerGatewayMap ¶
type VPNCustomerGatewayMap map[string]VPNCustomerGatewayInput
func (VPNCustomerGatewayMap) ElementType ¶
func (VPNCustomerGatewayMap) ElementType() reflect.Type
func (VPNCustomerGatewayMap) ToVPNCustomerGatewayMapOutput ¶
func (i VPNCustomerGatewayMap) ToVPNCustomerGatewayMapOutput() VPNCustomerGatewayMapOutput
func (VPNCustomerGatewayMap) ToVPNCustomerGatewayMapOutputWithContext ¶
func (i VPNCustomerGatewayMap) ToVPNCustomerGatewayMapOutputWithContext(ctx context.Context) VPNCustomerGatewayMapOutput
type VPNCustomerGatewayMapInput ¶
type VPNCustomerGatewayMapInput interface { pulumi.Input ToVPNCustomerGatewayMapOutput() VPNCustomerGatewayMapOutput ToVPNCustomerGatewayMapOutputWithContext(context.Context) VPNCustomerGatewayMapOutput }
VPNCustomerGatewayMapInput is an input type that accepts VPNCustomerGatewayMap and VPNCustomerGatewayMapOutput values. You can construct a concrete instance of `VPNCustomerGatewayMapInput` via:
VPNCustomerGatewayMap{ "key": VPNCustomerGatewayArgs{...} }
type VPNCustomerGatewayMapOutput ¶
type VPNCustomerGatewayMapOutput struct{ *pulumi.OutputState }
func (VPNCustomerGatewayMapOutput) ElementType ¶
func (VPNCustomerGatewayMapOutput) ElementType() reflect.Type
func (VPNCustomerGatewayMapOutput) MapIndex ¶
func (o VPNCustomerGatewayMapOutput) MapIndex(k pulumi.StringInput) VPNCustomerGatewayOutput
func (VPNCustomerGatewayMapOutput) ToVPNCustomerGatewayMapOutput ¶
func (o VPNCustomerGatewayMapOutput) ToVPNCustomerGatewayMapOutput() VPNCustomerGatewayMapOutput
func (VPNCustomerGatewayMapOutput) ToVPNCustomerGatewayMapOutputWithContext ¶
func (o VPNCustomerGatewayMapOutput) ToVPNCustomerGatewayMapOutputWithContext(ctx context.Context) VPNCustomerGatewayMapOutput
type VPNCustomerGatewayOutput ¶
type VPNCustomerGatewayOutput struct {
*pulumi.OutputState
}
func (VPNCustomerGatewayOutput) ElementType ¶
func (VPNCustomerGatewayOutput) ElementType() reflect.Type
func (VPNCustomerGatewayOutput) ToVPNCustomerGatewayOutput ¶
func (o VPNCustomerGatewayOutput) ToVPNCustomerGatewayOutput() VPNCustomerGatewayOutput
func (VPNCustomerGatewayOutput) ToVPNCustomerGatewayOutputWithContext ¶
func (o VPNCustomerGatewayOutput) ToVPNCustomerGatewayOutputWithContext(ctx context.Context) VPNCustomerGatewayOutput
func (VPNCustomerGatewayOutput) ToVPNCustomerGatewayPtrOutput ¶
func (o VPNCustomerGatewayOutput) ToVPNCustomerGatewayPtrOutput() VPNCustomerGatewayPtrOutput
func (VPNCustomerGatewayOutput) ToVPNCustomerGatewayPtrOutputWithContext ¶
func (o VPNCustomerGatewayOutput) ToVPNCustomerGatewayPtrOutputWithContext(ctx context.Context) VPNCustomerGatewayPtrOutput
type VPNCustomerGatewayPtrInput ¶
type VPNCustomerGatewayPtrInput interface { pulumi.Input ToVPNCustomerGatewayPtrOutput() VPNCustomerGatewayPtrOutput ToVPNCustomerGatewayPtrOutputWithContext(ctx context.Context) VPNCustomerGatewayPtrOutput }
type VPNCustomerGatewayPtrOutput ¶
type VPNCustomerGatewayPtrOutput struct {
*pulumi.OutputState
}
func (VPNCustomerGatewayPtrOutput) ElementType ¶
func (VPNCustomerGatewayPtrOutput) ElementType() reflect.Type
func (VPNCustomerGatewayPtrOutput) ToVPNCustomerGatewayPtrOutput ¶
func (o VPNCustomerGatewayPtrOutput) ToVPNCustomerGatewayPtrOutput() VPNCustomerGatewayPtrOutput
func (VPNCustomerGatewayPtrOutput) ToVPNCustomerGatewayPtrOutputWithContext ¶
func (o VPNCustomerGatewayPtrOutput) ToVPNCustomerGatewayPtrOutputWithContext(ctx context.Context) VPNCustomerGatewayPtrOutput
type VPNCustomerGatewayState ¶
type VPNCustomerGatewayState struct { // The creation time for VPN Customer Gateway, formatted in RFC3339 time string. CreateTime pulumi.StringPtrInput // The ip address of the VPN Customer Gateway. IpAddress pulumi.StringPtrInput Name pulumi.StringPtrInput // The remarks of the VPN Customer Gateway. (Default: `""`). Remark pulumi.StringPtrInput // A tag assigned to VPN Customer Gateway, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`). // * “ Tag pulumi.StringPtrInput }
func (VPNCustomerGatewayState) ElementType ¶
func (VPNCustomerGatewayState) ElementType() reflect.Type
type VPNGateway ¶
type VPNGateway struct { pulumi.CustomResourceState // The charge type of VPN Gateway, possible values are: `year`, `month` and `dynamic` as pay by hour (specific permission required). (Default: `month`). ChargeType pulumi.StringOutput `pulumi:"chargeType"` // The creation time for VPN Gateway, formatted in RFC3339 time string. CreateTime pulumi.StringOutput `pulumi:"createTime"` // The duration that you will buy the VPN Gateway (Default: `1`). The value is `0` when pay by month and the instance will be valid till the last day of that month. It is not required when `dynamic` (pay by hour). Duration pulumi.IntPtrOutput `pulumi:"duration"` // The ID of eip associate to the VPN Gateway. EipId pulumi.StringOutput `pulumi:"eipId"` // The expiration time for VPN Gateway, formatted in RFC3339 time string. ExpireTime pulumi.StringOutput `pulumi:"expireTime"` // The type of the VPN Gateway. Possible values: `standard`, `enhanced`. `standard` recommended application scenario: Applicable to services with bidirectional peak bandwidth of 1M~50M; `enhanced` recommended application scenario: Suitable for services with bidirectional peak bandwidths of 50M~100M. Grade pulumi.StringOutput `pulumi:"grade"` Name pulumi.StringOutput `pulumi:"name"` // The remarks of the VPN Gateway. (Default: `""`). Remark pulumi.StringOutput `pulumi:"remark"` // A tag assigned to VPN Gateway, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`). // * “ Tag pulumi.StringPtrOutput `pulumi:"tag"` // The ID of VPC linked to the VPN Gateway. VpcId pulumi.StringOutput `pulumi:"vpcId"` }
Provides a VPN Gateway resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/ipsecvpn" "github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/unet" "github.com/pulumi/pulumi-ucloud/sdk/go/ucloud/vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooVPC, err := vpc.NewVPC(ctx, "fooVPC", &vpc.VPCArgs{ Tag: pulumi.String("tf-acc"), CidrBlocks: pulumi.StringArray{ pulumi.String("192.168.0.0/16"), }, }) if err != nil { return err } fooEIP, err := unet.NewEIP(ctx, "fooEIP", &unet.EIPArgs{ Bandwidth: pulumi.Int(1), InternetType: pulumi.String("bgp"), ChargeMode: pulumi.String("bandwidth"), Tag: pulumi.String("tf-acc"), }) if err != nil { return err } _, err = ipsecvpn.NewVPNGateway(ctx, "fooVPNGateway", &ipsecvpn.VPNGatewayArgs{ VpcId: fooVPC.ID(), Grade: pulumi.String("enhanced"), EipId: fooEIP.ID(), Tag: pulumi.String("tf-acc"), }) if err != nil { return err } return nil }) }
```
## Import
VPN Gateway can be imported using the `id`, e.g.
```sh
$ pulumi import ucloud:ipsecvpn/vPNGateway:VPNGateway example vpngw-abc123456
```
func GetVPNGateway ¶
func GetVPNGateway(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VPNGatewayState, opts ...pulumi.ResourceOption) (*VPNGateway, error)
GetVPNGateway gets an existing VPNGateway resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewVPNGateway ¶
func NewVPNGateway(ctx *pulumi.Context, name string, args *VPNGatewayArgs, opts ...pulumi.ResourceOption) (*VPNGateway, error)
NewVPNGateway registers a new resource with the given unique name, arguments, and options.
func (*VPNGateway) ElementType ¶
func (*VPNGateway) ElementType() reflect.Type
func (*VPNGateway) ToVPNGatewayOutput ¶
func (i *VPNGateway) ToVPNGatewayOutput() VPNGatewayOutput
func (*VPNGateway) ToVPNGatewayOutputWithContext ¶
func (i *VPNGateway) ToVPNGatewayOutputWithContext(ctx context.Context) VPNGatewayOutput
func (*VPNGateway) ToVPNGatewayPtrOutput ¶
func (i *VPNGateway) ToVPNGatewayPtrOutput() VPNGatewayPtrOutput
func (*VPNGateway) ToVPNGatewayPtrOutputWithContext ¶
func (i *VPNGateway) ToVPNGatewayPtrOutputWithContext(ctx context.Context) VPNGatewayPtrOutput
type VPNGatewayArgs ¶
type VPNGatewayArgs struct { // The charge type of VPN Gateway, possible values are: `year`, `month` and `dynamic` as pay by hour (specific permission required). (Default: `month`). ChargeType pulumi.StringPtrInput // The duration that you will buy the VPN Gateway (Default: `1`). The value is `0` when pay by month and the instance will be valid till the last day of that month. It is not required when `dynamic` (pay by hour). Duration pulumi.IntPtrInput // The ID of eip associate to the VPN Gateway. EipId pulumi.StringInput // The type of the VPN Gateway. Possible values: `standard`, `enhanced`. `standard` recommended application scenario: Applicable to services with bidirectional peak bandwidth of 1M~50M; `enhanced` recommended application scenario: Suitable for services with bidirectional peak bandwidths of 50M~100M. Grade pulumi.StringInput Name pulumi.StringPtrInput // The remarks of the VPN Gateway. (Default: `""`). Remark pulumi.StringPtrInput // A tag assigned to VPN Gateway, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`). // * “ Tag pulumi.StringPtrInput // The ID of VPC linked to the VPN Gateway. VpcId pulumi.StringInput }
The set of arguments for constructing a VPNGateway resource.
func (VPNGatewayArgs) ElementType ¶
func (VPNGatewayArgs) ElementType() reflect.Type
type VPNGatewayArray ¶
type VPNGatewayArray []VPNGatewayInput
func (VPNGatewayArray) ElementType ¶
func (VPNGatewayArray) ElementType() reflect.Type
func (VPNGatewayArray) ToVPNGatewayArrayOutput ¶
func (i VPNGatewayArray) ToVPNGatewayArrayOutput() VPNGatewayArrayOutput
func (VPNGatewayArray) ToVPNGatewayArrayOutputWithContext ¶
func (i VPNGatewayArray) ToVPNGatewayArrayOutputWithContext(ctx context.Context) VPNGatewayArrayOutput
type VPNGatewayArrayInput ¶
type VPNGatewayArrayInput interface { pulumi.Input ToVPNGatewayArrayOutput() VPNGatewayArrayOutput ToVPNGatewayArrayOutputWithContext(context.Context) VPNGatewayArrayOutput }
VPNGatewayArrayInput is an input type that accepts VPNGatewayArray and VPNGatewayArrayOutput values. You can construct a concrete instance of `VPNGatewayArrayInput` via:
VPNGatewayArray{ VPNGatewayArgs{...} }
type VPNGatewayArrayOutput ¶
type VPNGatewayArrayOutput struct{ *pulumi.OutputState }
func (VPNGatewayArrayOutput) ElementType ¶
func (VPNGatewayArrayOutput) ElementType() reflect.Type
func (VPNGatewayArrayOutput) Index ¶
func (o VPNGatewayArrayOutput) Index(i pulumi.IntInput) VPNGatewayOutput
func (VPNGatewayArrayOutput) ToVPNGatewayArrayOutput ¶
func (o VPNGatewayArrayOutput) ToVPNGatewayArrayOutput() VPNGatewayArrayOutput
func (VPNGatewayArrayOutput) ToVPNGatewayArrayOutputWithContext ¶
func (o VPNGatewayArrayOutput) ToVPNGatewayArrayOutputWithContext(ctx context.Context) VPNGatewayArrayOutput
type VPNGatewayInput ¶
type VPNGatewayInput interface { pulumi.Input ToVPNGatewayOutput() VPNGatewayOutput ToVPNGatewayOutputWithContext(ctx context.Context) VPNGatewayOutput }
type VPNGatewayMap ¶
type VPNGatewayMap map[string]VPNGatewayInput
func (VPNGatewayMap) ElementType ¶
func (VPNGatewayMap) ElementType() reflect.Type
func (VPNGatewayMap) ToVPNGatewayMapOutput ¶
func (i VPNGatewayMap) ToVPNGatewayMapOutput() VPNGatewayMapOutput
func (VPNGatewayMap) ToVPNGatewayMapOutputWithContext ¶
func (i VPNGatewayMap) ToVPNGatewayMapOutputWithContext(ctx context.Context) VPNGatewayMapOutput
type VPNGatewayMapInput ¶
type VPNGatewayMapInput interface { pulumi.Input ToVPNGatewayMapOutput() VPNGatewayMapOutput ToVPNGatewayMapOutputWithContext(context.Context) VPNGatewayMapOutput }
VPNGatewayMapInput is an input type that accepts VPNGatewayMap and VPNGatewayMapOutput values. You can construct a concrete instance of `VPNGatewayMapInput` via:
VPNGatewayMap{ "key": VPNGatewayArgs{...} }
type VPNGatewayMapOutput ¶
type VPNGatewayMapOutput struct{ *pulumi.OutputState }
func (VPNGatewayMapOutput) ElementType ¶
func (VPNGatewayMapOutput) ElementType() reflect.Type
func (VPNGatewayMapOutput) MapIndex ¶
func (o VPNGatewayMapOutput) MapIndex(k pulumi.StringInput) VPNGatewayOutput
func (VPNGatewayMapOutput) ToVPNGatewayMapOutput ¶
func (o VPNGatewayMapOutput) ToVPNGatewayMapOutput() VPNGatewayMapOutput
func (VPNGatewayMapOutput) ToVPNGatewayMapOutputWithContext ¶
func (o VPNGatewayMapOutput) ToVPNGatewayMapOutputWithContext(ctx context.Context) VPNGatewayMapOutput
type VPNGatewayOutput ¶
type VPNGatewayOutput struct {
*pulumi.OutputState
}
func (VPNGatewayOutput) ElementType ¶
func (VPNGatewayOutput) ElementType() reflect.Type
func (VPNGatewayOutput) ToVPNGatewayOutput ¶
func (o VPNGatewayOutput) ToVPNGatewayOutput() VPNGatewayOutput
func (VPNGatewayOutput) ToVPNGatewayOutputWithContext ¶
func (o VPNGatewayOutput) ToVPNGatewayOutputWithContext(ctx context.Context) VPNGatewayOutput
func (VPNGatewayOutput) ToVPNGatewayPtrOutput ¶
func (o VPNGatewayOutput) ToVPNGatewayPtrOutput() VPNGatewayPtrOutput
func (VPNGatewayOutput) ToVPNGatewayPtrOutputWithContext ¶
func (o VPNGatewayOutput) ToVPNGatewayPtrOutputWithContext(ctx context.Context) VPNGatewayPtrOutput
type VPNGatewayPtrInput ¶
type VPNGatewayPtrInput interface { pulumi.Input ToVPNGatewayPtrOutput() VPNGatewayPtrOutput ToVPNGatewayPtrOutputWithContext(ctx context.Context) VPNGatewayPtrOutput }
type VPNGatewayPtrOutput ¶
type VPNGatewayPtrOutput struct {
*pulumi.OutputState
}
func (VPNGatewayPtrOutput) ElementType ¶
func (VPNGatewayPtrOutput) ElementType() reflect.Type
func (VPNGatewayPtrOutput) ToVPNGatewayPtrOutput ¶
func (o VPNGatewayPtrOutput) ToVPNGatewayPtrOutput() VPNGatewayPtrOutput
func (VPNGatewayPtrOutput) ToVPNGatewayPtrOutputWithContext ¶
func (o VPNGatewayPtrOutput) ToVPNGatewayPtrOutputWithContext(ctx context.Context) VPNGatewayPtrOutput
type VPNGatewayState ¶
type VPNGatewayState struct { // The charge type of VPN Gateway, possible values are: `year`, `month` and `dynamic` as pay by hour (specific permission required). (Default: `month`). ChargeType pulumi.StringPtrInput // The creation time for VPN Gateway, formatted in RFC3339 time string. CreateTime pulumi.StringPtrInput // The duration that you will buy the VPN Gateway (Default: `1`). The value is `0` when pay by month and the instance will be valid till the last day of that month. It is not required when `dynamic` (pay by hour). Duration pulumi.IntPtrInput // The ID of eip associate to the VPN Gateway. EipId pulumi.StringPtrInput // The expiration time for VPN Gateway, formatted in RFC3339 time string. ExpireTime pulumi.StringPtrInput // The type of the VPN Gateway. Possible values: `standard`, `enhanced`. `standard` recommended application scenario: Applicable to services with bidirectional peak bandwidth of 1M~50M; `enhanced` recommended application scenario: Suitable for services with bidirectional peak bandwidths of 50M~100M. Grade pulumi.StringPtrInput Name pulumi.StringPtrInput // The remarks of the VPN Gateway. (Default: `""`). Remark pulumi.StringPtrInput // A tag assigned to VPN Gateway, which contains at most 63 characters and only support Chinese, English, numbers, '-', '_', and '.'. If it is not filled in or a empty string is filled in, then default tag will be assigned. (Default: `Default`). // * “ Tag pulumi.StringPtrInput // The ID of VPC linked to the VPN Gateway. VpcId pulumi.StringPtrInput }
func (VPNGatewayState) ElementType ¶
func (VPNGatewayState) ElementType() reflect.Type