Documentation
¶
Index ¶
- func PkgVersion() (semver.Version, error)
- type Connection
- type ConnectionArgs
- type ConnectionArray
- type ConnectionArrayInput
- type ConnectionArrayOutput
- func (ConnectionArrayOutput) ElementType() reflect.Type
- func (o ConnectionArrayOutput) Index(i pulumi.IntInput) ConnectionOutput
- func (o ConnectionArrayOutput) ToConnectionArrayOutput() ConnectionArrayOutput
- func (o ConnectionArrayOutput) ToConnectionArrayOutputWithContext(ctx context.Context) ConnectionArrayOutput
- type ConnectionBgpConfig
- type ConnectionBgpConfigArgs
- func (ConnectionBgpConfigArgs) ElementType() reflect.Type
- func (i ConnectionBgpConfigArgs) ToConnectionBgpConfigOutput() ConnectionBgpConfigOutput
- func (i ConnectionBgpConfigArgs) ToConnectionBgpConfigOutputWithContext(ctx context.Context) ConnectionBgpConfigOutput
- func (i ConnectionBgpConfigArgs) ToConnectionBgpConfigPtrOutput() ConnectionBgpConfigPtrOutput
- func (i ConnectionBgpConfigArgs) ToConnectionBgpConfigPtrOutputWithContext(ctx context.Context) ConnectionBgpConfigPtrOutput
- type ConnectionBgpConfigInput
- type ConnectionBgpConfigOutput
- func (ConnectionBgpConfigOutput) ElementType() reflect.Type
- func (o ConnectionBgpConfigOutput) Enable() pulumi.BoolPtrOutput
- func (o ConnectionBgpConfigOutput) LocalAsn() pulumi.StringPtrOutput
- func (o ConnectionBgpConfigOutput) LocalBgpIp() pulumi.StringPtrOutput
- func (o ConnectionBgpConfigOutput) ToConnectionBgpConfigOutput() ConnectionBgpConfigOutput
- func (o ConnectionBgpConfigOutput) ToConnectionBgpConfigOutputWithContext(ctx context.Context) ConnectionBgpConfigOutput
- func (o ConnectionBgpConfigOutput) ToConnectionBgpConfigPtrOutput() ConnectionBgpConfigPtrOutput
- func (o ConnectionBgpConfigOutput) ToConnectionBgpConfigPtrOutputWithContext(ctx context.Context) ConnectionBgpConfigPtrOutput
- func (o ConnectionBgpConfigOutput) TunnelCidr() pulumi.StringPtrOutput
- type ConnectionBgpConfigPtrInput
- type ConnectionBgpConfigPtrOutput
- func (o ConnectionBgpConfigPtrOutput) Elem() ConnectionBgpConfigOutput
- func (ConnectionBgpConfigPtrOutput) ElementType() reflect.Type
- func (o ConnectionBgpConfigPtrOutput) Enable() pulumi.BoolPtrOutput
- func (o ConnectionBgpConfigPtrOutput) LocalAsn() pulumi.StringPtrOutput
- func (o ConnectionBgpConfigPtrOutput) LocalBgpIp() pulumi.StringPtrOutput
- func (o ConnectionBgpConfigPtrOutput) ToConnectionBgpConfigPtrOutput() ConnectionBgpConfigPtrOutput
- func (o ConnectionBgpConfigPtrOutput) ToConnectionBgpConfigPtrOutputWithContext(ctx context.Context) ConnectionBgpConfigPtrOutput
- func (o ConnectionBgpConfigPtrOutput) TunnelCidr() pulumi.StringPtrOutput
- type ConnectionHealthCheckConfig
- type ConnectionHealthCheckConfigArgs
- func (ConnectionHealthCheckConfigArgs) ElementType() reflect.Type
- func (i ConnectionHealthCheckConfigArgs) ToConnectionHealthCheckConfigOutput() ConnectionHealthCheckConfigOutput
- func (i ConnectionHealthCheckConfigArgs) ToConnectionHealthCheckConfigOutputWithContext(ctx context.Context) ConnectionHealthCheckConfigOutput
- func (i ConnectionHealthCheckConfigArgs) ToConnectionHealthCheckConfigPtrOutput() ConnectionHealthCheckConfigPtrOutput
- func (i ConnectionHealthCheckConfigArgs) ToConnectionHealthCheckConfigPtrOutputWithContext(ctx context.Context) ConnectionHealthCheckConfigPtrOutput
- type ConnectionHealthCheckConfigInput
- type ConnectionHealthCheckConfigOutput
- func (o ConnectionHealthCheckConfigOutput) Dip() pulumi.StringPtrOutput
- func (ConnectionHealthCheckConfigOutput) ElementType() reflect.Type
- func (o ConnectionHealthCheckConfigOutput) Enable() pulumi.BoolPtrOutput
- func (o ConnectionHealthCheckConfigOutput) Interval() pulumi.IntPtrOutput
- func (o ConnectionHealthCheckConfigOutput) Retry() pulumi.IntPtrOutput
- func (o ConnectionHealthCheckConfigOutput) Sip() pulumi.StringPtrOutput
- func (o ConnectionHealthCheckConfigOutput) ToConnectionHealthCheckConfigOutput() ConnectionHealthCheckConfigOutput
- func (o ConnectionHealthCheckConfigOutput) ToConnectionHealthCheckConfigOutputWithContext(ctx context.Context) ConnectionHealthCheckConfigOutput
- func (o ConnectionHealthCheckConfigOutput) ToConnectionHealthCheckConfigPtrOutput() ConnectionHealthCheckConfigPtrOutput
- func (o ConnectionHealthCheckConfigOutput) ToConnectionHealthCheckConfigPtrOutputWithContext(ctx context.Context) ConnectionHealthCheckConfigPtrOutput
- type ConnectionHealthCheckConfigPtrInput
- type ConnectionHealthCheckConfigPtrOutput
- func (o ConnectionHealthCheckConfigPtrOutput) Dip() pulumi.StringPtrOutput
- func (o ConnectionHealthCheckConfigPtrOutput) Elem() ConnectionHealthCheckConfigOutput
- func (ConnectionHealthCheckConfigPtrOutput) ElementType() reflect.Type
- func (o ConnectionHealthCheckConfigPtrOutput) Enable() pulumi.BoolPtrOutput
- func (o ConnectionHealthCheckConfigPtrOutput) Interval() pulumi.IntPtrOutput
- func (o ConnectionHealthCheckConfigPtrOutput) Retry() pulumi.IntPtrOutput
- func (o ConnectionHealthCheckConfigPtrOutput) Sip() pulumi.StringPtrOutput
- func (o ConnectionHealthCheckConfigPtrOutput) ToConnectionHealthCheckConfigPtrOutput() ConnectionHealthCheckConfigPtrOutput
- func (o ConnectionHealthCheckConfigPtrOutput) ToConnectionHealthCheckConfigPtrOutputWithContext(ctx context.Context) ConnectionHealthCheckConfigPtrOutput
- type ConnectionIkeConfig
- type ConnectionIkeConfigArgs
- func (ConnectionIkeConfigArgs) ElementType() reflect.Type
- func (i ConnectionIkeConfigArgs) ToConnectionIkeConfigOutput() ConnectionIkeConfigOutput
- func (i ConnectionIkeConfigArgs) ToConnectionIkeConfigOutputWithContext(ctx context.Context) ConnectionIkeConfigOutput
- func (i ConnectionIkeConfigArgs) ToConnectionIkeConfigPtrOutput() ConnectionIkeConfigPtrOutput
- func (i ConnectionIkeConfigArgs) ToConnectionIkeConfigPtrOutputWithContext(ctx context.Context) ConnectionIkeConfigPtrOutput
- type ConnectionIkeConfigInput
- type ConnectionIkeConfigOutput
- func (ConnectionIkeConfigOutput) ElementType() reflect.Type
- func (o ConnectionIkeConfigOutput) IkeAuthAlg() pulumi.StringPtrOutput
- func (o ConnectionIkeConfigOutput) IkeEncAlg() pulumi.StringPtrOutput
- func (o ConnectionIkeConfigOutput) IkeLifetime() pulumi.IntPtrOutput
- func (o ConnectionIkeConfigOutput) IkeLocalId() pulumi.StringPtrOutput
- func (o ConnectionIkeConfigOutput) IkeMode() pulumi.StringPtrOutput
- func (o ConnectionIkeConfigOutput) IkePfs() pulumi.StringPtrOutput
- func (o ConnectionIkeConfigOutput) IkeRemoteId() pulumi.StringPtrOutput
- func (o ConnectionIkeConfigOutput) IkeVersion() pulumi.StringPtrOutput
- func (o ConnectionIkeConfigOutput) Psk() pulumi.StringPtrOutput
- func (o ConnectionIkeConfigOutput) ToConnectionIkeConfigOutput() ConnectionIkeConfigOutput
- func (o ConnectionIkeConfigOutput) ToConnectionIkeConfigOutputWithContext(ctx context.Context) ConnectionIkeConfigOutput
- func (o ConnectionIkeConfigOutput) ToConnectionIkeConfigPtrOutput() ConnectionIkeConfigPtrOutput
- func (o ConnectionIkeConfigOutput) ToConnectionIkeConfigPtrOutputWithContext(ctx context.Context) ConnectionIkeConfigPtrOutput
- type ConnectionIkeConfigPtrInput
- type ConnectionIkeConfigPtrOutput
- func (o ConnectionIkeConfigPtrOutput) Elem() ConnectionIkeConfigOutput
- func (ConnectionIkeConfigPtrOutput) ElementType() reflect.Type
- func (o ConnectionIkeConfigPtrOutput) IkeAuthAlg() pulumi.StringPtrOutput
- func (o ConnectionIkeConfigPtrOutput) IkeEncAlg() pulumi.StringPtrOutput
- func (o ConnectionIkeConfigPtrOutput) IkeLifetime() pulumi.IntPtrOutput
- func (o ConnectionIkeConfigPtrOutput) IkeLocalId() pulumi.StringPtrOutput
- func (o ConnectionIkeConfigPtrOutput) IkeMode() pulumi.StringPtrOutput
- func (o ConnectionIkeConfigPtrOutput) IkePfs() pulumi.StringPtrOutput
- func (o ConnectionIkeConfigPtrOutput) IkeRemoteId() pulumi.StringPtrOutput
- func (o ConnectionIkeConfigPtrOutput) IkeVersion() pulumi.StringPtrOutput
- func (o ConnectionIkeConfigPtrOutput) Psk() pulumi.StringPtrOutput
- func (o ConnectionIkeConfigPtrOutput) ToConnectionIkeConfigPtrOutput() ConnectionIkeConfigPtrOutput
- func (o ConnectionIkeConfigPtrOutput) ToConnectionIkeConfigPtrOutputWithContext(ctx context.Context) ConnectionIkeConfigPtrOutput
- type ConnectionInput
- type ConnectionIpsecConfig
- type ConnectionIpsecConfigArgs
- func (ConnectionIpsecConfigArgs) ElementType() reflect.Type
- func (i ConnectionIpsecConfigArgs) ToConnectionIpsecConfigOutput() ConnectionIpsecConfigOutput
- func (i ConnectionIpsecConfigArgs) ToConnectionIpsecConfigOutputWithContext(ctx context.Context) ConnectionIpsecConfigOutput
- func (i ConnectionIpsecConfigArgs) ToConnectionIpsecConfigPtrOutput() ConnectionIpsecConfigPtrOutput
- func (i ConnectionIpsecConfigArgs) ToConnectionIpsecConfigPtrOutputWithContext(ctx context.Context) ConnectionIpsecConfigPtrOutput
- type ConnectionIpsecConfigInput
- type ConnectionIpsecConfigOutput
- func (ConnectionIpsecConfigOutput) ElementType() reflect.Type
- func (o ConnectionIpsecConfigOutput) IpsecAuthAlg() pulumi.StringPtrOutput
- func (o ConnectionIpsecConfigOutput) IpsecEncAlg() pulumi.StringPtrOutput
- func (o ConnectionIpsecConfigOutput) IpsecLifetime() pulumi.IntPtrOutput
- func (o ConnectionIpsecConfigOutput) IpsecPfs() pulumi.StringPtrOutput
- func (o ConnectionIpsecConfigOutput) ToConnectionIpsecConfigOutput() ConnectionIpsecConfigOutput
- func (o ConnectionIpsecConfigOutput) ToConnectionIpsecConfigOutputWithContext(ctx context.Context) ConnectionIpsecConfigOutput
- func (o ConnectionIpsecConfigOutput) ToConnectionIpsecConfigPtrOutput() ConnectionIpsecConfigPtrOutput
- func (o ConnectionIpsecConfigOutput) ToConnectionIpsecConfigPtrOutputWithContext(ctx context.Context) ConnectionIpsecConfigPtrOutput
- type ConnectionIpsecConfigPtrInput
- type ConnectionIpsecConfigPtrOutput
- func (o ConnectionIpsecConfigPtrOutput) Elem() ConnectionIpsecConfigOutput
- func (ConnectionIpsecConfigPtrOutput) ElementType() reflect.Type
- func (o ConnectionIpsecConfigPtrOutput) IpsecAuthAlg() pulumi.StringPtrOutput
- func (o ConnectionIpsecConfigPtrOutput) IpsecEncAlg() pulumi.StringPtrOutput
- func (o ConnectionIpsecConfigPtrOutput) IpsecLifetime() pulumi.IntPtrOutput
- func (o ConnectionIpsecConfigPtrOutput) IpsecPfs() pulumi.StringPtrOutput
- func (o ConnectionIpsecConfigPtrOutput) ToConnectionIpsecConfigPtrOutput() ConnectionIpsecConfigPtrOutput
- func (o ConnectionIpsecConfigPtrOutput) ToConnectionIpsecConfigPtrOutputWithContext(ctx context.Context) ConnectionIpsecConfigPtrOutput
- type ConnectionMap
- type ConnectionMapInput
- type ConnectionMapOutput
- func (ConnectionMapOutput) ElementType() reflect.Type
- func (o ConnectionMapOutput) MapIndex(k pulumi.StringInput) ConnectionOutput
- func (o ConnectionMapOutput) ToConnectionMapOutput() ConnectionMapOutput
- func (o ConnectionMapOutput) ToConnectionMapOutputWithContext(ctx context.Context) ConnectionMapOutput
- type ConnectionOutput
- func (o ConnectionOutput) BgpConfig() ConnectionBgpConfigOutput
- func (o ConnectionOutput) CustomerGatewayId() pulumi.StringOutput
- func (o ConnectionOutput) EffectImmediately() pulumi.BoolPtrOutput
- func (ConnectionOutput) ElementType() reflect.Type
- func (o ConnectionOutput) EnableDpd() pulumi.BoolOutput
- func (o ConnectionOutput) EnableNatTraversal() pulumi.BoolOutput
- func (o ConnectionOutput) HealthCheckConfig() ConnectionHealthCheckConfigOutput
- func (o ConnectionOutput) IkeConfig() ConnectionIkeConfigOutput
- func (o ConnectionOutput) IpsecConfig() ConnectionIpsecConfigOutput
- func (o ConnectionOutput) LocalSubnets() pulumi.StringArrayOutput
- func (o ConnectionOutput) Name() pulumi.StringOutput
- func (o ConnectionOutput) RemoteSubnets() pulumi.StringArrayOutput
- func (o ConnectionOutput) Status() pulumi.StringOutput
- func (o ConnectionOutput) ToConnectionOutput() ConnectionOutput
- func (o ConnectionOutput) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput
- func (o ConnectionOutput) VpnGatewayId() pulumi.StringOutput
- type ConnectionState
- type CustomerGateway
- type CustomerGatewayArgs
- type CustomerGatewayArray
- type CustomerGatewayArrayInput
- type CustomerGatewayArrayOutput
- func (CustomerGatewayArrayOutput) ElementType() reflect.Type
- func (o CustomerGatewayArrayOutput) Index(i pulumi.IntInput) CustomerGatewayOutput
- func (o CustomerGatewayArrayOutput) ToCustomerGatewayArrayOutput() CustomerGatewayArrayOutput
- func (o CustomerGatewayArrayOutput) ToCustomerGatewayArrayOutputWithContext(ctx context.Context) CustomerGatewayArrayOutput
- type CustomerGatewayInput
- type CustomerGatewayMap
- type CustomerGatewayMapInput
- type CustomerGatewayMapOutput
- func (CustomerGatewayMapOutput) ElementType() reflect.Type
- func (o CustomerGatewayMapOutput) MapIndex(k pulumi.StringInput) CustomerGatewayOutput
- func (o CustomerGatewayMapOutput) ToCustomerGatewayMapOutput() CustomerGatewayMapOutput
- func (o CustomerGatewayMapOutput) ToCustomerGatewayMapOutputWithContext(ctx context.Context) CustomerGatewayMapOutput
- type CustomerGatewayOutput
- func (o CustomerGatewayOutput) Asn() pulumi.StringPtrOutput
- func (o CustomerGatewayOutput) Description() pulumi.StringPtrOutput
- func (CustomerGatewayOutput) ElementType() reflect.Type
- func (o CustomerGatewayOutput) IpAddress() pulumi.StringOutput
- func (o CustomerGatewayOutput) Name() pulumi.StringOutput
- func (o CustomerGatewayOutput) ToCustomerGatewayOutput() CustomerGatewayOutput
- func (o CustomerGatewayOutput) ToCustomerGatewayOutputWithContext(ctx context.Context) CustomerGatewayOutput
- type CustomerGatewayState
- type Gateway
- type GatewayArgs
- type GatewayArray
- type GatewayArrayInput
- type GatewayArrayOutput
- type GatewayInput
- type GatewayMap
- type GatewayMapInput
- type GatewayMapOutput
- type GatewayOutput
- func (o GatewayOutput) AutoPay() pulumi.BoolPtrOutput
- func (o GatewayOutput) AutoPropagate() pulumi.BoolPtrOutput
- func (o GatewayOutput) Bandwidth() pulumi.IntOutput
- func (o GatewayOutput) BusinessStatus() pulumi.StringOutput
- func (o GatewayOutput) Description() pulumi.StringPtrOutput
- func (GatewayOutput) ElementType() reflect.Type
- func (o GatewayOutput) EnableIpsec() pulumi.BoolPtrOutput
- func (o GatewayOutput) EnableSsl() pulumi.BoolPtrOutput
- func (o GatewayOutput) InstanceChargeType() pulumi.StringPtrOutput
- func (o GatewayOutput) InternetIp() pulumi.StringOutput
- func (o GatewayOutput) Name() pulumi.StringOutput
- func (o GatewayOutput) NetworkType() pulumi.StringOutput
- func (o GatewayOutput) Period() pulumi.IntPtrOutput
- func (o GatewayOutput) SslConnections() pulumi.IntPtrOutput
- func (o GatewayOutput) Status() pulumi.StringOutput
- func (o GatewayOutput) Tags() pulumi.MapOutput
- func (o GatewayOutput) ToGatewayOutput() GatewayOutput
- func (o GatewayOutput) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput
- func (o GatewayOutput) VpcId() pulumi.StringOutput
- func (o GatewayOutput) VswitchId() pulumi.StringOutput
- type GatewayState
- type GatewayVpnAttachment
- type GatewayVpnAttachmentArgs
- type GatewayVpnAttachmentArray
- type GatewayVpnAttachmentArrayInput
- type GatewayVpnAttachmentArrayOutput
- func (GatewayVpnAttachmentArrayOutput) ElementType() reflect.Type
- func (o GatewayVpnAttachmentArrayOutput) Index(i pulumi.IntInput) GatewayVpnAttachmentOutput
- func (o GatewayVpnAttachmentArrayOutput) ToGatewayVpnAttachmentArrayOutput() GatewayVpnAttachmentArrayOutput
- func (o GatewayVpnAttachmentArrayOutput) ToGatewayVpnAttachmentArrayOutputWithContext(ctx context.Context) GatewayVpnAttachmentArrayOutput
- type GatewayVpnAttachmentBgpConfig
- type GatewayVpnAttachmentBgpConfigArgs
- func (GatewayVpnAttachmentBgpConfigArgs) ElementType() reflect.Type
- func (i GatewayVpnAttachmentBgpConfigArgs) ToGatewayVpnAttachmentBgpConfigOutput() GatewayVpnAttachmentBgpConfigOutput
- func (i GatewayVpnAttachmentBgpConfigArgs) ToGatewayVpnAttachmentBgpConfigOutputWithContext(ctx context.Context) GatewayVpnAttachmentBgpConfigOutput
- func (i GatewayVpnAttachmentBgpConfigArgs) ToGatewayVpnAttachmentBgpConfigPtrOutput() GatewayVpnAttachmentBgpConfigPtrOutput
- func (i GatewayVpnAttachmentBgpConfigArgs) ToGatewayVpnAttachmentBgpConfigPtrOutputWithContext(ctx context.Context) GatewayVpnAttachmentBgpConfigPtrOutput
- type GatewayVpnAttachmentBgpConfigInput
- type GatewayVpnAttachmentBgpConfigOutput
- func (GatewayVpnAttachmentBgpConfigOutput) ElementType() reflect.Type
- func (o GatewayVpnAttachmentBgpConfigOutput) Enable() pulumi.BoolPtrOutput
- func (o GatewayVpnAttachmentBgpConfigOutput) LocalAsn() pulumi.IntPtrOutput
- func (o GatewayVpnAttachmentBgpConfigOutput) LocalBgpIp() pulumi.StringPtrOutput
- func (o GatewayVpnAttachmentBgpConfigOutput) ToGatewayVpnAttachmentBgpConfigOutput() GatewayVpnAttachmentBgpConfigOutput
- func (o GatewayVpnAttachmentBgpConfigOutput) ToGatewayVpnAttachmentBgpConfigOutputWithContext(ctx context.Context) GatewayVpnAttachmentBgpConfigOutput
- func (o GatewayVpnAttachmentBgpConfigOutput) ToGatewayVpnAttachmentBgpConfigPtrOutput() GatewayVpnAttachmentBgpConfigPtrOutput
- func (o GatewayVpnAttachmentBgpConfigOutput) ToGatewayVpnAttachmentBgpConfigPtrOutputWithContext(ctx context.Context) GatewayVpnAttachmentBgpConfigPtrOutput
- func (o GatewayVpnAttachmentBgpConfigOutput) TunnelCidr() pulumi.StringPtrOutput
- type GatewayVpnAttachmentBgpConfigPtrInput
- type GatewayVpnAttachmentBgpConfigPtrOutput
- func (o GatewayVpnAttachmentBgpConfigPtrOutput) Elem() GatewayVpnAttachmentBgpConfigOutput
- func (GatewayVpnAttachmentBgpConfigPtrOutput) ElementType() reflect.Type
- func (o GatewayVpnAttachmentBgpConfigPtrOutput) Enable() pulumi.BoolPtrOutput
- func (o GatewayVpnAttachmentBgpConfigPtrOutput) LocalAsn() pulumi.IntPtrOutput
- func (o GatewayVpnAttachmentBgpConfigPtrOutput) LocalBgpIp() pulumi.StringPtrOutput
- func (o GatewayVpnAttachmentBgpConfigPtrOutput) ToGatewayVpnAttachmentBgpConfigPtrOutput() GatewayVpnAttachmentBgpConfigPtrOutput
- func (o GatewayVpnAttachmentBgpConfigPtrOutput) ToGatewayVpnAttachmentBgpConfigPtrOutputWithContext(ctx context.Context) GatewayVpnAttachmentBgpConfigPtrOutput
- func (o GatewayVpnAttachmentBgpConfigPtrOutput) TunnelCidr() pulumi.StringPtrOutput
- type GatewayVpnAttachmentHealthCheckConfig
- type GatewayVpnAttachmentHealthCheckConfigArgs
- func (GatewayVpnAttachmentHealthCheckConfigArgs) ElementType() reflect.Type
- func (i GatewayVpnAttachmentHealthCheckConfigArgs) ToGatewayVpnAttachmentHealthCheckConfigOutput() GatewayVpnAttachmentHealthCheckConfigOutput
- func (i GatewayVpnAttachmentHealthCheckConfigArgs) ToGatewayVpnAttachmentHealthCheckConfigOutputWithContext(ctx context.Context) GatewayVpnAttachmentHealthCheckConfigOutput
- func (i GatewayVpnAttachmentHealthCheckConfigArgs) ToGatewayVpnAttachmentHealthCheckConfigPtrOutput() GatewayVpnAttachmentHealthCheckConfigPtrOutput
- func (i GatewayVpnAttachmentHealthCheckConfigArgs) ToGatewayVpnAttachmentHealthCheckConfigPtrOutputWithContext(ctx context.Context) GatewayVpnAttachmentHealthCheckConfigPtrOutput
- type GatewayVpnAttachmentHealthCheckConfigInput
- type GatewayVpnAttachmentHealthCheckConfigOutput
- func (o GatewayVpnAttachmentHealthCheckConfigOutput) Dip() pulumi.StringPtrOutput
- func (GatewayVpnAttachmentHealthCheckConfigOutput) ElementType() reflect.Type
- func (o GatewayVpnAttachmentHealthCheckConfigOutput) Enable() pulumi.BoolPtrOutput
- func (o GatewayVpnAttachmentHealthCheckConfigOutput) Interval() pulumi.IntPtrOutput
- func (o GatewayVpnAttachmentHealthCheckConfigOutput) Policy() pulumi.StringPtrOutput
- func (o GatewayVpnAttachmentHealthCheckConfigOutput) Retry() pulumi.IntPtrOutput
- func (o GatewayVpnAttachmentHealthCheckConfigOutput) Sip() pulumi.StringPtrOutput
- func (o GatewayVpnAttachmentHealthCheckConfigOutput) ToGatewayVpnAttachmentHealthCheckConfigOutput() GatewayVpnAttachmentHealthCheckConfigOutput
- func (o GatewayVpnAttachmentHealthCheckConfigOutput) ToGatewayVpnAttachmentHealthCheckConfigOutputWithContext(ctx context.Context) GatewayVpnAttachmentHealthCheckConfigOutput
- func (o GatewayVpnAttachmentHealthCheckConfigOutput) ToGatewayVpnAttachmentHealthCheckConfigPtrOutput() GatewayVpnAttachmentHealthCheckConfigPtrOutput
- func (o GatewayVpnAttachmentHealthCheckConfigOutput) ToGatewayVpnAttachmentHealthCheckConfigPtrOutputWithContext(ctx context.Context) GatewayVpnAttachmentHealthCheckConfigPtrOutput
- type GatewayVpnAttachmentHealthCheckConfigPtrInput
- type GatewayVpnAttachmentHealthCheckConfigPtrOutput
- func (o GatewayVpnAttachmentHealthCheckConfigPtrOutput) Dip() pulumi.StringPtrOutput
- func (o GatewayVpnAttachmentHealthCheckConfigPtrOutput) Elem() GatewayVpnAttachmentHealthCheckConfigOutput
- func (GatewayVpnAttachmentHealthCheckConfigPtrOutput) ElementType() reflect.Type
- func (o GatewayVpnAttachmentHealthCheckConfigPtrOutput) Enable() pulumi.BoolPtrOutput
- func (o GatewayVpnAttachmentHealthCheckConfigPtrOutput) Interval() pulumi.IntPtrOutput
- func (o GatewayVpnAttachmentHealthCheckConfigPtrOutput) Policy() pulumi.StringPtrOutput
- func (o GatewayVpnAttachmentHealthCheckConfigPtrOutput) Retry() pulumi.IntPtrOutput
- func (o GatewayVpnAttachmentHealthCheckConfigPtrOutput) Sip() pulumi.StringPtrOutput
- func (o GatewayVpnAttachmentHealthCheckConfigPtrOutput) ToGatewayVpnAttachmentHealthCheckConfigPtrOutput() GatewayVpnAttachmentHealthCheckConfigPtrOutput
- func (o GatewayVpnAttachmentHealthCheckConfigPtrOutput) ToGatewayVpnAttachmentHealthCheckConfigPtrOutputWithContext(ctx context.Context) GatewayVpnAttachmentHealthCheckConfigPtrOutput
- type GatewayVpnAttachmentIkeConfig
- type GatewayVpnAttachmentIkeConfigArgs
- func (GatewayVpnAttachmentIkeConfigArgs) ElementType() reflect.Type
- func (i GatewayVpnAttachmentIkeConfigArgs) ToGatewayVpnAttachmentIkeConfigOutput() GatewayVpnAttachmentIkeConfigOutput
- func (i GatewayVpnAttachmentIkeConfigArgs) ToGatewayVpnAttachmentIkeConfigOutputWithContext(ctx context.Context) GatewayVpnAttachmentIkeConfigOutput
- func (i GatewayVpnAttachmentIkeConfigArgs) ToGatewayVpnAttachmentIkeConfigPtrOutput() GatewayVpnAttachmentIkeConfigPtrOutput
- func (i GatewayVpnAttachmentIkeConfigArgs) ToGatewayVpnAttachmentIkeConfigPtrOutputWithContext(ctx context.Context) GatewayVpnAttachmentIkeConfigPtrOutput
- type GatewayVpnAttachmentIkeConfigInput
- type GatewayVpnAttachmentIkeConfigOutput
- func (GatewayVpnAttachmentIkeConfigOutput) ElementType() reflect.Type
- func (o GatewayVpnAttachmentIkeConfigOutput) IkeAuthAlg() pulumi.StringPtrOutput
- func (o GatewayVpnAttachmentIkeConfigOutput) IkeEncAlg() pulumi.StringPtrOutput
- func (o GatewayVpnAttachmentIkeConfigOutput) IkeLifetime() pulumi.IntPtrOutput
- func (o GatewayVpnAttachmentIkeConfigOutput) IkeMode() pulumi.StringPtrOutput
- func (o GatewayVpnAttachmentIkeConfigOutput) IkePfs() pulumi.StringPtrOutput
- func (o GatewayVpnAttachmentIkeConfigOutput) IkeVersion() pulumi.StringPtrOutput
- func (o GatewayVpnAttachmentIkeConfigOutput) LocalId() pulumi.StringPtrOutput
- func (o GatewayVpnAttachmentIkeConfigOutput) Psk() pulumi.StringPtrOutput
- func (o GatewayVpnAttachmentIkeConfigOutput) RemoteId() pulumi.StringPtrOutput
- func (o GatewayVpnAttachmentIkeConfigOutput) ToGatewayVpnAttachmentIkeConfigOutput() GatewayVpnAttachmentIkeConfigOutput
- func (o GatewayVpnAttachmentIkeConfigOutput) ToGatewayVpnAttachmentIkeConfigOutputWithContext(ctx context.Context) GatewayVpnAttachmentIkeConfigOutput
- func (o GatewayVpnAttachmentIkeConfigOutput) ToGatewayVpnAttachmentIkeConfigPtrOutput() GatewayVpnAttachmentIkeConfigPtrOutput
- func (o GatewayVpnAttachmentIkeConfigOutput) ToGatewayVpnAttachmentIkeConfigPtrOutputWithContext(ctx context.Context) GatewayVpnAttachmentIkeConfigPtrOutput
- type GatewayVpnAttachmentIkeConfigPtrInput
- type GatewayVpnAttachmentIkeConfigPtrOutput
- func (o GatewayVpnAttachmentIkeConfigPtrOutput) Elem() GatewayVpnAttachmentIkeConfigOutput
- func (GatewayVpnAttachmentIkeConfigPtrOutput) ElementType() reflect.Type
- func (o GatewayVpnAttachmentIkeConfigPtrOutput) IkeAuthAlg() pulumi.StringPtrOutput
- func (o GatewayVpnAttachmentIkeConfigPtrOutput) IkeEncAlg() pulumi.StringPtrOutput
- func (o GatewayVpnAttachmentIkeConfigPtrOutput) IkeLifetime() pulumi.IntPtrOutput
- func (o GatewayVpnAttachmentIkeConfigPtrOutput) IkeMode() pulumi.StringPtrOutput
- func (o GatewayVpnAttachmentIkeConfigPtrOutput) IkePfs() pulumi.StringPtrOutput
- func (o GatewayVpnAttachmentIkeConfigPtrOutput) IkeVersion() pulumi.StringPtrOutput
- func (o GatewayVpnAttachmentIkeConfigPtrOutput) LocalId() pulumi.StringPtrOutput
- func (o GatewayVpnAttachmentIkeConfigPtrOutput) Psk() pulumi.StringPtrOutput
- func (o GatewayVpnAttachmentIkeConfigPtrOutput) RemoteId() pulumi.StringPtrOutput
- func (o GatewayVpnAttachmentIkeConfigPtrOutput) ToGatewayVpnAttachmentIkeConfigPtrOutput() GatewayVpnAttachmentIkeConfigPtrOutput
- func (o GatewayVpnAttachmentIkeConfigPtrOutput) ToGatewayVpnAttachmentIkeConfigPtrOutputWithContext(ctx context.Context) GatewayVpnAttachmentIkeConfigPtrOutput
- type GatewayVpnAttachmentInput
- type GatewayVpnAttachmentIpsecConfig
- type GatewayVpnAttachmentIpsecConfigArgs
- func (GatewayVpnAttachmentIpsecConfigArgs) ElementType() reflect.Type
- func (i GatewayVpnAttachmentIpsecConfigArgs) ToGatewayVpnAttachmentIpsecConfigOutput() GatewayVpnAttachmentIpsecConfigOutput
- func (i GatewayVpnAttachmentIpsecConfigArgs) ToGatewayVpnAttachmentIpsecConfigOutputWithContext(ctx context.Context) GatewayVpnAttachmentIpsecConfigOutput
- func (i GatewayVpnAttachmentIpsecConfigArgs) ToGatewayVpnAttachmentIpsecConfigPtrOutput() GatewayVpnAttachmentIpsecConfigPtrOutput
- func (i GatewayVpnAttachmentIpsecConfigArgs) ToGatewayVpnAttachmentIpsecConfigPtrOutputWithContext(ctx context.Context) GatewayVpnAttachmentIpsecConfigPtrOutput
- type GatewayVpnAttachmentIpsecConfigInput
- type GatewayVpnAttachmentIpsecConfigOutput
- func (GatewayVpnAttachmentIpsecConfigOutput) ElementType() reflect.Type
- func (o GatewayVpnAttachmentIpsecConfigOutput) IpsecAuthAlg() pulumi.StringPtrOutput
- func (o GatewayVpnAttachmentIpsecConfigOutput) IpsecEncAlg() pulumi.StringPtrOutput
- func (o GatewayVpnAttachmentIpsecConfigOutput) IpsecLifetime() pulumi.IntPtrOutput
- func (o GatewayVpnAttachmentIpsecConfigOutput) IpsecPfs() pulumi.StringPtrOutput
- func (o GatewayVpnAttachmentIpsecConfigOutput) ToGatewayVpnAttachmentIpsecConfigOutput() GatewayVpnAttachmentIpsecConfigOutput
- func (o GatewayVpnAttachmentIpsecConfigOutput) ToGatewayVpnAttachmentIpsecConfigOutputWithContext(ctx context.Context) GatewayVpnAttachmentIpsecConfigOutput
- func (o GatewayVpnAttachmentIpsecConfigOutput) ToGatewayVpnAttachmentIpsecConfigPtrOutput() GatewayVpnAttachmentIpsecConfigPtrOutput
- func (o GatewayVpnAttachmentIpsecConfigOutput) ToGatewayVpnAttachmentIpsecConfigPtrOutputWithContext(ctx context.Context) GatewayVpnAttachmentIpsecConfigPtrOutput
- type GatewayVpnAttachmentIpsecConfigPtrInput
- type GatewayVpnAttachmentIpsecConfigPtrOutput
- func (o GatewayVpnAttachmentIpsecConfigPtrOutput) Elem() GatewayVpnAttachmentIpsecConfigOutput
- func (GatewayVpnAttachmentIpsecConfigPtrOutput) ElementType() reflect.Type
- func (o GatewayVpnAttachmentIpsecConfigPtrOutput) IpsecAuthAlg() pulumi.StringPtrOutput
- func (o GatewayVpnAttachmentIpsecConfigPtrOutput) IpsecEncAlg() pulumi.StringPtrOutput
- func (o GatewayVpnAttachmentIpsecConfigPtrOutput) IpsecLifetime() pulumi.IntPtrOutput
- func (o GatewayVpnAttachmentIpsecConfigPtrOutput) IpsecPfs() pulumi.StringPtrOutput
- func (o GatewayVpnAttachmentIpsecConfigPtrOutput) ToGatewayVpnAttachmentIpsecConfigPtrOutput() GatewayVpnAttachmentIpsecConfigPtrOutput
- func (o GatewayVpnAttachmentIpsecConfigPtrOutput) ToGatewayVpnAttachmentIpsecConfigPtrOutputWithContext(ctx context.Context) GatewayVpnAttachmentIpsecConfigPtrOutput
- type GatewayVpnAttachmentMap
- type GatewayVpnAttachmentMapInput
- type GatewayVpnAttachmentMapOutput
- func (GatewayVpnAttachmentMapOutput) ElementType() reflect.Type
- func (o GatewayVpnAttachmentMapOutput) MapIndex(k pulumi.StringInput) GatewayVpnAttachmentOutput
- func (o GatewayVpnAttachmentMapOutput) ToGatewayVpnAttachmentMapOutput() GatewayVpnAttachmentMapOutput
- func (o GatewayVpnAttachmentMapOutput) ToGatewayVpnAttachmentMapOutputWithContext(ctx context.Context) GatewayVpnAttachmentMapOutput
- type GatewayVpnAttachmentOutput
- func (o GatewayVpnAttachmentOutput) BgpConfig() GatewayVpnAttachmentBgpConfigOutput
- func (o GatewayVpnAttachmentOutput) CustomerGatewayId() pulumi.StringOutput
- func (o GatewayVpnAttachmentOutput) EffectImmediately() pulumi.BoolPtrOutput
- func (GatewayVpnAttachmentOutput) ElementType() reflect.Type
- func (o GatewayVpnAttachmentOutput) EnableDpd() pulumi.BoolOutput
- func (o GatewayVpnAttachmentOutput) EnableNatTraversal() pulumi.BoolOutput
- func (o GatewayVpnAttachmentOutput) HealthCheckConfig() GatewayVpnAttachmentHealthCheckConfigOutput
- func (o GatewayVpnAttachmentOutput) IkeConfig() GatewayVpnAttachmentIkeConfigOutput
- func (o GatewayVpnAttachmentOutput) InternetIp() pulumi.StringOutput
- func (o GatewayVpnAttachmentOutput) IpsecConfig() GatewayVpnAttachmentIpsecConfigOutput
- func (o GatewayVpnAttachmentOutput) LocalSubnet() pulumi.StringOutput
- func (o GatewayVpnAttachmentOutput) NetworkType() pulumi.StringOutput
- func (o GatewayVpnAttachmentOutput) RemoteSubnet() pulumi.StringOutput
- func (o GatewayVpnAttachmentOutput) Status() pulumi.StringOutput
- func (o GatewayVpnAttachmentOutput) ToGatewayVpnAttachmentOutput() GatewayVpnAttachmentOutput
- func (o GatewayVpnAttachmentOutput) ToGatewayVpnAttachmentOutputWithContext(ctx context.Context) GatewayVpnAttachmentOutput
- func (o GatewayVpnAttachmentOutput) VpnAttachmentName() pulumi.StringPtrOutput
- type GatewayVpnAttachmentState
- type GetConnectionsArgs
- type GetConnectionsConnection
- type GetConnectionsConnectionArgs
- func (GetConnectionsConnectionArgs) ElementType() reflect.Type
- func (i GetConnectionsConnectionArgs) ToGetConnectionsConnectionOutput() GetConnectionsConnectionOutput
- func (i GetConnectionsConnectionArgs) ToGetConnectionsConnectionOutputWithContext(ctx context.Context) GetConnectionsConnectionOutput
- type GetConnectionsConnectionArray
- func (GetConnectionsConnectionArray) ElementType() reflect.Type
- func (i GetConnectionsConnectionArray) ToGetConnectionsConnectionArrayOutput() GetConnectionsConnectionArrayOutput
- func (i GetConnectionsConnectionArray) ToGetConnectionsConnectionArrayOutputWithContext(ctx context.Context) GetConnectionsConnectionArrayOutput
- type GetConnectionsConnectionArrayInput
- type GetConnectionsConnectionArrayOutput
- func (GetConnectionsConnectionArrayOutput) ElementType() reflect.Type
- func (o GetConnectionsConnectionArrayOutput) Index(i pulumi.IntInput) GetConnectionsConnectionOutput
- func (o GetConnectionsConnectionArrayOutput) ToGetConnectionsConnectionArrayOutput() GetConnectionsConnectionArrayOutput
- func (o GetConnectionsConnectionArrayOutput) ToGetConnectionsConnectionArrayOutputWithContext(ctx context.Context) GetConnectionsConnectionArrayOutput
- type GetConnectionsConnectionIkeConfig
- type GetConnectionsConnectionIkeConfigArgs
- func (GetConnectionsConnectionIkeConfigArgs) ElementType() reflect.Type
- func (i GetConnectionsConnectionIkeConfigArgs) ToGetConnectionsConnectionIkeConfigOutput() GetConnectionsConnectionIkeConfigOutput
- func (i GetConnectionsConnectionIkeConfigArgs) ToGetConnectionsConnectionIkeConfigOutputWithContext(ctx context.Context) GetConnectionsConnectionIkeConfigOutput
- type GetConnectionsConnectionIkeConfigArray
- func (GetConnectionsConnectionIkeConfigArray) ElementType() reflect.Type
- func (i GetConnectionsConnectionIkeConfigArray) ToGetConnectionsConnectionIkeConfigArrayOutput() GetConnectionsConnectionIkeConfigArrayOutput
- func (i GetConnectionsConnectionIkeConfigArray) ToGetConnectionsConnectionIkeConfigArrayOutputWithContext(ctx context.Context) GetConnectionsConnectionIkeConfigArrayOutput
- type GetConnectionsConnectionIkeConfigArrayInput
- type GetConnectionsConnectionIkeConfigArrayOutput
- func (GetConnectionsConnectionIkeConfigArrayOutput) ElementType() reflect.Type
- func (o GetConnectionsConnectionIkeConfigArrayOutput) Index(i pulumi.IntInput) GetConnectionsConnectionIkeConfigOutput
- func (o GetConnectionsConnectionIkeConfigArrayOutput) ToGetConnectionsConnectionIkeConfigArrayOutput() GetConnectionsConnectionIkeConfigArrayOutput
- func (o GetConnectionsConnectionIkeConfigArrayOutput) ToGetConnectionsConnectionIkeConfigArrayOutputWithContext(ctx context.Context) GetConnectionsConnectionIkeConfigArrayOutput
- type GetConnectionsConnectionIkeConfigInput
- type GetConnectionsConnectionIkeConfigOutput
- func (GetConnectionsConnectionIkeConfigOutput) ElementType() reflect.Type
- func (o GetConnectionsConnectionIkeConfigOutput) IkeAuthAlg() pulumi.StringPtrOutput
- func (o GetConnectionsConnectionIkeConfigOutput) IkeEncAlg() pulumi.StringPtrOutput
- func (o GetConnectionsConnectionIkeConfigOutput) IkeLifetime() pulumi.IntPtrOutput
- func (o GetConnectionsConnectionIkeConfigOutput) IkeLocalId() pulumi.StringPtrOutput
- func (o GetConnectionsConnectionIkeConfigOutput) IkeMode() pulumi.StringPtrOutput
- func (o GetConnectionsConnectionIkeConfigOutput) IkePfs() pulumi.StringPtrOutput
- func (o GetConnectionsConnectionIkeConfigOutput) IkeRemoteId() pulumi.StringPtrOutput
- func (o GetConnectionsConnectionIkeConfigOutput) IkeVersion() pulumi.StringPtrOutput
- func (o GetConnectionsConnectionIkeConfigOutput) Psk() pulumi.StringPtrOutput
- func (o GetConnectionsConnectionIkeConfigOutput) ToGetConnectionsConnectionIkeConfigOutput() GetConnectionsConnectionIkeConfigOutput
- func (o GetConnectionsConnectionIkeConfigOutput) ToGetConnectionsConnectionIkeConfigOutputWithContext(ctx context.Context) GetConnectionsConnectionIkeConfigOutput
- type GetConnectionsConnectionInput
- type GetConnectionsConnectionIpsecConfig
- type GetConnectionsConnectionIpsecConfigArgs
- func (GetConnectionsConnectionIpsecConfigArgs) ElementType() reflect.Type
- func (i GetConnectionsConnectionIpsecConfigArgs) ToGetConnectionsConnectionIpsecConfigOutput() GetConnectionsConnectionIpsecConfigOutput
- func (i GetConnectionsConnectionIpsecConfigArgs) ToGetConnectionsConnectionIpsecConfigOutputWithContext(ctx context.Context) GetConnectionsConnectionIpsecConfigOutput
- type GetConnectionsConnectionIpsecConfigArray
- func (GetConnectionsConnectionIpsecConfigArray) ElementType() reflect.Type
- func (i GetConnectionsConnectionIpsecConfigArray) ToGetConnectionsConnectionIpsecConfigArrayOutput() GetConnectionsConnectionIpsecConfigArrayOutput
- func (i GetConnectionsConnectionIpsecConfigArray) ToGetConnectionsConnectionIpsecConfigArrayOutputWithContext(ctx context.Context) GetConnectionsConnectionIpsecConfigArrayOutput
- type GetConnectionsConnectionIpsecConfigArrayInput
- type GetConnectionsConnectionIpsecConfigArrayOutput
- func (GetConnectionsConnectionIpsecConfigArrayOutput) ElementType() reflect.Type
- func (o GetConnectionsConnectionIpsecConfigArrayOutput) Index(i pulumi.IntInput) GetConnectionsConnectionIpsecConfigOutput
- func (o GetConnectionsConnectionIpsecConfigArrayOutput) ToGetConnectionsConnectionIpsecConfigArrayOutput() GetConnectionsConnectionIpsecConfigArrayOutput
- func (o GetConnectionsConnectionIpsecConfigArrayOutput) ToGetConnectionsConnectionIpsecConfigArrayOutputWithContext(ctx context.Context) GetConnectionsConnectionIpsecConfigArrayOutput
- type GetConnectionsConnectionIpsecConfigInput
- type GetConnectionsConnectionIpsecConfigOutput
- func (GetConnectionsConnectionIpsecConfigOutput) ElementType() reflect.Type
- func (o GetConnectionsConnectionIpsecConfigOutput) IpsecAuthAlg() pulumi.StringPtrOutput
- func (o GetConnectionsConnectionIpsecConfigOutput) IpsecEncAlg() pulumi.StringPtrOutput
- func (o GetConnectionsConnectionIpsecConfigOutput) IpsecLifetime() pulumi.IntPtrOutput
- func (o GetConnectionsConnectionIpsecConfigOutput) IpsecPfs() pulumi.StringPtrOutput
- func (o GetConnectionsConnectionIpsecConfigOutput) ToGetConnectionsConnectionIpsecConfigOutput() GetConnectionsConnectionIpsecConfigOutput
- func (o GetConnectionsConnectionIpsecConfigOutput) ToGetConnectionsConnectionIpsecConfigOutputWithContext(ctx context.Context) GetConnectionsConnectionIpsecConfigOutput
- type GetConnectionsConnectionOutput
- func (o GetConnectionsConnectionOutput) CreateTime() pulumi.StringOutput
- func (o GetConnectionsConnectionOutput) CustomerGatewayId() pulumi.StringOutput
- func (o GetConnectionsConnectionOutput) EffectImmediately() pulumi.BoolOutput
- func (GetConnectionsConnectionOutput) ElementType() reflect.Type
- func (o GetConnectionsConnectionOutput) Id() pulumi.StringOutput
- func (o GetConnectionsConnectionOutput) IkeConfigs() GetConnectionsConnectionIkeConfigArrayOutput
- func (o GetConnectionsConnectionOutput) IpsecConfigs() GetConnectionsConnectionIpsecConfigArrayOutput
- func (o GetConnectionsConnectionOutput) LocalSubnet() pulumi.StringOutput
- func (o GetConnectionsConnectionOutput) Name() pulumi.StringOutput
- func (o GetConnectionsConnectionOutput) RemoteSubnet() pulumi.StringOutput
- func (o GetConnectionsConnectionOutput) Status() pulumi.StringOutput
- func (o GetConnectionsConnectionOutput) ToGetConnectionsConnectionOutput() GetConnectionsConnectionOutput
- func (o GetConnectionsConnectionOutput) ToGetConnectionsConnectionOutputWithContext(ctx context.Context) GetConnectionsConnectionOutput
- func (o GetConnectionsConnectionOutput) VpnGatewayId() pulumi.StringOutput
- type GetConnectionsOutputArgs
- type GetConnectionsResult
- type GetConnectionsResultOutput
- func (o GetConnectionsResultOutput) Connections() GetConnectionsConnectionArrayOutput
- func (o GetConnectionsResultOutput) CustomerGatewayId() pulumi.StringPtrOutput
- func (GetConnectionsResultOutput) ElementType() reflect.Type
- func (o GetConnectionsResultOutput) Id() pulumi.StringOutput
- func (o GetConnectionsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetConnectionsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetConnectionsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetConnectionsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetConnectionsResultOutput) ToGetConnectionsResultOutput() GetConnectionsResultOutput
- func (o GetConnectionsResultOutput) ToGetConnectionsResultOutputWithContext(ctx context.Context) GetConnectionsResultOutput
- func (o GetConnectionsResultOutput) VpnGatewayId() pulumi.StringPtrOutput
- type GetCustomerGatewaysArgs
- type GetCustomerGatewaysGateway
- type GetCustomerGatewaysGatewayArgs
- func (GetCustomerGatewaysGatewayArgs) ElementType() reflect.Type
- func (i GetCustomerGatewaysGatewayArgs) ToGetCustomerGatewaysGatewayOutput() GetCustomerGatewaysGatewayOutput
- func (i GetCustomerGatewaysGatewayArgs) ToGetCustomerGatewaysGatewayOutputWithContext(ctx context.Context) GetCustomerGatewaysGatewayOutput
- type GetCustomerGatewaysGatewayArray
- func (GetCustomerGatewaysGatewayArray) ElementType() reflect.Type
- func (i GetCustomerGatewaysGatewayArray) ToGetCustomerGatewaysGatewayArrayOutput() GetCustomerGatewaysGatewayArrayOutput
- func (i GetCustomerGatewaysGatewayArray) ToGetCustomerGatewaysGatewayArrayOutputWithContext(ctx context.Context) GetCustomerGatewaysGatewayArrayOutput
- type GetCustomerGatewaysGatewayArrayInput
- type GetCustomerGatewaysGatewayArrayOutput
- func (GetCustomerGatewaysGatewayArrayOutput) ElementType() reflect.Type
- func (o GetCustomerGatewaysGatewayArrayOutput) Index(i pulumi.IntInput) GetCustomerGatewaysGatewayOutput
- func (o GetCustomerGatewaysGatewayArrayOutput) ToGetCustomerGatewaysGatewayArrayOutput() GetCustomerGatewaysGatewayArrayOutput
- func (o GetCustomerGatewaysGatewayArrayOutput) ToGetCustomerGatewaysGatewayArrayOutputWithContext(ctx context.Context) GetCustomerGatewaysGatewayArrayOutput
- type GetCustomerGatewaysGatewayInput
- type GetCustomerGatewaysGatewayOutput
- func (o GetCustomerGatewaysGatewayOutput) Asn() pulumi.IntOutput
- func (o GetCustomerGatewaysGatewayOutput) CreateTime() pulumi.StringOutput
- func (o GetCustomerGatewaysGatewayOutput) Description() pulumi.StringOutput
- func (GetCustomerGatewaysGatewayOutput) ElementType() reflect.Type
- func (o GetCustomerGatewaysGatewayOutput) Id() pulumi.StringOutput
- func (o GetCustomerGatewaysGatewayOutput) IpAddress() pulumi.StringOutput
- func (o GetCustomerGatewaysGatewayOutput) Name() pulumi.StringOutput
- func (o GetCustomerGatewaysGatewayOutput) ToGetCustomerGatewaysGatewayOutput() GetCustomerGatewaysGatewayOutput
- func (o GetCustomerGatewaysGatewayOutput) ToGetCustomerGatewaysGatewayOutputWithContext(ctx context.Context) GetCustomerGatewaysGatewayOutput
- type GetCustomerGatewaysOutputArgs
- type GetCustomerGatewaysResult
- type GetCustomerGatewaysResultOutput
- func (GetCustomerGatewaysResultOutput) ElementType() reflect.Type
- func (o GetCustomerGatewaysResultOutput) Gateways() GetCustomerGatewaysGatewayArrayOutput
- func (o GetCustomerGatewaysResultOutput) Id() pulumi.StringOutput
- func (o GetCustomerGatewaysResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetCustomerGatewaysResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetCustomerGatewaysResultOutput) Names() pulumi.StringArrayOutput
- func (o GetCustomerGatewaysResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetCustomerGatewaysResultOutput) ToGetCustomerGatewaysResultOutput() GetCustomerGatewaysResultOutput
- func (o GetCustomerGatewaysResultOutput) ToGetCustomerGatewaysResultOutputWithContext(ctx context.Context) GetCustomerGatewaysResultOutput
- type GetGatewayVpnAttachmentsArgs
- type GetGatewayVpnAttachmentsAttachment
- type GetGatewayVpnAttachmentsAttachmentArgs
- func (GetGatewayVpnAttachmentsAttachmentArgs) ElementType() reflect.Type
- func (i GetGatewayVpnAttachmentsAttachmentArgs) ToGetGatewayVpnAttachmentsAttachmentOutput() GetGatewayVpnAttachmentsAttachmentOutput
- func (i GetGatewayVpnAttachmentsAttachmentArgs) ToGetGatewayVpnAttachmentsAttachmentOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentOutput
- type GetGatewayVpnAttachmentsAttachmentArray
- func (GetGatewayVpnAttachmentsAttachmentArray) ElementType() reflect.Type
- func (i GetGatewayVpnAttachmentsAttachmentArray) ToGetGatewayVpnAttachmentsAttachmentArrayOutput() GetGatewayVpnAttachmentsAttachmentArrayOutput
- func (i GetGatewayVpnAttachmentsAttachmentArray) ToGetGatewayVpnAttachmentsAttachmentArrayOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentArrayOutput
- type GetGatewayVpnAttachmentsAttachmentArrayInput
- type GetGatewayVpnAttachmentsAttachmentArrayOutput
- func (GetGatewayVpnAttachmentsAttachmentArrayOutput) ElementType() reflect.Type
- func (o GetGatewayVpnAttachmentsAttachmentArrayOutput) Index(i pulumi.IntInput) GetGatewayVpnAttachmentsAttachmentOutput
- func (o GetGatewayVpnAttachmentsAttachmentArrayOutput) ToGetGatewayVpnAttachmentsAttachmentArrayOutput() GetGatewayVpnAttachmentsAttachmentArrayOutput
- func (o GetGatewayVpnAttachmentsAttachmentArrayOutput) ToGetGatewayVpnAttachmentsAttachmentArrayOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentArrayOutput
- type GetGatewayVpnAttachmentsAttachmentBgpConfig
- type GetGatewayVpnAttachmentsAttachmentBgpConfigArgs
- func (GetGatewayVpnAttachmentsAttachmentBgpConfigArgs) ElementType() reflect.Type
- func (i GetGatewayVpnAttachmentsAttachmentBgpConfigArgs) ToGetGatewayVpnAttachmentsAttachmentBgpConfigOutput() GetGatewayVpnAttachmentsAttachmentBgpConfigOutput
- func (i GetGatewayVpnAttachmentsAttachmentBgpConfigArgs) ToGetGatewayVpnAttachmentsAttachmentBgpConfigOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentBgpConfigOutput
- type GetGatewayVpnAttachmentsAttachmentBgpConfigArray
- func (GetGatewayVpnAttachmentsAttachmentBgpConfigArray) ElementType() reflect.Type
- func (i GetGatewayVpnAttachmentsAttachmentBgpConfigArray) ToGetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput() GetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput
- func (i GetGatewayVpnAttachmentsAttachmentBgpConfigArray) ToGetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput
- type GetGatewayVpnAttachmentsAttachmentBgpConfigArrayInput
- type GetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput
- func (GetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput) ElementType() reflect.Type
- func (o GetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput) Index(i pulumi.IntInput) GetGatewayVpnAttachmentsAttachmentBgpConfigOutput
- func (o GetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput) ToGetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput() GetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput
- func (o GetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput) ToGetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput
- type GetGatewayVpnAttachmentsAttachmentBgpConfigInput
- type GetGatewayVpnAttachmentsAttachmentBgpConfigOutput
- func (GetGatewayVpnAttachmentsAttachmentBgpConfigOutput) ElementType() reflect.Type
- func (o GetGatewayVpnAttachmentsAttachmentBgpConfigOutput) LocalAsn() pulumi.StringOutput
- func (o GetGatewayVpnAttachmentsAttachmentBgpConfigOutput) LocalBgpIp() pulumi.StringOutput
- func (o GetGatewayVpnAttachmentsAttachmentBgpConfigOutput) Status() pulumi.StringOutput
- func (o GetGatewayVpnAttachmentsAttachmentBgpConfigOutput) ToGetGatewayVpnAttachmentsAttachmentBgpConfigOutput() GetGatewayVpnAttachmentsAttachmentBgpConfigOutput
- func (o GetGatewayVpnAttachmentsAttachmentBgpConfigOutput) ToGetGatewayVpnAttachmentsAttachmentBgpConfigOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentBgpConfigOutput
- func (o GetGatewayVpnAttachmentsAttachmentBgpConfigOutput) TunnelCidr() pulumi.StringOutput
- type GetGatewayVpnAttachmentsAttachmentHealthCheckConfig
- type GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArgs
- func (GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArgs) ElementType() reflect.Type
- func (i GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArgs) ToGetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput() GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput
- func (i GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArgs) ToGetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput
- type GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArray
- func (GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArray) ElementType() reflect.Type
- func (i GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArray) ToGetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput() GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput
- func (i GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArray) ToGetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput
- type GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayInput
- type GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput
- func (GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput) ElementType() reflect.Type
- func (o GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput) Index(i pulumi.IntInput) GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput
- func (o GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput) ToGetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput() GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput
- func (o GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput) ToGetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput
- type GetGatewayVpnAttachmentsAttachmentHealthCheckConfigInput
- type GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput
- func (o GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput) Dip() pulumi.StringOutput
- func (GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput) ElementType() reflect.Type
- func (o GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput) Enable() pulumi.BoolOutput
- func (o GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput) Interval() pulumi.IntOutput
- func (o GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput) Policy() pulumi.StringOutput
- func (o GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput) Retry() pulumi.IntOutput
- func (o GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput) Sip() pulumi.StringOutput
- func (o GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput) Status() pulumi.StringOutput
- func (o GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput) ToGetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput() GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput
- func (o GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput) ToGetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput
- type GetGatewayVpnAttachmentsAttachmentIkeConfig
- type GetGatewayVpnAttachmentsAttachmentIkeConfigArgs
- func (GetGatewayVpnAttachmentsAttachmentIkeConfigArgs) ElementType() reflect.Type
- func (i GetGatewayVpnAttachmentsAttachmentIkeConfigArgs) ToGetGatewayVpnAttachmentsAttachmentIkeConfigOutput() GetGatewayVpnAttachmentsAttachmentIkeConfigOutput
- func (i GetGatewayVpnAttachmentsAttachmentIkeConfigArgs) ToGetGatewayVpnAttachmentsAttachmentIkeConfigOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentIkeConfigOutput
- type GetGatewayVpnAttachmentsAttachmentIkeConfigArray
- func (GetGatewayVpnAttachmentsAttachmentIkeConfigArray) ElementType() reflect.Type
- func (i GetGatewayVpnAttachmentsAttachmentIkeConfigArray) ToGetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput() GetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput
- func (i GetGatewayVpnAttachmentsAttachmentIkeConfigArray) ToGetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput
- type GetGatewayVpnAttachmentsAttachmentIkeConfigArrayInput
- type GetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput
- func (GetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput) ElementType() reflect.Type
- func (o GetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput) Index(i pulumi.IntInput) GetGatewayVpnAttachmentsAttachmentIkeConfigOutput
- func (o GetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput) ToGetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput() GetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput
- func (o GetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput) ToGetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput
- type GetGatewayVpnAttachmentsAttachmentIkeConfigInput
- type GetGatewayVpnAttachmentsAttachmentIkeConfigOutput
- func (GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) ElementType() reflect.Type
- func (o GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) IkeAuthAlg() pulumi.StringOutput
- func (o GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) IkeEncAlg() pulumi.StringOutput
- func (o GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) IkeLifetime() pulumi.StringOutput
- func (o GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) IkeMode() pulumi.StringOutput
- func (o GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) IkePfs() pulumi.StringOutput
- func (o GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) IkeVersion() pulumi.StringOutput
- func (o GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) LocalId() pulumi.StringOutput
- func (o GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) Psk() pulumi.StringOutput
- func (o GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) RemoteId() pulumi.StringOutput
- func (o GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) ToGetGatewayVpnAttachmentsAttachmentIkeConfigOutput() GetGatewayVpnAttachmentsAttachmentIkeConfigOutput
- func (o GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) ToGetGatewayVpnAttachmentsAttachmentIkeConfigOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentIkeConfigOutput
- type GetGatewayVpnAttachmentsAttachmentInput
- type GetGatewayVpnAttachmentsAttachmentIpsecConfig
- type GetGatewayVpnAttachmentsAttachmentIpsecConfigArgs
- func (GetGatewayVpnAttachmentsAttachmentIpsecConfigArgs) ElementType() reflect.Type
- func (i GetGatewayVpnAttachmentsAttachmentIpsecConfigArgs) ToGetGatewayVpnAttachmentsAttachmentIpsecConfigOutput() GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput
- func (i GetGatewayVpnAttachmentsAttachmentIpsecConfigArgs) ToGetGatewayVpnAttachmentsAttachmentIpsecConfigOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput
- type GetGatewayVpnAttachmentsAttachmentIpsecConfigArray
- func (GetGatewayVpnAttachmentsAttachmentIpsecConfigArray) ElementType() reflect.Type
- func (i GetGatewayVpnAttachmentsAttachmentIpsecConfigArray) ToGetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput() GetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput
- func (i GetGatewayVpnAttachmentsAttachmentIpsecConfigArray) ToGetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput
- type GetGatewayVpnAttachmentsAttachmentIpsecConfigArrayInput
- type GetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput
- func (GetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput) ElementType() reflect.Type
- func (o GetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput) Index(i pulumi.IntInput) GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput
- func (o GetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput) ToGetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput() GetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput
- func (o GetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput) ToGetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput
- type GetGatewayVpnAttachmentsAttachmentIpsecConfigInput
- type GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput
- func (GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput) ElementType() reflect.Type
- func (o GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput) IpsecAuthAlg() pulumi.StringOutput
- func (o GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput) IpsecEncAlg() pulumi.StringOutput
- func (o GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput) IpsecLifetime() pulumi.StringOutput
- func (o GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput) IpsecPfs() pulumi.StringOutput
- func (o GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput) ToGetGatewayVpnAttachmentsAttachmentIpsecConfigOutput() GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput
- func (o GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput) ToGetGatewayVpnAttachmentsAttachmentIpsecConfigOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput
- type GetGatewayVpnAttachmentsAttachmentOutput
- func (o GetGatewayVpnAttachmentsAttachmentOutput) BgpConfigs() GetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput
- func (o GetGatewayVpnAttachmentsAttachmentOutput) ConnectionStatus() pulumi.StringOutput
- func (o GetGatewayVpnAttachmentsAttachmentOutput) CreateTime() pulumi.StringOutput
- func (o GetGatewayVpnAttachmentsAttachmentOutput) CustomerGatewayId() pulumi.StringOutput
- func (o GetGatewayVpnAttachmentsAttachmentOutput) EffectImmediately() pulumi.BoolOutput
- func (GetGatewayVpnAttachmentsAttachmentOutput) ElementType() reflect.Type
- func (o GetGatewayVpnAttachmentsAttachmentOutput) HealthCheckConfigs() GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput
- func (o GetGatewayVpnAttachmentsAttachmentOutput) Id() pulumi.StringOutput
- func (o GetGatewayVpnAttachmentsAttachmentOutput) IkeConfigs() GetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput
- func (o GetGatewayVpnAttachmentsAttachmentOutput) InternetIp() pulumi.StringOutput
- func (o GetGatewayVpnAttachmentsAttachmentOutput) IpsecConfigs() GetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput
- func (o GetGatewayVpnAttachmentsAttachmentOutput) LocalSubnet() pulumi.StringOutput
- func (o GetGatewayVpnAttachmentsAttachmentOutput) NetworkType() pulumi.StringOutput
- func (o GetGatewayVpnAttachmentsAttachmentOutput) RemoteSubnet() pulumi.StringOutput
- func (o GetGatewayVpnAttachmentsAttachmentOutput) Status() pulumi.StringOutput
- func (o GetGatewayVpnAttachmentsAttachmentOutput) ToGetGatewayVpnAttachmentsAttachmentOutput() GetGatewayVpnAttachmentsAttachmentOutput
- func (o GetGatewayVpnAttachmentsAttachmentOutput) ToGetGatewayVpnAttachmentsAttachmentOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentOutput
- func (o GetGatewayVpnAttachmentsAttachmentOutput) VpnAttachmentName() pulumi.StringOutput
- func (o GetGatewayVpnAttachmentsAttachmentOutput) VpnConnectionId() pulumi.StringOutput
- type GetGatewayVpnAttachmentsOutputArgs
- type GetGatewayVpnAttachmentsResult
- type GetGatewayVpnAttachmentsResultOutput
- func (o GetGatewayVpnAttachmentsResultOutput) Attachments() GetGatewayVpnAttachmentsAttachmentArrayOutput
- func (GetGatewayVpnAttachmentsResultOutput) ElementType() reflect.Type
- func (o GetGatewayVpnAttachmentsResultOutput) Id() pulumi.StringOutput
- func (o GetGatewayVpnAttachmentsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetGatewayVpnAttachmentsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetGatewayVpnAttachmentsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetGatewayVpnAttachmentsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetGatewayVpnAttachmentsResultOutput) PageNumber() pulumi.IntPtrOutput
- func (o GetGatewayVpnAttachmentsResultOutput) PageSize() pulumi.IntPtrOutput
- func (o GetGatewayVpnAttachmentsResultOutput) Status() pulumi.StringPtrOutput
- func (o GetGatewayVpnAttachmentsResultOutput) ToGetGatewayVpnAttachmentsResultOutput() GetGatewayVpnAttachmentsResultOutput
- func (o GetGatewayVpnAttachmentsResultOutput) ToGetGatewayVpnAttachmentsResultOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsResultOutput
- func (o GetGatewayVpnAttachmentsResultOutput) VpnGatewayId() pulumi.StringPtrOutputdeprecated
- type GetGatewaysArgs
- type GetGatewaysGateway
- type GetGatewaysGatewayArgs
- type GetGatewaysGatewayArray
- type GetGatewaysGatewayArrayInput
- type GetGatewaysGatewayArrayOutput
- func (GetGatewaysGatewayArrayOutput) ElementType() reflect.Type
- func (o GetGatewaysGatewayArrayOutput) Index(i pulumi.IntInput) GetGatewaysGatewayOutput
- func (o GetGatewaysGatewayArrayOutput) ToGetGatewaysGatewayArrayOutput() GetGatewaysGatewayArrayOutput
- func (o GetGatewaysGatewayArrayOutput) ToGetGatewaysGatewayArrayOutputWithContext(ctx context.Context) GetGatewaysGatewayArrayOutput
- type GetGatewaysGatewayInput
- type GetGatewaysGatewayOutput
- func (o GetGatewaysGatewayOutput) BusinessStatus() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) CreateTime() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) Description() pulumi.StringOutput
- func (GetGatewaysGatewayOutput) ElementType() reflect.Type
- func (o GetGatewaysGatewayOutput) EnableIpsec() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) EnableSsl() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) EndTime() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) Id() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) InstanceChargeType() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) InternetIp() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) Name() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) NetworkType() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) Specification() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) SslConnections() pulumi.IntOutput
- func (o GetGatewaysGatewayOutput) Status() pulumi.StringOutput
- func (o GetGatewaysGatewayOutput) ToGetGatewaysGatewayOutput() GetGatewaysGatewayOutput
- func (o GetGatewaysGatewayOutput) ToGetGatewaysGatewayOutputWithContext(ctx context.Context) GetGatewaysGatewayOutput
- func (o GetGatewaysGatewayOutput) VpcId() pulumi.StringOutput
- type GetGatewaysOutputArgs
- type GetGatewaysResult
- type GetGatewaysResultOutput
- func (o GetGatewaysResultOutput) BusinessStatus() pulumi.StringPtrOutput
- func (GetGatewaysResultOutput) ElementType() reflect.Type
- func (o GetGatewaysResultOutput) EnableIpsec() pulumi.BoolPtrOutputdeprecated
- func (o GetGatewaysResultOutput) Gateways() GetGatewaysGatewayArrayOutput
- func (o GetGatewaysResultOutput) Id() pulumi.StringOutput
- func (o GetGatewaysResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetGatewaysResultOutput) IncludeReservationData() pulumi.BoolPtrOutput
- func (o GetGatewaysResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetGatewaysResultOutput) Names() pulumi.StringArrayOutput
- func (o GetGatewaysResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetGatewaysResultOutput) Status() pulumi.StringPtrOutput
- func (o GetGatewaysResultOutput) ToGetGatewaysResultOutput() GetGatewaysResultOutput
- func (o GetGatewaysResultOutput) ToGetGatewaysResultOutputWithContext(ctx context.Context) GetGatewaysResultOutput
- func (o GetGatewaysResultOutput) VpcId() pulumi.StringPtrOutput
- type IpsecServer
- type IpsecServerArgs
- type IpsecServerArray
- type IpsecServerArrayInput
- type IpsecServerArrayOutput
- func (IpsecServerArrayOutput) ElementType() reflect.Type
- func (o IpsecServerArrayOutput) Index(i pulumi.IntInput) IpsecServerOutput
- func (o IpsecServerArrayOutput) ToIpsecServerArrayOutput() IpsecServerArrayOutput
- func (o IpsecServerArrayOutput) ToIpsecServerArrayOutputWithContext(ctx context.Context) IpsecServerArrayOutput
- type IpsecServerIkeConfig
- type IpsecServerIkeConfigArgs
- type IpsecServerIkeConfigArray
- type IpsecServerIkeConfigArrayInput
- type IpsecServerIkeConfigArrayOutput
- func (IpsecServerIkeConfigArrayOutput) ElementType() reflect.Type
- func (o IpsecServerIkeConfigArrayOutput) Index(i pulumi.IntInput) IpsecServerIkeConfigOutput
- func (o IpsecServerIkeConfigArrayOutput) ToIpsecServerIkeConfigArrayOutput() IpsecServerIkeConfigArrayOutput
- func (o IpsecServerIkeConfigArrayOutput) ToIpsecServerIkeConfigArrayOutputWithContext(ctx context.Context) IpsecServerIkeConfigArrayOutput
- type IpsecServerIkeConfigInput
- type IpsecServerIkeConfigOutput
- func (IpsecServerIkeConfigOutput) ElementType() reflect.Type
- func (o IpsecServerIkeConfigOutput) IkeAuthAlg() pulumi.StringPtrOutput
- func (o IpsecServerIkeConfigOutput) IkeEncAlg() pulumi.StringPtrOutput
- func (o IpsecServerIkeConfigOutput) IkeLifetime() pulumi.IntPtrOutput
- func (o IpsecServerIkeConfigOutput) IkeMode() pulumi.StringPtrOutput
- func (o IpsecServerIkeConfigOutput) IkePfs() pulumi.StringPtrOutput
- func (o IpsecServerIkeConfigOutput) IkeVersion() pulumi.StringPtrOutput
- func (o IpsecServerIkeConfigOutput) LocalId() pulumi.StringPtrOutput
- func (o IpsecServerIkeConfigOutput) RemoteId() pulumi.StringPtrOutput
- func (o IpsecServerIkeConfigOutput) ToIpsecServerIkeConfigOutput() IpsecServerIkeConfigOutput
- func (o IpsecServerIkeConfigOutput) ToIpsecServerIkeConfigOutputWithContext(ctx context.Context) IpsecServerIkeConfigOutput
- type IpsecServerInput
- type IpsecServerIpsecConfig
- type IpsecServerIpsecConfigArgs
- type IpsecServerIpsecConfigArray
- func (IpsecServerIpsecConfigArray) ElementType() reflect.Type
- func (i IpsecServerIpsecConfigArray) ToIpsecServerIpsecConfigArrayOutput() IpsecServerIpsecConfigArrayOutput
- func (i IpsecServerIpsecConfigArray) ToIpsecServerIpsecConfigArrayOutputWithContext(ctx context.Context) IpsecServerIpsecConfigArrayOutput
- type IpsecServerIpsecConfigArrayInput
- type IpsecServerIpsecConfigArrayOutput
- func (IpsecServerIpsecConfigArrayOutput) ElementType() reflect.Type
- func (o IpsecServerIpsecConfigArrayOutput) Index(i pulumi.IntInput) IpsecServerIpsecConfigOutput
- func (o IpsecServerIpsecConfigArrayOutput) ToIpsecServerIpsecConfigArrayOutput() IpsecServerIpsecConfigArrayOutput
- func (o IpsecServerIpsecConfigArrayOutput) ToIpsecServerIpsecConfigArrayOutputWithContext(ctx context.Context) IpsecServerIpsecConfigArrayOutput
- type IpsecServerIpsecConfigInput
- type IpsecServerIpsecConfigOutput
- func (IpsecServerIpsecConfigOutput) ElementType() reflect.Type
- func (o IpsecServerIpsecConfigOutput) IpsecAuthAlg() pulumi.StringPtrOutput
- func (o IpsecServerIpsecConfigOutput) IpsecEncAlg() pulumi.StringPtrOutput
- func (o IpsecServerIpsecConfigOutput) IpsecLifetime() pulumi.IntPtrOutput
- func (o IpsecServerIpsecConfigOutput) IpsecPfs() pulumi.StringPtrOutput
- func (o IpsecServerIpsecConfigOutput) ToIpsecServerIpsecConfigOutput() IpsecServerIpsecConfigOutput
- func (o IpsecServerIpsecConfigOutput) ToIpsecServerIpsecConfigOutputWithContext(ctx context.Context) IpsecServerIpsecConfigOutput
- type IpsecServerMap
- type IpsecServerMapInput
- type IpsecServerMapOutput
- func (IpsecServerMapOutput) ElementType() reflect.Type
- func (o IpsecServerMapOutput) MapIndex(k pulumi.StringInput) IpsecServerOutput
- func (o IpsecServerMapOutput) ToIpsecServerMapOutput() IpsecServerMapOutput
- func (o IpsecServerMapOutput) ToIpsecServerMapOutputWithContext(ctx context.Context) IpsecServerMapOutput
- type IpsecServerOutput
- func (o IpsecServerOutput) ClientIpPool() pulumi.StringOutput
- func (o IpsecServerOutput) DryRun() pulumi.BoolPtrOutput
- func (o IpsecServerOutput) EffectImmediately() pulumi.BoolPtrOutput
- func (IpsecServerOutput) ElementType() reflect.Type
- func (o IpsecServerOutput) IkeConfigs() IpsecServerIkeConfigArrayOutput
- func (o IpsecServerOutput) IpsecConfigs() IpsecServerIpsecConfigArrayOutput
- func (o IpsecServerOutput) IpsecServerName() pulumi.StringPtrOutput
- func (o IpsecServerOutput) LocalSubnet() pulumi.StringOutput
- func (o IpsecServerOutput) Psk() pulumi.StringOutput
- func (o IpsecServerOutput) PskEnabled() pulumi.BoolPtrOutput
- func (o IpsecServerOutput) ToIpsecServerOutput() IpsecServerOutput
- func (o IpsecServerOutput) ToIpsecServerOutputWithContext(ctx context.Context) IpsecServerOutput
- func (o IpsecServerOutput) VpnGatewayId() pulumi.StringOutput
- type IpsecServerState
- type PbrRouteEntry
- type PbrRouteEntryArgs
- type PbrRouteEntryArray
- type PbrRouteEntryArrayInput
- type PbrRouteEntryArrayOutput
- func (PbrRouteEntryArrayOutput) ElementType() reflect.Type
- func (o PbrRouteEntryArrayOutput) Index(i pulumi.IntInput) PbrRouteEntryOutput
- func (o PbrRouteEntryArrayOutput) ToPbrRouteEntryArrayOutput() PbrRouteEntryArrayOutput
- func (o PbrRouteEntryArrayOutput) ToPbrRouteEntryArrayOutputWithContext(ctx context.Context) PbrRouteEntryArrayOutput
- type PbrRouteEntryInput
- type PbrRouteEntryMap
- type PbrRouteEntryMapInput
- type PbrRouteEntryMapOutput
- func (PbrRouteEntryMapOutput) ElementType() reflect.Type
- func (o PbrRouteEntryMapOutput) MapIndex(k pulumi.StringInput) PbrRouteEntryOutput
- func (o PbrRouteEntryMapOutput) ToPbrRouteEntryMapOutput() PbrRouteEntryMapOutput
- func (o PbrRouteEntryMapOutput) ToPbrRouteEntryMapOutputWithContext(ctx context.Context) PbrRouteEntryMapOutput
- type PbrRouteEntryOutput
- func (PbrRouteEntryOutput) ElementType() reflect.Type
- func (o PbrRouteEntryOutput) NextHop() pulumi.StringOutput
- func (o PbrRouteEntryOutput) PublishVpc() pulumi.BoolOutput
- func (o PbrRouteEntryOutput) RouteDest() pulumi.StringOutput
- func (o PbrRouteEntryOutput) RouteSource() pulumi.StringOutput
- func (o PbrRouteEntryOutput) Status() pulumi.StringOutput
- func (o PbrRouteEntryOutput) ToPbrRouteEntryOutput() PbrRouteEntryOutput
- func (o PbrRouteEntryOutput) ToPbrRouteEntryOutputWithContext(ctx context.Context) PbrRouteEntryOutput
- func (o PbrRouteEntryOutput) VpnGatewayId() pulumi.StringOutput
- func (o PbrRouteEntryOutput) Weight() pulumi.IntOutput
- type PbrRouteEntryState
- type RouteEntry
- type RouteEntryArgs
- type RouteEntryArray
- type RouteEntryArrayInput
- type RouteEntryArrayOutput
- func (RouteEntryArrayOutput) ElementType() reflect.Type
- func (o RouteEntryArrayOutput) Index(i pulumi.IntInput) RouteEntryOutput
- func (o RouteEntryArrayOutput) ToRouteEntryArrayOutput() RouteEntryArrayOutput
- func (o RouteEntryArrayOutput) ToRouteEntryArrayOutputWithContext(ctx context.Context) RouteEntryArrayOutput
- type RouteEntryInput
- type RouteEntryMap
- type RouteEntryMapInput
- type RouteEntryMapOutput
- func (RouteEntryMapOutput) ElementType() reflect.Type
- func (o RouteEntryMapOutput) MapIndex(k pulumi.StringInput) RouteEntryOutput
- func (o RouteEntryMapOutput) ToRouteEntryMapOutput() RouteEntryMapOutput
- func (o RouteEntryMapOutput) ToRouteEntryMapOutputWithContext(ctx context.Context) RouteEntryMapOutput
- type RouteEntryOutput
- func (RouteEntryOutput) ElementType() reflect.Type
- func (o RouteEntryOutput) NextHop() pulumi.StringOutput
- func (o RouteEntryOutput) PublishVpc() pulumi.BoolOutput
- func (o RouteEntryOutput) RouteDest() pulumi.StringOutput
- func (o RouteEntryOutput) RouteEntryType() pulumi.StringOutput
- func (o RouteEntryOutput) Status() pulumi.StringOutput
- func (o RouteEntryOutput) ToRouteEntryOutput() RouteEntryOutput
- func (o RouteEntryOutput) ToRouteEntryOutputWithContext(ctx context.Context) RouteEntryOutput
- func (o RouteEntryOutput) VpnGatewayId() pulumi.StringOutput
- func (o RouteEntryOutput) Weight() pulumi.IntOutput
- type RouteEntryState
- type SslVpnClientCert
- type SslVpnClientCertArgs
- type SslVpnClientCertArray
- type SslVpnClientCertArrayInput
- type SslVpnClientCertArrayOutput
- func (SslVpnClientCertArrayOutput) ElementType() reflect.Type
- func (o SslVpnClientCertArrayOutput) Index(i pulumi.IntInput) SslVpnClientCertOutput
- func (o SslVpnClientCertArrayOutput) ToSslVpnClientCertArrayOutput() SslVpnClientCertArrayOutput
- func (o SslVpnClientCertArrayOutput) ToSslVpnClientCertArrayOutputWithContext(ctx context.Context) SslVpnClientCertArrayOutput
- type SslVpnClientCertInput
- type SslVpnClientCertMap
- type SslVpnClientCertMapInput
- type SslVpnClientCertMapOutput
- func (SslVpnClientCertMapOutput) ElementType() reflect.Type
- func (o SslVpnClientCertMapOutput) MapIndex(k pulumi.StringInput) SslVpnClientCertOutput
- func (o SslVpnClientCertMapOutput) ToSslVpnClientCertMapOutput() SslVpnClientCertMapOutput
- func (o SslVpnClientCertMapOutput) ToSslVpnClientCertMapOutputWithContext(ctx context.Context) SslVpnClientCertMapOutput
- type SslVpnClientCertOutput
- func (o SslVpnClientCertOutput) CaCert() pulumi.StringOutput
- func (o SslVpnClientCertOutput) ClientCert() pulumi.StringOutput
- func (o SslVpnClientCertOutput) ClientConfig() pulumi.StringOutput
- func (o SslVpnClientCertOutput) ClientKey() pulumi.StringOutput
- func (SslVpnClientCertOutput) ElementType() reflect.Type
- func (o SslVpnClientCertOutput) Name() pulumi.StringOutput
- func (o SslVpnClientCertOutput) SslVpnServerId() pulumi.StringOutput
- func (o SslVpnClientCertOutput) Status() pulumi.StringOutput
- func (o SslVpnClientCertOutput) ToSslVpnClientCertOutput() SslVpnClientCertOutput
- func (o SslVpnClientCertOutput) ToSslVpnClientCertOutputWithContext(ctx context.Context) SslVpnClientCertOutput
- type SslVpnClientCertState
- type SslVpnServer
- type SslVpnServerArgs
- type SslVpnServerArray
- type SslVpnServerArrayInput
- type SslVpnServerArrayOutput
- func (SslVpnServerArrayOutput) ElementType() reflect.Type
- func (o SslVpnServerArrayOutput) Index(i pulumi.IntInput) SslVpnServerOutput
- func (o SslVpnServerArrayOutput) ToSslVpnServerArrayOutput() SslVpnServerArrayOutput
- func (o SslVpnServerArrayOutput) ToSslVpnServerArrayOutputWithContext(ctx context.Context) SslVpnServerArrayOutput
- type SslVpnServerInput
- type SslVpnServerMap
- type SslVpnServerMapInput
- type SslVpnServerMapOutput
- func (SslVpnServerMapOutput) ElementType() reflect.Type
- func (o SslVpnServerMapOutput) MapIndex(k pulumi.StringInput) SslVpnServerOutput
- func (o SslVpnServerMapOutput) ToSslVpnServerMapOutput() SslVpnServerMapOutput
- func (o SslVpnServerMapOutput) ToSslVpnServerMapOutputWithContext(ctx context.Context) SslVpnServerMapOutput
- type SslVpnServerOutput
- func (o SslVpnServerOutput) Cipher() pulumi.StringPtrOutput
- func (o SslVpnServerOutput) ClientIpPool() pulumi.StringOutput
- func (o SslVpnServerOutput) Compress() pulumi.BoolPtrOutput
- func (o SslVpnServerOutput) Connections() pulumi.IntOutput
- func (SslVpnServerOutput) ElementType() reflect.Type
- func (o SslVpnServerOutput) InternetIp() pulumi.StringOutput
- func (o SslVpnServerOutput) LocalSubnet() pulumi.StringOutput
- func (o SslVpnServerOutput) MaxConnections() pulumi.IntOutput
- func (o SslVpnServerOutput) Name() pulumi.StringOutput
- func (o SslVpnServerOutput) Port() pulumi.IntPtrOutput
- func (o SslVpnServerOutput) Protocol() pulumi.StringPtrOutput
- func (o SslVpnServerOutput) ToSslVpnServerOutput() SslVpnServerOutput
- func (o SslVpnServerOutput) ToSslVpnServerOutputWithContext(ctx context.Context) SslVpnServerOutput
- func (o SslVpnServerOutput) VpnGatewayId() pulumi.StringOutput
- type SslVpnServerState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶ added in v0.0.1
PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.
Types ¶
type Connection ¶
type Connection struct { pulumi.CustomResourceState // The configurations of the BGP routing protocol. See the following `Block bgpConfig`. BgpConfig ConnectionBgpConfigOutput `pulumi:"bgpConfig"` // The ID of the customer gateway. CustomerGatewayId pulumi.StringOutput `pulumi:"customerGatewayId"` // Whether to delete a successfully negotiated IPsec tunnel and initiate a negotiation again. Valid value:true,false. EffectImmediately pulumi.BoolPtrOutput `pulumi:"effectImmediately"` // Whether to enable NAT traversal. EnableDpd pulumi.BoolOutput `pulumi:"enableDpd"` // Whether to enable NAT traversal. EnableNatTraversal pulumi.BoolOutput `pulumi:"enableNatTraversal"` // The health check configurations. See the following `Block healthCheckConfig`. HealthCheckConfig ConnectionHealthCheckConfigOutput `pulumi:"healthCheckConfig"` // The configurations of phase-one negotiation. See the following `Block ikeConfig`. IkeConfig ConnectionIkeConfigOutput `pulumi:"ikeConfig"` // The configurations of phase-two negotiation. See the following `Block ipsecConfig`. IpsecConfig ConnectionIpsecConfigOutput `pulumi:"ipsecConfig"` // The CIDR block of the VPC to be connected with the local data center. This parameter is used for phase-two negotiation. LocalSubnets pulumi.StringArrayOutput `pulumi:"localSubnets"` // The name of the IPsec connection. Name pulumi.StringOutput `pulumi:"name"` // The CIDR block of the local data center. This parameter is used for phase-two negotiation. RemoteSubnets pulumi.StringArrayOutput `pulumi:"remoteSubnets"` // The status of VPN connection. Status pulumi.StringOutput `pulumi:"status"` // The ID of the VPN gateway. VpnGatewayId pulumi.StringOutput `pulumi:"vpnGatewayId"` }
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/vpn" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/vpn"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooGateway, err := vpn.NewGateway(ctx, "fooGateway", &vpn.GatewayArgs{ VpcId: pulumi.String("vpc-fake-id"), Bandwidth: pulumi.Int(10), EnableSsl: pulumi.Bool(true), InstanceChargeType: pulumi.String("PostPaid"), Description: pulumi.String("test_create_description"), }) if err != nil { return err } fooCustomerGateway, err := vpn.NewCustomerGateway(ctx, "fooCustomerGateway", &vpn.CustomerGatewayArgs{ IpAddress: pulumi.String("42.104.22.228"), Description: pulumi.String("testAccVpnCgwDesc"), }) if err != nil { return err } _, err = vpn.NewConnection(ctx, "fooConnection", &vpn.ConnectionArgs{ VpnGatewayId: fooGateway.ID(), CustomerGatewayId: fooCustomerGateway.ID(), LocalSubnets: pulumi.StringArray{ pulumi.String("172.16.0.0/24"), pulumi.String("172.16.1.0/24"), }, RemoteSubnets: pulumi.StringArray{ pulumi.String("10.0.0.0/24"), pulumi.String("10.0.1.0/24"), }, EffectImmediately: pulumi.Bool(true), IkeConfig: &vpn.ConnectionIkeConfigArgs{ IkeAuthAlg: pulumi.String("md5"), IkeEncAlg: pulumi.String("des"), IkeVersion: pulumi.String("ikev1"), IkeMode: pulumi.String("main"), IkeLifetime: pulumi.Int(86400), Psk: pulumi.String("tf-testvpn2"), IkePfs: pulumi.String("group1"), IkeRemoteId: pulumi.String("testbob2"), IkeLocalId: pulumi.String("testalice2"), }, IpsecConfig: &vpn.ConnectionIpsecConfigArgs{ IpsecPfs: pulumi.String("group5"), IpsecEncAlg: pulumi.String("des"), IpsecAuthAlg: pulumi.String("md5"), IpsecLifetime: pulumi.Int(8640), }, }) if err != nil { return err } return nil }) }
```
## Import
VPN connection can be imported using the id, e.g.
```sh
$ pulumi import alicloud:vpn/connection:Connection example vco-abc123456
```
func GetConnection ¶
func GetConnection(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ConnectionState, opts ...pulumi.ResourceOption) (*Connection, error)
GetConnection gets an existing Connection 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 NewConnection ¶
func NewConnection(ctx *pulumi.Context, name string, args *ConnectionArgs, opts ...pulumi.ResourceOption) (*Connection, error)
NewConnection registers a new resource with the given unique name, arguments, and options.
func (*Connection) ElementType ¶
func (*Connection) ElementType() reflect.Type
func (*Connection) ToConnectionOutput ¶
func (i *Connection) ToConnectionOutput() ConnectionOutput
func (*Connection) ToConnectionOutputWithContext ¶
func (i *Connection) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput
type ConnectionArgs ¶
type ConnectionArgs struct { // The configurations of the BGP routing protocol. See the following `Block bgpConfig`. BgpConfig ConnectionBgpConfigPtrInput // The ID of the customer gateway. CustomerGatewayId pulumi.StringInput // Whether to delete a successfully negotiated IPsec tunnel and initiate a negotiation again. Valid value:true,false. EffectImmediately pulumi.BoolPtrInput // Whether to enable NAT traversal. EnableDpd pulumi.BoolPtrInput // Whether to enable NAT traversal. EnableNatTraversal pulumi.BoolPtrInput // The health check configurations. See the following `Block healthCheckConfig`. HealthCheckConfig ConnectionHealthCheckConfigPtrInput // The configurations of phase-one negotiation. See the following `Block ikeConfig`. IkeConfig ConnectionIkeConfigPtrInput // The configurations of phase-two negotiation. See the following `Block ipsecConfig`. IpsecConfig ConnectionIpsecConfigPtrInput // The CIDR block of the VPC to be connected with the local data center. This parameter is used for phase-two negotiation. LocalSubnets pulumi.StringArrayInput // The name of the IPsec connection. Name pulumi.StringPtrInput // The CIDR block of the local data center. This parameter is used for phase-two negotiation. RemoteSubnets pulumi.StringArrayInput // The ID of the VPN gateway. VpnGatewayId pulumi.StringInput }
The set of arguments for constructing a Connection resource.
func (ConnectionArgs) ElementType ¶
func (ConnectionArgs) ElementType() reflect.Type
type ConnectionArray ¶
type ConnectionArray []ConnectionInput
func (ConnectionArray) ElementType ¶
func (ConnectionArray) ElementType() reflect.Type
func (ConnectionArray) ToConnectionArrayOutput ¶
func (i ConnectionArray) ToConnectionArrayOutput() ConnectionArrayOutput
func (ConnectionArray) ToConnectionArrayOutputWithContext ¶
func (i ConnectionArray) ToConnectionArrayOutputWithContext(ctx context.Context) ConnectionArrayOutput
type ConnectionArrayInput ¶
type ConnectionArrayInput interface { pulumi.Input ToConnectionArrayOutput() ConnectionArrayOutput ToConnectionArrayOutputWithContext(context.Context) ConnectionArrayOutput }
ConnectionArrayInput is an input type that accepts ConnectionArray and ConnectionArrayOutput values. You can construct a concrete instance of `ConnectionArrayInput` via:
ConnectionArray{ ConnectionArgs{...} }
type ConnectionArrayOutput ¶
type ConnectionArrayOutput struct{ *pulumi.OutputState }
func (ConnectionArrayOutput) ElementType ¶
func (ConnectionArrayOutput) ElementType() reflect.Type
func (ConnectionArrayOutput) Index ¶
func (o ConnectionArrayOutput) Index(i pulumi.IntInput) ConnectionOutput
func (ConnectionArrayOutput) ToConnectionArrayOutput ¶
func (o ConnectionArrayOutput) ToConnectionArrayOutput() ConnectionArrayOutput
func (ConnectionArrayOutput) ToConnectionArrayOutputWithContext ¶
func (o ConnectionArrayOutput) ToConnectionArrayOutputWithContext(ctx context.Context) ConnectionArrayOutput
type ConnectionBgpConfig ¶
type ConnectionBgpConfig struct { // Whether to enable BGP. Enable *bool `pulumi:"enable"` // The ASN on the Alibaba Cloud side. LocalAsn *string `pulumi:"localAsn"` // The BGP IP address on the Alibaba Cloud side. LocalBgpIp *string `pulumi:"localBgpIp"` // The CIDR block of the IPsec tunnel. The CIDR block belongs to 169.254.0.0/16. The mask of the CIDR block is 30 bits in length. TunnelCidr *string `pulumi:"tunnelCidr"` }
type ConnectionBgpConfigArgs ¶
type ConnectionBgpConfigArgs struct { // Whether to enable BGP. Enable pulumi.BoolPtrInput `pulumi:"enable"` // The ASN on the Alibaba Cloud side. LocalAsn pulumi.StringPtrInput `pulumi:"localAsn"` // The BGP IP address on the Alibaba Cloud side. LocalBgpIp pulumi.StringPtrInput `pulumi:"localBgpIp"` // The CIDR block of the IPsec tunnel. The CIDR block belongs to 169.254.0.0/16. The mask of the CIDR block is 30 bits in length. TunnelCidr pulumi.StringPtrInput `pulumi:"tunnelCidr"` }
func (ConnectionBgpConfigArgs) ElementType ¶
func (ConnectionBgpConfigArgs) ElementType() reflect.Type
func (ConnectionBgpConfigArgs) ToConnectionBgpConfigOutput ¶
func (i ConnectionBgpConfigArgs) ToConnectionBgpConfigOutput() ConnectionBgpConfigOutput
func (ConnectionBgpConfigArgs) ToConnectionBgpConfigOutputWithContext ¶
func (i ConnectionBgpConfigArgs) ToConnectionBgpConfigOutputWithContext(ctx context.Context) ConnectionBgpConfigOutput
func (ConnectionBgpConfigArgs) ToConnectionBgpConfigPtrOutput ¶
func (i ConnectionBgpConfigArgs) ToConnectionBgpConfigPtrOutput() ConnectionBgpConfigPtrOutput
func (ConnectionBgpConfigArgs) ToConnectionBgpConfigPtrOutputWithContext ¶
func (i ConnectionBgpConfigArgs) ToConnectionBgpConfigPtrOutputWithContext(ctx context.Context) ConnectionBgpConfigPtrOutput
type ConnectionBgpConfigInput ¶
type ConnectionBgpConfigInput interface { pulumi.Input ToConnectionBgpConfigOutput() ConnectionBgpConfigOutput ToConnectionBgpConfigOutputWithContext(context.Context) ConnectionBgpConfigOutput }
ConnectionBgpConfigInput is an input type that accepts ConnectionBgpConfigArgs and ConnectionBgpConfigOutput values. You can construct a concrete instance of `ConnectionBgpConfigInput` via:
ConnectionBgpConfigArgs{...}
type ConnectionBgpConfigOutput ¶
type ConnectionBgpConfigOutput struct{ *pulumi.OutputState }
func (ConnectionBgpConfigOutput) ElementType ¶
func (ConnectionBgpConfigOutput) ElementType() reflect.Type
func (ConnectionBgpConfigOutput) Enable ¶
func (o ConnectionBgpConfigOutput) Enable() pulumi.BoolPtrOutput
Whether to enable BGP.
func (ConnectionBgpConfigOutput) LocalAsn ¶
func (o ConnectionBgpConfigOutput) LocalAsn() pulumi.StringPtrOutput
The ASN on the Alibaba Cloud side.
func (ConnectionBgpConfigOutput) LocalBgpIp ¶
func (o ConnectionBgpConfigOutput) LocalBgpIp() pulumi.StringPtrOutput
The BGP IP address on the Alibaba Cloud side.
func (ConnectionBgpConfigOutput) ToConnectionBgpConfigOutput ¶
func (o ConnectionBgpConfigOutput) ToConnectionBgpConfigOutput() ConnectionBgpConfigOutput
func (ConnectionBgpConfigOutput) ToConnectionBgpConfigOutputWithContext ¶
func (o ConnectionBgpConfigOutput) ToConnectionBgpConfigOutputWithContext(ctx context.Context) ConnectionBgpConfigOutput
func (ConnectionBgpConfigOutput) ToConnectionBgpConfigPtrOutput ¶
func (o ConnectionBgpConfigOutput) ToConnectionBgpConfigPtrOutput() ConnectionBgpConfigPtrOutput
func (ConnectionBgpConfigOutput) ToConnectionBgpConfigPtrOutputWithContext ¶
func (o ConnectionBgpConfigOutput) ToConnectionBgpConfigPtrOutputWithContext(ctx context.Context) ConnectionBgpConfigPtrOutput
func (ConnectionBgpConfigOutput) TunnelCidr ¶
func (o ConnectionBgpConfigOutput) TunnelCidr() pulumi.StringPtrOutput
The CIDR block of the IPsec tunnel. The CIDR block belongs to 169.254.0.0/16. The mask of the CIDR block is 30 bits in length.
type ConnectionBgpConfigPtrInput ¶
type ConnectionBgpConfigPtrInput interface { pulumi.Input ToConnectionBgpConfigPtrOutput() ConnectionBgpConfigPtrOutput ToConnectionBgpConfigPtrOutputWithContext(context.Context) ConnectionBgpConfigPtrOutput }
ConnectionBgpConfigPtrInput is an input type that accepts ConnectionBgpConfigArgs, ConnectionBgpConfigPtr and ConnectionBgpConfigPtrOutput values. You can construct a concrete instance of `ConnectionBgpConfigPtrInput` via:
ConnectionBgpConfigArgs{...} or: nil
func ConnectionBgpConfigPtr ¶
func ConnectionBgpConfigPtr(v *ConnectionBgpConfigArgs) ConnectionBgpConfigPtrInput
type ConnectionBgpConfigPtrOutput ¶
type ConnectionBgpConfigPtrOutput struct{ *pulumi.OutputState }
func (ConnectionBgpConfigPtrOutput) Elem ¶
func (o ConnectionBgpConfigPtrOutput) Elem() ConnectionBgpConfigOutput
func (ConnectionBgpConfigPtrOutput) ElementType ¶
func (ConnectionBgpConfigPtrOutput) ElementType() reflect.Type
func (ConnectionBgpConfigPtrOutput) Enable ¶
func (o ConnectionBgpConfigPtrOutput) Enable() pulumi.BoolPtrOutput
Whether to enable BGP.
func (ConnectionBgpConfigPtrOutput) LocalAsn ¶
func (o ConnectionBgpConfigPtrOutput) LocalAsn() pulumi.StringPtrOutput
The ASN on the Alibaba Cloud side.
func (ConnectionBgpConfigPtrOutput) LocalBgpIp ¶
func (o ConnectionBgpConfigPtrOutput) LocalBgpIp() pulumi.StringPtrOutput
The BGP IP address on the Alibaba Cloud side.
func (ConnectionBgpConfigPtrOutput) ToConnectionBgpConfigPtrOutput ¶
func (o ConnectionBgpConfigPtrOutput) ToConnectionBgpConfigPtrOutput() ConnectionBgpConfigPtrOutput
func (ConnectionBgpConfigPtrOutput) ToConnectionBgpConfigPtrOutputWithContext ¶
func (o ConnectionBgpConfigPtrOutput) ToConnectionBgpConfigPtrOutputWithContext(ctx context.Context) ConnectionBgpConfigPtrOutput
func (ConnectionBgpConfigPtrOutput) TunnelCidr ¶
func (o ConnectionBgpConfigPtrOutput) TunnelCidr() pulumi.StringPtrOutput
The CIDR block of the IPsec tunnel. The CIDR block belongs to 169.254.0.0/16. The mask of the CIDR block is 30 bits in length.
type ConnectionHealthCheckConfig ¶
type ConnectionHealthCheckConfig struct { // The destination IP address. Dip *string `pulumi:"dip"` // Whether to enable BGP. Enable *bool `pulumi:"enable"` // The interval between two consecutive health checks. Unit: seconds. Interval *int `pulumi:"interval"` // The maximum number of health check retries. Retry *int `pulumi:"retry"` // The source IP address. Sip *string `pulumi:"sip"` }
type ConnectionHealthCheckConfigArgs ¶
type ConnectionHealthCheckConfigArgs struct { // The destination IP address. Dip pulumi.StringPtrInput `pulumi:"dip"` // Whether to enable BGP. Enable pulumi.BoolPtrInput `pulumi:"enable"` // The interval between two consecutive health checks. Unit: seconds. Interval pulumi.IntPtrInput `pulumi:"interval"` // The maximum number of health check retries. Retry pulumi.IntPtrInput `pulumi:"retry"` // The source IP address. Sip pulumi.StringPtrInput `pulumi:"sip"` }
func (ConnectionHealthCheckConfigArgs) ElementType ¶
func (ConnectionHealthCheckConfigArgs) ElementType() reflect.Type
func (ConnectionHealthCheckConfigArgs) ToConnectionHealthCheckConfigOutput ¶
func (i ConnectionHealthCheckConfigArgs) ToConnectionHealthCheckConfigOutput() ConnectionHealthCheckConfigOutput
func (ConnectionHealthCheckConfigArgs) ToConnectionHealthCheckConfigOutputWithContext ¶
func (i ConnectionHealthCheckConfigArgs) ToConnectionHealthCheckConfigOutputWithContext(ctx context.Context) ConnectionHealthCheckConfigOutput
func (ConnectionHealthCheckConfigArgs) ToConnectionHealthCheckConfigPtrOutput ¶
func (i ConnectionHealthCheckConfigArgs) ToConnectionHealthCheckConfigPtrOutput() ConnectionHealthCheckConfigPtrOutput
func (ConnectionHealthCheckConfigArgs) ToConnectionHealthCheckConfigPtrOutputWithContext ¶
func (i ConnectionHealthCheckConfigArgs) ToConnectionHealthCheckConfigPtrOutputWithContext(ctx context.Context) ConnectionHealthCheckConfigPtrOutput
type ConnectionHealthCheckConfigInput ¶
type ConnectionHealthCheckConfigInput interface { pulumi.Input ToConnectionHealthCheckConfigOutput() ConnectionHealthCheckConfigOutput ToConnectionHealthCheckConfigOutputWithContext(context.Context) ConnectionHealthCheckConfigOutput }
ConnectionHealthCheckConfigInput is an input type that accepts ConnectionHealthCheckConfigArgs and ConnectionHealthCheckConfigOutput values. You can construct a concrete instance of `ConnectionHealthCheckConfigInput` via:
ConnectionHealthCheckConfigArgs{...}
type ConnectionHealthCheckConfigOutput ¶
type ConnectionHealthCheckConfigOutput struct{ *pulumi.OutputState }
func (ConnectionHealthCheckConfigOutput) Dip ¶
func (o ConnectionHealthCheckConfigOutput) Dip() pulumi.StringPtrOutput
The destination IP address.
func (ConnectionHealthCheckConfigOutput) ElementType ¶
func (ConnectionHealthCheckConfigOutput) ElementType() reflect.Type
func (ConnectionHealthCheckConfigOutput) Enable ¶
func (o ConnectionHealthCheckConfigOutput) Enable() pulumi.BoolPtrOutput
Whether to enable BGP.
func (ConnectionHealthCheckConfigOutput) Interval ¶
func (o ConnectionHealthCheckConfigOutput) Interval() pulumi.IntPtrOutput
The interval between two consecutive health checks. Unit: seconds.
func (ConnectionHealthCheckConfigOutput) Retry ¶
func (o ConnectionHealthCheckConfigOutput) Retry() pulumi.IntPtrOutput
The maximum number of health check retries.
func (ConnectionHealthCheckConfigOutput) Sip ¶
func (o ConnectionHealthCheckConfigOutput) Sip() pulumi.StringPtrOutput
The source IP address.
func (ConnectionHealthCheckConfigOutput) ToConnectionHealthCheckConfigOutput ¶
func (o ConnectionHealthCheckConfigOutput) ToConnectionHealthCheckConfigOutput() ConnectionHealthCheckConfigOutput
func (ConnectionHealthCheckConfigOutput) ToConnectionHealthCheckConfigOutputWithContext ¶
func (o ConnectionHealthCheckConfigOutput) ToConnectionHealthCheckConfigOutputWithContext(ctx context.Context) ConnectionHealthCheckConfigOutput
func (ConnectionHealthCheckConfigOutput) ToConnectionHealthCheckConfigPtrOutput ¶
func (o ConnectionHealthCheckConfigOutput) ToConnectionHealthCheckConfigPtrOutput() ConnectionHealthCheckConfigPtrOutput
func (ConnectionHealthCheckConfigOutput) ToConnectionHealthCheckConfigPtrOutputWithContext ¶
func (o ConnectionHealthCheckConfigOutput) ToConnectionHealthCheckConfigPtrOutputWithContext(ctx context.Context) ConnectionHealthCheckConfigPtrOutput
type ConnectionHealthCheckConfigPtrInput ¶
type ConnectionHealthCheckConfigPtrInput interface { pulumi.Input ToConnectionHealthCheckConfigPtrOutput() ConnectionHealthCheckConfigPtrOutput ToConnectionHealthCheckConfigPtrOutputWithContext(context.Context) ConnectionHealthCheckConfigPtrOutput }
ConnectionHealthCheckConfigPtrInput is an input type that accepts ConnectionHealthCheckConfigArgs, ConnectionHealthCheckConfigPtr and ConnectionHealthCheckConfigPtrOutput values. You can construct a concrete instance of `ConnectionHealthCheckConfigPtrInput` via:
ConnectionHealthCheckConfigArgs{...} or: nil
func ConnectionHealthCheckConfigPtr ¶
func ConnectionHealthCheckConfigPtr(v *ConnectionHealthCheckConfigArgs) ConnectionHealthCheckConfigPtrInput
type ConnectionHealthCheckConfigPtrOutput ¶
type ConnectionHealthCheckConfigPtrOutput struct{ *pulumi.OutputState }
func (ConnectionHealthCheckConfigPtrOutput) Dip ¶
func (o ConnectionHealthCheckConfigPtrOutput) Dip() pulumi.StringPtrOutput
The destination IP address.
func (ConnectionHealthCheckConfigPtrOutput) ElementType ¶
func (ConnectionHealthCheckConfigPtrOutput) ElementType() reflect.Type
func (ConnectionHealthCheckConfigPtrOutput) Enable ¶
func (o ConnectionHealthCheckConfigPtrOutput) Enable() pulumi.BoolPtrOutput
Whether to enable BGP.
func (ConnectionHealthCheckConfigPtrOutput) Interval ¶
func (o ConnectionHealthCheckConfigPtrOutput) Interval() pulumi.IntPtrOutput
The interval between two consecutive health checks. Unit: seconds.
func (ConnectionHealthCheckConfigPtrOutput) Retry ¶
func (o ConnectionHealthCheckConfigPtrOutput) Retry() pulumi.IntPtrOutput
The maximum number of health check retries.
func (ConnectionHealthCheckConfigPtrOutput) Sip ¶
func (o ConnectionHealthCheckConfigPtrOutput) Sip() pulumi.StringPtrOutput
The source IP address.
func (ConnectionHealthCheckConfigPtrOutput) ToConnectionHealthCheckConfigPtrOutput ¶
func (o ConnectionHealthCheckConfigPtrOutput) ToConnectionHealthCheckConfigPtrOutput() ConnectionHealthCheckConfigPtrOutput
func (ConnectionHealthCheckConfigPtrOutput) ToConnectionHealthCheckConfigPtrOutputWithContext ¶
func (o ConnectionHealthCheckConfigPtrOutput) ToConnectionHealthCheckConfigPtrOutputWithContext(ctx context.Context) ConnectionHealthCheckConfigPtrOutput
type ConnectionIkeConfig ¶
type ConnectionIkeConfig struct { // The authentication algorithm of phase-one negotiation. Valid value: md5 | sha1 . Default value: md5 IkeAuthAlg *string `pulumi:"ikeAuthAlg"` // The encryption algorithm of phase-one negotiation. Valid value: aes | aes192 | aes256 | des | 3des. Default Valid value: aes IkeEncAlg *string `pulumi:"ikeEncAlg"` // The SA lifecycle as the result of phase-one negotiation. The valid value of n is [0, 86400], the unit is second and the default value is 86400. IkeLifetime *int `pulumi:"ikeLifetime"` // The identification of the VPN gateway. IkeLocalId *string `pulumi:"ikeLocalId"` // The negotiation mode of IKE V1. Valid value: main (main mode) | aggressive (aggressive mode). Default value: main IkeMode *string `pulumi:"ikeMode"` // The Diffie-Hellman key exchange algorithm used by phase-one negotiation. Valid value: group1 | group2 | group5 | group14 | group24. Default value: group2 IkePfs *string `pulumi:"ikePfs"` // The identification of the customer gateway. IkeRemoteId *string `pulumi:"ikeRemoteId"` // The version of the IKE protocol. Valid value: ikev1 | ikev2. Default value: ikev1 IkeVersion *string `pulumi:"ikeVersion"` // Used for authentication between the IPsec VPN gateway and the customer gateway. Psk *string `pulumi:"psk"` }
type ConnectionIkeConfigArgs ¶
type ConnectionIkeConfigArgs struct { // The authentication algorithm of phase-one negotiation. Valid value: md5 | sha1 . Default value: md5 IkeAuthAlg pulumi.StringPtrInput `pulumi:"ikeAuthAlg"` // The encryption algorithm of phase-one negotiation. Valid value: aes | aes192 | aes256 | des | 3des. Default Valid value: aes IkeEncAlg pulumi.StringPtrInput `pulumi:"ikeEncAlg"` // The SA lifecycle as the result of phase-one negotiation. The valid value of n is [0, 86400], the unit is second and the default value is 86400. IkeLifetime pulumi.IntPtrInput `pulumi:"ikeLifetime"` // The identification of the VPN gateway. IkeLocalId pulumi.StringPtrInput `pulumi:"ikeLocalId"` // The negotiation mode of IKE V1. Valid value: main (main mode) | aggressive (aggressive mode). Default value: main IkeMode pulumi.StringPtrInput `pulumi:"ikeMode"` // The Diffie-Hellman key exchange algorithm used by phase-one negotiation. Valid value: group1 | group2 | group5 | group14 | group24. Default value: group2 IkePfs pulumi.StringPtrInput `pulumi:"ikePfs"` // The identification of the customer gateway. IkeRemoteId pulumi.StringPtrInput `pulumi:"ikeRemoteId"` // The version of the IKE protocol. Valid value: ikev1 | ikev2. Default value: ikev1 IkeVersion pulumi.StringPtrInput `pulumi:"ikeVersion"` // Used for authentication between the IPsec VPN gateway and the customer gateway. Psk pulumi.StringPtrInput `pulumi:"psk"` }
func (ConnectionIkeConfigArgs) ElementType ¶
func (ConnectionIkeConfigArgs) ElementType() reflect.Type
func (ConnectionIkeConfigArgs) ToConnectionIkeConfigOutput ¶
func (i ConnectionIkeConfigArgs) ToConnectionIkeConfigOutput() ConnectionIkeConfigOutput
func (ConnectionIkeConfigArgs) ToConnectionIkeConfigOutputWithContext ¶
func (i ConnectionIkeConfigArgs) ToConnectionIkeConfigOutputWithContext(ctx context.Context) ConnectionIkeConfigOutput
func (ConnectionIkeConfigArgs) ToConnectionIkeConfigPtrOutput ¶
func (i ConnectionIkeConfigArgs) ToConnectionIkeConfigPtrOutput() ConnectionIkeConfigPtrOutput
func (ConnectionIkeConfigArgs) ToConnectionIkeConfigPtrOutputWithContext ¶
func (i ConnectionIkeConfigArgs) ToConnectionIkeConfigPtrOutputWithContext(ctx context.Context) ConnectionIkeConfigPtrOutput
type ConnectionIkeConfigInput ¶
type ConnectionIkeConfigInput interface { pulumi.Input ToConnectionIkeConfigOutput() ConnectionIkeConfigOutput ToConnectionIkeConfigOutputWithContext(context.Context) ConnectionIkeConfigOutput }
ConnectionIkeConfigInput is an input type that accepts ConnectionIkeConfigArgs and ConnectionIkeConfigOutput values. You can construct a concrete instance of `ConnectionIkeConfigInput` via:
ConnectionIkeConfigArgs{...}
type ConnectionIkeConfigOutput ¶
type ConnectionIkeConfigOutput struct{ *pulumi.OutputState }
func (ConnectionIkeConfigOutput) ElementType ¶
func (ConnectionIkeConfigOutput) ElementType() reflect.Type
func (ConnectionIkeConfigOutput) IkeAuthAlg ¶
func (o ConnectionIkeConfigOutput) IkeAuthAlg() pulumi.StringPtrOutput
The authentication algorithm of phase-one negotiation. Valid value: md5 | sha1 . Default value: md5
func (ConnectionIkeConfigOutput) IkeEncAlg ¶
func (o ConnectionIkeConfigOutput) IkeEncAlg() pulumi.StringPtrOutput
The encryption algorithm of phase-one negotiation. Valid value: aes | aes192 | aes256 | des | 3des. Default Valid value: aes
func (ConnectionIkeConfigOutput) IkeLifetime ¶
func (o ConnectionIkeConfigOutput) IkeLifetime() pulumi.IntPtrOutput
The SA lifecycle as the result of phase-one negotiation. The valid value of n is [0, 86400], the unit is second and the default value is 86400.
func (ConnectionIkeConfigOutput) IkeLocalId ¶
func (o ConnectionIkeConfigOutput) IkeLocalId() pulumi.StringPtrOutput
The identification of the VPN gateway.
func (ConnectionIkeConfigOutput) IkeMode ¶
func (o ConnectionIkeConfigOutput) IkeMode() pulumi.StringPtrOutput
The negotiation mode of IKE V1. Valid value: main (main mode) | aggressive (aggressive mode). Default value: main
func (ConnectionIkeConfigOutput) IkePfs ¶
func (o ConnectionIkeConfigOutput) IkePfs() pulumi.StringPtrOutput
The Diffie-Hellman key exchange algorithm used by phase-one negotiation. Valid value: group1 | group2 | group5 | group14 | group24. Default value: group2
func (ConnectionIkeConfigOutput) IkeRemoteId ¶
func (o ConnectionIkeConfigOutput) IkeRemoteId() pulumi.StringPtrOutput
The identification of the customer gateway.
func (ConnectionIkeConfigOutput) IkeVersion ¶
func (o ConnectionIkeConfigOutput) IkeVersion() pulumi.StringPtrOutput
The version of the IKE protocol. Valid value: ikev1 | ikev2. Default value: ikev1
func (ConnectionIkeConfigOutput) Psk ¶
func (o ConnectionIkeConfigOutput) Psk() pulumi.StringPtrOutput
Used for authentication between the IPsec VPN gateway and the customer gateway.
func (ConnectionIkeConfigOutput) ToConnectionIkeConfigOutput ¶
func (o ConnectionIkeConfigOutput) ToConnectionIkeConfigOutput() ConnectionIkeConfigOutput
func (ConnectionIkeConfigOutput) ToConnectionIkeConfigOutputWithContext ¶
func (o ConnectionIkeConfigOutput) ToConnectionIkeConfigOutputWithContext(ctx context.Context) ConnectionIkeConfigOutput
func (ConnectionIkeConfigOutput) ToConnectionIkeConfigPtrOutput ¶
func (o ConnectionIkeConfigOutput) ToConnectionIkeConfigPtrOutput() ConnectionIkeConfigPtrOutput
func (ConnectionIkeConfigOutput) ToConnectionIkeConfigPtrOutputWithContext ¶
func (o ConnectionIkeConfigOutput) ToConnectionIkeConfigPtrOutputWithContext(ctx context.Context) ConnectionIkeConfigPtrOutput
type ConnectionIkeConfigPtrInput ¶
type ConnectionIkeConfigPtrInput interface { pulumi.Input ToConnectionIkeConfigPtrOutput() ConnectionIkeConfigPtrOutput ToConnectionIkeConfigPtrOutputWithContext(context.Context) ConnectionIkeConfigPtrOutput }
ConnectionIkeConfigPtrInput is an input type that accepts ConnectionIkeConfigArgs, ConnectionIkeConfigPtr and ConnectionIkeConfigPtrOutput values. You can construct a concrete instance of `ConnectionIkeConfigPtrInput` via:
ConnectionIkeConfigArgs{...} or: nil
func ConnectionIkeConfigPtr ¶
func ConnectionIkeConfigPtr(v *ConnectionIkeConfigArgs) ConnectionIkeConfigPtrInput
type ConnectionIkeConfigPtrOutput ¶
type ConnectionIkeConfigPtrOutput struct{ *pulumi.OutputState }
func (ConnectionIkeConfigPtrOutput) Elem ¶
func (o ConnectionIkeConfigPtrOutput) Elem() ConnectionIkeConfigOutput
func (ConnectionIkeConfigPtrOutput) ElementType ¶
func (ConnectionIkeConfigPtrOutput) ElementType() reflect.Type
func (ConnectionIkeConfigPtrOutput) IkeAuthAlg ¶
func (o ConnectionIkeConfigPtrOutput) IkeAuthAlg() pulumi.StringPtrOutput
The authentication algorithm of phase-one negotiation. Valid value: md5 | sha1 . Default value: md5
func (ConnectionIkeConfigPtrOutput) IkeEncAlg ¶
func (o ConnectionIkeConfigPtrOutput) IkeEncAlg() pulumi.StringPtrOutput
The encryption algorithm of phase-one negotiation. Valid value: aes | aes192 | aes256 | des | 3des. Default Valid value: aes
func (ConnectionIkeConfigPtrOutput) IkeLifetime ¶
func (o ConnectionIkeConfigPtrOutput) IkeLifetime() pulumi.IntPtrOutput
The SA lifecycle as the result of phase-one negotiation. The valid value of n is [0, 86400], the unit is second and the default value is 86400.
func (ConnectionIkeConfigPtrOutput) IkeLocalId ¶
func (o ConnectionIkeConfigPtrOutput) IkeLocalId() pulumi.StringPtrOutput
The identification of the VPN gateway.
func (ConnectionIkeConfigPtrOutput) IkeMode ¶
func (o ConnectionIkeConfigPtrOutput) IkeMode() pulumi.StringPtrOutput
The negotiation mode of IKE V1. Valid value: main (main mode) | aggressive (aggressive mode). Default value: main
func (ConnectionIkeConfigPtrOutput) IkePfs ¶
func (o ConnectionIkeConfigPtrOutput) IkePfs() pulumi.StringPtrOutput
The Diffie-Hellman key exchange algorithm used by phase-one negotiation. Valid value: group1 | group2 | group5 | group14 | group24. Default value: group2
func (ConnectionIkeConfigPtrOutput) IkeRemoteId ¶
func (o ConnectionIkeConfigPtrOutput) IkeRemoteId() pulumi.StringPtrOutput
The identification of the customer gateway.
func (ConnectionIkeConfigPtrOutput) IkeVersion ¶
func (o ConnectionIkeConfigPtrOutput) IkeVersion() pulumi.StringPtrOutput
The version of the IKE protocol. Valid value: ikev1 | ikev2. Default value: ikev1
func (ConnectionIkeConfigPtrOutput) Psk ¶
func (o ConnectionIkeConfigPtrOutput) Psk() pulumi.StringPtrOutput
Used for authentication between the IPsec VPN gateway and the customer gateway.
func (ConnectionIkeConfigPtrOutput) ToConnectionIkeConfigPtrOutput ¶
func (o ConnectionIkeConfigPtrOutput) ToConnectionIkeConfigPtrOutput() ConnectionIkeConfigPtrOutput
func (ConnectionIkeConfigPtrOutput) ToConnectionIkeConfigPtrOutputWithContext ¶
func (o ConnectionIkeConfigPtrOutput) ToConnectionIkeConfigPtrOutputWithContext(ctx context.Context) ConnectionIkeConfigPtrOutput
type ConnectionInput ¶
type ConnectionInput interface { pulumi.Input ToConnectionOutput() ConnectionOutput ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput }
type ConnectionIpsecConfig ¶
type ConnectionIpsecConfig struct { // The authentication algorithm of phase-two negotiation. Valid value: md5 | sha1 | sha256 | sha384 | sha512 |. Default value: sha1 IpsecAuthAlg *string `pulumi:"ipsecAuthAlg"` // The encryption algorithm of phase-two negotiation. Valid value: aes | aes192 | aes256 | des | 3des. Default value: aes IpsecEncAlg *string `pulumi:"ipsecEncAlg"` // The SA lifecycle as the result of phase-two negotiation. The valid value is [0, 86400], the unit is second and the default value is 86400. IpsecLifetime *int `pulumi:"ipsecLifetime"` // The Diffie-Hellman key exchange algorithm used by phase-two negotiation. Valid value: group1 | group2 | group5 | group14 | group24| disabled. Default value: group2 IpsecPfs *string `pulumi:"ipsecPfs"` }
type ConnectionIpsecConfigArgs ¶
type ConnectionIpsecConfigArgs struct { // The authentication algorithm of phase-two negotiation. Valid value: md5 | sha1 | sha256 | sha384 | sha512 |. Default value: sha1 IpsecAuthAlg pulumi.StringPtrInput `pulumi:"ipsecAuthAlg"` // The encryption algorithm of phase-two negotiation. Valid value: aes | aes192 | aes256 | des | 3des. Default value: aes IpsecEncAlg pulumi.StringPtrInput `pulumi:"ipsecEncAlg"` // The SA lifecycle as the result of phase-two negotiation. The valid value is [0, 86400], the unit is second and the default value is 86400. IpsecLifetime pulumi.IntPtrInput `pulumi:"ipsecLifetime"` // The Diffie-Hellman key exchange algorithm used by phase-two negotiation. Valid value: group1 | group2 | group5 | group14 | group24| disabled. Default value: group2 IpsecPfs pulumi.StringPtrInput `pulumi:"ipsecPfs"` }
func (ConnectionIpsecConfigArgs) ElementType ¶
func (ConnectionIpsecConfigArgs) ElementType() reflect.Type
func (ConnectionIpsecConfigArgs) ToConnectionIpsecConfigOutput ¶
func (i ConnectionIpsecConfigArgs) ToConnectionIpsecConfigOutput() ConnectionIpsecConfigOutput
func (ConnectionIpsecConfigArgs) ToConnectionIpsecConfigOutputWithContext ¶
func (i ConnectionIpsecConfigArgs) ToConnectionIpsecConfigOutputWithContext(ctx context.Context) ConnectionIpsecConfigOutput
func (ConnectionIpsecConfigArgs) ToConnectionIpsecConfigPtrOutput ¶
func (i ConnectionIpsecConfigArgs) ToConnectionIpsecConfigPtrOutput() ConnectionIpsecConfigPtrOutput
func (ConnectionIpsecConfigArgs) ToConnectionIpsecConfigPtrOutputWithContext ¶
func (i ConnectionIpsecConfigArgs) ToConnectionIpsecConfigPtrOutputWithContext(ctx context.Context) ConnectionIpsecConfigPtrOutput
type ConnectionIpsecConfigInput ¶
type ConnectionIpsecConfigInput interface { pulumi.Input ToConnectionIpsecConfigOutput() ConnectionIpsecConfigOutput ToConnectionIpsecConfigOutputWithContext(context.Context) ConnectionIpsecConfigOutput }
ConnectionIpsecConfigInput is an input type that accepts ConnectionIpsecConfigArgs and ConnectionIpsecConfigOutput values. You can construct a concrete instance of `ConnectionIpsecConfigInput` via:
ConnectionIpsecConfigArgs{...}
type ConnectionIpsecConfigOutput ¶
type ConnectionIpsecConfigOutput struct{ *pulumi.OutputState }
func (ConnectionIpsecConfigOutput) ElementType ¶
func (ConnectionIpsecConfigOutput) ElementType() reflect.Type
func (ConnectionIpsecConfigOutput) IpsecAuthAlg ¶
func (o ConnectionIpsecConfigOutput) IpsecAuthAlg() pulumi.StringPtrOutput
The authentication algorithm of phase-two negotiation. Valid value: md5 | sha1 | sha256 | sha384 | sha512 |. Default value: sha1
func (ConnectionIpsecConfigOutput) IpsecEncAlg ¶
func (o ConnectionIpsecConfigOutput) IpsecEncAlg() pulumi.StringPtrOutput
The encryption algorithm of phase-two negotiation. Valid value: aes | aes192 | aes256 | des | 3des. Default value: aes
func (ConnectionIpsecConfigOutput) IpsecLifetime ¶
func (o ConnectionIpsecConfigOutput) IpsecLifetime() pulumi.IntPtrOutput
The SA lifecycle as the result of phase-two negotiation. The valid value is [0, 86400], the unit is second and the default value is 86400.
func (ConnectionIpsecConfigOutput) IpsecPfs ¶
func (o ConnectionIpsecConfigOutput) IpsecPfs() pulumi.StringPtrOutput
The Diffie-Hellman key exchange algorithm used by phase-two negotiation. Valid value: group1 | group2 | group5 | group14 | group24| disabled. Default value: group2
func (ConnectionIpsecConfigOutput) ToConnectionIpsecConfigOutput ¶
func (o ConnectionIpsecConfigOutput) ToConnectionIpsecConfigOutput() ConnectionIpsecConfigOutput
func (ConnectionIpsecConfigOutput) ToConnectionIpsecConfigOutputWithContext ¶
func (o ConnectionIpsecConfigOutput) ToConnectionIpsecConfigOutputWithContext(ctx context.Context) ConnectionIpsecConfigOutput
func (ConnectionIpsecConfigOutput) ToConnectionIpsecConfigPtrOutput ¶
func (o ConnectionIpsecConfigOutput) ToConnectionIpsecConfigPtrOutput() ConnectionIpsecConfigPtrOutput
func (ConnectionIpsecConfigOutput) ToConnectionIpsecConfigPtrOutputWithContext ¶
func (o ConnectionIpsecConfigOutput) ToConnectionIpsecConfigPtrOutputWithContext(ctx context.Context) ConnectionIpsecConfigPtrOutput
type ConnectionIpsecConfigPtrInput ¶
type ConnectionIpsecConfigPtrInput interface { pulumi.Input ToConnectionIpsecConfigPtrOutput() ConnectionIpsecConfigPtrOutput ToConnectionIpsecConfigPtrOutputWithContext(context.Context) ConnectionIpsecConfigPtrOutput }
ConnectionIpsecConfigPtrInput is an input type that accepts ConnectionIpsecConfigArgs, ConnectionIpsecConfigPtr and ConnectionIpsecConfigPtrOutput values. You can construct a concrete instance of `ConnectionIpsecConfigPtrInput` via:
ConnectionIpsecConfigArgs{...} or: nil
func ConnectionIpsecConfigPtr ¶
func ConnectionIpsecConfigPtr(v *ConnectionIpsecConfigArgs) ConnectionIpsecConfigPtrInput
type ConnectionIpsecConfigPtrOutput ¶
type ConnectionIpsecConfigPtrOutput struct{ *pulumi.OutputState }
func (ConnectionIpsecConfigPtrOutput) Elem ¶
func (o ConnectionIpsecConfigPtrOutput) Elem() ConnectionIpsecConfigOutput
func (ConnectionIpsecConfigPtrOutput) ElementType ¶
func (ConnectionIpsecConfigPtrOutput) ElementType() reflect.Type
func (ConnectionIpsecConfigPtrOutput) IpsecAuthAlg ¶
func (o ConnectionIpsecConfigPtrOutput) IpsecAuthAlg() pulumi.StringPtrOutput
The authentication algorithm of phase-two negotiation. Valid value: md5 | sha1 | sha256 | sha384 | sha512 |. Default value: sha1
func (ConnectionIpsecConfigPtrOutput) IpsecEncAlg ¶
func (o ConnectionIpsecConfigPtrOutput) IpsecEncAlg() pulumi.StringPtrOutput
The encryption algorithm of phase-two negotiation. Valid value: aes | aes192 | aes256 | des | 3des. Default value: aes
func (ConnectionIpsecConfigPtrOutput) IpsecLifetime ¶
func (o ConnectionIpsecConfigPtrOutput) IpsecLifetime() pulumi.IntPtrOutput
The SA lifecycle as the result of phase-two negotiation. The valid value is [0, 86400], the unit is second and the default value is 86400.
func (ConnectionIpsecConfigPtrOutput) IpsecPfs ¶
func (o ConnectionIpsecConfigPtrOutput) IpsecPfs() pulumi.StringPtrOutput
The Diffie-Hellman key exchange algorithm used by phase-two negotiation. Valid value: group1 | group2 | group5 | group14 | group24| disabled. Default value: group2
func (ConnectionIpsecConfigPtrOutput) ToConnectionIpsecConfigPtrOutput ¶
func (o ConnectionIpsecConfigPtrOutput) ToConnectionIpsecConfigPtrOutput() ConnectionIpsecConfigPtrOutput
func (ConnectionIpsecConfigPtrOutput) ToConnectionIpsecConfigPtrOutputWithContext ¶
func (o ConnectionIpsecConfigPtrOutput) ToConnectionIpsecConfigPtrOutputWithContext(ctx context.Context) ConnectionIpsecConfigPtrOutput
type ConnectionMap ¶
type ConnectionMap map[string]ConnectionInput
func (ConnectionMap) ElementType ¶
func (ConnectionMap) ElementType() reflect.Type
func (ConnectionMap) ToConnectionMapOutput ¶
func (i ConnectionMap) ToConnectionMapOutput() ConnectionMapOutput
func (ConnectionMap) ToConnectionMapOutputWithContext ¶
func (i ConnectionMap) ToConnectionMapOutputWithContext(ctx context.Context) ConnectionMapOutput
type ConnectionMapInput ¶
type ConnectionMapInput interface { pulumi.Input ToConnectionMapOutput() ConnectionMapOutput ToConnectionMapOutputWithContext(context.Context) ConnectionMapOutput }
ConnectionMapInput is an input type that accepts ConnectionMap and ConnectionMapOutput values. You can construct a concrete instance of `ConnectionMapInput` via:
ConnectionMap{ "key": ConnectionArgs{...} }
type ConnectionMapOutput ¶
type ConnectionMapOutput struct{ *pulumi.OutputState }
func (ConnectionMapOutput) ElementType ¶
func (ConnectionMapOutput) ElementType() reflect.Type
func (ConnectionMapOutput) MapIndex ¶
func (o ConnectionMapOutput) MapIndex(k pulumi.StringInput) ConnectionOutput
func (ConnectionMapOutput) ToConnectionMapOutput ¶
func (o ConnectionMapOutput) ToConnectionMapOutput() ConnectionMapOutput
func (ConnectionMapOutput) ToConnectionMapOutputWithContext ¶
func (o ConnectionMapOutput) ToConnectionMapOutputWithContext(ctx context.Context) ConnectionMapOutput
type ConnectionOutput ¶
type ConnectionOutput struct{ *pulumi.OutputState }
func (ConnectionOutput) BgpConfig ¶
func (o ConnectionOutput) BgpConfig() ConnectionBgpConfigOutput
The configurations of the BGP routing protocol. See the following `Block bgpConfig`.
func (ConnectionOutput) CustomerGatewayId ¶
func (o ConnectionOutput) CustomerGatewayId() pulumi.StringOutput
The ID of the customer gateway.
func (ConnectionOutput) EffectImmediately ¶
func (o ConnectionOutput) EffectImmediately() pulumi.BoolPtrOutput
Whether to delete a successfully negotiated IPsec tunnel and initiate a negotiation again. Valid value:true,false.
func (ConnectionOutput) ElementType ¶
func (ConnectionOutput) ElementType() reflect.Type
func (ConnectionOutput) EnableDpd ¶
func (o ConnectionOutput) EnableDpd() pulumi.BoolOutput
Whether to enable NAT traversal.
func (ConnectionOutput) EnableNatTraversal ¶
func (o ConnectionOutput) EnableNatTraversal() pulumi.BoolOutput
Whether to enable NAT traversal.
func (ConnectionOutput) HealthCheckConfig ¶
func (o ConnectionOutput) HealthCheckConfig() ConnectionHealthCheckConfigOutput
The health check configurations. See the following `Block healthCheckConfig`.
func (ConnectionOutput) IkeConfig ¶
func (o ConnectionOutput) IkeConfig() ConnectionIkeConfigOutput
The configurations of phase-one negotiation. See the following `Block ikeConfig`.
func (ConnectionOutput) IpsecConfig ¶
func (o ConnectionOutput) IpsecConfig() ConnectionIpsecConfigOutput
The configurations of phase-two negotiation. See the following `Block ipsecConfig`.
func (ConnectionOutput) LocalSubnets ¶
func (o ConnectionOutput) LocalSubnets() pulumi.StringArrayOutput
The CIDR block of the VPC to be connected with the local data center. This parameter is used for phase-two negotiation.
func (ConnectionOutput) Name ¶
func (o ConnectionOutput) Name() pulumi.StringOutput
The name of the IPsec connection.
func (ConnectionOutput) RemoteSubnets ¶
func (o ConnectionOutput) RemoteSubnets() pulumi.StringArrayOutput
The CIDR block of the local data center. This parameter is used for phase-two negotiation.
func (ConnectionOutput) Status ¶
func (o ConnectionOutput) Status() pulumi.StringOutput
The status of VPN connection.
func (ConnectionOutput) ToConnectionOutput ¶
func (o ConnectionOutput) ToConnectionOutput() ConnectionOutput
func (ConnectionOutput) ToConnectionOutputWithContext ¶
func (o ConnectionOutput) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput
func (ConnectionOutput) VpnGatewayId ¶
func (o ConnectionOutput) VpnGatewayId() pulumi.StringOutput
The ID of the VPN gateway.
type ConnectionState ¶
type ConnectionState struct { // The configurations of the BGP routing protocol. See the following `Block bgpConfig`. BgpConfig ConnectionBgpConfigPtrInput // The ID of the customer gateway. CustomerGatewayId pulumi.StringPtrInput // Whether to delete a successfully negotiated IPsec tunnel and initiate a negotiation again. Valid value:true,false. EffectImmediately pulumi.BoolPtrInput // Whether to enable NAT traversal. EnableDpd pulumi.BoolPtrInput // Whether to enable NAT traversal. EnableNatTraversal pulumi.BoolPtrInput // The health check configurations. See the following `Block healthCheckConfig`. HealthCheckConfig ConnectionHealthCheckConfigPtrInput // The configurations of phase-one negotiation. See the following `Block ikeConfig`. IkeConfig ConnectionIkeConfigPtrInput // The configurations of phase-two negotiation. See the following `Block ipsecConfig`. IpsecConfig ConnectionIpsecConfigPtrInput // The CIDR block of the VPC to be connected with the local data center. This parameter is used for phase-two negotiation. LocalSubnets pulumi.StringArrayInput // The name of the IPsec connection. Name pulumi.StringPtrInput // The CIDR block of the local data center. This parameter is used for phase-two negotiation. RemoteSubnets pulumi.StringArrayInput // The status of VPN connection. Status pulumi.StringPtrInput // The ID of the VPN gateway. VpnGatewayId pulumi.StringPtrInput }
func (ConnectionState) ElementType ¶
func (ConnectionState) ElementType() reflect.Type
type CustomerGateway ¶
type CustomerGateway struct { pulumi.CustomResourceState // The autonomous system number of the gateway device in the data center. The `asn` is a 4-byte number. You can enter the number in two segments and separate the first 16 bits from the following 16 bits with a period (.). Enter the number in each segment in the decimal format. Asn pulumi.StringPtrOutput `pulumi:"asn"` // The description of the VPN customer gateway instance. Description pulumi.StringPtrOutput `pulumi:"description"` // The IP address of the customer gateway. IpAddress pulumi.StringOutput `pulumi:"ipAddress"` // The name of the VPN customer gateway. Defaults to null. Name pulumi.StringOutput `pulumi:"name"` }
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/vpn"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vpn.NewCustomerGateway(ctx, "foo", &vpn.CustomerGatewayArgs{ Description: pulumi.String("vpnCgwDescriptionExample"), IpAddress: pulumi.String("43.104.22.228"), }) if err != nil { return err } return nil }) }
```
## Import
VPN customer gateway can be imported using the id, e.g.
```sh
$ pulumi import alicloud:vpn/customerGateway:CustomerGateway example cgw-abc123456
```
func GetCustomerGateway ¶
func GetCustomerGateway(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CustomerGatewayState, opts ...pulumi.ResourceOption) (*CustomerGateway, error)
GetCustomerGateway gets an existing CustomerGateway 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 NewCustomerGateway ¶
func NewCustomerGateway(ctx *pulumi.Context, name string, args *CustomerGatewayArgs, opts ...pulumi.ResourceOption) (*CustomerGateway, error)
NewCustomerGateway registers a new resource with the given unique name, arguments, and options.
func (*CustomerGateway) ElementType ¶
func (*CustomerGateway) ElementType() reflect.Type
func (*CustomerGateway) ToCustomerGatewayOutput ¶
func (i *CustomerGateway) ToCustomerGatewayOutput() CustomerGatewayOutput
func (*CustomerGateway) ToCustomerGatewayOutputWithContext ¶
func (i *CustomerGateway) ToCustomerGatewayOutputWithContext(ctx context.Context) CustomerGatewayOutput
type CustomerGatewayArgs ¶
type CustomerGatewayArgs struct { // The autonomous system number of the gateway device in the data center. The `asn` is a 4-byte number. You can enter the number in two segments and separate the first 16 bits from the following 16 bits with a period (.). Enter the number in each segment in the decimal format. Asn pulumi.StringPtrInput // The description of the VPN customer gateway instance. Description pulumi.StringPtrInput // The IP address of the customer gateway. IpAddress pulumi.StringInput // The name of the VPN customer gateway. Defaults to null. Name pulumi.StringPtrInput }
The set of arguments for constructing a CustomerGateway resource.
func (CustomerGatewayArgs) ElementType ¶
func (CustomerGatewayArgs) ElementType() reflect.Type
type CustomerGatewayArray ¶
type CustomerGatewayArray []CustomerGatewayInput
func (CustomerGatewayArray) ElementType ¶
func (CustomerGatewayArray) ElementType() reflect.Type
func (CustomerGatewayArray) ToCustomerGatewayArrayOutput ¶
func (i CustomerGatewayArray) ToCustomerGatewayArrayOutput() CustomerGatewayArrayOutput
func (CustomerGatewayArray) ToCustomerGatewayArrayOutputWithContext ¶
func (i CustomerGatewayArray) ToCustomerGatewayArrayOutputWithContext(ctx context.Context) CustomerGatewayArrayOutput
type CustomerGatewayArrayInput ¶
type CustomerGatewayArrayInput interface { pulumi.Input ToCustomerGatewayArrayOutput() CustomerGatewayArrayOutput ToCustomerGatewayArrayOutputWithContext(context.Context) CustomerGatewayArrayOutput }
CustomerGatewayArrayInput is an input type that accepts CustomerGatewayArray and CustomerGatewayArrayOutput values. You can construct a concrete instance of `CustomerGatewayArrayInput` via:
CustomerGatewayArray{ CustomerGatewayArgs{...} }
type CustomerGatewayArrayOutput ¶
type CustomerGatewayArrayOutput struct{ *pulumi.OutputState }
func (CustomerGatewayArrayOutput) ElementType ¶
func (CustomerGatewayArrayOutput) ElementType() reflect.Type
func (CustomerGatewayArrayOutput) Index ¶
func (o CustomerGatewayArrayOutput) Index(i pulumi.IntInput) CustomerGatewayOutput
func (CustomerGatewayArrayOutput) ToCustomerGatewayArrayOutput ¶
func (o CustomerGatewayArrayOutput) ToCustomerGatewayArrayOutput() CustomerGatewayArrayOutput
func (CustomerGatewayArrayOutput) ToCustomerGatewayArrayOutputWithContext ¶
func (o CustomerGatewayArrayOutput) ToCustomerGatewayArrayOutputWithContext(ctx context.Context) CustomerGatewayArrayOutput
type CustomerGatewayInput ¶
type CustomerGatewayInput interface { pulumi.Input ToCustomerGatewayOutput() CustomerGatewayOutput ToCustomerGatewayOutputWithContext(ctx context.Context) CustomerGatewayOutput }
type CustomerGatewayMap ¶
type CustomerGatewayMap map[string]CustomerGatewayInput
func (CustomerGatewayMap) ElementType ¶
func (CustomerGatewayMap) ElementType() reflect.Type
func (CustomerGatewayMap) ToCustomerGatewayMapOutput ¶
func (i CustomerGatewayMap) ToCustomerGatewayMapOutput() CustomerGatewayMapOutput
func (CustomerGatewayMap) ToCustomerGatewayMapOutputWithContext ¶
func (i CustomerGatewayMap) ToCustomerGatewayMapOutputWithContext(ctx context.Context) CustomerGatewayMapOutput
type CustomerGatewayMapInput ¶
type CustomerGatewayMapInput interface { pulumi.Input ToCustomerGatewayMapOutput() CustomerGatewayMapOutput ToCustomerGatewayMapOutputWithContext(context.Context) CustomerGatewayMapOutput }
CustomerGatewayMapInput is an input type that accepts CustomerGatewayMap and CustomerGatewayMapOutput values. You can construct a concrete instance of `CustomerGatewayMapInput` via:
CustomerGatewayMap{ "key": CustomerGatewayArgs{...} }
type CustomerGatewayMapOutput ¶
type CustomerGatewayMapOutput struct{ *pulumi.OutputState }
func (CustomerGatewayMapOutput) ElementType ¶
func (CustomerGatewayMapOutput) ElementType() reflect.Type
func (CustomerGatewayMapOutput) MapIndex ¶
func (o CustomerGatewayMapOutput) MapIndex(k pulumi.StringInput) CustomerGatewayOutput
func (CustomerGatewayMapOutput) ToCustomerGatewayMapOutput ¶
func (o CustomerGatewayMapOutput) ToCustomerGatewayMapOutput() CustomerGatewayMapOutput
func (CustomerGatewayMapOutput) ToCustomerGatewayMapOutputWithContext ¶
func (o CustomerGatewayMapOutput) ToCustomerGatewayMapOutputWithContext(ctx context.Context) CustomerGatewayMapOutput
type CustomerGatewayOutput ¶
type CustomerGatewayOutput struct{ *pulumi.OutputState }
func (CustomerGatewayOutput) Asn ¶
func (o CustomerGatewayOutput) Asn() pulumi.StringPtrOutput
The autonomous system number of the gateway device in the data center. The `asn` is a 4-byte number. You can enter the number in two segments and separate the first 16 bits from the following 16 bits with a period (.). Enter the number in each segment in the decimal format.
func (CustomerGatewayOutput) Description ¶
func (o CustomerGatewayOutput) Description() pulumi.StringPtrOutput
The description of the VPN customer gateway instance.
func (CustomerGatewayOutput) ElementType ¶
func (CustomerGatewayOutput) ElementType() reflect.Type
func (CustomerGatewayOutput) IpAddress ¶
func (o CustomerGatewayOutput) IpAddress() pulumi.StringOutput
The IP address of the customer gateway.
func (CustomerGatewayOutput) Name ¶
func (o CustomerGatewayOutput) Name() pulumi.StringOutput
The name of the VPN customer gateway. Defaults to null.
func (CustomerGatewayOutput) ToCustomerGatewayOutput ¶
func (o CustomerGatewayOutput) ToCustomerGatewayOutput() CustomerGatewayOutput
func (CustomerGatewayOutput) ToCustomerGatewayOutputWithContext ¶
func (o CustomerGatewayOutput) ToCustomerGatewayOutputWithContext(ctx context.Context) CustomerGatewayOutput
type CustomerGatewayState ¶
type CustomerGatewayState struct { // The autonomous system number of the gateway device in the data center. The `asn` is a 4-byte number. You can enter the number in two segments and separate the first 16 bits from the following 16 bits with a period (.). Enter the number in each segment in the decimal format. Asn pulumi.StringPtrInput // The description of the VPN customer gateway instance. Description pulumi.StringPtrInput // The IP address of the customer gateway. IpAddress pulumi.StringPtrInput // The name of the VPN customer gateway. Defaults to null. Name pulumi.StringPtrInput }
func (CustomerGatewayState) ElementType ¶
func (CustomerGatewayState) ElementType() reflect.Type
type Gateway ¶
type Gateway struct { pulumi.CustomResourceState // Whether to pay automatically. Default value: `true`. Valid values: // - `false`: If automatic payment is not enabled, you need to go to the order center to complete the payment after the order is generated. // - `true`: Enable automatic payment, automatic payment order. AutoPay pulumi.BoolPtrOutput `pulumi:"autoPay"` // Specifies whether to automatically advertise BGP routes to the virtual private cloud (VPC). Valid values: // - `true`: Enable. // - `false`: Disable. AutoPropagate pulumi.BoolPtrOutput `pulumi:"autoPropagate"` Bandwidth pulumi.IntOutput `pulumi:"bandwidth"` // The business status of the VPN gateway. BusinessStatus pulumi.StringOutput `pulumi:"businessStatus"` // The description of the VPN instance. Description pulumi.StringPtrOutput `pulumi:"description"` // Enable or Disable IPSec VPN. At least one type of VPN should be enabled. EnableIpsec pulumi.BoolPtrOutput `pulumi:"enableIpsec"` // Enable or Disable SSL VPN. At least one type of VPN should be enabled. EnableSsl pulumi.BoolPtrOutput `pulumi:"enableSsl"` // The charge type for instance. If it is an international site account, the valid value is PostPaid, otherwise PrePaid. // Default to PostPaid. InstanceChargeType pulumi.StringPtrOutput `pulumi:"instanceChargeType"` // The internet ip of the VPN. InternetIp pulumi.StringOutput `pulumi:"internetIp"` // The name of the VPN. Defaults to null. Name pulumi.StringOutput `pulumi:"name"` // The network type of the VPN gateway. Value: // - public (default): Public VPN gateway. // - private: Private VPN gateway. NetworkType pulumi.StringOutput `pulumi:"networkType"` // The filed is only required while the InstanceChargeType is PrePaid. Valid values: [1-9, 12, 24, 36]. Default to 1. Period pulumi.IntPtrOutput `pulumi:"period"` // The max connections of SSL VPN. Default to 5. The number of connections supported by each account is different. // This field is ignored when enableSsl is false. SslConnections pulumi.IntPtrOutput `pulumi:"sslConnections"` // The status of the VPN gateway. Status pulumi.StringOutput `pulumi:"status"` // The tags of VPN gateway. Tags pulumi.MapOutput `pulumi:"tags"` // The VPN belongs the vpc_id, the field can't be changed. VpcId pulumi.StringOutput `pulumi:"vpcId"` // The VPN belongs the vswitch_id, the field can't be changed. VswitchId pulumi.StringOutput `pulumi:"vswitchId"` }
## Import
VPN gateway can be imported using the id, e.g.
```sh
$ pulumi import alicloud:vpn/gateway:Gateway example vpn-abc123456
```
func GetGateway ¶
func GetGateway(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GatewayState, opts ...pulumi.ResourceOption) (*Gateway, error)
GetGateway gets an existing Gateway 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 NewGateway ¶
func NewGateway(ctx *pulumi.Context, name string, args *GatewayArgs, opts ...pulumi.ResourceOption) (*Gateway, error)
NewGateway registers a new resource with the given unique name, arguments, and options.
func (*Gateway) ElementType ¶
func (*Gateway) ToGatewayOutput ¶
func (i *Gateway) ToGatewayOutput() GatewayOutput
func (*Gateway) ToGatewayOutputWithContext ¶
func (i *Gateway) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput
type GatewayArgs ¶
type GatewayArgs struct { // Whether to pay automatically. Default value: `true`. Valid values: // - `false`: If automatic payment is not enabled, you need to go to the order center to complete the payment after the order is generated. // - `true`: Enable automatic payment, automatic payment order. AutoPay pulumi.BoolPtrInput // Specifies whether to automatically advertise BGP routes to the virtual private cloud (VPC). Valid values: // - `true`: Enable. // - `false`: Disable. AutoPropagate pulumi.BoolPtrInput Bandwidth pulumi.IntInput // The description of the VPN instance. Description pulumi.StringPtrInput // Enable or Disable IPSec VPN. At least one type of VPN should be enabled. EnableIpsec pulumi.BoolPtrInput // Enable or Disable SSL VPN. At least one type of VPN should be enabled. EnableSsl pulumi.BoolPtrInput // The charge type for instance. If it is an international site account, the valid value is PostPaid, otherwise PrePaid. // Default to PostPaid. InstanceChargeType pulumi.StringPtrInput // The name of the VPN. Defaults to null. Name pulumi.StringPtrInput // The network type of the VPN gateway. Value: // - public (default): Public VPN gateway. // - private: Private VPN gateway. NetworkType pulumi.StringPtrInput // The filed is only required while the InstanceChargeType is PrePaid. Valid values: [1-9, 12, 24, 36]. Default to 1. Period pulumi.IntPtrInput // The max connections of SSL VPN. Default to 5. The number of connections supported by each account is different. // This field is ignored when enableSsl is false. SslConnections pulumi.IntPtrInput // The tags of VPN gateway. Tags pulumi.MapInput // The VPN belongs the vpc_id, the field can't be changed. VpcId pulumi.StringInput // The VPN belongs the vswitch_id, the field can't be changed. VswitchId pulumi.StringPtrInput }
The set of arguments for constructing a Gateway resource.
func (GatewayArgs) ElementType ¶
func (GatewayArgs) ElementType() reflect.Type
type GatewayArray ¶
type GatewayArray []GatewayInput
func (GatewayArray) ElementType ¶
func (GatewayArray) ElementType() reflect.Type
func (GatewayArray) ToGatewayArrayOutput ¶
func (i GatewayArray) ToGatewayArrayOutput() GatewayArrayOutput
func (GatewayArray) ToGatewayArrayOutputWithContext ¶
func (i GatewayArray) ToGatewayArrayOutputWithContext(ctx context.Context) GatewayArrayOutput
type GatewayArrayInput ¶
type GatewayArrayInput interface { pulumi.Input ToGatewayArrayOutput() GatewayArrayOutput ToGatewayArrayOutputWithContext(context.Context) GatewayArrayOutput }
GatewayArrayInput is an input type that accepts GatewayArray and GatewayArrayOutput values. You can construct a concrete instance of `GatewayArrayInput` via:
GatewayArray{ GatewayArgs{...} }
type GatewayArrayOutput ¶
type GatewayArrayOutput struct{ *pulumi.OutputState }
func (GatewayArrayOutput) ElementType ¶
func (GatewayArrayOutput) ElementType() reflect.Type
func (GatewayArrayOutput) Index ¶
func (o GatewayArrayOutput) Index(i pulumi.IntInput) GatewayOutput
func (GatewayArrayOutput) ToGatewayArrayOutput ¶
func (o GatewayArrayOutput) ToGatewayArrayOutput() GatewayArrayOutput
func (GatewayArrayOutput) ToGatewayArrayOutputWithContext ¶
func (o GatewayArrayOutput) ToGatewayArrayOutputWithContext(ctx context.Context) GatewayArrayOutput
type GatewayInput ¶
type GatewayInput interface { pulumi.Input ToGatewayOutput() GatewayOutput ToGatewayOutputWithContext(ctx context.Context) GatewayOutput }
type GatewayMap ¶
type GatewayMap map[string]GatewayInput
func (GatewayMap) ElementType ¶
func (GatewayMap) ElementType() reflect.Type
func (GatewayMap) ToGatewayMapOutput ¶
func (i GatewayMap) ToGatewayMapOutput() GatewayMapOutput
func (GatewayMap) ToGatewayMapOutputWithContext ¶
func (i GatewayMap) ToGatewayMapOutputWithContext(ctx context.Context) GatewayMapOutput
type GatewayMapInput ¶
type GatewayMapInput interface { pulumi.Input ToGatewayMapOutput() GatewayMapOutput ToGatewayMapOutputWithContext(context.Context) GatewayMapOutput }
GatewayMapInput is an input type that accepts GatewayMap and GatewayMapOutput values. You can construct a concrete instance of `GatewayMapInput` via:
GatewayMap{ "key": GatewayArgs{...} }
type GatewayMapOutput ¶
type GatewayMapOutput struct{ *pulumi.OutputState }
func (GatewayMapOutput) ElementType ¶
func (GatewayMapOutput) ElementType() reflect.Type
func (GatewayMapOutput) MapIndex ¶
func (o GatewayMapOutput) MapIndex(k pulumi.StringInput) GatewayOutput
func (GatewayMapOutput) ToGatewayMapOutput ¶
func (o GatewayMapOutput) ToGatewayMapOutput() GatewayMapOutput
func (GatewayMapOutput) ToGatewayMapOutputWithContext ¶
func (o GatewayMapOutput) ToGatewayMapOutputWithContext(ctx context.Context) GatewayMapOutput
type GatewayOutput ¶
type GatewayOutput struct{ *pulumi.OutputState }
func (GatewayOutput) AutoPay ¶
func (o GatewayOutput) AutoPay() pulumi.BoolPtrOutput
Whether to pay automatically. Default value: `true`. Valid values: - `false`: If automatic payment is not enabled, you need to go to the order center to complete the payment after the order is generated. - `true`: Enable automatic payment, automatic payment order.
func (GatewayOutput) AutoPropagate ¶
func (o GatewayOutput) AutoPropagate() pulumi.BoolPtrOutput
Specifies whether to automatically advertise BGP routes to the virtual private cloud (VPC). Valid values: - `true`: Enable. - `false`: Disable.
func (GatewayOutput) Bandwidth ¶
func (o GatewayOutput) Bandwidth() pulumi.IntOutput
func (GatewayOutput) BusinessStatus ¶
func (o GatewayOutput) BusinessStatus() pulumi.StringOutput
The business status of the VPN gateway.
func (GatewayOutput) Description ¶
func (o GatewayOutput) Description() pulumi.StringPtrOutput
The description of the VPN instance.
func (GatewayOutput) ElementType ¶
func (GatewayOutput) ElementType() reflect.Type
func (GatewayOutput) EnableIpsec ¶
func (o GatewayOutput) EnableIpsec() pulumi.BoolPtrOutput
Enable or Disable IPSec VPN. At least one type of VPN should be enabled.
func (GatewayOutput) EnableSsl ¶
func (o GatewayOutput) EnableSsl() pulumi.BoolPtrOutput
Enable or Disable SSL VPN. At least one type of VPN should be enabled.
func (GatewayOutput) InstanceChargeType ¶
func (o GatewayOutput) InstanceChargeType() pulumi.StringPtrOutput
The charge type for instance. If it is an international site account, the valid value is PostPaid, otherwise PrePaid. Default to PostPaid.
func (GatewayOutput) InternetIp ¶
func (o GatewayOutput) InternetIp() pulumi.StringOutput
The internet ip of the VPN.
func (GatewayOutput) Name ¶
func (o GatewayOutput) Name() pulumi.StringOutput
The name of the VPN. Defaults to null.
func (GatewayOutput) NetworkType ¶
func (o GatewayOutput) NetworkType() pulumi.StringOutput
The network type of the VPN gateway. Value: - public (default): Public VPN gateway. - private: Private VPN gateway.
func (GatewayOutput) Period ¶
func (o GatewayOutput) Period() pulumi.IntPtrOutput
The filed is only required while the InstanceChargeType is PrePaid. Valid values: [1-9, 12, 24, 36]. Default to 1.
func (GatewayOutput) SslConnections ¶
func (o GatewayOutput) SslConnections() pulumi.IntPtrOutput
The max connections of SSL VPN. Default to 5. The number of connections supported by each account is different. This field is ignored when enableSsl is false.
func (GatewayOutput) Status ¶
func (o GatewayOutput) Status() pulumi.StringOutput
The status of the VPN gateway.
func (GatewayOutput) ToGatewayOutput ¶
func (o GatewayOutput) ToGatewayOutput() GatewayOutput
func (GatewayOutput) ToGatewayOutputWithContext ¶
func (o GatewayOutput) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput
func (GatewayOutput) VpcId ¶
func (o GatewayOutput) VpcId() pulumi.StringOutput
The VPN belongs the vpc_id, the field can't be changed.
func (GatewayOutput) VswitchId ¶
func (o GatewayOutput) VswitchId() pulumi.StringOutput
The VPN belongs the vswitch_id, the field can't be changed.
type GatewayState ¶
type GatewayState struct { // Whether to pay automatically. Default value: `true`. Valid values: // - `false`: If automatic payment is not enabled, you need to go to the order center to complete the payment after the order is generated. // - `true`: Enable automatic payment, automatic payment order. AutoPay pulumi.BoolPtrInput // Specifies whether to automatically advertise BGP routes to the virtual private cloud (VPC). Valid values: // - `true`: Enable. // - `false`: Disable. AutoPropagate pulumi.BoolPtrInput Bandwidth pulumi.IntPtrInput // The business status of the VPN gateway. BusinessStatus pulumi.StringPtrInput // The description of the VPN instance. Description pulumi.StringPtrInput // Enable or Disable IPSec VPN. At least one type of VPN should be enabled. EnableIpsec pulumi.BoolPtrInput // Enable or Disable SSL VPN. At least one type of VPN should be enabled. EnableSsl pulumi.BoolPtrInput // The charge type for instance. If it is an international site account, the valid value is PostPaid, otherwise PrePaid. // Default to PostPaid. InstanceChargeType pulumi.StringPtrInput // The internet ip of the VPN. InternetIp pulumi.StringPtrInput // The name of the VPN. Defaults to null. Name pulumi.StringPtrInput // The network type of the VPN gateway. Value: // - public (default): Public VPN gateway. // - private: Private VPN gateway. NetworkType pulumi.StringPtrInput // The filed is only required while the InstanceChargeType is PrePaid. Valid values: [1-9, 12, 24, 36]. Default to 1. Period pulumi.IntPtrInput // The max connections of SSL VPN. Default to 5. The number of connections supported by each account is different. // This field is ignored when enableSsl is false. SslConnections pulumi.IntPtrInput // The status of the VPN gateway. Status pulumi.StringPtrInput // The tags of VPN gateway. Tags pulumi.MapInput // The VPN belongs the vpc_id, the field can't be changed. VpcId pulumi.StringPtrInput // The VPN belongs the vswitch_id, the field can't be changed. VswitchId pulumi.StringPtrInput }
func (GatewayState) ElementType ¶
func (GatewayState) ElementType() reflect.Type
type GatewayVpnAttachment ¶
type GatewayVpnAttachment struct { pulumi.CustomResourceState // Bgp configuration information. See the following `Block bgpConfig`. BgpConfig GatewayVpnAttachmentBgpConfigOutput `pulumi:"bgpConfig"` // The ID of the customer gateway. CustomerGatewayId pulumi.StringOutput `pulumi:"customerGatewayId"` // Indicates whether IPsec-VPN negotiations are initiated immediately. Valid values. EffectImmediately pulumi.BoolPtrOutput `pulumi:"effectImmediately"` // Whether to enable the DPD (peer survival detection) function. EnableDpd pulumi.BoolOutput `pulumi:"enableDpd"` // Allow NAT penetration. EnableNatTraversal pulumi.BoolOutput `pulumi:"enableNatTraversal"` // Health check configuration information. See the following `Block healthCheckConfig`. HealthCheckConfig GatewayVpnAttachmentHealthCheckConfigOutput `pulumi:"healthCheckConfig"` // Configuration negotiated in the second stage. See the following `Block ikeConfig`. IkeConfig GatewayVpnAttachmentIkeConfigOutput `pulumi:"ikeConfig"` // The VPN gateway IP. InternetIp pulumi.StringOutput `pulumi:"internetIp"` // Configuration negotiated in the second stage. See the following `Block ipsecConfig`. IpsecConfig GatewayVpnAttachmentIpsecConfigOutput `pulumi:"ipsecConfig"` // The CIDR block of the virtual private cloud (VPC). LocalSubnet pulumi.StringOutput `pulumi:"localSubnet"` // The network type of the IPsec connection. Valid values: `public`, `private`. NetworkType pulumi.StringOutput `pulumi:"networkType"` // The CIDR block of the on-premises data center. RemoteSubnet pulumi.StringOutput `pulumi:"remoteSubnet"` // The status of the resource. Status pulumi.StringOutput `pulumi:"status"` // The name of the vpn attachment. VpnAttachmentName pulumi.StringPtrOutput `pulumi:"vpnAttachmentName"` }
Provides a VPN Gateway Vpn Attachment resource.
For information about VPN Gateway Vpn Attachment and how to use it, see [What is Vpn Attachment](https://www.alibabacloud.com/help/zh/virtual-private-cloud/latest/createvpnattachment).
> **NOTE:** Available in v1.181.0+.
## Import
VPN Gateway Vpn Attachment can be imported using the id, e.g.
```sh
$ pulumi import alicloud:vpn/gatewayVpnAttachment:GatewayVpnAttachment example <id>
```
func GetGatewayVpnAttachment ¶
func GetGatewayVpnAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GatewayVpnAttachmentState, opts ...pulumi.ResourceOption) (*GatewayVpnAttachment, error)
GetGatewayVpnAttachment gets an existing GatewayVpnAttachment 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 NewGatewayVpnAttachment ¶
func NewGatewayVpnAttachment(ctx *pulumi.Context, name string, args *GatewayVpnAttachmentArgs, opts ...pulumi.ResourceOption) (*GatewayVpnAttachment, error)
NewGatewayVpnAttachment registers a new resource with the given unique name, arguments, and options.
func (*GatewayVpnAttachment) ElementType ¶
func (*GatewayVpnAttachment) ElementType() reflect.Type
func (*GatewayVpnAttachment) ToGatewayVpnAttachmentOutput ¶
func (i *GatewayVpnAttachment) ToGatewayVpnAttachmentOutput() GatewayVpnAttachmentOutput
func (*GatewayVpnAttachment) ToGatewayVpnAttachmentOutputWithContext ¶
func (i *GatewayVpnAttachment) ToGatewayVpnAttachmentOutputWithContext(ctx context.Context) GatewayVpnAttachmentOutput
type GatewayVpnAttachmentArgs ¶
type GatewayVpnAttachmentArgs struct { // Bgp configuration information. See the following `Block bgpConfig`. BgpConfig GatewayVpnAttachmentBgpConfigPtrInput // The ID of the customer gateway. CustomerGatewayId pulumi.StringInput // Indicates whether IPsec-VPN negotiations are initiated immediately. Valid values. EffectImmediately pulumi.BoolPtrInput // Whether to enable the DPD (peer survival detection) function. EnableDpd pulumi.BoolPtrInput // Allow NAT penetration. EnableNatTraversal pulumi.BoolPtrInput // Health check configuration information. See the following `Block healthCheckConfig`. HealthCheckConfig GatewayVpnAttachmentHealthCheckConfigPtrInput // Configuration negotiated in the second stage. See the following `Block ikeConfig`. IkeConfig GatewayVpnAttachmentIkeConfigPtrInput // Configuration negotiated in the second stage. See the following `Block ipsecConfig`. IpsecConfig GatewayVpnAttachmentIpsecConfigPtrInput // The CIDR block of the virtual private cloud (VPC). LocalSubnet pulumi.StringInput // The network type of the IPsec connection. Valid values: `public`, `private`. NetworkType pulumi.StringPtrInput // The CIDR block of the on-premises data center. RemoteSubnet pulumi.StringInput // The name of the vpn attachment. VpnAttachmentName pulumi.StringPtrInput }
The set of arguments for constructing a GatewayVpnAttachment resource.
func (GatewayVpnAttachmentArgs) ElementType ¶
func (GatewayVpnAttachmentArgs) ElementType() reflect.Type
type GatewayVpnAttachmentArray ¶
type GatewayVpnAttachmentArray []GatewayVpnAttachmentInput
func (GatewayVpnAttachmentArray) ElementType ¶
func (GatewayVpnAttachmentArray) ElementType() reflect.Type
func (GatewayVpnAttachmentArray) ToGatewayVpnAttachmentArrayOutput ¶
func (i GatewayVpnAttachmentArray) ToGatewayVpnAttachmentArrayOutput() GatewayVpnAttachmentArrayOutput
func (GatewayVpnAttachmentArray) ToGatewayVpnAttachmentArrayOutputWithContext ¶
func (i GatewayVpnAttachmentArray) ToGatewayVpnAttachmentArrayOutputWithContext(ctx context.Context) GatewayVpnAttachmentArrayOutput
type GatewayVpnAttachmentArrayInput ¶
type GatewayVpnAttachmentArrayInput interface { pulumi.Input ToGatewayVpnAttachmentArrayOutput() GatewayVpnAttachmentArrayOutput ToGatewayVpnAttachmentArrayOutputWithContext(context.Context) GatewayVpnAttachmentArrayOutput }
GatewayVpnAttachmentArrayInput is an input type that accepts GatewayVpnAttachmentArray and GatewayVpnAttachmentArrayOutput values. You can construct a concrete instance of `GatewayVpnAttachmentArrayInput` via:
GatewayVpnAttachmentArray{ GatewayVpnAttachmentArgs{...} }
type GatewayVpnAttachmentArrayOutput ¶
type GatewayVpnAttachmentArrayOutput struct{ *pulumi.OutputState }
func (GatewayVpnAttachmentArrayOutput) ElementType ¶
func (GatewayVpnAttachmentArrayOutput) ElementType() reflect.Type
func (GatewayVpnAttachmentArrayOutput) Index ¶
func (o GatewayVpnAttachmentArrayOutput) Index(i pulumi.IntInput) GatewayVpnAttachmentOutput
func (GatewayVpnAttachmentArrayOutput) ToGatewayVpnAttachmentArrayOutput ¶
func (o GatewayVpnAttachmentArrayOutput) ToGatewayVpnAttachmentArrayOutput() GatewayVpnAttachmentArrayOutput
func (GatewayVpnAttachmentArrayOutput) ToGatewayVpnAttachmentArrayOutputWithContext ¶
func (o GatewayVpnAttachmentArrayOutput) ToGatewayVpnAttachmentArrayOutputWithContext(ctx context.Context) GatewayVpnAttachmentArrayOutput
type GatewayVpnAttachmentBgpConfig ¶
type GatewayVpnAttachmentBgpConfig struct { // Whether to enable BGP. Enable *bool `pulumi:"enable"` // The ASN on the Alibaba Cloud side. LocalAsn *int `pulumi:"localAsn"` // The BGP IP address on the Alibaba Cloud side. LocalBgpIp *string `pulumi:"localBgpIp"` // The CIDR block of the IPsec tunnel. The CIDR block belongs to 169.254.0.0/16. The mask of the CIDR block is 30 bits in length. TunnelCidr *string `pulumi:"tunnelCidr"` }
type GatewayVpnAttachmentBgpConfigArgs ¶
type GatewayVpnAttachmentBgpConfigArgs struct { // Whether to enable BGP. Enable pulumi.BoolPtrInput `pulumi:"enable"` // The ASN on the Alibaba Cloud side. LocalAsn pulumi.IntPtrInput `pulumi:"localAsn"` // The BGP IP address on the Alibaba Cloud side. LocalBgpIp pulumi.StringPtrInput `pulumi:"localBgpIp"` // The CIDR block of the IPsec tunnel. The CIDR block belongs to 169.254.0.0/16. The mask of the CIDR block is 30 bits in length. TunnelCidr pulumi.StringPtrInput `pulumi:"tunnelCidr"` }
func (GatewayVpnAttachmentBgpConfigArgs) ElementType ¶
func (GatewayVpnAttachmentBgpConfigArgs) ElementType() reflect.Type
func (GatewayVpnAttachmentBgpConfigArgs) ToGatewayVpnAttachmentBgpConfigOutput ¶
func (i GatewayVpnAttachmentBgpConfigArgs) ToGatewayVpnAttachmentBgpConfigOutput() GatewayVpnAttachmentBgpConfigOutput
func (GatewayVpnAttachmentBgpConfigArgs) ToGatewayVpnAttachmentBgpConfigOutputWithContext ¶
func (i GatewayVpnAttachmentBgpConfigArgs) ToGatewayVpnAttachmentBgpConfigOutputWithContext(ctx context.Context) GatewayVpnAttachmentBgpConfigOutput
func (GatewayVpnAttachmentBgpConfigArgs) ToGatewayVpnAttachmentBgpConfigPtrOutput ¶
func (i GatewayVpnAttachmentBgpConfigArgs) ToGatewayVpnAttachmentBgpConfigPtrOutput() GatewayVpnAttachmentBgpConfigPtrOutput
func (GatewayVpnAttachmentBgpConfigArgs) ToGatewayVpnAttachmentBgpConfigPtrOutputWithContext ¶
func (i GatewayVpnAttachmentBgpConfigArgs) ToGatewayVpnAttachmentBgpConfigPtrOutputWithContext(ctx context.Context) GatewayVpnAttachmentBgpConfigPtrOutput
type GatewayVpnAttachmentBgpConfigInput ¶
type GatewayVpnAttachmentBgpConfigInput interface { pulumi.Input ToGatewayVpnAttachmentBgpConfigOutput() GatewayVpnAttachmentBgpConfigOutput ToGatewayVpnAttachmentBgpConfigOutputWithContext(context.Context) GatewayVpnAttachmentBgpConfigOutput }
GatewayVpnAttachmentBgpConfigInput is an input type that accepts GatewayVpnAttachmentBgpConfigArgs and GatewayVpnAttachmentBgpConfigOutput values. You can construct a concrete instance of `GatewayVpnAttachmentBgpConfigInput` via:
GatewayVpnAttachmentBgpConfigArgs{...}
type GatewayVpnAttachmentBgpConfigOutput ¶
type GatewayVpnAttachmentBgpConfigOutput struct{ *pulumi.OutputState }
func (GatewayVpnAttachmentBgpConfigOutput) ElementType ¶
func (GatewayVpnAttachmentBgpConfigOutput) ElementType() reflect.Type
func (GatewayVpnAttachmentBgpConfigOutput) Enable ¶
func (o GatewayVpnAttachmentBgpConfigOutput) Enable() pulumi.BoolPtrOutput
Whether to enable BGP.
func (GatewayVpnAttachmentBgpConfigOutput) LocalAsn ¶
func (o GatewayVpnAttachmentBgpConfigOutput) LocalAsn() pulumi.IntPtrOutput
The ASN on the Alibaba Cloud side.
func (GatewayVpnAttachmentBgpConfigOutput) LocalBgpIp ¶
func (o GatewayVpnAttachmentBgpConfigOutput) LocalBgpIp() pulumi.StringPtrOutput
The BGP IP address on the Alibaba Cloud side.
func (GatewayVpnAttachmentBgpConfigOutput) ToGatewayVpnAttachmentBgpConfigOutput ¶
func (o GatewayVpnAttachmentBgpConfigOutput) ToGatewayVpnAttachmentBgpConfigOutput() GatewayVpnAttachmentBgpConfigOutput
func (GatewayVpnAttachmentBgpConfigOutput) ToGatewayVpnAttachmentBgpConfigOutputWithContext ¶
func (o GatewayVpnAttachmentBgpConfigOutput) ToGatewayVpnAttachmentBgpConfigOutputWithContext(ctx context.Context) GatewayVpnAttachmentBgpConfigOutput
func (GatewayVpnAttachmentBgpConfigOutput) ToGatewayVpnAttachmentBgpConfigPtrOutput ¶
func (o GatewayVpnAttachmentBgpConfigOutput) ToGatewayVpnAttachmentBgpConfigPtrOutput() GatewayVpnAttachmentBgpConfigPtrOutput
func (GatewayVpnAttachmentBgpConfigOutput) ToGatewayVpnAttachmentBgpConfigPtrOutputWithContext ¶
func (o GatewayVpnAttachmentBgpConfigOutput) ToGatewayVpnAttachmentBgpConfigPtrOutputWithContext(ctx context.Context) GatewayVpnAttachmentBgpConfigPtrOutput
func (GatewayVpnAttachmentBgpConfigOutput) TunnelCidr ¶
func (o GatewayVpnAttachmentBgpConfigOutput) TunnelCidr() pulumi.StringPtrOutput
The CIDR block of the IPsec tunnel. The CIDR block belongs to 169.254.0.0/16. The mask of the CIDR block is 30 bits in length.
type GatewayVpnAttachmentBgpConfigPtrInput ¶
type GatewayVpnAttachmentBgpConfigPtrInput interface { pulumi.Input ToGatewayVpnAttachmentBgpConfigPtrOutput() GatewayVpnAttachmentBgpConfigPtrOutput ToGatewayVpnAttachmentBgpConfigPtrOutputWithContext(context.Context) GatewayVpnAttachmentBgpConfigPtrOutput }
GatewayVpnAttachmentBgpConfigPtrInput is an input type that accepts GatewayVpnAttachmentBgpConfigArgs, GatewayVpnAttachmentBgpConfigPtr and GatewayVpnAttachmentBgpConfigPtrOutput values. You can construct a concrete instance of `GatewayVpnAttachmentBgpConfigPtrInput` via:
GatewayVpnAttachmentBgpConfigArgs{...} or: nil
func GatewayVpnAttachmentBgpConfigPtr ¶
func GatewayVpnAttachmentBgpConfigPtr(v *GatewayVpnAttachmentBgpConfigArgs) GatewayVpnAttachmentBgpConfigPtrInput
type GatewayVpnAttachmentBgpConfigPtrOutput ¶
type GatewayVpnAttachmentBgpConfigPtrOutput struct{ *pulumi.OutputState }
func (GatewayVpnAttachmentBgpConfigPtrOutput) ElementType ¶
func (GatewayVpnAttachmentBgpConfigPtrOutput) ElementType() reflect.Type
func (GatewayVpnAttachmentBgpConfigPtrOutput) Enable ¶
func (o GatewayVpnAttachmentBgpConfigPtrOutput) Enable() pulumi.BoolPtrOutput
Whether to enable BGP.
func (GatewayVpnAttachmentBgpConfigPtrOutput) LocalAsn ¶
func (o GatewayVpnAttachmentBgpConfigPtrOutput) LocalAsn() pulumi.IntPtrOutput
The ASN on the Alibaba Cloud side.
func (GatewayVpnAttachmentBgpConfigPtrOutput) LocalBgpIp ¶
func (o GatewayVpnAttachmentBgpConfigPtrOutput) LocalBgpIp() pulumi.StringPtrOutput
The BGP IP address on the Alibaba Cloud side.
func (GatewayVpnAttachmentBgpConfigPtrOutput) ToGatewayVpnAttachmentBgpConfigPtrOutput ¶
func (o GatewayVpnAttachmentBgpConfigPtrOutput) ToGatewayVpnAttachmentBgpConfigPtrOutput() GatewayVpnAttachmentBgpConfigPtrOutput
func (GatewayVpnAttachmentBgpConfigPtrOutput) ToGatewayVpnAttachmentBgpConfigPtrOutputWithContext ¶
func (o GatewayVpnAttachmentBgpConfigPtrOutput) ToGatewayVpnAttachmentBgpConfigPtrOutputWithContext(ctx context.Context) GatewayVpnAttachmentBgpConfigPtrOutput
func (GatewayVpnAttachmentBgpConfigPtrOutput) TunnelCidr ¶
func (o GatewayVpnAttachmentBgpConfigPtrOutput) TunnelCidr() pulumi.StringPtrOutput
The CIDR block of the IPsec tunnel. The CIDR block belongs to 169.254.0.0/16. The mask of the CIDR block is 30 bits in length.
type GatewayVpnAttachmentHealthCheckConfig ¶
type GatewayVpnAttachmentHealthCheckConfig struct { // The destination IP address that is used for health checks. Dip *string `pulumi:"dip"` // Whether to enable BGP. Enable *bool `pulumi:"enable"` // The interval between two consecutive health checks. Unit: seconds. Interval *int `pulumi:"interval"` // Whether to revoke the published route when the health check fails. Valid values: `revokeRoute` or `reserveRoute`. Policy *string `pulumi:"policy"` // The maximum number of health check retries. Retry *int `pulumi:"retry"` // The source IP address that is used for health checks. Sip *string `pulumi:"sip"` }
type GatewayVpnAttachmentHealthCheckConfigArgs ¶
type GatewayVpnAttachmentHealthCheckConfigArgs struct { // The destination IP address that is used for health checks. Dip pulumi.StringPtrInput `pulumi:"dip"` // Whether to enable BGP. Enable pulumi.BoolPtrInput `pulumi:"enable"` // The interval between two consecutive health checks. Unit: seconds. Interval pulumi.IntPtrInput `pulumi:"interval"` // Whether to revoke the published route when the health check fails. Valid values: `revokeRoute` or `reserveRoute`. Policy pulumi.StringPtrInput `pulumi:"policy"` // The maximum number of health check retries. Retry pulumi.IntPtrInput `pulumi:"retry"` // The source IP address that is used for health checks. Sip pulumi.StringPtrInput `pulumi:"sip"` }
func (GatewayVpnAttachmentHealthCheckConfigArgs) ElementType ¶
func (GatewayVpnAttachmentHealthCheckConfigArgs) ElementType() reflect.Type
func (GatewayVpnAttachmentHealthCheckConfigArgs) ToGatewayVpnAttachmentHealthCheckConfigOutput ¶
func (i GatewayVpnAttachmentHealthCheckConfigArgs) ToGatewayVpnAttachmentHealthCheckConfigOutput() GatewayVpnAttachmentHealthCheckConfigOutput
func (GatewayVpnAttachmentHealthCheckConfigArgs) ToGatewayVpnAttachmentHealthCheckConfigOutputWithContext ¶
func (i GatewayVpnAttachmentHealthCheckConfigArgs) ToGatewayVpnAttachmentHealthCheckConfigOutputWithContext(ctx context.Context) GatewayVpnAttachmentHealthCheckConfigOutput
func (GatewayVpnAttachmentHealthCheckConfigArgs) ToGatewayVpnAttachmentHealthCheckConfigPtrOutput ¶
func (i GatewayVpnAttachmentHealthCheckConfigArgs) ToGatewayVpnAttachmentHealthCheckConfigPtrOutput() GatewayVpnAttachmentHealthCheckConfigPtrOutput
func (GatewayVpnAttachmentHealthCheckConfigArgs) ToGatewayVpnAttachmentHealthCheckConfigPtrOutputWithContext ¶
func (i GatewayVpnAttachmentHealthCheckConfigArgs) ToGatewayVpnAttachmentHealthCheckConfigPtrOutputWithContext(ctx context.Context) GatewayVpnAttachmentHealthCheckConfigPtrOutput
type GatewayVpnAttachmentHealthCheckConfigInput ¶
type GatewayVpnAttachmentHealthCheckConfigInput interface { pulumi.Input ToGatewayVpnAttachmentHealthCheckConfigOutput() GatewayVpnAttachmentHealthCheckConfigOutput ToGatewayVpnAttachmentHealthCheckConfigOutputWithContext(context.Context) GatewayVpnAttachmentHealthCheckConfigOutput }
GatewayVpnAttachmentHealthCheckConfigInput is an input type that accepts GatewayVpnAttachmentHealthCheckConfigArgs and GatewayVpnAttachmentHealthCheckConfigOutput values. You can construct a concrete instance of `GatewayVpnAttachmentHealthCheckConfigInput` via:
GatewayVpnAttachmentHealthCheckConfigArgs{...}
type GatewayVpnAttachmentHealthCheckConfigOutput ¶
type GatewayVpnAttachmentHealthCheckConfigOutput struct{ *pulumi.OutputState }
func (GatewayVpnAttachmentHealthCheckConfigOutput) Dip ¶
func (o GatewayVpnAttachmentHealthCheckConfigOutput) Dip() pulumi.StringPtrOutput
The destination IP address that is used for health checks.
func (GatewayVpnAttachmentHealthCheckConfigOutput) ElementType ¶
func (GatewayVpnAttachmentHealthCheckConfigOutput) ElementType() reflect.Type
func (GatewayVpnAttachmentHealthCheckConfigOutput) Enable ¶
func (o GatewayVpnAttachmentHealthCheckConfigOutput) Enable() pulumi.BoolPtrOutput
Whether to enable BGP.
func (GatewayVpnAttachmentHealthCheckConfigOutput) Interval ¶
func (o GatewayVpnAttachmentHealthCheckConfigOutput) Interval() pulumi.IntPtrOutput
The interval between two consecutive health checks. Unit: seconds.
func (GatewayVpnAttachmentHealthCheckConfigOutput) Policy ¶
func (o GatewayVpnAttachmentHealthCheckConfigOutput) Policy() pulumi.StringPtrOutput
Whether to revoke the published route when the health check fails. Valid values: `revokeRoute` or `reserveRoute`.
func (GatewayVpnAttachmentHealthCheckConfigOutput) Retry ¶
func (o GatewayVpnAttachmentHealthCheckConfigOutput) Retry() pulumi.IntPtrOutput
The maximum number of health check retries.
func (GatewayVpnAttachmentHealthCheckConfigOutput) Sip ¶
func (o GatewayVpnAttachmentHealthCheckConfigOutput) Sip() pulumi.StringPtrOutput
The source IP address that is used for health checks.
func (GatewayVpnAttachmentHealthCheckConfigOutput) ToGatewayVpnAttachmentHealthCheckConfigOutput ¶
func (o GatewayVpnAttachmentHealthCheckConfigOutput) ToGatewayVpnAttachmentHealthCheckConfigOutput() GatewayVpnAttachmentHealthCheckConfigOutput
func (GatewayVpnAttachmentHealthCheckConfigOutput) ToGatewayVpnAttachmentHealthCheckConfigOutputWithContext ¶
func (o GatewayVpnAttachmentHealthCheckConfigOutput) ToGatewayVpnAttachmentHealthCheckConfigOutputWithContext(ctx context.Context) GatewayVpnAttachmentHealthCheckConfigOutput
func (GatewayVpnAttachmentHealthCheckConfigOutput) ToGatewayVpnAttachmentHealthCheckConfigPtrOutput ¶
func (o GatewayVpnAttachmentHealthCheckConfigOutput) ToGatewayVpnAttachmentHealthCheckConfigPtrOutput() GatewayVpnAttachmentHealthCheckConfigPtrOutput
func (GatewayVpnAttachmentHealthCheckConfigOutput) ToGatewayVpnAttachmentHealthCheckConfigPtrOutputWithContext ¶
func (o GatewayVpnAttachmentHealthCheckConfigOutput) ToGatewayVpnAttachmentHealthCheckConfigPtrOutputWithContext(ctx context.Context) GatewayVpnAttachmentHealthCheckConfigPtrOutput
type GatewayVpnAttachmentHealthCheckConfigPtrInput ¶
type GatewayVpnAttachmentHealthCheckConfigPtrInput interface { pulumi.Input ToGatewayVpnAttachmentHealthCheckConfigPtrOutput() GatewayVpnAttachmentHealthCheckConfigPtrOutput ToGatewayVpnAttachmentHealthCheckConfigPtrOutputWithContext(context.Context) GatewayVpnAttachmentHealthCheckConfigPtrOutput }
GatewayVpnAttachmentHealthCheckConfigPtrInput is an input type that accepts GatewayVpnAttachmentHealthCheckConfigArgs, GatewayVpnAttachmentHealthCheckConfigPtr and GatewayVpnAttachmentHealthCheckConfigPtrOutput values. You can construct a concrete instance of `GatewayVpnAttachmentHealthCheckConfigPtrInput` via:
GatewayVpnAttachmentHealthCheckConfigArgs{...} or: nil
func GatewayVpnAttachmentHealthCheckConfigPtr ¶
func GatewayVpnAttachmentHealthCheckConfigPtr(v *GatewayVpnAttachmentHealthCheckConfigArgs) GatewayVpnAttachmentHealthCheckConfigPtrInput
type GatewayVpnAttachmentHealthCheckConfigPtrOutput ¶
type GatewayVpnAttachmentHealthCheckConfigPtrOutput struct{ *pulumi.OutputState }
func (GatewayVpnAttachmentHealthCheckConfigPtrOutput) Dip ¶
func (o GatewayVpnAttachmentHealthCheckConfigPtrOutput) Dip() pulumi.StringPtrOutput
The destination IP address that is used for health checks.
func (GatewayVpnAttachmentHealthCheckConfigPtrOutput) ElementType ¶
func (GatewayVpnAttachmentHealthCheckConfigPtrOutput) ElementType() reflect.Type
func (GatewayVpnAttachmentHealthCheckConfigPtrOutput) Enable ¶
func (o GatewayVpnAttachmentHealthCheckConfigPtrOutput) Enable() pulumi.BoolPtrOutput
Whether to enable BGP.
func (GatewayVpnAttachmentHealthCheckConfigPtrOutput) Interval ¶
func (o GatewayVpnAttachmentHealthCheckConfigPtrOutput) Interval() pulumi.IntPtrOutput
The interval between two consecutive health checks. Unit: seconds.
func (GatewayVpnAttachmentHealthCheckConfigPtrOutput) Policy ¶
func (o GatewayVpnAttachmentHealthCheckConfigPtrOutput) Policy() pulumi.StringPtrOutput
Whether to revoke the published route when the health check fails. Valid values: `revokeRoute` or `reserveRoute`.
func (GatewayVpnAttachmentHealthCheckConfigPtrOutput) Retry ¶
func (o GatewayVpnAttachmentHealthCheckConfigPtrOutput) Retry() pulumi.IntPtrOutput
The maximum number of health check retries.
func (GatewayVpnAttachmentHealthCheckConfigPtrOutput) Sip ¶
func (o GatewayVpnAttachmentHealthCheckConfigPtrOutput) Sip() pulumi.StringPtrOutput
The source IP address that is used for health checks.
func (GatewayVpnAttachmentHealthCheckConfigPtrOutput) ToGatewayVpnAttachmentHealthCheckConfigPtrOutput ¶
func (o GatewayVpnAttachmentHealthCheckConfigPtrOutput) ToGatewayVpnAttachmentHealthCheckConfigPtrOutput() GatewayVpnAttachmentHealthCheckConfigPtrOutput
func (GatewayVpnAttachmentHealthCheckConfigPtrOutput) ToGatewayVpnAttachmentHealthCheckConfigPtrOutputWithContext ¶
func (o GatewayVpnAttachmentHealthCheckConfigPtrOutput) ToGatewayVpnAttachmentHealthCheckConfigPtrOutputWithContext(ctx context.Context) GatewayVpnAttachmentHealthCheckConfigPtrOutput
type GatewayVpnAttachmentIkeConfig ¶
type GatewayVpnAttachmentIkeConfig struct { // IKE authentication algorithm supports sha1 and MD5. IkeAuthAlg *string `pulumi:"ikeAuthAlg"` // The encryption algorithm of phase-one negotiation. Valid value: aes | aes192 | aes256 | des | 3des. Default Valid value: aes. IkeEncAlg *string `pulumi:"ikeEncAlg"` // The SA lifecycle as the result of phase-one negotiation. The valid value of n is [0, 86400], the unit is second and the default value is 86400. IkeLifetime *int `pulumi:"ikeLifetime"` // The negotiation mode of IKE V1. Valid value: main (main mode) | aggressive (aggressive mode). Default value: `main`. IkeMode *string `pulumi:"ikeMode"` // The Diffie-Hellman key exchange algorithm used by phase-one negotiation. Valid value: group1 | group2 | group5 | group14 | group24. Default value: group2 IkePfs *string `pulumi:"ikePfs"` // The version of the IKE protocol. Valid value: `ikev1`, `ikev2`. Default value: `ikev1`. IkeVersion *string `pulumi:"ikeVersion"` // The local ID, which supports the FQDN and IP formats. The current VPN gateway IP address is selected by default. LocalId *string `pulumi:"localId"` // Used for authentication between the IPsec VPN gateway and the customer gateway. Psk *string `pulumi:"psk"` // The peer ID, which supports FQDN and IP formats. By default, the IP address of the currently selected user gateway. RemoteId *string `pulumi:"remoteId"` }
type GatewayVpnAttachmentIkeConfigArgs ¶
type GatewayVpnAttachmentIkeConfigArgs struct { // IKE authentication algorithm supports sha1 and MD5. IkeAuthAlg pulumi.StringPtrInput `pulumi:"ikeAuthAlg"` // The encryption algorithm of phase-one negotiation. Valid value: aes | aes192 | aes256 | des | 3des. Default Valid value: aes. IkeEncAlg pulumi.StringPtrInput `pulumi:"ikeEncAlg"` // The SA lifecycle as the result of phase-one negotiation. The valid value of n is [0, 86400], the unit is second and the default value is 86400. IkeLifetime pulumi.IntPtrInput `pulumi:"ikeLifetime"` // The negotiation mode of IKE V1. Valid value: main (main mode) | aggressive (aggressive mode). Default value: `main`. IkeMode pulumi.StringPtrInput `pulumi:"ikeMode"` // The Diffie-Hellman key exchange algorithm used by phase-one negotiation. Valid value: group1 | group2 | group5 | group14 | group24. Default value: group2 IkePfs pulumi.StringPtrInput `pulumi:"ikePfs"` // The version of the IKE protocol. Valid value: `ikev1`, `ikev2`. Default value: `ikev1`. IkeVersion pulumi.StringPtrInput `pulumi:"ikeVersion"` // The local ID, which supports the FQDN and IP formats. The current VPN gateway IP address is selected by default. LocalId pulumi.StringPtrInput `pulumi:"localId"` // Used for authentication between the IPsec VPN gateway and the customer gateway. Psk pulumi.StringPtrInput `pulumi:"psk"` // The peer ID, which supports FQDN and IP formats. By default, the IP address of the currently selected user gateway. RemoteId pulumi.StringPtrInput `pulumi:"remoteId"` }
func (GatewayVpnAttachmentIkeConfigArgs) ElementType ¶
func (GatewayVpnAttachmentIkeConfigArgs) ElementType() reflect.Type
func (GatewayVpnAttachmentIkeConfigArgs) ToGatewayVpnAttachmentIkeConfigOutput ¶
func (i GatewayVpnAttachmentIkeConfigArgs) ToGatewayVpnAttachmentIkeConfigOutput() GatewayVpnAttachmentIkeConfigOutput
func (GatewayVpnAttachmentIkeConfigArgs) ToGatewayVpnAttachmentIkeConfigOutputWithContext ¶
func (i GatewayVpnAttachmentIkeConfigArgs) ToGatewayVpnAttachmentIkeConfigOutputWithContext(ctx context.Context) GatewayVpnAttachmentIkeConfigOutput
func (GatewayVpnAttachmentIkeConfigArgs) ToGatewayVpnAttachmentIkeConfigPtrOutput ¶
func (i GatewayVpnAttachmentIkeConfigArgs) ToGatewayVpnAttachmentIkeConfigPtrOutput() GatewayVpnAttachmentIkeConfigPtrOutput
func (GatewayVpnAttachmentIkeConfigArgs) ToGatewayVpnAttachmentIkeConfigPtrOutputWithContext ¶
func (i GatewayVpnAttachmentIkeConfigArgs) ToGatewayVpnAttachmentIkeConfigPtrOutputWithContext(ctx context.Context) GatewayVpnAttachmentIkeConfigPtrOutput
type GatewayVpnAttachmentIkeConfigInput ¶
type GatewayVpnAttachmentIkeConfigInput interface { pulumi.Input ToGatewayVpnAttachmentIkeConfigOutput() GatewayVpnAttachmentIkeConfigOutput ToGatewayVpnAttachmentIkeConfigOutputWithContext(context.Context) GatewayVpnAttachmentIkeConfigOutput }
GatewayVpnAttachmentIkeConfigInput is an input type that accepts GatewayVpnAttachmentIkeConfigArgs and GatewayVpnAttachmentIkeConfigOutput values. You can construct a concrete instance of `GatewayVpnAttachmentIkeConfigInput` via:
GatewayVpnAttachmentIkeConfigArgs{...}
type GatewayVpnAttachmentIkeConfigOutput ¶
type GatewayVpnAttachmentIkeConfigOutput struct{ *pulumi.OutputState }
func (GatewayVpnAttachmentIkeConfigOutput) ElementType ¶
func (GatewayVpnAttachmentIkeConfigOutput) ElementType() reflect.Type
func (GatewayVpnAttachmentIkeConfigOutput) IkeAuthAlg ¶
func (o GatewayVpnAttachmentIkeConfigOutput) IkeAuthAlg() pulumi.StringPtrOutput
IKE authentication algorithm supports sha1 and MD5.
func (GatewayVpnAttachmentIkeConfigOutput) IkeEncAlg ¶
func (o GatewayVpnAttachmentIkeConfigOutput) IkeEncAlg() pulumi.StringPtrOutput
The encryption algorithm of phase-one negotiation. Valid value: aes | aes192 | aes256 | des | 3des. Default Valid value: aes.
func (GatewayVpnAttachmentIkeConfigOutput) IkeLifetime ¶
func (o GatewayVpnAttachmentIkeConfigOutput) IkeLifetime() pulumi.IntPtrOutput
The SA lifecycle as the result of phase-one negotiation. The valid value of n is [0, 86400], the unit is second and the default value is 86400.
func (GatewayVpnAttachmentIkeConfigOutput) IkeMode ¶
func (o GatewayVpnAttachmentIkeConfigOutput) IkeMode() pulumi.StringPtrOutput
The negotiation mode of IKE V1. Valid value: main (main mode) | aggressive (aggressive mode). Default value: `main`.
func (GatewayVpnAttachmentIkeConfigOutput) IkePfs ¶
func (o GatewayVpnAttachmentIkeConfigOutput) IkePfs() pulumi.StringPtrOutput
The Diffie-Hellman key exchange algorithm used by phase-one negotiation. Valid value: group1 | group2 | group5 | group14 | group24. Default value: group2
func (GatewayVpnAttachmentIkeConfigOutput) IkeVersion ¶
func (o GatewayVpnAttachmentIkeConfigOutput) IkeVersion() pulumi.StringPtrOutput
The version of the IKE protocol. Valid value: `ikev1`, `ikev2`. Default value: `ikev1`.
func (GatewayVpnAttachmentIkeConfigOutput) LocalId ¶
func (o GatewayVpnAttachmentIkeConfigOutput) LocalId() pulumi.StringPtrOutput
The local ID, which supports the FQDN and IP formats. The current VPN gateway IP address is selected by default.
func (GatewayVpnAttachmentIkeConfigOutput) Psk ¶
func (o GatewayVpnAttachmentIkeConfigOutput) Psk() pulumi.StringPtrOutput
Used for authentication between the IPsec VPN gateway and the customer gateway.
func (GatewayVpnAttachmentIkeConfigOutput) RemoteId ¶
func (o GatewayVpnAttachmentIkeConfigOutput) RemoteId() pulumi.StringPtrOutput
The peer ID, which supports FQDN and IP formats. By default, the IP address of the currently selected user gateway.
func (GatewayVpnAttachmentIkeConfigOutput) ToGatewayVpnAttachmentIkeConfigOutput ¶
func (o GatewayVpnAttachmentIkeConfigOutput) ToGatewayVpnAttachmentIkeConfigOutput() GatewayVpnAttachmentIkeConfigOutput
func (GatewayVpnAttachmentIkeConfigOutput) ToGatewayVpnAttachmentIkeConfigOutputWithContext ¶
func (o GatewayVpnAttachmentIkeConfigOutput) ToGatewayVpnAttachmentIkeConfigOutputWithContext(ctx context.Context) GatewayVpnAttachmentIkeConfigOutput
func (GatewayVpnAttachmentIkeConfigOutput) ToGatewayVpnAttachmentIkeConfigPtrOutput ¶
func (o GatewayVpnAttachmentIkeConfigOutput) ToGatewayVpnAttachmentIkeConfigPtrOutput() GatewayVpnAttachmentIkeConfigPtrOutput
func (GatewayVpnAttachmentIkeConfigOutput) ToGatewayVpnAttachmentIkeConfigPtrOutputWithContext ¶
func (o GatewayVpnAttachmentIkeConfigOutput) ToGatewayVpnAttachmentIkeConfigPtrOutputWithContext(ctx context.Context) GatewayVpnAttachmentIkeConfigPtrOutput
type GatewayVpnAttachmentIkeConfigPtrInput ¶
type GatewayVpnAttachmentIkeConfigPtrInput interface { pulumi.Input ToGatewayVpnAttachmentIkeConfigPtrOutput() GatewayVpnAttachmentIkeConfigPtrOutput ToGatewayVpnAttachmentIkeConfigPtrOutputWithContext(context.Context) GatewayVpnAttachmentIkeConfigPtrOutput }
GatewayVpnAttachmentIkeConfigPtrInput is an input type that accepts GatewayVpnAttachmentIkeConfigArgs, GatewayVpnAttachmentIkeConfigPtr and GatewayVpnAttachmentIkeConfigPtrOutput values. You can construct a concrete instance of `GatewayVpnAttachmentIkeConfigPtrInput` via:
GatewayVpnAttachmentIkeConfigArgs{...} or: nil
func GatewayVpnAttachmentIkeConfigPtr ¶
func GatewayVpnAttachmentIkeConfigPtr(v *GatewayVpnAttachmentIkeConfigArgs) GatewayVpnAttachmentIkeConfigPtrInput
type GatewayVpnAttachmentIkeConfigPtrOutput ¶
type GatewayVpnAttachmentIkeConfigPtrOutput struct{ *pulumi.OutputState }
func (GatewayVpnAttachmentIkeConfigPtrOutput) ElementType ¶
func (GatewayVpnAttachmentIkeConfigPtrOutput) ElementType() reflect.Type
func (GatewayVpnAttachmentIkeConfigPtrOutput) IkeAuthAlg ¶
func (o GatewayVpnAttachmentIkeConfigPtrOutput) IkeAuthAlg() pulumi.StringPtrOutput
IKE authentication algorithm supports sha1 and MD5.
func (GatewayVpnAttachmentIkeConfigPtrOutput) IkeEncAlg ¶
func (o GatewayVpnAttachmentIkeConfigPtrOutput) IkeEncAlg() pulumi.StringPtrOutput
The encryption algorithm of phase-one negotiation. Valid value: aes | aes192 | aes256 | des | 3des. Default Valid value: aes.
func (GatewayVpnAttachmentIkeConfigPtrOutput) IkeLifetime ¶
func (o GatewayVpnAttachmentIkeConfigPtrOutput) IkeLifetime() pulumi.IntPtrOutput
The SA lifecycle as the result of phase-one negotiation. The valid value of n is [0, 86400], the unit is second and the default value is 86400.
func (GatewayVpnAttachmentIkeConfigPtrOutput) IkeMode ¶
func (o GatewayVpnAttachmentIkeConfigPtrOutput) IkeMode() pulumi.StringPtrOutput
The negotiation mode of IKE V1. Valid value: main (main mode) | aggressive (aggressive mode). Default value: `main`.
func (GatewayVpnAttachmentIkeConfigPtrOutput) IkePfs ¶
func (o GatewayVpnAttachmentIkeConfigPtrOutput) IkePfs() pulumi.StringPtrOutput
The Diffie-Hellman key exchange algorithm used by phase-one negotiation. Valid value: group1 | group2 | group5 | group14 | group24. Default value: group2
func (GatewayVpnAttachmentIkeConfigPtrOutput) IkeVersion ¶
func (o GatewayVpnAttachmentIkeConfigPtrOutput) IkeVersion() pulumi.StringPtrOutput
The version of the IKE protocol. Valid value: `ikev1`, `ikev2`. Default value: `ikev1`.
func (GatewayVpnAttachmentIkeConfigPtrOutput) LocalId ¶
func (o GatewayVpnAttachmentIkeConfigPtrOutput) LocalId() pulumi.StringPtrOutput
The local ID, which supports the FQDN and IP formats. The current VPN gateway IP address is selected by default.
func (GatewayVpnAttachmentIkeConfigPtrOutput) Psk ¶
func (o GatewayVpnAttachmentIkeConfigPtrOutput) Psk() pulumi.StringPtrOutput
Used for authentication between the IPsec VPN gateway and the customer gateway.
func (GatewayVpnAttachmentIkeConfigPtrOutput) RemoteId ¶
func (o GatewayVpnAttachmentIkeConfigPtrOutput) RemoteId() pulumi.StringPtrOutput
The peer ID, which supports FQDN and IP formats. By default, the IP address of the currently selected user gateway.
func (GatewayVpnAttachmentIkeConfigPtrOutput) ToGatewayVpnAttachmentIkeConfigPtrOutput ¶
func (o GatewayVpnAttachmentIkeConfigPtrOutput) ToGatewayVpnAttachmentIkeConfigPtrOutput() GatewayVpnAttachmentIkeConfigPtrOutput
func (GatewayVpnAttachmentIkeConfigPtrOutput) ToGatewayVpnAttachmentIkeConfigPtrOutputWithContext ¶
func (o GatewayVpnAttachmentIkeConfigPtrOutput) ToGatewayVpnAttachmentIkeConfigPtrOutputWithContext(ctx context.Context) GatewayVpnAttachmentIkeConfigPtrOutput
type GatewayVpnAttachmentInput ¶
type GatewayVpnAttachmentInput interface { pulumi.Input ToGatewayVpnAttachmentOutput() GatewayVpnAttachmentOutput ToGatewayVpnAttachmentOutputWithContext(ctx context.Context) GatewayVpnAttachmentOutput }
type GatewayVpnAttachmentIpsecConfig ¶
type GatewayVpnAttachmentIpsecConfig struct { // The authentication algorithm of phase-two negotiation. Valid value: md5 | sha1 | sha256 | sha384 | sha512 |. Default value: sha1 IpsecAuthAlg *string `pulumi:"ipsecAuthAlg"` // The encryption algorithm of phase-two negotiation. Valid value: aes | aes192 | aes256 | des | 3des. Default value: aes IpsecEncAlg *string `pulumi:"ipsecEncAlg"` // The SA lifecycle as the result of phase-two negotiation. The valid value is [0, 86400], the unit is second and the default value is 86400. IpsecLifetime *int `pulumi:"ipsecLifetime"` // The Diffie-Hellman key exchange algorithm used by phase-two negotiation. Valid value: group1 | group2 | group5 | group14 | group24| disabled. Default value: group2 IpsecPfs *string `pulumi:"ipsecPfs"` }
type GatewayVpnAttachmentIpsecConfigArgs ¶
type GatewayVpnAttachmentIpsecConfigArgs struct { // The authentication algorithm of phase-two negotiation. Valid value: md5 | sha1 | sha256 | sha384 | sha512 |. Default value: sha1 IpsecAuthAlg pulumi.StringPtrInput `pulumi:"ipsecAuthAlg"` // The encryption algorithm of phase-two negotiation. Valid value: aes | aes192 | aes256 | des | 3des. Default value: aes IpsecEncAlg pulumi.StringPtrInput `pulumi:"ipsecEncAlg"` // The SA lifecycle as the result of phase-two negotiation. The valid value is [0, 86400], the unit is second and the default value is 86400. IpsecLifetime pulumi.IntPtrInput `pulumi:"ipsecLifetime"` // The Diffie-Hellman key exchange algorithm used by phase-two negotiation. Valid value: group1 | group2 | group5 | group14 | group24| disabled. Default value: group2 IpsecPfs pulumi.StringPtrInput `pulumi:"ipsecPfs"` }
func (GatewayVpnAttachmentIpsecConfigArgs) ElementType ¶
func (GatewayVpnAttachmentIpsecConfigArgs) ElementType() reflect.Type
func (GatewayVpnAttachmentIpsecConfigArgs) ToGatewayVpnAttachmentIpsecConfigOutput ¶
func (i GatewayVpnAttachmentIpsecConfigArgs) ToGatewayVpnAttachmentIpsecConfigOutput() GatewayVpnAttachmentIpsecConfigOutput
func (GatewayVpnAttachmentIpsecConfigArgs) ToGatewayVpnAttachmentIpsecConfigOutputWithContext ¶
func (i GatewayVpnAttachmentIpsecConfigArgs) ToGatewayVpnAttachmentIpsecConfigOutputWithContext(ctx context.Context) GatewayVpnAttachmentIpsecConfigOutput
func (GatewayVpnAttachmentIpsecConfigArgs) ToGatewayVpnAttachmentIpsecConfigPtrOutput ¶
func (i GatewayVpnAttachmentIpsecConfigArgs) ToGatewayVpnAttachmentIpsecConfigPtrOutput() GatewayVpnAttachmentIpsecConfigPtrOutput
func (GatewayVpnAttachmentIpsecConfigArgs) ToGatewayVpnAttachmentIpsecConfigPtrOutputWithContext ¶
func (i GatewayVpnAttachmentIpsecConfigArgs) ToGatewayVpnAttachmentIpsecConfigPtrOutputWithContext(ctx context.Context) GatewayVpnAttachmentIpsecConfigPtrOutput
type GatewayVpnAttachmentIpsecConfigInput ¶
type GatewayVpnAttachmentIpsecConfigInput interface { pulumi.Input ToGatewayVpnAttachmentIpsecConfigOutput() GatewayVpnAttachmentIpsecConfigOutput ToGatewayVpnAttachmentIpsecConfigOutputWithContext(context.Context) GatewayVpnAttachmentIpsecConfigOutput }
GatewayVpnAttachmentIpsecConfigInput is an input type that accepts GatewayVpnAttachmentIpsecConfigArgs and GatewayVpnAttachmentIpsecConfigOutput values. You can construct a concrete instance of `GatewayVpnAttachmentIpsecConfigInput` via:
GatewayVpnAttachmentIpsecConfigArgs{...}
type GatewayVpnAttachmentIpsecConfigOutput ¶
type GatewayVpnAttachmentIpsecConfigOutput struct{ *pulumi.OutputState }
func (GatewayVpnAttachmentIpsecConfigOutput) ElementType ¶
func (GatewayVpnAttachmentIpsecConfigOutput) ElementType() reflect.Type
func (GatewayVpnAttachmentIpsecConfigOutput) IpsecAuthAlg ¶
func (o GatewayVpnAttachmentIpsecConfigOutput) IpsecAuthAlg() pulumi.StringPtrOutput
The authentication algorithm of phase-two negotiation. Valid value: md5 | sha1 | sha256 | sha384 | sha512 |. Default value: sha1
func (GatewayVpnAttachmentIpsecConfigOutput) IpsecEncAlg ¶
func (o GatewayVpnAttachmentIpsecConfigOutput) IpsecEncAlg() pulumi.StringPtrOutput
The encryption algorithm of phase-two negotiation. Valid value: aes | aes192 | aes256 | des | 3des. Default value: aes
func (GatewayVpnAttachmentIpsecConfigOutput) IpsecLifetime ¶
func (o GatewayVpnAttachmentIpsecConfigOutput) IpsecLifetime() pulumi.IntPtrOutput
The SA lifecycle as the result of phase-two negotiation. The valid value is [0, 86400], the unit is second and the default value is 86400.
func (GatewayVpnAttachmentIpsecConfigOutput) IpsecPfs ¶
func (o GatewayVpnAttachmentIpsecConfigOutput) IpsecPfs() pulumi.StringPtrOutput
The Diffie-Hellman key exchange algorithm used by phase-two negotiation. Valid value: group1 | group2 | group5 | group14 | group24| disabled. Default value: group2
func (GatewayVpnAttachmentIpsecConfigOutput) ToGatewayVpnAttachmentIpsecConfigOutput ¶
func (o GatewayVpnAttachmentIpsecConfigOutput) ToGatewayVpnAttachmentIpsecConfigOutput() GatewayVpnAttachmentIpsecConfigOutput
func (GatewayVpnAttachmentIpsecConfigOutput) ToGatewayVpnAttachmentIpsecConfigOutputWithContext ¶
func (o GatewayVpnAttachmentIpsecConfigOutput) ToGatewayVpnAttachmentIpsecConfigOutputWithContext(ctx context.Context) GatewayVpnAttachmentIpsecConfigOutput
func (GatewayVpnAttachmentIpsecConfigOutput) ToGatewayVpnAttachmentIpsecConfigPtrOutput ¶
func (o GatewayVpnAttachmentIpsecConfigOutput) ToGatewayVpnAttachmentIpsecConfigPtrOutput() GatewayVpnAttachmentIpsecConfigPtrOutput
func (GatewayVpnAttachmentIpsecConfigOutput) ToGatewayVpnAttachmentIpsecConfigPtrOutputWithContext ¶
func (o GatewayVpnAttachmentIpsecConfigOutput) ToGatewayVpnAttachmentIpsecConfigPtrOutputWithContext(ctx context.Context) GatewayVpnAttachmentIpsecConfigPtrOutput
type GatewayVpnAttachmentIpsecConfigPtrInput ¶
type GatewayVpnAttachmentIpsecConfigPtrInput interface { pulumi.Input ToGatewayVpnAttachmentIpsecConfigPtrOutput() GatewayVpnAttachmentIpsecConfigPtrOutput ToGatewayVpnAttachmentIpsecConfigPtrOutputWithContext(context.Context) GatewayVpnAttachmentIpsecConfigPtrOutput }
GatewayVpnAttachmentIpsecConfigPtrInput is an input type that accepts GatewayVpnAttachmentIpsecConfigArgs, GatewayVpnAttachmentIpsecConfigPtr and GatewayVpnAttachmentIpsecConfigPtrOutput values. You can construct a concrete instance of `GatewayVpnAttachmentIpsecConfigPtrInput` via:
GatewayVpnAttachmentIpsecConfigArgs{...} or: nil
func GatewayVpnAttachmentIpsecConfigPtr ¶
func GatewayVpnAttachmentIpsecConfigPtr(v *GatewayVpnAttachmentIpsecConfigArgs) GatewayVpnAttachmentIpsecConfigPtrInput
type GatewayVpnAttachmentIpsecConfigPtrOutput ¶
type GatewayVpnAttachmentIpsecConfigPtrOutput struct{ *pulumi.OutputState }
func (GatewayVpnAttachmentIpsecConfigPtrOutput) ElementType ¶
func (GatewayVpnAttachmentIpsecConfigPtrOutput) ElementType() reflect.Type
func (GatewayVpnAttachmentIpsecConfigPtrOutput) IpsecAuthAlg ¶
func (o GatewayVpnAttachmentIpsecConfigPtrOutput) IpsecAuthAlg() pulumi.StringPtrOutput
The authentication algorithm of phase-two negotiation. Valid value: md5 | sha1 | sha256 | sha384 | sha512 |. Default value: sha1
func (GatewayVpnAttachmentIpsecConfigPtrOutput) IpsecEncAlg ¶
func (o GatewayVpnAttachmentIpsecConfigPtrOutput) IpsecEncAlg() pulumi.StringPtrOutput
The encryption algorithm of phase-two negotiation. Valid value: aes | aes192 | aes256 | des | 3des. Default value: aes
func (GatewayVpnAttachmentIpsecConfigPtrOutput) IpsecLifetime ¶
func (o GatewayVpnAttachmentIpsecConfigPtrOutput) IpsecLifetime() pulumi.IntPtrOutput
The SA lifecycle as the result of phase-two negotiation. The valid value is [0, 86400], the unit is second and the default value is 86400.
func (GatewayVpnAttachmentIpsecConfigPtrOutput) IpsecPfs ¶
func (o GatewayVpnAttachmentIpsecConfigPtrOutput) IpsecPfs() pulumi.StringPtrOutput
The Diffie-Hellman key exchange algorithm used by phase-two negotiation. Valid value: group1 | group2 | group5 | group14 | group24| disabled. Default value: group2
func (GatewayVpnAttachmentIpsecConfigPtrOutput) ToGatewayVpnAttachmentIpsecConfigPtrOutput ¶
func (o GatewayVpnAttachmentIpsecConfigPtrOutput) ToGatewayVpnAttachmentIpsecConfigPtrOutput() GatewayVpnAttachmentIpsecConfigPtrOutput
func (GatewayVpnAttachmentIpsecConfigPtrOutput) ToGatewayVpnAttachmentIpsecConfigPtrOutputWithContext ¶
func (o GatewayVpnAttachmentIpsecConfigPtrOutput) ToGatewayVpnAttachmentIpsecConfigPtrOutputWithContext(ctx context.Context) GatewayVpnAttachmentIpsecConfigPtrOutput
type GatewayVpnAttachmentMap ¶
type GatewayVpnAttachmentMap map[string]GatewayVpnAttachmentInput
func (GatewayVpnAttachmentMap) ElementType ¶
func (GatewayVpnAttachmentMap) ElementType() reflect.Type
func (GatewayVpnAttachmentMap) ToGatewayVpnAttachmentMapOutput ¶
func (i GatewayVpnAttachmentMap) ToGatewayVpnAttachmentMapOutput() GatewayVpnAttachmentMapOutput
func (GatewayVpnAttachmentMap) ToGatewayVpnAttachmentMapOutputWithContext ¶
func (i GatewayVpnAttachmentMap) ToGatewayVpnAttachmentMapOutputWithContext(ctx context.Context) GatewayVpnAttachmentMapOutput
type GatewayVpnAttachmentMapInput ¶
type GatewayVpnAttachmentMapInput interface { pulumi.Input ToGatewayVpnAttachmentMapOutput() GatewayVpnAttachmentMapOutput ToGatewayVpnAttachmentMapOutputWithContext(context.Context) GatewayVpnAttachmentMapOutput }
GatewayVpnAttachmentMapInput is an input type that accepts GatewayVpnAttachmentMap and GatewayVpnAttachmentMapOutput values. You can construct a concrete instance of `GatewayVpnAttachmentMapInput` via:
GatewayVpnAttachmentMap{ "key": GatewayVpnAttachmentArgs{...} }
type GatewayVpnAttachmentMapOutput ¶
type GatewayVpnAttachmentMapOutput struct{ *pulumi.OutputState }
func (GatewayVpnAttachmentMapOutput) ElementType ¶
func (GatewayVpnAttachmentMapOutput) ElementType() reflect.Type
func (GatewayVpnAttachmentMapOutput) MapIndex ¶
func (o GatewayVpnAttachmentMapOutput) MapIndex(k pulumi.StringInput) GatewayVpnAttachmentOutput
func (GatewayVpnAttachmentMapOutput) ToGatewayVpnAttachmentMapOutput ¶
func (o GatewayVpnAttachmentMapOutput) ToGatewayVpnAttachmentMapOutput() GatewayVpnAttachmentMapOutput
func (GatewayVpnAttachmentMapOutput) ToGatewayVpnAttachmentMapOutputWithContext ¶
func (o GatewayVpnAttachmentMapOutput) ToGatewayVpnAttachmentMapOutputWithContext(ctx context.Context) GatewayVpnAttachmentMapOutput
type GatewayVpnAttachmentOutput ¶
type GatewayVpnAttachmentOutput struct{ *pulumi.OutputState }
func (GatewayVpnAttachmentOutput) BgpConfig ¶
func (o GatewayVpnAttachmentOutput) BgpConfig() GatewayVpnAttachmentBgpConfigOutput
Bgp configuration information. See the following `Block bgpConfig`.
func (GatewayVpnAttachmentOutput) CustomerGatewayId ¶
func (o GatewayVpnAttachmentOutput) CustomerGatewayId() pulumi.StringOutput
The ID of the customer gateway.
func (GatewayVpnAttachmentOutput) EffectImmediately ¶
func (o GatewayVpnAttachmentOutput) EffectImmediately() pulumi.BoolPtrOutput
Indicates whether IPsec-VPN negotiations are initiated immediately. Valid values.
func (GatewayVpnAttachmentOutput) ElementType ¶
func (GatewayVpnAttachmentOutput) ElementType() reflect.Type
func (GatewayVpnAttachmentOutput) EnableDpd ¶
func (o GatewayVpnAttachmentOutput) EnableDpd() pulumi.BoolOutput
Whether to enable the DPD (peer survival detection) function.
func (GatewayVpnAttachmentOutput) EnableNatTraversal ¶
func (o GatewayVpnAttachmentOutput) EnableNatTraversal() pulumi.BoolOutput
Allow NAT penetration.
func (GatewayVpnAttachmentOutput) HealthCheckConfig ¶
func (o GatewayVpnAttachmentOutput) HealthCheckConfig() GatewayVpnAttachmentHealthCheckConfigOutput
Health check configuration information. See the following `Block healthCheckConfig`.
func (GatewayVpnAttachmentOutput) IkeConfig ¶
func (o GatewayVpnAttachmentOutput) IkeConfig() GatewayVpnAttachmentIkeConfigOutput
Configuration negotiated in the second stage. See the following `Block ikeConfig`.
func (GatewayVpnAttachmentOutput) InternetIp ¶
func (o GatewayVpnAttachmentOutput) InternetIp() pulumi.StringOutput
The VPN gateway IP.
func (GatewayVpnAttachmentOutput) IpsecConfig ¶
func (o GatewayVpnAttachmentOutput) IpsecConfig() GatewayVpnAttachmentIpsecConfigOutput
Configuration negotiated in the second stage. See the following `Block ipsecConfig`.
func (GatewayVpnAttachmentOutput) LocalSubnet ¶
func (o GatewayVpnAttachmentOutput) LocalSubnet() pulumi.StringOutput
The CIDR block of the virtual private cloud (VPC).
func (GatewayVpnAttachmentOutput) NetworkType ¶
func (o GatewayVpnAttachmentOutput) NetworkType() pulumi.StringOutput
The network type of the IPsec connection. Valid values: `public`, `private`.
func (GatewayVpnAttachmentOutput) RemoteSubnet ¶
func (o GatewayVpnAttachmentOutput) RemoteSubnet() pulumi.StringOutput
The CIDR block of the on-premises data center.
func (GatewayVpnAttachmentOutput) Status ¶
func (o GatewayVpnAttachmentOutput) Status() pulumi.StringOutput
The status of the resource.
func (GatewayVpnAttachmentOutput) ToGatewayVpnAttachmentOutput ¶
func (o GatewayVpnAttachmentOutput) ToGatewayVpnAttachmentOutput() GatewayVpnAttachmentOutput
func (GatewayVpnAttachmentOutput) ToGatewayVpnAttachmentOutputWithContext ¶
func (o GatewayVpnAttachmentOutput) ToGatewayVpnAttachmentOutputWithContext(ctx context.Context) GatewayVpnAttachmentOutput
func (GatewayVpnAttachmentOutput) VpnAttachmentName ¶
func (o GatewayVpnAttachmentOutput) VpnAttachmentName() pulumi.StringPtrOutput
The name of the vpn attachment.
type GatewayVpnAttachmentState ¶
type GatewayVpnAttachmentState struct { // Bgp configuration information. See the following `Block bgpConfig`. BgpConfig GatewayVpnAttachmentBgpConfigPtrInput // The ID of the customer gateway. CustomerGatewayId pulumi.StringPtrInput // Indicates whether IPsec-VPN negotiations are initiated immediately. Valid values. EffectImmediately pulumi.BoolPtrInput // Whether to enable the DPD (peer survival detection) function. EnableDpd pulumi.BoolPtrInput // Allow NAT penetration. EnableNatTraversal pulumi.BoolPtrInput // Health check configuration information. See the following `Block healthCheckConfig`. HealthCheckConfig GatewayVpnAttachmentHealthCheckConfigPtrInput // Configuration negotiated in the second stage. See the following `Block ikeConfig`. IkeConfig GatewayVpnAttachmentIkeConfigPtrInput // The VPN gateway IP. InternetIp pulumi.StringPtrInput // Configuration negotiated in the second stage. See the following `Block ipsecConfig`. IpsecConfig GatewayVpnAttachmentIpsecConfigPtrInput // The CIDR block of the virtual private cloud (VPC). LocalSubnet pulumi.StringPtrInput // The network type of the IPsec connection. Valid values: `public`, `private`. NetworkType pulumi.StringPtrInput // The CIDR block of the on-premises data center. RemoteSubnet pulumi.StringPtrInput // The status of the resource. Status pulumi.StringPtrInput // The name of the vpn attachment. VpnAttachmentName pulumi.StringPtrInput }
func (GatewayVpnAttachmentState) ElementType ¶
func (GatewayVpnAttachmentState) ElementType() reflect.Type
type GetConnectionsArgs ¶
type GetConnectionsArgs struct { // Use the VPN customer gateway ID as the search key. CustomerGatewayId *string `pulumi:"customerGatewayId"` // IDs of the VPN connections. Ids []string `pulumi:"ids"` // A regex string of VPN connection name. NameRegex *string `pulumi:"nameRegex"` // Save the result to the file. OutputFile *string `pulumi:"outputFile"` // Use the VPN gateway ID as the search key. VpnGatewayId *string `pulumi:"vpnGatewayId"` }
A collection of arguments for invoking getConnections.
type GetConnectionsConnection ¶
type GetConnectionsConnection struct { CreateTime string `pulumi:"createTime"` // Use the VPN customer gateway ID as the search key. CustomerGatewayId string `pulumi:"customerGatewayId"` EffectImmediately bool `pulumi:"effectImmediately"` // ID of the VPN connection. Id string `pulumi:"id"` // The configurations of phase-one negotiation. IkeConfigs []GetConnectionsConnectionIkeConfig `pulumi:"ikeConfigs"` // The configurations of phase-two negotiation. IpsecConfigs []GetConnectionsConnectionIpsecConfig `pulumi:"ipsecConfigs"` // The local subnet of the VPN connection. LocalSubnet string `pulumi:"localSubnet"` // The name of the VPN connection. Name string `pulumi:"name"` // The remote subnet of the VPN connection. RemoteSubnet string `pulumi:"remoteSubnet"` // The status of the VPN connection, valid value:ike_sa_not_established, ike_sa_established, ipsec_sa_not_established, ipsec_sa_established. Status string `pulumi:"status"` // Use the VPN gateway ID as the search key. VpnGatewayId string `pulumi:"vpnGatewayId"` }
type GetConnectionsConnectionArgs ¶
type GetConnectionsConnectionArgs struct { CreateTime pulumi.StringInput `pulumi:"createTime"` // Use the VPN customer gateway ID as the search key. CustomerGatewayId pulumi.StringInput `pulumi:"customerGatewayId"` EffectImmediately pulumi.BoolInput `pulumi:"effectImmediately"` // ID of the VPN connection. Id pulumi.StringInput `pulumi:"id"` // The configurations of phase-one negotiation. IkeConfigs GetConnectionsConnectionIkeConfigArrayInput `pulumi:"ikeConfigs"` // The configurations of phase-two negotiation. IpsecConfigs GetConnectionsConnectionIpsecConfigArrayInput `pulumi:"ipsecConfigs"` // The local subnet of the VPN connection. LocalSubnet pulumi.StringInput `pulumi:"localSubnet"` // The name of the VPN connection. Name pulumi.StringInput `pulumi:"name"` // The remote subnet of the VPN connection. RemoteSubnet pulumi.StringInput `pulumi:"remoteSubnet"` // The status of the VPN connection, valid value:ike_sa_not_established, ike_sa_established, ipsec_sa_not_established, ipsec_sa_established. Status pulumi.StringInput `pulumi:"status"` // Use the VPN gateway ID as the search key. VpnGatewayId pulumi.StringInput `pulumi:"vpnGatewayId"` }
func (GetConnectionsConnectionArgs) ElementType ¶
func (GetConnectionsConnectionArgs) ElementType() reflect.Type
func (GetConnectionsConnectionArgs) ToGetConnectionsConnectionOutput ¶
func (i GetConnectionsConnectionArgs) ToGetConnectionsConnectionOutput() GetConnectionsConnectionOutput
func (GetConnectionsConnectionArgs) ToGetConnectionsConnectionOutputWithContext ¶
func (i GetConnectionsConnectionArgs) ToGetConnectionsConnectionOutputWithContext(ctx context.Context) GetConnectionsConnectionOutput
type GetConnectionsConnectionArray ¶
type GetConnectionsConnectionArray []GetConnectionsConnectionInput
func (GetConnectionsConnectionArray) ElementType ¶
func (GetConnectionsConnectionArray) ElementType() reflect.Type
func (GetConnectionsConnectionArray) ToGetConnectionsConnectionArrayOutput ¶
func (i GetConnectionsConnectionArray) ToGetConnectionsConnectionArrayOutput() GetConnectionsConnectionArrayOutput
func (GetConnectionsConnectionArray) ToGetConnectionsConnectionArrayOutputWithContext ¶
func (i GetConnectionsConnectionArray) ToGetConnectionsConnectionArrayOutputWithContext(ctx context.Context) GetConnectionsConnectionArrayOutput
type GetConnectionsConnectionArrayInput ¶
type GetConnectionsConnectionArrayInput interface { pulumi.Input ToGetConnectionsConnectionArrayOutput() GetConnectionsConnectionArrayOutput ToGetConnectionsConnectionArrayOutputWithContext(context.Context) GetConnectionsConnectionArrayOutput }
GetConnectionsConnectionArrayInput is an input type that accepts GetConnectionsConnectionArray and GetConnectionsConnectionArrayOutput values. You can construct a concrete instance of `GetConnectionsConnectionArrayInput` via:
GetConnectionsConnectionArray{ GetConnectionsConnectionArgs{...} }
type GetConnectionsConnectionArrayOutput ¶
type GetConnectionsConnectionArrayOutput struct{ *pulumi.OutputState }
func (GetConnectionsConnectionArrayOutput) ElementType ¶
func (GetConnectionsConnectionArrayOutput) ElementType() reflect.Type
func (GetConnectionsConnectionArrayOutput) Index ¶
func (o GetConnectionsConnectionArrayOutput) Index(i pulumi.IntInput) GetConnectionsConnectionOutput
func (GetConnectionsConnectionArrayOutput) ToGetConnectionsConnectionArrayOutput ¶
func (o GetConnectionsConnectionArrayOutput) ToGetConnectionsConnectionArrayOutput() GetConnectionsConnectionArrayOutput
func (GetConnectionsConnectionArrayOutput) ToGetConnectionsConnectionArrayOutputWithContext ¶
func (o GetConnectionsConnectionArrayOutput) ToGetConnectionsConnectionArrayOutputWithContext(ctx context.Context) GetConnectionsConnectionArrayOutput
type GetConnectionsConnectionIkeConfig ¶
type GetConnectionsConnectionIkeConfig struct { // The authentication algorithm of phase-one negotiation. IkeAuthAlg *string `pulumi:"ikeAuthAlg"` // The encryption algorithm of phase-one negotiation. IkeEncAlg *string `pulumi:"ikeEncAlg"` // The SA lifecycle as the result of phase-one negotiation. IkeLifetime *int `pulumi:"ikeLifetime"` // The identification of the VPN gateway. IkeLocalId *string `pulumi:"ikeLocalId"` // The negotiation mode of IKE phase-one. IkeMode *string `pulumi:"ikeMode"` // The Diffie-Hellman key exchange algorithm used by phase-one negotiation. IkePfs *string `pulumi:"ikePfs"` // The identification of the customer gateway. IkeRemoteId *string `pulumi:"ikeRemoteId"` // The version of the IKE protocol. IkeVersion *string `pulumi:"ikeVersion"` // Used for authentication between the IPsec VPN gateway and the customer gateway. Psk *string `pulumi:"psk"` }
type GetConnectionsConnectionIkeConfigArgs ¶
type GetConnectionsConnectionIkeConfigArgs struct { // The authentication algorithm of phase-one negotiation. IkeAuthAlg pulumi.StringPtrInput `pulumi:"ikeAuthAlg"` // The encryption algorithm of phase-one negotiation. IkeEncAlg pulumi.StringPtrInput `pulumi:"ikeEncAlg"` // The SA lifecycle as the result of phase-one negotiation. IkeLifetime pulumi.IntPtrInput `pulumi:"ikeLifetime"` // The identification of the VPN gateway. IkeLocalId pulumi.StringPtrInput `pulumi:"ikeLocalId"` // The negotiation mode of IKE phase-one. IkeMode pulumi.StringPtrInput `pulumi:"ikeMode"` // The Diffie-Hellman key exchange algorithm used by phase-one negotiation. IkePfs pulumi.StringPtrInput `pulumi:"ikePfs"` // The identification of the customer gateway. IkeRemoteId pulumi.StringPtrInput `pulumi:"ikeRemoteId"` // The version of the IKE protocol. IkeVersion pulumi.StringPtrInput `pulumi:"ikeVersion"` // Used for authentication between the IPsec VPN gateway and the customer gateway. Psk pulumi.StringPtrInput `pulumi:"psk"` }
func (GetConnectionsConnectionIkeConfigArgs) ElementType ¶
func (GetConnectionsConnectionIkeConfigArgs) ElementType() reflect.Type
func (GetConnectionsConnectionIkeConfigArgs) ToGetConnectionsConnectionIkeConfigOutput ¶
func (i GetConnectionsConnectionIkeConfigArgs) ToGetConnectionsConnectionIkeConfigOutput() GetConnectionsConnectionIkeConfigOutput
func (GetConnectionsConnectionIkeConfigArgs) ToGetConnectionsConnectionIkeConfigOutputWithContext ¶
func (i GetConnectionsConnectionIkeConfigArgs) ToGetConnectionsConnectionIkeConfigOutputWithContext(ctx context.Context) GetConnectionsConnectionIkeConfigOutput
type GetConnectionsConnectionIkeConfigArray ¶
type GetConnectionsConnectionIkeConfigArray []GetConnectionsConnectionIkeConfigInput
func (GetConnectionsConnectionIkeConfigArray) ElementType ¶
func (GetConnectionsConnectionIkeConfigArray) ElementType() reflect.Type
func (GetConnectionsConnectionIkeConfigArray) ToGetConnectionsConnectionIkeConfigArrayOutput ¶
func (i GetConnectionsConnectionIkeConfigArray) ToGetConnectionsConnectionIkeConfigArrayOutput() GetConnectionsConnectionIkeConfigArrayOutput
func (GetConnectionsConnectionIkeConfigArray) ToGetConnectionsConnectionIkeConfigArrayOutputWithContext ¶
func (i GetConnectionsConnectionIkeConfigArray) ToGetConnectionsConnectionIkeConfigArrayOutputWithContext(ctx context.Context) GetConnectionsConnectionIkeConfigArrayOutput
type GetConnectionsConnectionIkeConfigArrayInput ¶
type GetConnectionsConnectionIkeConfigArrayInput interface { pulumi.Input ToGetConnectionsConnectionIkeConfigArrayOutput() GetConnectionsConnectionIkeConfigArrayOutput ToGetConnectionsConnectionIkeConfigArrayOutputWithContext(context.Context) GetConnectionsConnectionIkeConfigArrayOutput }
GetConnectionsConnectionIkeConfigArrayInput is an input type that accepts GetConnectionsConnectionIkeConfigArray and GetConnectionsConnectionIkeConfigArrayOutput values. You can construct a concrete instance of `GetConnectionsConnectionIkeConfigArrayInput` via:
GetConnectionsConnectionIkeConfigArray{ GetConnectionsConnectionIkeConfigArgs{...} }
type GetConnectionsConnectionIkeConfigArrayOutput ¶
type GetConnectionsConnectionIkeConfigArrayOutput struct{ *pulumi.OutputState }
func (GetConnectionsConnectionIkeConfigArrayOutput) ElementType ¶
func (GetConnectionsConnectionIkeConfigArrayOutput) ElementType() reflect.Type
func (GetConnectionsConnectionIkeConfigArrayOutput) ToGetConnectionsConnectionIkeConfigArrayOutput ¶
func (o GetConnectionsConnectionIkeConfigArrayOutput) ToGetConnectionsConnectionIkeConfigArrayOutput() GetConnectionsConnectionIkeConfigArrayOutput
func (GetConnectionsConnectionIkeConfigArrayOutput) ToGetConnectionsConnectionIkeConfigArrayOutputWithContext ¶
func (o GetConnectionsConnectionIkeConfigArrayOutput) ToGetConnectionsConnectionIkeConfigArrayOutputWithContext(ctx context.Context) GetConnectionsConnectionIkeConfigArrayOutput
type GetConnectionsConnectionIkeConfigInput ¶
type GetConnectionsConnectionIkeConfigInput interface { pulumi.Input ToGetConnectionsConnectionIkeConfigOutput() GetConnectionsConnectionIkeConfigOutput ToGetConnectionsConnectionIkeConfigOutputWithContext(context.Context) GetConnectionsConnectionIkeConfigOutput }
GetConnectionsConnectionIkeConfigInput is an input type that accepts GetConnectionsConnectionIkeConfigArgs and GetConnectionsConnectionIkeConfigOutput values. You can construct a concrete instance of `GetConnectionsConnectionIkeConfigInput` via:
GetConnectionsConnectionIkeConfigArgs{...}
type GetConnectionsConnectionIkeConfigOutput ¶
type GetConnectionsConnectionIkeConfigOutput struct{ *pulumi.OutputState }
func (GetConnectionsConnectionIkeConfigOutput) ElementType ¶
func (GetConnectionsConnectionIkeConfigOutput) ElementType() reflect.Type
func (GetConnectionsConnectionIkeConfigOutput) IkeAuthAlg ¶
func (o GetConnectionsConnectionIkeConfigOutput) IkeAuthAlg() pulumi.StringPtrOutput
The authentication algorithm of phase-one negotiation.
func (GetConnectionsConnectionIkeConfigOutput) IkeEncAlg ¶
func (o GetConnectionsConnectionIkeConfigOutput) IkeEncAlg() pulumi.StringPtrOutput
The encryption algorithm of phase-one negotiation.
func (GetConnectionsConnectionIkeConfigOutput) IkeLifetime ¶
func (o GetConnectionsConnectionIkeConfigOutput) IkeLifetime() pulumi.IntPtrOutput
The SA lifecycle as the result of phase-one negotiation.
func (GetConnectionsConnectionIkeConfigOutput) IkeLocalId ¶
func (o GetConnectionsConnectionIkeConfigOutput) IkeLocalId() pulumi.StringPtrOutput
The identification of the VPN gateway.
func (GetConnectionsConnectionIkeConfigOutput) IkeMode ¶
func (o GetConnectionsConnectionIkeConfigOutput) IkeMode() pulumi.StringPtrOutput
The negotiation mode of IKE phase-one.
func (GetConnectionsConnectionIkeConfigOutput) IkePfs ¶
func (o GetConnectionsConnectionIkeConfigOutput) IkePfs() pulumi.StringPtrOutput
The Diffie-Hellman key exchange algorithm used by phase-one negotiation.
func (GetConnectionsConnectionIkeConfigOutput) IkeRemoteId ¶
func (o GetConnectionsConnectionIkeConfigOutput) IkeRemoteId() pulumi.StringPtrOutput
The identification of the customer gateway.
func (GetConnectionsConnectionIkeConfigOutput) IkeVersion ¶
func (o GetConnectionsConnectionIkeConfigOutput) IkeVersion() pulumi.StringPtrOutput
The version of the IKE protocol.
func (GetConnectionsConnectionIkeConfigOutput) Psk ¶
func (o GetConnectionsConnectionIkeConfigOutput) Psk() pulumi.StringPtrOutput
Used for authentication between the IPsec VPN gateway and the customer gateway.
func (GetConnectionsConnectionIkeConfigOutput) ToGetConnectionsConnectionIkeConfigOutput ¶
func (o GetConnectionsConnectionIkeConfigOutput) ToGetConnectionsConnectionIkeConfigOutput() GetConnectionsConnectionIkeConfigOutput
func (GetConnectionsConnectionIkeConfigOutput) ToGetConnectionsConnectionIkeConfigOutputWithContext ¶
func (o GetConnectionsConnectionIkeConfigOutput) ToGetConnectionsConnectionIkeConfigOutputWithContext(ctx context.Context) GetConnectionsConnectionIkeConfigOutput
type GetConnectionsConnectionInput ¶
type GetConnectionsConnectionInput interface { pulumi.Input ToGetConnectionsConnectionOutput() GetConnectionsConnectionOutput ToGetConnectionsConnectionOutputWithContext(context.Context) GetConnectionsConnectionOutput }
GetConnectionsConnectionInput is an input type that accepts GetConnectionsConnectionArgs and GetConnectionsConnectionOutput values. You can construct a concrete instance of `GetConnectionsConnectionInput` via:
GetConnectionsConnectionArgs{...}
type GetConnectionsConnectionIpsecConfig ¶
type GetConnectionsConnectionIpsecConfig struct { // The authentication algorithm of phase-two negotiation. IpsecAuthAlg *string `pulumi:"ipsecAuthAlg"` // The encryption algorithm of phase-two negotiation. IpsecEncAlg *string `pulumi:"ipsecEncAlg"` // The SA lifecycle as the result of phase-two negotiation. IpsecLifetime *int `pulumi:"ipsecLifetime"` // The Diffie-Hellman key exchange algorithm used by phase-two negotiation. IpsecPfs *string `pulumi:"ipsecPfs"` }
type GetConnectionsConnectionIpsecConfigArgs ¶
type GetConnectionsConnectionIpsecConfigArgs struct { // The authentication algorithm of phase-two negotiation. IpsecAuthAlg pulumi.StringPtrInput `pulumi:"ipsecAuthAlg"` // The encryption algorithm of phase-two negotiation. IpsecEncAlg pulumi.StringPtrInput `pulumi:"ipsecEncAlg"` // The SA lifecycle as the result of phase-two negotiation. IpsecLifetime pulumi.IntPtrInput `pulumi:"ipsecLifetime"` // The Diffie-Hellman key exchange algorithm used by phase-two negotiation. IpsecPfs pulumi.StringPtrInput `pulumi:"ipsecPfs"` }
func (GetConnectionsConnectionIpsecConfigArgs) ElementType ¶
func (GetConnectionsConnectionIpsecConfigArgs) ElementType() reflect.Type
func (GetConnectionsConnectionIpsecConfigArgs) ToGetConnectionsConnectionIpsecConfigOutput ¶
func (i GetConnectionsConnectionIpsecConfigArgs) ToGetConnectionsConnectionIpsecConfigOutput() GetConnectionsConnectionIpsecConfigOutput
func (GetConnectionsConnectionIpsecConfigArgs) ToGetConnectionsConnectionIpsecConfigOutputWithContext ¶
func (i GetConnectionsConnectionIpsecConfigArgs) ToGetConnectionsConnectionIpsecConfigOutputWithContext(ctx context.Context) GetConnectionsConnectionIpsecConfigOutput
type GetConnectionsConnectionIpsecConfigArray ¶
type GetConnectionsConnectionIpsecConfigArray []GetConnectionsConnectionIpsecConfigInput
func (GetConnectionsConnectionIpsecConfigArray) ElementType ¶
func (GetConnectionsConnectionIpsecConfigArray) ElementType() reflect.Type
func (GetConnectionsConnectionIpsecConfigArray) ToGetConnectionsConnectionIpsecConfigArrayOutput ¶
func (i GetConnectionsConnectionIpsecConfigArray) ToGetConnectionsConnectionIpsecConfigArrayOutput() GetConnectionsConnectionIpsecConfigArrayOutput
func (GetConnectionsConnectionIpsecConfigArray) ToGetConnectionsConnectionIpsecConfigArrayOutputWithContext ¶
func (i GetConnectionsConnectionIpsecConfigArray) ToGetConnectionsConnectionIpsecConfigArrayOutputWithContext(ctx context.Context) GetConnectionsConnectionIpsecConfigArrayOutput
type GetConnectionsConnectionIpsecConfigArrayInput ¶
type GetConnectionsConnectionIpsecConfigArrayInput interface { pulumi.Input ToGetConnectionsConnectionIpsecConfigArrayOutput() GetConnectionsConnectionIpsecConfigArrayOutput ToGetConnectionsConnectionIpsecConfigArrayOutputWithContext(context.Context) GetConnectionsConnectionIpsecConfigArrayOutput }
GetConnectionsConnectionIpsecConfigArrayInput is an input type that accepts GetConnectionsConnectionIpsecConfigArray and GetConnectionsConnectionIpsecConfigArrayOutput values. You can construct a concrete instance of `GetConnectionsConnectionIpsecConfigArrayInput` via:
GetConnectionsConnectionIpsecConfigArray{ GetConnectionsConnectionIpsecConfigArgs{...} }
type GetConnectionsConnectionIpsecConfigArrayOutput ¶
type GetConnectionsConnectionIpsecConfigArrayOutput struct{ *pulumi.OutputState }
func (GetConnectionsConnectionIpsecConfigArrayOutput) ElementType ¶
func (GetConnectionsConnectionIpsecConfigArrayOutput) ElementType() reflect.Type
func (GetConnectionsConnectionIpsecConfigArrayOutput) ToGetConnectionsConnectionIpsecConfigArrayOutput ¶
func (o GetConnectionsConnectionIpsecConfigArrayOutput) ToGetConnectionsConnectionIpsecConfigArrayOutput() GetConnectionsConnectionIpsecConfigArrayOutput
func (GetConnectionsConnectionIpsecConfigArrayOutput) ToGetConnectionsConnectionIpsecConfigArrayOutputWithContext ¶
func (o GetConnectionsConnectionIpsecConfigArrayOutput) ToGetConnectionsConnectionIpsecConfigArrayOutputWithContext(ctx context.Context) GetConnectionsConnectionIpsecConfigArrayOutput
type GetConnectionsConnectionIpsecConfigInput ¶
type GetConnectionsConnectionIpsecConfigInput interface { pulumi.Input ToGetConnectionsConnectionIpsecConfigOutput() GetConnectionsConnectionIpsecConfigOutput ToGetConnectionsConnectionIpsecConfigOutputWithContext(context.Context) GetConnectionsConnectionIpsecConfigOutput }
GetConnectionsConnectionIpsecConfigInput is an input type that accepts GetConnectionsConnectionIpsecConfigArgs and GetConnectionsConnectionIpsecConfigOutput values. You can construct a concrete instance of `GetConnectionsConnectionIpsecConfigInput` via:
GetConnectionsConnectionIpsecConfigArgs{...}
type GetConnectionsConnectionIpsecConfigOutput ¶
type GetConnectionsConnectionIpsecConfigOutput struct{ *pulumi.OutputState }
func (GetConnectionsConnectionIpsecConfigOutput) ElementType ¶
func (GetConnectionsConnectionIpsecConfigOutput) ElementType() reflect.Type
func (GetConnectionsConnectionIpsecConfigOutput) IpsecAuthAlg ¶
func (o GetConnectionsConnectionIpsecConfigOutput) IpsecAuthAlg() pulumi.StringPtrOutput
The authentication algorithm of phase-two negotiation.
func (GetConnectionsConnectionIpsecConfigOutput) IpsecEncAlg ¶
func (o GetConnectionsConnectionIpsecConfigOutput) IpsecEncAlg() pulumi.StringPtrOutput
The encryption algorithm of phase-two negotiation.
func (GetConnectionsConnectionIpsecConfigOutput) IpsecLifetime ¶
func (o GetConnectionsConnectionIpsecConfigOutput) IpsecLifetime() pulumi.IntPtrOutput
The SA lifecycle as the result of phase-two negotiation.
func (GetConnectionsConnectionIpsecConfigOutput) IpsecPfs ¶
func (o GetConnectionsConnectionIpsecConfigOutput) IpsecPfs() pulumi.StringPtrOutput
The Diffie-Hellman key exchange algorithm used by phase-two negotiation.
func (GetConnectionsConnectionIpsecConfigOutput) ToGetConnectionsConnectionIpsecConfigOutput ¶
func (o GetConnectionsConnectionIpsecConfigOutput) ToGetConnectionsConnectionIpsecConfigOutput() GetConnectionsConnectionIpsecConfigOutput
func (GetConnectionsConnectionIpsecConfigOutput) ToGetConnectionsConnectionIpsecConfigOutputWithContext ¶
func (o GetConnectionsConnectionIpsecConfigOutput) ToGetConnectionsConnectionIpsecConfigOutputWithContext(ctx context.Context) GetConnectionsConnectionIpsecConfigOutput
type GetConnectionsConnectionOutput ¶
type GetConnectionsConnectionOutput struct{ *pulumi.OutputState }
func (GetConnectionsConnectionOutput) CreateTime ¶
func (o GetConnectionsConnectionOutput) CreateTime() pulumi.StringOutput
func (GetConnectionsConnectionOutput) CustomerGatewayId ¶
func (o GetConnectionsConnectionOutput) CustomerGatewayId() pulumi.StringOutput
Use the VPN customer gateway ID as the search key.
func (GetConnectionsConnectionOutput) EffectImmediately ¶
func (o GetConnectionsConnectionOutput) EffectImmediately() pulumi.BoolOutput
func (GetConnectionsConnectionOutput) ElementType ¶
func (GetConnectionsConnectionOutput) ElementType() reflect.Type
func (GetConnectionsConnectionOutput) Id ¶
func (o GetConnectionsConnectionOutput) Id() pulumi.StringOutput
ID of the VPN connection.
func (GetConnectionsConnectionOutput) IkeConfigs ¶
func (o GetConnectionsConnectionOutput) IkeConfigs() GetConnectionsConnectionIkeConfigArrayOutput
The configurations of phase-one negotiation.
func (GetConnectionsConnectionOutput) IpsecConfigs ¶
func (o GetConnectionsConnectionOutput) IpsecConfigs() GetConnectionsConnectionIpsecConfigArrayOutput
The configurations of phase-two negotiation.
func (GetConnectionsConnectionOutput) LocalSubnet ¶
func (o GetConnectionsConnectionOutput) LocalSubnet() pulumi.StringOutput
The local subnet of the VPN connection.
func (GetConnectionsConnectionOutput) Name ¶
func (o GetConnectionsConnectionOutput) Name() pulumi.StringOutput
The name of the VPN connection.
func (GetConnectionsConnectionOutput) RemoteSubnet ¶
func (o GetConnectionsConnectionOutput) RemoteSubnet() pulumi.StringOutput
The remote subnet of the VPN connection.
func (GetConnectionsConnectionOutput) Status ¶
func (o GetConnectionsConnectionOutput) Status() pulumi.StringOutput
The status of the VPN connection, valid value:ike_sa_not_established, ike_sa_established, ipsec_sa_not_established, ipsec_sa_established.
func (GetConnectionsConnectionOutput) ToGetConnectionsConnectionOutput ¶
func (o GetConnectionsConnectionOutput) ToGetConnectionsConnectionOutput() GetConnectionsConnectionOutput
func (GetConnectionsConnectionOutput) ToGetConnectionsConnectionOutputWithContext ¶
func (o GetConnectionsConnectionOutput) ToGetConnectionsConnectionOutputWithContext(ctx context.Context) GetConnectionsConnectionOutput
func (GetConnectionsConnectionOutput) VpnGatewayId ¶
func (o GetConnectionsConnectionOutput) VpnGatewayId() pulumi.StringOutput
Use the VPN gateway ID as the search key.
type GetConnectionsOutputArgs ¶
type GetConnectionsOutputArgs struct { // Use the VPN customer gateway ID as the search key. CustomerGatewayId pulumi.StringPtrInput `pulumi:"customerGatewayId"` // IDs of the VPN connections. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string of VPN connection name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // Save the result to the file. OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // Use the VPN gateway ID as the search key. VpnGatewayId pulumi.StringPtrInput `pulumi:"vpnGatewayId"` }
A collection of arguments for invoking getConnections.
func (GetConnectionsOutputArgs) ElementType ¶
func (GetConnectionsOutputArgs) ElementType() reflect.Type
type GetConnectionsResult ¶
type GetConnectionsResult struct { // A list of VPN connections. Each element contains the following attributes: Connections []GetConnectionsConnection `pulumi:"connections"` // ID of the VPN customer gateway. CustomerGatewayId *string `pulumi:"customerGatewayId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // (Optional) IDs of the VPN connections. Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` // (Optional) names of the VPN connections. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` // ID of the VPN gateway. VpnGatewayId *string `pulumi:"vpnGatewayId"` }
A collection of values returned by getConnections.
func GetConnections ¶
func GetConnections(ctx *pulumi.Context, args *GetConnectionsArgs, opts ...pulumi.InvokeOption) (*GetConnectionsResult, error)
The VPN connections data source lists lots of VPN connections resource information owned by an Alicloud account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/vpn" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/vpn"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vpn.GetConnections(ctx, &vpn.GetConnectionsArgs{ CustomerGatewayId: pulumi.StringRef("fake-cgw-id"), Ids: []string{ "fake-conn-id", }, OutputFile: pulumi.StringRef("/tmp/vpnconn"), VpnGatewayId: pulumi.StringRef("fake-vpn-id"), }, nil) if err != nil { return err } return nil }) }
```
type GetConnectionsResultOutput ¶
type GetConnectionsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getConnections.
func GetConnectionsOutput ¶
func GetConnectionsOutput(ctx *pulumi.Context, args GetConnectionsOutputArgs, opts ...pulumi.InvokeOption) GetConnectionsResultOutput
func (GetConnectionsResultOutput) Connections ¶
func (o GetConnectionsResultOutput) Connections() GetConnectionsConnectionArrayOutput
A list of VPN connections. Each element contains the following attributes:
func (GetConnectionsResultOutput) CustomerGatewayId ¶
func (o GetConnectionsResultOutput) CustomerGatewayId() pulumi.StringPtrOutput
ID of the VPN customer gateway.
func (GetConnectionsResultOutput) ElementType ¶
func (GetConnectionsResultOutput) ElementType() reflect.Type
func (GetConnectionsResultOutput) Id ¶
func (o GetConnectionsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetConnectionsResultOutput) Ids ¶
func (o GetConnectionsResultOutput) Ids() pulumi.StringArrayOutput
(Optional) IDs of the VPN connections.
func (GetConnectionsResultOutput) NameRegex ¶
func (o GetConnectionsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetConnectionsResultOutput) Names ¶
func (o GetConnectionsResultOutput) Names() pulumi.StringArrayOutput
(Optional) names of the VPN connections.
func (GetConnectionsResultOutput) OutputFile ¶
func (o GetConnectionsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetConnectionsResultOutput) ToGetConnectionsResultOutput ¶
func (o GetConnectionsResultOutput) ToGetConnectionsResultOutput() GetConnectionsResultOutput
func (GetConnectionsResultOutput) ToGetConnectionsResultOutputWithContext ¶
func (o GetConnectionsResultOutput) ToGetConnectionsResultOutputWithContext(ctx context.Context) GetConnectionsResultOutput
func (GetConnectionsResultOutput) VpnGatewayId ¶
func (o GetConnectionsResultOutput) VpnGatewayId() pulumi.StringPtrOutput
ID of the VPN gateway.
type GetCustomerGatewaysArgs ¶
type GetCustomerGatewaysArgs struct { // ID of the VPN customer gateways. Ids []string `pulumi:"ids"` // A regex string of VPN customer gateways name. NameRegex *string `pulumi:"nameRegex"` // Save the result to the file. OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getCustomerGateways.
type GetCustomerGatewaysGateway ¶
type GetCustomerGatewaysGateway struct { // The autonomous system number of the local data center gateway device of the VPN customer gateway. Asn int `pulumi:"asn"` // The creation time of the VPN customer gateway. CreateTime string `pulumi:"createTime"` // The description of the VPN customer gateway. Description string `pulumi:"description"` // ID of the 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"` }
type GetCustomerGatewaysGatewayArgs ¶
type GetCustomerGatewaysGatewayArgs struct { // The autonomous system number of the local data center gateway device of the VPN customer gateway. Asn pulumi.IntInput `pulumi:"asn"` // The creation time of the VPN customer gateway. CreateTime pulumi.StringInput `pulumi:"createTime"` // The description of the VPN customer gateway. Description pulumi.StringInput `pulumi:"description"` // ID of the 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"` }
func (GetCustomerGatewaysGatewayArgs) ElementType ¶
func (GetCustomerGatewaysGatewayArgs) ElementType() reflect.Type
func (GetCustomerGatewaysGatewayArgs) ToGetCustomerGatewaysGatewayOutput ¶
func (i GetCustomerGatewaysGatewayArgs) ToGetCustomerGatewaysGatewayOutput() GetCustomerGatewaysGatewayOutput
func (GetCustomerGatewaysGatewayArgs) ToGetCustomerGatewaysGatewayOutputWithContext ¶
func (i GetCustomerGatewaysGatewayArgs) ToGetCustomerGatewaysGatewayOutputWithContext(ctx context.Context) GetCustomerGatewaysGatewayOutput
type GetCustomerGatewaysGatewayArray ¶
type GetCustomerGatewaysGatewayArray []GetCustomerGatewaysGatewayInput
func (GetCustomerGatewaysGatewayArray) ElementType ¶
func (GetCustomerGatewaysGatewayArray) ElementType() reflect.Type
func (GetCustomerGatewaysGatewayArray) ToGetCustomerGatewaysGatewayArrayOutput ¶
func (i GetCustomerGatewaysGatewayArray) ToGetCustomerGatewaysGatewayArrayOutput() GetCustomerGatewaysGatewayArrayOutput
func (GetCustomerGatewaysGatewayArray) ToGetCustomerGatewaysGatewayArrayOutputWithContext ¶
func (i GetCustomerGatewaysGatewayArray) ToGetCustomerGatewaysGatewayArrayOutputWithContext(ctx context.Context) GetCustomerGatewaysGatewayArrayOutput
type GetCustomerGatewaysGatewayArrayInput ¶
type GetCustomerGatewaysGatewayArrayInput interface { pulumi.Input ToGetCustomerGatewaysGatewayArrayOutput() GetCustomerGatewaysGatewayArrayOutput ToGetCustomerGatewaysGatewayArrayOutputWithContext(context.Context) GetCustomerGatewaysGatewayArrayOutput }
GetCustomerGatewaysGatewayArrayInput is an input type that accepts GetCustomerGatewaysGatewayArray and GetCustomerGatewaysGatewayArrayOutput values. You can construct a concrete instance of `GetCustomerGatewaysGatewayArrayInput` via:
GetCustomerGatewaysGatewayArray{ GetCustomerGatewaysGatewayArgs{...} }
type GetCustomerGatewaysGatewayArrayOutput ¶
type GetCustomerGatewaysGatewayArrayOutput struct{ *pulumi.OutputState }
func (GetCustomerGatewaysGatewayArrayOutput) ElementType ¶
func (GetCustomerGatewaysGatewayArrayOutput) ElementType() reflect.Type
func (GetCustomerGatewaysGatewayArrayOutput) Index ¶
func (o GetCustomerGatewaysGatewayArrayOutput) Index(i pulumi.IntInput) GetCustomerGatewaysGatewayOutput
func (GetCustomerGatewaysGatewayArrayOutput) ToGetCustomerGatewaysGatewayArrayOutput ¶
func (o GetCustomerGatewaysGatewayArrayOutput) ToGetCustomerGatewaysGatewayArrayOutput() GetCustomerGatewaysGatewayArrayOutput
func (GetCustomerGatewaysGatewayArrayOutput) ToGetCustomerGatewaysGatewayArrayOutputWithContext ¶
func (o GetCustomerGatewaysGatewayArrayOutput) ToGetCustomerGatewaysGatewayArrayOutputWithContext(ctx context.Context) GetCustomerGatewaysGatewayArrayOutput
type GetCustomerGatewaysGatewayInput ¶
type GetCustomerGatewaysGatewayInput interface { pulumi.Input ToGetCustomerGatewaysGatewayOutput() GetCustomerGatewaysGatewayOutput ToGetCustomerGatewaysGatewayOutputWithContext(context.Context) GetCustomerGatewaysGatewayOutput }
GetCustomerGatewaysGatewayInput is an input type that accepts GetCustomerGatewaysGatewayArgs and GetCustomerGatewaysGatewayOutput values. You can construct a concrete instance of `GetCustomerGatewaysGatewayInput` via:
GetCustomerGatewaysGatewayArgs{...}
type GetCustomerGatewaysGatewayOutput ¶
type GetCustomerGatewaysGatewayOutput struct{ *pulumi.OutputState }
func (GetCustomerGatewaysGatewayOutput) Asn ¶
func (o GetCustomerGatewaysGatewayOutput) Asn() pulumi.IntOutput
The autonomous system number of the local data center gateway device of the VPN customer gateway.
func (GetCustomerGatewaysGatewayOutput) CreateTime ¶
func (o GetCustomerGatewaysGatewayOutput) CreateTime() pulumi.StringOutput
The creation time of the VPN customer gateway.
func (GetCustomerGatewaysGatewayOutput) Description ¶
func (o GetCustomerGatewaysGatewayOutput) Description() pulumi.StringOutput
The description of the VPN customer gateway.
func (GetCustomerGatewaysGatewayOutput) ElementType ¶
func (GetCustomerGatewaysGatewayOutput) ElementType() reflect.Type
func (GetCustomerGatewaysGatewayOutput) Id ¶
func (o GetCustomerGatewaysGatewayOutput) Id() pulumi.StringOutput
ID of the VPN customer gateway .
func (GetCustomerGatewaysGatewayOutput) IpAddress ¶
func (o GetCustomerGatewaysGatewayOutput) IpAddress() pulumi.StringOutput
The ip address of the VPN customer gateway.
func (GetCustomerGatewaysGatewayOutput) Name ¶
func (o GetCustomerGatewaysGatewayOutput) Name() pulumi.StringOutput
The name of the VPN customer gateway.
func (GetCustomerGatewaysGatewayOutput) ToGetCustomerGatewaysGatewayOutput ¶
func (o GetCustomerGatewaysGatewayOutput) ToGetCustomerGatewaysGatewayOutput() GetCustomerGatewaysGatewayOutput
func (GetCustomerGatewaysGatewayOutput) ToGetCustomerGatewaysGatewayOutputWithContext ¶
func (o GetCustomerGatewaysGatewayOutput) ToGetCustomerGatewaysGatewayOutputWithContext(ctx context.Context) GetCustomerGatewaysGatewayOutput
type GetCustomerGatewaysOutputArgs ¶
type GetCustomerGatewaysOutputArgs struct { // ID of the VPN customer gateways. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string of VPN customer gateways name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // Save the result to the file. OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking getCustomerGateways.
func (GetCustomerGatewaysOutputArgs) ElementType ¶
func (GetCustomerGatewaysOutputArgs) ElementType() reflect.Type
type GetCustomerGatewaysResult ¶
type GetCustomerGatewaysResult struct { // A list of VPN customer gateways. Each element contains the following attributes: Gateways []GetCustomerGatewaysGateway `pulumi:"gateways"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` }
A collection of values returned by getCustomerGateways.
func GetCustomerGateways ¶
func GetCustomerGateways(ctx *pulumi.Context, args *GetCustomerGatewaysArgs, opts ...pulumi.InvokeOption) (*GetCustomerGatewaysResult, error)
The VPN customers gateways data source lists a number of VPN customer gateways resource information owned by an Alicloud account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/vpn" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/vpn"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vpn.GetCustomerGateways(ctx, &vpn.GetCustomerGatewaysArgs{ Ids: []string{ "fake-id1", "fake-id2", }, NameRegex: pulumi.StringRef("testAcc*"), OutputFile: pulumi.StringRef("/tmp/cgws"), }, nil) if err != nil { return err } return nil }) }
```
type GetCustomerGatewaysResultOutput ¶
type GetCustomerGatewaysResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCustomerGateways.
func GetCustomerGatewaysOutput ¶
func GetCustomerGatewaysOutput(ctx *pulumi.Context, args GetCustomerGatewaysOutputArgs, opts ...pulumi.InvokeOption) GetCustomerGatewaysResultOutput
func (GetCustomerGatewaysResultOutput) ElementType ¶
func (GetCustomerGatewaysResultOutput) ElementType() reflect.Type
func (GetCustomerGatewaysResultOutput) Gateways ¶
func (o GetCustomerGatewaysResultOutput) Gateways() GetCustomerGatewaysGatewayArrayOutput
A list of VPN customer gateways. Each element contains the following attributes:
func (GetCustomerGatewaysResultOutput) Id ¶
func (o GetCustomerGatewaysResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetCustomerGatewaysResultOutput) Ids ¶
func (o GetCustomerGatewaysResultOutput) Ids() pulumi.StringArrayOutput
func (GetCustomerGatewaysResultOutput) NameRegex ¶
func (o GetCustomerGatewaysResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetCustomerGatewaysResultOutput) Names ¶
func (o GetCustomerGatewaysResultOutput) Names() pulumi.StringArrayOutput
func (GetCustomerGatewaysResultOutput) OutputFile ¶
func (o GetCustomerGatewaysResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetCustomerGatewaysResultOutput) ToGetCustomerGatewaysResultOutput ¶
func (o GetCustomerGatewaysResultOutput) ToGetCustomerGatewaysResultOutput() GetCustomerGatewaysResultOutput
func (GetCustomerGatewaysResultOutput) ToGetCustomerGatewaysResultOutputWithContext ¶
func (o GetCustomerGatewaysResultOutput) ToGetCustomerGatewaysResultOutputWithContext(ctx context.Context) GetCustomerGatewaysResultOutput
type GetGatewayVpnAttachmentsArgs ¶
type GetGatewayVpnAttachmentsArgs struct { // A list of Vpn Attachment IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Vpn Attachment name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` PageNumber *int `pulumi:"pageNumber"` PageSize *int `pulumi:"pageSize"` // The status of the resource. Status *string `pulumi:"status"` // The parameter 'vpn_gateway_id' has been deprecated from 1.194.0. // // Deprecated: The parameter 'vpn_gateway_id' has been deprecated from 1.194.0. VpnGatewayId *string `pulumi:"vpnGatewayId"` }
A collection of arguments for invoking getGatewayVpnAttachments.
type GetGatewayVpnAttachmentsAttachment ¶
type GetGatewayVpnAttachmentsAttachment struct { // The configurations of the BGP routing protocol. BgpConfigs []GetGatewayVpnAttachmentsAttachmentBgpConfig `pulumi:"bgpConfigs"` // The status of the IPsec-VPN connection. ConnectionStatus string `pulumi:"connectionStatus"` // The creation time of the resource. CreateTime string `pulumi:"createTime"` // The ID of the customer gateway. CustomerGatewayId string `pulumi:"customerGatewayId"` // Indicates whether IPsec-VPN negotiations are initiated immediately. Valid values. EffectImmediately bool `pulumi:"effectImmediately"` // The health check configurations. HealthCheckConfigs []GetGatewayVpnAttachmentsAttachmentHealthCheckConfig `pulumi:"healthCheckConfigs"` // The ID of the Vpn Attachment. Id string `pulumi:"id"` // Configuration negotiated in the second stage. IkeConfigs []GetGatewayVpnAttachmentsAttachmentIkeConfig `pulumi:"ikeConfigs"` // The internet ip of the resource. The alicloudCenTransitRouterVpnAttachment resource will not have a value until after it is created. InternetIp string `pulumi:"internetIp"` // The configuration of Phase 2 negotiations. IpsecConfigs []GetGatewayVpnAttachmentsAttachmentIpsecConfig `pulumi:"ipsecConfigs"` // The CIDR block of the virtual private cloud (VPC). LocalSubnet string `pulumi:"localSubnet"` // The network type. NetworkType string `pulumi:"networkType"` // The CIDR block of the on-premises data center. RemoteSubnet string `pulumi:"remoteSubnet"` // The status of the resource. Status string `pulumi:"status"` // The name of the IPsec-VPN connection. VpnAttachmentName string `pulumi:"vpnAttachmentName"` // The first ID of the resource. VpnConnectionId string `pulumi:"vpnConnectionId"` }
type GetGatewayVpnAttachmentsAttachmentArgs ¶
type GetGatewayVpnAttachmentsAttachmentArgs struct { // The configurations of the BGP routing protocol. BgpConfigs GetGatewayVpnAttachmentsAttachmentBgpConfigArrayInput `pulumi:"bgpConfigs"` // The status of the IPsec-VPN connection. ConnectionStatus pulumi.StringInput `pulumi:"connectionStatus"` // The creation time of the resource. CreateTime pulumi.StringInput `pulumi:"createTime"` // The ID of the customer gateway. CustomerGatewayId pulumi.StringInput `pulumi:"customerGatewayId"` // Indicates whether IPsec-VPN negotiations are initiated immediately. Valid values. EffectImmediately pulumi.BoolInput `pulumi:"effectImmediately"` // The health check configurations. HealthCheckConfigs GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayInput `pulumi:"healthCheckConfigs"` // The ID of the Vpn Attachment. Id pulumi.StringInput `pulumi:"id"` // Configuration negotiated in the second stage. IkeConfigs GetGatewayVpnAttachmentsAttachmentIkeConfigArrayInput `pulumi:"ikeConfigs"` // The internet ip of the resource. The alicloudCenTransitRouterVpnAttachment resource will not have a value until after it is created. InternetIp pulumi.StringInput `pulumi:"internetIp"` // The configuration of Phase 2 negotiations. IpsecConfigs GetGatewayVpnAttachmentsAttachmentIpsecConfigArrayInput `pulumi:"ipsecConfigs"` // The CIDR block of the virtual private cloud (VPC). LocalSubnet pulumi.StringInput `pulumi:"localSubnet"` // The network type. NetworkType pulumi.StringInput `pulumi:"networkType"` // The CIDR block of the on-premises data center. RemoteSubnet pulumi.StringInput `pulumi:"remoteSubnet"` // The status of the resource. Status pulumi.StringInput `pulumi:"status"` // The name of the IPsec-VPN connection. VpnAttachmentName pulumi.StringInput `pulumi:"vpnAttachmentName"` // The first ID of the resource. VpnConnectionId pulumi.StringInput `pulumi:"vpnConnectionId"` }
func (GetGatewayVpnAttachmentsAttachmentArgs) ElementType ¶
func (GetGatewayVpnAttachmentsAttachmentArgs) ElementType() reflect.Type
func (GetGatewayVpnAttachmentsAttachmentArgs) ToGetGatewayVpnAttachmentsAttachmentOutput ¶
func (i GetGatewayVpnAttachmentsAttachmentArgs) ToGetGatewayVpnAttachmentsAttachmentOutput() GetGatewayVpnAttachmentsAttachmentOutput
func (GetGatewayVpnAttachmentsAttachmentArgs) ToGetGatewayVpnAttachmentsAttachmentOutputWithContext ¶
func (i GetGatewayVpnAttachmentsAttachmentArgs) ToGetGatewayVpnAttachmentsAttachmentOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentOutput
type GetGatewayVpnAttachmentsAttachmentArray ¶
type GetGatewayVpnAttachmentsAttachmentArray []GetGatewayVpnAttachmentsAttachmentInput
func (GetGatewayVpnAttachmentsAttachmentArray) ElementType ¶
func (GetGatewayVpnAttachmentsAttachmentArray) ElementType() reflect.Type
func (GetGatewayVpnAttachmentsAttachmentArray) ToGetGatewayVpnAttachmentsAttachmentArrayOutput ¶
func (i GetGatewayVpnAttachmentsAttachmentArray) ToGetGatewayVpnAttachmentsAttachmentArrayOutput() GetGatewayVpnAttachmentsAttachmentArrayOutput
func (GetGatewayVpnAttachmentsAttachmentArray) ToGetGatewayVpnAttachmentsAttachmentArrayOutputWithContext ¶
func (i GetGatewayVpnAttachmentsAttachmentArray) ToGetGatewayVpnAttachmentsAttachmentArrayOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentArrayOutput
type GetGatewayVpnAttachmentsAttachmentArrayInput ¶
type GetGatewayVpnAttachmentsAttachmentArrayInput interface { pulumi.Input ToGetGatewayVpnAttachmentsAttachmentArrayOutput() GetGatewayVpnAttachmentsAttachmentArrayOutput ToGetGatewayVpnAttachmentsAttachmentArrayOutputWithContext(context.Context) GetGatewayVpnAttachmentsAttachmentArrayOutput }
GetGatewayVpnAttachmentsAttachmentArrayInput is an input type that accepts GetGatewayVpnAttachmentsAttachmentArray and GetGatewayVpnAttachmentsAttachmentArrayOutput values. You can construct a concrete instance of `GetGatewayVpnAttachmentsAttachmentArrayInput` via:
GetGatewayVpnAttachmentsAttachmentArray{ GetGatewayVpnAttachmentsAttachmentArgs{...} }
type GetGatewayVpnAttachmentsAttachmentArrayOutput ¶
type GetGatewayVpnAttachmentsAttachmentArrayOutput struct{ *pulumi.OutputState }
func (GetGatewayVpnAttachmentsAttachmentArrayOutput) ElementType ¶
func (GetGatewayVpnAttachmentsAttachmentArrayOutput) ElementType() reflect.Type
func (GetGatewayVpnAttachmentsAttachmentArrayOutput) ToGetGatewayVpnAttachmentsAttachmentArrayOutput ¶
func (o GetGatewayVpnAttachmentsAttachmentArrayOutput) ToGetGatewayVpnAttachmentsAttachmentArrayOutput() GetGatewayVpnAttachmentsAttachmentArrayOutput
func (GetGatewayVpnAttachmentsAttachmentArrayOutput) ToGetGatewayVpnAttachmentsAttachmentArrayOutputWithContext ¶
func (o GetGatewayVpnAttachmentsAttachmentArrayOutput) ToGetGatewayVpnAttachmentsAttachmentArrayOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentArrayOutput
type GetGatewayVpnAttachmentsAttachmentBgpConfig ¶
type GetGatewayVpnAttachmentsAttachmentBgpConfig struct { // The ASN on the Alibaba Cloud side. LocalAsn string `pulumi:"localAsn"` // The BGP IP address on the Alibaba Cloud side. LocalBgpIp string `pulumi:"localBgpIp"` // The status of the resource. Status string `pulumi:"status"` // The CIDR block of the IPsec tunnel. The CIDR block belongs to 169.254.0.0/16. The mask of the CIDR block is 30 bits in length. TunnelCidr string `pulumi:"tunnelCidr"` }
type GetGatewayVpnAttachmentsAttachmentBgpConfigArgs ¶
type GetGatewayVpnAttachmentsAttachmentBgpConfigArgs struct { // The ASN on the Alibaba Cloud side. LocalAsn pulumi.StringInput `pulumi:"localAsn"` // The BGP IP address on the Alibaba Cloud side. LocalBgpIp pulumi.StringInput `pulumi:"localBgpIp"` // The status of the resource. Status pulumi.StringInput `pulumi:"status"` // The CIDR block of the IPsec tunnel. The CIDR block belongs to 169.254.0.0/16. The mask of the CIDR block is 30 bits in length. TunnelCidr pulumi.StringInput `pulumi:"tunnelCidr"` }
func (GetGatewayVpnAttachmentsAttachmentBgpConfigArgs) ElementType ¶
func (GetGatewayVpnAttachmentsAttachmentBgpConfigArgs) ElementType() reflect.Type
func (GetGatewayVpnAttachmentsAttachmentBgpConfigArgs) ToGetGatewayVpnAttachmentsAttachmentBgpConfigOutput ¶
func (i GetGatewayVpnAttachmentsAttachmentBgpConfigArgs) ToGetGatewayVpnAttachmentsAttachmentBgpConfigOutput() GetGatewayVpnAttachmentsAttachmentBgpConfigOutput
func (GetGatewayVpnAttachmentsAttachmentBgpConfigArgs) ToGetGatewayVpnAttachmentsAttachmentBgpConfigOutputWithContext ¶
func (i GetGatewayVpnAttachmentsAttachmentBgpConfigArgs) ToGetGatewayVpnAttachmentsAttachmentBgpConfigOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentBgpConfigOutput
type GetGatewayVpnAttachmentsAttachmentBgpConfigArray ¶
type GetGatewayVpnAttachmentsAttachmentBgpConfigArray []GetGatewayVpnAttachmentsAttachmentBgpConfigInput
func (GetGatewayVpnAttachmentsAttachmentBgpConfigArray) ElementType ¶
func (GetGatewayVpnAttachmentsAttachmentBgpConfigArray) ElementType() reflect.Type
func (GetGatewayVpnAttachmentsAttachmentBgpConfigArray) ToGetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput ¶
func (i GetGatewayVpnAttachmentsAttachmentBgpConfigArray) ToGetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput() GetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput
func (GetGatewayVpnAttachmentsAttachmentBgpConfigArray) ToGetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutputWithContext ¶
func (i GetGatewayVpnAttachmentsAttachmentBgpConfigArray) ToGetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput
type GetGatewayVpnAttachmentsAttachmentBgpConfigArrayInput ¶
type GetGatewayVpnAttachmentsAttachmentBgpConfigArrayInput interface { pulumi.Input ToGetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput() GetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput ToGetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutputWithContext(context.Context) GetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput }
GetGatewayVpnAttachmentsAttachmentBgpConfigArrayInput is an input type that accepts GetGatewayVpnAttachmentsAttachmentBgpConfigArray and GetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput values. You can construct a concrete instance of `GetGatewayVpnAttachmentsAttachmentBgpConfigArrayInput` via:
GetGatewayVpnAttachmentsAttachmentBgpConfigArray{ GetGatewayVpnAttachmentsAttachmentBgpConfigArgs{...} }
type GetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput ¶
type GetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput struct{ *pulumi.OutputState }
func (GetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput) ElementType ¶
func (GetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput) ElementType() reflect.Type
func (GetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput) ToGetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput ¶
func (o GetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput) ToGetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput() GetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput
func (GetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput) ToGetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutputWithContext ¶
func (o GetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput) ToGetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput
type GetGatewayVpnAttachmentsAttachmentBgpConfigInput ¶
type GetGatewayVpnAttachmentsAttachmentBgpConfigInput interface { pulumi.Input ToGetGatewayVpnAttachmentsAttachmentBgpConfigOutput() GetGatewayVpnAttachmentsAttachmentBgpConfigOutput ToGetGatewayVpnAttachmentsAttachmentBgpConfigOutputWithContext(context.Context) GetGatewayVpnAttachmentsAttachmentBgpConfigOutput }
GetGatewayVpnAttachmentsAttachmentBgpConfigInput is an input type that accepts GetGatewayVpnAttachmentsAttachmentBgpConfigArgs and GetGatewayVpnAttachmentsAttachmentBgpConfigOutput values. You can construct a concrete instance of `GetGatewayVpnAttachmentsAttachmentBgpConfigInput` via:
GetGatewayVpnAttachmentsAttachmentBgpConfigArgs{...}
type GetGatewayVpnAttachmentsAttachmentBgpConfigOutput ¶
type GetGatewayVpnAttachmentsAttachmentBgpConfigOutput struct{ *pulumi.OutputState }
func (GetGatewayVpnAttachmentsAttachmentBgpConfigOutput) ElementType ¶
func (GetGatewayVpnAttachmentsAttachmentBgpConfigOutput) ElementType() reflect.Type
func (GetGatewayVpnAttachmentsAttachmentBgpConfigOutput) LocalAsn ¶
func (o GetGatewayVpnAttachmentsAttachmentBgpConfigOutput) LocalAsn() pulumi.StringOutput
The ASN on the Alibaba Cloud side.
func (GetGatewayVpnAttachmentsAttachmentBgpConfigOutput) LocalBgpIp ¶
func (o GetGatewayVpnAttachmentsAttachmentBgpConfigOutput) LocalBgpIp() pulumi.StringOutput
The BGP IP address on the Alibaba Cloud side.
func (GetGatewayVpnAttachmentsAttachmentBgpConfigOutput) Status ¶
func (o GetGatewayVpnAttachmentsAttachmentBgpConfigOutput) Status() pulumi.StringOutput
The status of the resource.
func (GetGatewayVpnAttachmentsAttachmentBgpConfigOutput) ToGetGatewayVpnAttachmentsAttachmentBgpConfigOutput ¶
func (o GetGatewayVpnAttachmentsAttachmentBgpConfigOutput) ToGetGatewayVpnAttachmentsAttachmentBgpConfigOutput() GetGatewayVpnAttachmentsAttachmentBgpConfigOutput
func (GetGatewayVpnAttachmentsAttachmentBgpConfigOutput) ToGetGatewayVpnAttachmentsAttachmentBgpConfigOutputWithContext ¶
func (o GetGatewayVpnAttachmentsAttachmentBgpConfigOutput) ToGetGatewayVpnAttachmentsAttachmentBgpConfigOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentBgpConfigOutput
func (GetGatewayVpnAttachmentsAttachmentBgpConfigOutput) TunnelCidr ¶
func (o GetGatewayVpnAttachmentsAttachmentBgpConfigOutput) TunnelCidr() pulumi.StringOutput
The CIDR block of the IPsec tunnel. The CIDR block belongs to 169.254.0.0/16. The mask of the CIDR block is 30 bits in length.
type GetGatewayVpnAttachmentsAttachmentHealthCheckConfig ¶
type GetGatewayVpnAttachmentsAttachmentHealthCheckConfig struct { // The destination IP address. Dip string `pulumi:"dip"` // Specifies whether to enable health checks. Enable bool `pulumi:"enable"` // The interval between two consecutive health checks. Unit: seconds. Interval int `pulumi:"interval"` // Whether to revoke the published route when the health check fails. Policy string `pulumi:"policy"` // The maximum number of health check retries. Retry int `pulumi:"retry"` // The source IP address. Sip string `pulumi:"sip"` // The status of the resource. Status string `pulumi:"status"` }
type GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArgs ¶
type GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArgs struct { // The destination IP address. Dip pulumi.StringInput `pulumi:"dip"` // Specifies whether to enable health checks. Enable pulumi.BoolInput `pulumi:"enable"` // The interval between two consecutive health checks. Unit: seconds. Interval pulumi.IntInput `pulumi:"interval"` // Whether to revoke the published route when the health check fails. Policy pulumi.StringInput `pulumi:"policy"` // The maximum number of health check retries. Retry pulumi.IntInput `pulumi:"retry"` // The source IP address. Sip pulumi.StringInput `pulumi:"sip"` // The status of the resource. Status pulumi.StringInput `pulumi:"status"` }
func (GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArgs) ElementType ¶
func (GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArgs) ElementType() reflect.Type
func (GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArgs) ToGetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput ¶
func (i GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArgs) ToGetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput() GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput
func (GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArgs) ToGetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutputWithContext ¶
func (i GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArgs) ToGetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput
type GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArray ¶
type GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArray []GetGatewayVpnAttachmentsAttachmentHealthCheckConfigInput
func (GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArray) ElementType ¶
func (GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArray) ElementType() reflect.Type
func (GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArray) ToGetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput ¶
func (i GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArray) ToGetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput() GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput
func (GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArray) ToGetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutputWithContext ¶
func (i GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArray) ToGetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput
type GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayInput ¶
type GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayInput interface { pulumi.Input ToGetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput() GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput ToGetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutputWithContext(context.Context) GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput }
GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayInput is an input type that accepts GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArray and GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput values. You can construct a concrete instance of `GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayInput` via:
GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArray{ GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArgs{...} }
type GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput ¶
type GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput struct{ *pulumi.OutputState }
func (GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput) ElementType ¶
func (GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput) ElementType() reflect.Type
func (GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput) ToGetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput ¶
func (o GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput) ToGetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput() GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput
func (GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput) ToGetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutputWithContext ¶
func (o GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput) ToGetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput
type GetGatewayVpnAttachmentsAttachmentHealthCheckConfigInput ¶
type GetGatewayVpnAttachmentsAttachmentHealthCheckConfigInput interface { pulumi.Input ToGetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput() GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput ToGetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutputWithContext(context.Context) GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput }
GetGatewayVpnAttachmentsAttachmentHealthCheckConfigInput is an input type that accepts GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArgs and GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput values. You can construct a concrete instance of `GetGatewayVpnAttachmentsAttachmentHealthCheckConfigInput` via:
GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArgs{...}
type GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput ¶
type GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput struct{ *pulumi.OutputState }
func (GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput) ElementType ¶
func (GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput) ElementType() reflect.Type
func (GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput) Enable ¶
func (o GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput) Enable() pulumi.BoolOutput
Specifies whether to enable health checks.
func (GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput) Interval ¶
func (o GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput) Interval() pulumi.IntOutput
The interval between two consecutive health checks. Unit: seconds.
func (GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput) Policy ¶
func (o GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput) Policy() pulumi.StringOutput
Whether to revoke the published route when the health check fails.
func (GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput) Retry ¶
func (o GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput) Retry() pulumi.IntOutput
The maximum number of health check retries.
func (GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput) Status ¶
func (o GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput) Status() pulumi.StringOutput
The status of the resource.
func (GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput) ToGetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput ¶
func (o GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput) ToGetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput() GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput
func (GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput) ToGetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutputWithContext ¶
func (o GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput) ToGetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentHealthCheckConfigOutput
type GetGatewayVpnAttachmentsAttachmentIkeConfig ¶
type GetGatewayVpnAttachmentsAttachmentIkeConfig struct { // The IKE authentication algorithm. IkeAuthAlg string `pulumi:"ikeAuthAlg"` // The IKE encryption algorithm. IkeEncAlg string `pulumi:"ikeEncAlg"` // The IKE lifetime. Unit: seconds. IkeLifetime string `pulumi:"ikeLifetime"` // The IKE negotiation mode. IkeMode string `pulumi:"ikeMode"` // The DH group. IkePfs string `pulumi:"ikePfs"` // The version of the IKE protocol. IkeVersion string `pulumi:"ikeVersion"` // The local ID, which supports the FQDN and IP formats. The current VPN gateway IP address is selected by default. The alicloudCenTransitRouterVpnAttachment resource will not have a value until after it is created. LocalId string `pulumi:"localId"` // The pre-shared key. Psk string `pulumi:"psk"` // The identifier of the peer. The default value is the IP address of the VPN gateway. The value can be a fully qualified domain name (FQDN) or an IP address. RemoteId string `pulumi:"remoteId"` }
type GetGatewayVpnAttachmentsAttachmentIkeConfigArgs ¶
type GetGatewayVpnAttachmentsAttachmentIkeConfigArgs struct { // The IKE authentication algorithm. IkeAuthAlg pulumi.StringInput `pulumi:"ikeAuthAlg"` // The IKE encryption algorithm. IkeEncAlg pulumi.StringInput `pulumi:"ikeEncAlg"` // The IKE lifetime. Unit: seconds. IkeLifetime pulumi.StringInput `pulumi:"ikeLifetime"` // The IKE negotiation mode. IkeMode pulumi.StringInput `pulumi:"ikeMode"` // The DH group. IkePfs pulumi.StringInput `pulumi:"ikePfs"` // The version of the IKE protocol. IkeVersion pulumi.StringInput `pulumi:"ikeVersion"` // The local ID, which supports the FQDN and IP formats. The current VPN gateway IP address is selected by default. The alicloudCenTransitRouterVpnAttachment resource will not have a value until after it is created. LocalId pulumi.StringInput `pulumi:"localId"` // The pre-shared key. Psk pulumi.StringInput `pulumi:"psk"` // The identifier of the peer. The default value is the IP address of the VPN gateway. The value can be a fully qualified domain name (FQDN) or an IP address. RemoteId pulumi.StringInput `pulumi:"remoteId"` }
func (GetGatewayVpnAttachmentsAttachmentIkeConfigArgs) ElementType ¶
func (GetGatewayVpnAttachmentsAttachmentIkeConfigArgs) ElementType() reflect.Type
func (GetGatewayVpnAttachmentsAttachmentIkeConfigArgs) ToGetGatewayVpnAttachmentsAttachmentIkeConfigOutput ¶
func (i GetGatewayVpnAttachmentsAttachmentIkeConfigArgs) ToGetGatewayVpnAttachmentsAttachmentIkeConfigOutput() GetGatewayVpnAttachmentsAttachmentIkeConfigOutput
func (GetGatewayVpnAttachmentsAttachmentIkeConfigArgs) ToGetGatewayVpnAttachmentsAttachmentIkeConfigOutputWithContext ¶
func (i GetGatewayVpnAttachmentsAttachmentIkeConfigArgs) ToGetGatewayVpnAttachmentsAttachmentIkeConfigOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentIkeConfigOutput
type GetGatewayVpnAttachmentsAttachmentIkeConfigArray ¶
type GetGatewayVpnAttachmentsAttachmentIkeConfigArray []GetGatewayVpnAttachmentsAttachmentIkeConfigInput
func (GetGatewayVpnAttachmentsAttachmentIkeConfigArray) ElementType ¶
func (GetGatewayVpnAttachmentsAttachmentIkeConfigArray) ElementType() reflect.Type
func (GetGatewayVpnAttachmentsAttachmentIkeConfigArray) ToGetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput ¶
func (i GetGatewayVpnAttachmentsAttachmentIkeConfigArray) ToGetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput() GetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput
func (GetGatewayVpnAttachmentsAttachmentIkeConfigArray) ToGetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutputWithContext ¶
func (i GetGatewayVpnAttachmentsAttachmentIkeConfigArray) ToGetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput
type GetGatewayVpnAttachmentsAttachmentIkeConfigArrayInput ¶
type GetGatewayVpnAttachmentsAttachmentIkeConfigArrayInput interface { pulumi.Input ToGetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput() GetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput ToGetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutputWithContext(context.Context) GetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput }
GetGatewayVpnAttachmentsAttachmentIkeConfigArrayInput is an input type that accepts GetGatewayVpnAttachmentsAttachmentIkeConfigArray and GetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput values. You can construct a concrete instance of `GetGatewayVpnAttachmentsAttachmentIkeConfigArrayInput` via:
GetGatewayVpnAttachmentsAttachmentIkeConfigArray{ GetGatewayVpnAttachmentsAttachmentIkeConfigArgs{...} }
type GetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput ¶
type GetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput struct{ *pulumi.OutputState }
func (GetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput) ElementType ¶
func (GetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput) ElementType() reflect.Type
func (GetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput) ToGetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput ¶
func (o GetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput) ToGetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput() GetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput
func (GetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput) ToGetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutputWithContext ¶
func (o GetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput) ToGetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput
type GetGatewayVpnAttachmentsAttachmentIkeConfigInput ¶
type GetGatewayVpnAttachmentsAttachmentIkeConfigInput interface { pulumi.Input ToGetGatewayVpnAttachmentsAttachmentIkeConfigOutput() GetGatewayVpnAttachmentsAttachmentIkeConfigOutput ToGetGatewayVpnAttachmentsAttachmentIkeConfigOutputWithContext(context.Context) GetGatewayVpnAttachmentsAttachmentIkeConfigOutput }
GetGatewayVpnAttachmentsAttachmentIkeConfigInput is an input type that accepts GetGatewayVpnAttachmentsAttachmentIkeConfigArgs and GetGatewayVpnAttachmentsAttachmentIkeConfigOutput values. You can construct a concrete instance of `GetGatewayVpnAttachmentsAttachmentIkeConfigInput` via:
GetGatewayVpnAttachmentsAttachmentIkeConfigArgs{...}
type GetGatewayVpnAttachmentsAttachmentIkeConfigOutput ¶
type GetGatewayVpnAttachmentsAttachmentIkeConfigOutput struct{ *pulumi.OutputState }
func (GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) ElementType ¶
func (GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) ElementType() reflect.Type
func (GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) IkeAuthAlg ¶
func (o GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) IkeAuthAlg() pulumi.StringOutput
The IKE authentication algorithm.
func (GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) IkeEncAlg ¶
func (o GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) IkeEncAlg() pulumi.StringOutput
The IKE encryption algorithm.
func (GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) IkeLifetime ¶
func (o GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) IkeLifetime() pulumi.StringOutput
The IKE lifetime. Unit: seconds.
func (GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) IkeMode ¶
func (o GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) IkeMode() pulumi.StringOutput
The IKE negotiation mode.
func (GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) IkePfs ¶
func (o GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) IkePfs() pulumi.StringOutput
The DH group.
func (GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) IkeVersion ¶
func (o GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) IkeVersion() pulumi.StringOutput
The version of the IKE protocol.
func (GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) LocalId ¶
func (o GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) LocalId() pulumi.StringOutput
The local ID, which supports the FQDN and IP formats. The current VPN gateway IP address is selected by default. The alicloudCenTransitRouterVpnAttachment resource will not have a value until after it is created.
func (GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) Psk ¶
func (o GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) Psk() pulumi.StringOutput
The pre-shared key.
func (GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) RemoteId ¶
func (o GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) RemoteId() pulumi.StringOutput
The identifier of the peer. The default value is the IP address of the VPN gateway. The value can be a fully qualified domain name (FQDN) or an IP address.
func (GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) ToGetGatewayVpnAttachmentsAttachmentIkeConfigOutput ¶
func (o GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) ToGetGatewayVpnAttachmentsAttachmentIkeConfigOutput() GetGatewayVpnAttachmentsAttachmentIkeConfigOutput
func (GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) ToGetGatewayVpnAttachmentsAttachmentIkeConfigOutputWithContext ¶
func (o GetGatewayVpnAttachmentsAttachmentIkeConfigOutput) ToGetGatewayVpnAttachmentsAttachmentIkeConfigOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentIkeConfigOutput
type GetGatewayVpnAttachmentsAttachmentInput ¶
type GetGatewayVpnAttachmentsAttachmentInput interface { pulumi.Input ToGetGatewayVpnAttachmentsAttachmentOutput() GetGatewayVpnAttachmentsAttachmentOutput ToGetGatewayVpnAttachmentsAttachmentOutputWithContext(context.Context) GetGatewayVpnAttachmentsAttachmentOutput }
GetGatewayVpnAttachmentsAttachmentInput is an input type that accepts GetGatewayVpnAttachmentsAttachmentArgs and GetGatewayVpnAttachmentsAttachmentOutput values. You can construct a concrete instance of `GetGatewayVpnAttachmentsAttachmentInput` via:
GetGatewayVpnAttachmentsAttachmentArgs{...}
type GetGatewayVpnAttachmentsAttachmentIpsecConfig ¶
type GetGatewayVpnAttachmentsAttachmentIpsecConfig struct { // The IPsec authentication algorithm. IpsecAuthAlg string `pulumi:"ipsecAuthAlg"` // The IPsec encryption algorithm. IpsecEncAlg string `pulumi:"ipsecEncAlg"` // The IPsec lifetime. Unit: seconds. IpsecLifetime string `pulumi:"ipsecLifetime"` // The DH group. IpsecPfs string `pulumi:"ipsecPfs"` }
type GetGatewayVpnAttachmentsAttachmentIpsecConfigArgs ¶
type GetGatewayVpnAttachmentsAttachmentIpsecConfigArgs struct { // The IPsec authentication algorithm. IpsecAuthAlg pulumi.StringInput `pulumi:"ipsecAuthAlg"` // The IPsec encryption algorithm. IpsecEncAlg pulumi.StringInput `pulumi:"ipsecEncAlg"` // The IPsec lifetime. Unit: seconds. IpsecLifetime pulumi.StringInput `pulumi:"ipsecLifetime"` // The DH group. IpsecPfs pulumi.StringInput `pulumi:"ipsecPfs"` }
func (GetGatewayVpnAttachmentsAttachmentIpsecConfigArgs) ElementType ¶
func (GetGatewayVpnAttachmentsAttachmentIpsecConfigArgs) ElementType() reflect.Type
func (GetGatewayVpnAttachmentsAttachmentIpsecConfigArgs) ToGetGatewayVpnAttachmentsAttachmentIpsecConfigOutput ¶
func (i GetGatewayVpnAttachmentsAttachmentIpsecConfigArgs) ToGetGatewayVpnAttachmentsAttachmentIpsecConfigOutput() GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput
func (GetGatewayVpnAttachmentsAttachmentIpsecConfigArgs) ToGetGatewayVpnAttachmentsAttachmentIpsecConfigOutputWithContext ¶
func (i GetGatewayVpnAttachmentsAttachmentIpsecConfigArgs) ToGetGatewayVpnAttachmentsAttachmentIpsecConfigOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput
type GetGatewayVpnAttachmentsAttachmentIpsecConfigArray ¶
type GetGatewayVpnAttachmentsAttachmentIpsecConfigArray []GetGatewayVpnAttachmentsAttachmentIpsecConfigInput
func (GetGatewayVpnAttachmentsAttachmentIpsecConfigArray) ElementType ¶
func (GetGatewayVpnAttachmentsAttachmentIpsecConfigArray) ElementType() reflect.Type
func (GetGatewayVpnAttachmentsAttachmentIpsecConfigArray) ToGetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput ¶
func (i GetGatewayVpnAttachmentsAttachmentIpsecConfigArray) ToGetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput() GetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput
func (GetGatewayVpnAttachmentsAttachmentIpsecConfigArray) ToGetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutputWithContext ¶
func (i GetGatewayVpnAttachmentsAttachmentIpsecConfigArray) ToGetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput
type GetGatewayVpnAttachmentsAttachmentIpsecConfigArrayInput ¶
type GetGatewayVpnAttachmentsAttachmentIpsecConfigArrayInput interface { pulumi.Input ToGetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput() GetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput ToGetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutputWithContext(context.Context) GetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput }
GetGatewayVpnAttachmentsAttachmentIpsecConfigArrayInput is an input type that accepts GetGatewayVpnAttachmentsAttachmentIpsecConfigArray and GetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput values. You can construct a concrete instance of `GetGatewayVpnAttachmentsAttachmentIpsecConfigArrayInput` via:
GetGatewayVpnAttachmentsAttachmentIpsecConfigArray{ GetGatewayVpnAttachmentsAttachmentIpsecConfigArgs{...} }
type GetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput ¶
type GetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput struct{ *pulumi.OutputState }
func (GetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput) ElementType ¶
func (GetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput) ElementType() reflect.Type
func (GetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput) ToGetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput ¶
func (o GetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput) ToGetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput() GetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput
func (GetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput) ToGetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutputWithContext ¶
func (o GetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput) ToGetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput
type GetGatewayVpnAttachmentsAttachmentIpsecConfigInput ¶
type GetGatewayVpnAttachmentsAttachmentIpsecConfigInput interface { pulumi.Input ToGetGatewayVpnAttachmentsAttachmentIpsecConfigOutput() GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput ToGetGatewayVpnAttachmentsAttachmentIpsecConfigOutputWithContext(context.Context) GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput }
GetGatewayVpnAttachmentsAttachmentIpsecConfigInput is an input type that accepts GetGatewayVpnAttachmentsAttachmentIpsecConfigArgs and GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput values. You can construct a concrete instance of `GetGatewayVpnAttachmentsAttachmentIpsecConfigInput` via:
GetGatewayVpnAttachmentsAttachmentIpsecConfigArgs{...}
type GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput ¶
type GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput struct{ *pulumi.OutputState }
func (GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput) ElementType ¶
func (GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput) ElementType() reflect.Type
func (GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput) IpsecAuthAlg ¶
func (o GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput) IpsecAuthAlg() pulumi.StringOutput
The IPsec authentication algorithm.
func (GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput) IpsecEncAlg ¶
func (o GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput) IpsecEncAlg() pulumi.StringOutput
The IPsec encryption algorithm.
func (GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput) IpsecLifetime ¶
func (o GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput) IpsecLifetime() pulumi.StringOutput
The IPsec lifetime. Unit: seconds.
func (GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput) IpsecPfs ¶
func (o GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput) IpsecPfs() pulumi.StringOutput
The DH group.
func (GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput) ToGetGatewayVpnAttachmentsAttachmentIpsecConfigOutput ¶
func (o GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput) ToGetGatewayVpnAttachmentsAttachmentIpsecConfigOutput() GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput
func (GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput) ToGetGatewayVpnAttachmentsAttachmentIpsecConfigOutputWithContext ¶
func (o GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput) ToGetGatewayVpnAttachmentsAttachmentIpsecConfigOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentIpsecConfigOutput
type GetGatewayVpnAttachmentsAttachmentOutput ¶
type GetGatewayVpnAttachmentsAttachmentOutput struct{ *pulumi.OutputState }
func (GetGatewayVpnAttachmentsAttachmentOutput) BgpConfigs ¶
func (o GetGatewayVpnAttachmentsAttachmentOutput) BgpConfigs() GetGatewayVpnAttachmentsAttachmentBgpConfigArrayOutput
The configurations of the BGP routing protocol.
func (GetGatewayVpnAttachmentsAttachmentOutput) ConnectionStatus ¶
func (o GetGatewayVpnAttachmentsAttachmentOutput) ConnectionStatus() pulumi.StringOutput
The status of the IPsec-VPN connection.
func (GetGatewayVpnAttachmentsAttachmentOutput) CreateTime ¶
func (o GetGatewayVpnAttachmentsAttachmentOutput) CreateTime() pulumi.StringOutput
The creation time of the resource.
func (GetGatewayVpnAttachmentsAttachmentOutput) CustomerGatewayId ¶
func (o GetGatewayVpnAttachmentsAttachmentOutput) CustomerGatewayId() pulumi.StringOutput
The ID of the customer gateway.
func (GetGatewayVpnAttachmentsAttachmentOutput) EffectImmediately ¶
func (o GetGatewayVpnAttachmentsAttachmentOutput) EffectImmediately() pulumi.BoolOutput
Indicates whether IPsec-VPN negotiations are initiated immediately. Valid values.
func (GetGatewayVpnAttachmentsAttachmentOutput) ElementType ¶
func (GetGatewayVpnAttachmentsAttachmentOutput) ElementType() reflect.Type
func (GetGatewayVpnAttachmentsAttachmentOutput) HealthCheckConfigs ¶
func (o GetGatewayVpnAttachmentsAttachmentOutput) HealthCheckConfigs() GetGatewayVpnAttachmentsAttachmentHealthCheckConfigArrayOutput
The health check configurations.
func (GetGatewayVpnAttachmentsAttachmentOutput) Id ¶
func (o GetGatewayVpnAttachmentsAttachmentOutput) Id() pulumi.StringOutput
The ID of the Vpn Attachment.
func (GetGatewayVpnAttachmentsAttachmentOutput) IkeConfigs ¶
func (o GetGatewayVpnAttachmentsAttachmentOutput) IkeConfigs() GetGatewayVpnAttachmentsAttachmentIkeConfigArrayOutput
Configuration negotiated in the second stage.
func (GetGatewayVpnAttachmentsAttachmentOutput) InternetIp ¶
func (o GetGatewayVpnAttachmentsAttachmentOutput) InternetIp() pulumi.StringOutput
The internet ip of the resource. The alicloudCenTransitRouterVpnAttachment resource will not have a value until after it is created.
func (GetGatewayVpnAttachmentsAttachmentOutput) IpsecConfigs ¶
func (o GetGatewayVpnAttachmentsAttachmentOutput) IpsecConfigs() GetGatewayVpnAttachmentsAttachmentIpsecConfigArrayOutput
The configuration of Phase 2 negotiations.
func (GetGatewayVpnAttachmentsAttachmentOutput) LocalSubnet ¶
func (o GetGatewayVpnAttachmentsAttachmentOutput) LocalSubnet() pulumi.StringOutput
The CIDR block of the virtual private cloud (VPC).
func (GetGatewayVpnAttachmentsAttachmentOutput) NetworkType ¶
func (o GetGatewayVpnAttachmentsAttachmentOutput) NetworkType() pulumi.StringOutput
The network type.
func (GetGatewayVpnAttachmentsAttachmentOutput) RemoteSubnet ¶
func (o GetGatewayVpnAttachmentsAttachmentOutput) RemoteSubnet() pulumi.StringOutput
The CIDR block of the on-premises data center.
func (GetGatewayVpnAttachmentsAttachmentOutput) Status ¶
func (o GetGatewayVpnAttachmentsAttachmentOutput) Status() pulumi.StringOutput
The status of the resource.
func (GetGatewayVpnAttachmentsAttachmentOutput) ToGetGatewayVpnAttachmentsAttachmentOutput ¶
func (o GetGatewayVpnAttachmentsAttachmentOutput) ToGetGatewayVpnAttachmentsAttachmentOutput() GetGatewayVpnAttachmentsAttachmentOutput
func (GetGatewayVpnAttachmentsAttachmentOutput) ToGetGatewayVpnAttachmentsAttachmentOutputWithContext ¶
func (o GetGatewayVpnAttachmentsAttachmentOutput) ToGetGatewayVpnAttachmentsAttachmentOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsAttachmentOutput
func (GetGatewayVpnAttachmentsAttachmentOutput) VpnAttachmentName ¶
func (o GetGatewayVpnAttachmentsAttachmentOutput) VpnAttachmentName() pulumi.StringOutput
The name of the IPsec-VPN connection.
func (GetGatewayVpnAttachmentsAttachmentOutput) VpnConnectionId ¶
func (o GetGatewayVpnAttachmentsAttachmentOutput) VpnConnectionId() pulumi.StringOutput
The first ID of the resource.
type GetGatewayVpnAttachmentsOutputArgs ¶
type GetGatewayVpnAttachmentsOutputArgs struct { // A list of Vpn Attachment IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Vpn Attachment name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` PageNumber pulumi.IntPtrInput `pulumi:"pageNumber"` PageSize pulumi.IntPtrInput `pulumi:"pageSize"` // The status of the resource. Status pulumi.StringPtrInput `pulumi:"status"` // The parameter 'vpn_gateway_id' has been deprecated from 1.194.0. // // Deprecated: The parameter 'vpn_gateway_id' has been deprecated from 1.194.0. VpnGatewayId pulumi.StringPtrInput `pulumi:"vpnGatewayId"` }
A collection of arguments for invoking getGatewayVpnAttachments.
func (GetGatewayVpnAttachmentsOutputArgs) ElementType ¶
func (GetGatewayVpnAttachmentsOutputArgs) ElementType() reflect.Type
type GetGatewayVpnAttachmentsResult ¶
type GetGatewayVpnAttachmentsResult struct { Attachments []GetGatewayVpnAttachmentsAttachment `pulumi:"attachments"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` PageNumber *int `pulumi:"pageNumber"` PageSize *int `pulumi:"pageSize"` Status *string `pulumi:"status"` // Deprecated: The parameter 'vpn_gateway_id' has been deprecated from 1.194.0. VpnGatewayId *string `pulumi:"vpnGatewayId"` }
A collection of values returned by getGatewayVpnAttachments.
func GetGatewayVpnAttachments ¶
func GetGatewayVpnAttachments(ctx *pulumi.Context, args *GetGatewayVpnAttachmentsArgs, opts ...pulumi.InvokeOption) (*GetGatewayVpnAttachmentsResult, error)
This data source provides the Vpn Gateway Vpn Attachments of the current Alibaba Cloud user.
> **NOTE:** Available in v1.181.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/vpn" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/vpn"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := vpn.GetGatewayVpnAttachments(ctx, nil, nil) if err != nil { return err } ctx.Export("vpnGatewayVpnAttachmentId1", ids.Attachments[0].Id) nameRegex, err := vpn.GetGatewayVpnAttachments(ctx, &vpn.GetGatewayVpnAttachmentsArgs{ NameRegex: pulumi.StringRef("^my-VpnAttachment"), }, nil) if err != nil { return err } ctx.Export("vpnGatewayVpnAttachmentId2", nameRegex.Attachments[0].Id) ctx.Export("localId", data.Alicloud_vpn_gateway_vpn_attachments.Vpn_attachments.Attachments[0].Ike_config[0].Local_id) ctx.Export("internetIp", data.Alicloud_vpn_gateway_vpn_attachments.Vpn_attachments.Attachments[0].Internet_ip) return nil }) }
```
type GetGatewayVpnAttachmentsResultOutput ¶
type GetGatewayVpnAttachmentsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getGatewayVpnAttachments.
func GetGatewayVpnAttachmentsOutput ¶
func GetGatewayVpnAttachmentsOutput(ctx *pulumi.Context, args GetGatewayVpnAttachmentsOutputArgs, opts ...pulumi.InvokeOption) GetGatewayVpnAttachmentsResultOutput
func (GetGatewayVpnAttachmentsResultOutput) Attachments ¶
func (o GetGatewayVpnAttachmentsResultOutput) Attachments() GetGatewayVpnAttachmentsAttachmentArrayOutput
func (GetGatewayVpnAttachmentsResultOutput) ElementType ¶
func (GetGatewayVpnAttachmentsResultOutput) ElementType() reflect.Type
func (GetGatewayVpnAttachmentsResultOutput) Id ¶
func (o GetGatewayVpnAttachmentsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetGatewayVpnAttachmentsResultOutput) Ids ¶
func (o GetGatewayVpnAttachmentsResultOutput) Ids() pulumi.StringArrayOutput
func (GetGatewayVpnAttachmentsResultOutput) NameRegex ¶
func (o GetGatewayVpnAttachmentsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetGatewayVpnAttachmentsResultOutput) Names ¶
func (o GetGatewayVpnAttachmentsResultOutput) Names() pulumi.StringArrayOutput
func (GetGatewayVpnAttachmentsResultOutput) OutputFile ¶
func (o GetGatewayVpnAttachmentsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetGatewayVpnAttachmentsResultOutput) PageNumber ¶
func (o GetGatewayVpnAttachmentsResultOutput) PageNumber() pulumi.IntPtrOutput
func (GetGatewayVpnAttachmentsResultOutput) PageSize ¶
func (o GetGatewayVpnAttachmentsResultOutput) PageSize() pulumi.IntPtrOutput
func (GetGatewayVpnAttachmentsResultOutput) Status ¶
func (o GetGatewayVpnAttachmentsResultOutput) Status() pulumi.StringPtrOutput
func (GetGatewayVpnAttachmentsResultOutput) ToGetGatewayVpnAttachmentsResultOutput ¶
func (o GetGatewayVpnAttachmentsResultOutput) ToGetGatewayVpnAttachmentsResultOutput() GetGatewayVpnAttachmentsResultOutput
func (GetGatewayVpnAttachmentsResultOutput) ToGetGatewayVpnAttachmentsResultOutputWithContext ¶
func (o GetGatewayVpnAttachmentsResultOutput) ToGetGatewayVpnAttachmentsResultOutputWithContext(ctx context.Context) GetGatewayVpnAttachmentsResultOutput
func (GetGatewayVpnAttachmentsResultOutput) VpnGatewayId
deprecated
func (o GetGatewayVpnAttachmentsResultOutput) VpnGatewayId() pulumi.StringPtrOutput
Deprecated: The parameter 'vpn_gateway_id' has been deprecated from 1.194.0.
type GetGatewaysArgs ¶
type GetGatewaysArgs struct { // Limit search to specific business status - valid value is "Normal", "FinancialLocked". BusinessStatus *string `pulumi:"businessStatus"` // Indicates whether the IPsec-VPN feature is enabled. // // Deprecated: Field 'enable_ipsec' has been deprecated from provider version 1.193.0 and it will be removed in the future version. EnableIpsec *bool `pulumi:"enableIpsec"` // IDs of the VPN. Ids []string `pulumi:"ids"` // Include ineffective ordering data. IncludeReservationData *bool `pulumi:"includeReservationData"` // A regex string of VPN name. NameRegex *string `pulumi:"nameRegex"` // Save the result to the file. OutputFile *string `pulumi:"outputFile"` // Limit search to specific status - valid value is "Init", "Provisioning", "Active", "Updating", "Deleting". Status *string `pulumi:"status"` // Use the VPC ID as the search key. VpcId *string `pulumi:"vpcId"` }
A collection of arguments for invoking getGateways.
type GetGatewaysGateway ¶
type GetGatewaysGateway struct { // Limit search to specific business status - valid value is "Normal", "FinancialLocked". BusinessStatus string `pulumi:"businessStatus"` // The creation time of the VPN gateway. CreateTime string `pulumi:"createTime"` // The description of the VPN Description string `pulumi:"description"` // Indicates whether the IPsec-VPN feature is enabled. EnableIpsec string `pulumi:"enableIpsec"` // Whether the ssl function is enabled. EnableSsl string `pulumi:"enableSsl"` // The expiration time of the VPN gateway. EndTime string `pulumi:"endTime"` // ID of the VPN. Id string `pulumi:"id"` // The charge type of the VPN gateway. InstanceChargeType string `pulumi:"instanceChargeType"` // The internet ip of the VPN. InternetIp string `pulumi:"internetIp"` // The name of the VPN. Name string `pulumi:"name"` // The network type of the VPN gateway. NetworkType string `pulumi:"networkType"` // The Specification of the VPN Specification string `pulumi:"specification"` // Total count of ssl vpn connections. SslConnections int `pulumi:"sslConnections"` // Limit search to specific status - valid value is "Init", "Provisioning", "Active", "Updating", "Deleting". Status string `pulumi:"status"` // Use the VPC ID as the search key. VpcId string `pulumi:"vpcId"` }
type GetGatewaysGatewayArgs ¶
type GetGatewaysGatewayArgs struct { // Limit search to specific business status - valid value is "Normal", "FinancialLocked". BusinessStatus pulumi.StringInput `pulumi:"businessStatus"` // The creation time of the VPN gateway. CreateTime pulumi.StringInput `pulumi:"createTime"` // The description of the VPN Description pulumi.StringInput `pulumi:"description"` // Indicates whether the IPsec-VPN feature is enabled. EnableIpsec pulumi.StringInput `pulumi:"enableIpsec"` // Whether the ssl function is enabled. EnableSsl pulumi.StringInput `pulumi:"enableSsl"` // The expiration time of the VPN gateway. EndTime pulumi.StringInput `pulumi:"endTime"` // ID of the VPN. Id pulumi.StringInput `pulumi:"id"` // The charge type of the VPN gateway. InstanceChargeType pulumi.StringInput `pulumi:"instanceChargeType"` // The internet ip of the VPN. InternetIp pulumi.StringInput `pulumi:"internetIp"` // The name of the VPN. Name pulumi.StringInput `pulumi:"name"` // The network type of the VPN gateway. NetworkType pulumi.StringInput `pulumi:"networkType"` // The Specification of the VPN Specification pulumi.StringInput `pulumi:"specification"` // Total count of ssl vpn connections. SslConnections pulumi.IntInput `pulumi:"sslConnections"` // Limit search to specific status - valid value is "Init", "Provisioning", "Active", "Updating", "Deleting". Status pulumi.StringInput `pulumi:"status"` // Use the VPC ID as the search key. VpcId pulumi.StringInput `pulumi:"vpcId"` }
func (GetGatewaysGatewayArgs) ElementType ¶
func (GetGatewaysGatewayArgs) ElementType() reflect.Type
func (GetGatewaysGatewayArgs) ToGetGatewaysGatewayOutput ¶
func (i GetGatewaysGatewayArgs) ToGetGatewaysGatewayOutput() GetGatewaysGatewayOutput
func (GetGatewaysGatewayArgs) ToGetGatewaysGatewayOutputWithContext ¶
func (i GetGatewaysGatewayArgs) ToGetGatewaysGatewayOutputWithContext(ctx context.Context) GetGatewaysGatewayOutput
type GetGatewaysGatewayArray ¶
type GetGatewaysGatewayArray []GetGatewaysGatewayInput
func (GetGatewaysGatewayArray) ElementType ¶
func (GetGatewaysGatewayArray) ElementType() reflect.Type
func (GetGatewaysGatewayArray) ToGetGatewaysGatewayArrayOutput ¶
func (i GetGatewaysGatewayArray) ToGetGatewaysGatewayArrayOutput() GetGatewaysGatewayArrayOutput
func (GetGatewaysGatewayArray) ToGetGatewaysGatewayArrayOutputWithContext ¶
func (i GetGatewaysGatewayArray) ToGetGatewaysGatewayArrayOutputWithContext(ctx context.Context) GetGatewaysGatewayArrayOutput
type GetGatewaysGatewayArrayInput ¶
type GetGatewaysGatewayArrayInput interface { pulumi.Input ToGetGatewaysGatewayArrayOutput() GetGatewaysGatewayArrayOutput ToGetGatewaysGatewayArrayOutputWithContext(context.Context) GetGatewaysGatewayArrayOutput }
GetGatewaysGatewayArrayInput is an input type that accepts GetGatewaysGatewayArray and GetGatewaysGatewayArrayOutput values. You can construct a concrete instance of `GetGatewaysGatewayArrayInput` via:
GetGatewaysGatewayArray{ GetGatewaysGatewayArgs{...} }
type GetGatewaysGatewayArrayOutput ¶
type GetGatewaysGatewayArrayOutput struct{ *pulumi.OutputState }
func (GetGatewaysGatewayArrayOutput) ElementType ¶
func (GetGatewaysGatewayArrayOutput) ElementType() reflect.Type
func (GetGatewaysGatewayArrayOutput) Index ¶
func (o GetGatewaysGatewayArrayOutput) Index(i pulumi.IntInput) GetGatewaysGatewayOutput
func (GetGatewaysGatewayArrayOutput) ToGetGatewaysGatewayArrayOutput ¶
func (o GetGatewaysGatewayArrayOutput) ToGetGatewaysGatewayArrayOutput() GetGatewaysGatewayArrayOutput
func (GetGatewaysGatewayArrayOutput) ToGetGatewaysGatewayArrayOutputWithContext ¶
func (o GetGatewaysGatewayArrayOutput) ToGetGatewaysGatewayArrayOutputWithContext(ctx context.Context) GetGatewaysGatewayArrayOutput
type GetGatewaysGatewayInput ¶
type GetGatewaysGatewayInput interface { pulumi.Input ToGetGatewaysGatewayOutput() GetGatewaysGatewayOutput ToGetGatewaysGatewayOutputWithContext(context.Context) GetGatewaysGatewayOutput }
GetGatewaysGatewayInput is an input type that accepts GetGatewaysGatewayArgs and GetGatewaysGatewayOutput values. You can construct a concrete instance of `GetGatewaysGatewayInput` via:
GetGatewaysGatewayArgs{...}
type GetGatewaysGatewayOutput ¶
type GetGatewaysGatewayOutput struct{ *pulumi.OutputState }
func (GetGatewaysGatewayOutput) BusinessStatus ¶
func (o GetGatewaysGatewayOutput) BusinessStatus() pulumi.StringOutput
Limit search to specific business status - valid value is "Normal", "FinancialLocked".
func (GetGatewaysGatewayOutput) CreateTime ¶
func (o GetGatewaysGatewayOutput) CreateTime() pulumi.StringOutput
The creation time of the VPN gateway.
func (GetGatewaysGatewayOutput) Description ¶
func (o GetGatewaysGatewayOutput) Description() pulumi.StringOutput
The description of the VPN
func (GetGatewaysGatewayOutput) ElementType ¶
func (GetGatewaysGatewayOutput) ElementType() reflect.Type
func (GetGatewaysGatewayOutput) EnableIpsec ¶
func (o GetGatewaysGatewayOutput) EnableIpsec() pulumi.StringOutput
Indicates whether the IPsec-VPN feature is enabled.
func (GetGatewaysGatewayOutput) EnableSsl ¶
func (o GetGatewaysGatewayOutput) EnableSsl() pulumi.StringOutput
Whether the ssl function is enabled.
func (GetGatewaysGatewayOutput) EndTime ¶
func (o GetGatewaysGatewayOutput) EndTime() pulumi.StringOutput
The expiration time of the VPN gateway.
func (GetGatewaysGatewayOutput) Id ¶
func (o GetGatewaysGatewayOutput) Id() pulumi.StringOutput
ID of the VPN.
func (GetGatewaysGatewayOutput) InstanceChargeType ¶
func (o GetGatewaysGatewayOutput) InstanceChargeType() pulumi.StringOutput
The charge type of the VPN gateway.
func (GetGatewaysGatewayOutput) InternetIp ¶
func (o GetGatewaysGatewayOutput) InternetIp() pulumi.StringOutput
The internet ip of the VPN.
func (GetGatewaysGatewayOutput) Name ¶
func (o GetGatewaysGatewayOutput) Name() pulumi.StringOutput
The name of the VPN.
func (GetGatewaysGatewayOutput) NetworkType ¶
func (o GetGatewaysGatewayOutput) NetworkType() pulumi.StringOutput
The network type of the VPN gateway.
func (GetGatewaysGatewayOutput) Specification ¶
func (o GetGatewaysGatewayOutput) Specification() pulumi.StringOutput
The Specification of the VPN
func (GetGatewaysGatewayOutput) SslConnections ¶
func (o GetGatewaysGatewayOutput) SslConnections() pulumi.IntOutput
Total count of ssl vpn connections.
func (GetGatewaysGatewayOutput) Status ¶
func (o GetGatewaysGatewayOutput) Status() pulumi.StringOutput
Limit search to specific status - valid value is "Init", "Provisioning", "Active", "Updating", "Deleting".
func (GetGatewaysGatewayOutput) ToGetGatewaysGatewayOutput ¶
func (o GetGatewaysGatewayOutput) ToGetGatewaysGatewayOutput() GetGatewaysGatewayOutput
func (GetGatewaysGatewayOutput) ToGetGatewaysGatewayOutputWithContext ¶
func (o GetGatewaysGatewayOutput) ToGetGatewaysGatewayOutputWithContext(ctx context.Context) GetGatewaysGatewayOutput
func (GetGatewaysGatewayOutput) VpcId ¶
func (o GetGatewaysGatewayOutput) VpcId() pulumi.StringOutput
Use the VPC ID as the search key.
type GetGatewaysOutputArgs ¶
type GetGatewaysOutputArgs struct { // Limit search to specific business status - valid value is "Normal", "FinancialLocked". BusinessStatus pulumi.StringPtrInput `pulumi:"businessStatus"` // Indicates whether the IPsec-VPN feature is enabled. // // Deprecated: Field 'enable_ipsec' has been deprecated from provider version 1.193.0 and it will be removed in the future version. EnableIpsec pulumi.BoolPtrInput `pulumi:"enableIpsec"` // IDs of the VPN. Ids pulumi.StringArrayInput `pulumi:"ids"` // Include ineffective ordering data. IncludeReservationData pulumi.BoolPtrInput `pulumi:"includeReservationData"` // A regex string of VPN name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // Save the result to the file. OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // Limit search to specific status - valid value is "Init", "Provisioning", "Active", "Updating", "Deleting". Status pulumi.StringPtrInput `pulumi:"status"` // Use the VPC ID as the search key. VpcId pulumi.StringPtrInput `pulumi:"vpcId"` }
A collection of arguments for invoking getGateways.
func (GetGatewaysOutputArgs) ElementType ¶
func (GetGatewaysOutputArgs) ElementType() reflect.Type
type GetGatewaysResult ¶
type GetGatewaysResult struct { // The business status of the VPN gateway. BusinessStatus *string `pulumi:"businessStatus"` // Whether the ipsec function is enabled. // // Deprecated: Field 'enable_ipsec' has been deprecated from provider version 1.193.0 and it will be removed in the future version. EnableIpsec *bool `pulumi:"enableIpsec"` // A list of VPN gateways. Each element contains the following attributes: Gateways []GetGatewaysGateway `pulumi:"gateways"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // IDs of the VPN. Ids []string `pulumi:"ids"` IncludeReservationData *bool `pulumi:"includeReservationData"` NameRegex *string `pulumi:"nameRegex"` // names of the VPN. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` // The status of the VPN Status *string `pulumi:"status"` // ID of the VPC that the VPN belongs. VpcId *string `pulumi:"vpcId"` }
A collection of values returned by getGateways.
func GetGateways ¶
func GetGateways(ctx *pulumi.Context, args *GetGatewaysArgs, opts ...pulumi.InvokeOption) (*GetGatewaysResult, error)
The VPNs data source lists a number of VPNs resource information owned by an Alicloud account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/vpn" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/vpn"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vpn.GetGateways(ctx, &vpn.GetGatewaysArgs{ BusinessStatus: pulumi.StringRef("Normal"), Ids: []string{ "fake-vpn-id1", "fake-vpn-id2", }, IncludeReservationData: pulumi.BoolRef(true), NameRegex: pulumi.StringRef("testAcc*"), OutputFile: pulumi.StringRef("/tmp/vpns"), Status: pulumi.StringRef("active"), VpcId: pulumi.StringRef("fake-vpc-id"), }, nil) if err != nil { return err } return nil }) }
```
type GetGatewaysResultOutput ¶
type GetGatewaysResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getGateways.
func GetGatewaysOutput ¶
func GetGatewaysOutput(ctx *pulumi.Context, args GetGatewaysOutputArgs, opts ...pulumi.InvokeOption) GetGatewaysResultOutput
func (GetGatewaysResultOutput) BusinessStatus ¶
func (o GetGatewaysResultOutput) BusinessStatus() pulumi.StringPtrOutput
The business status of the VPN gateway.
func (GetGatewaysResultOutput) ElementType ¶
func (GetGatewaysResultOutput) ElementType() reflect.Type
func (GetGatewaysResultOutput) EnableIpsec
deprecated
func (o GetGatewaysResultOutput) EnableIpsec() pulumi.BoolPtrOutput
Whether the ipsec function is enabled.
Deprecated: Field 'enable_ipsec' has been deprecated from provider version 1.193.0 and it will be removed in the future version.
func (GetGatewaysResultOutput) Gateways ¶
func (o GetGatewaysResultOutput) Gateways() GetGatewaysGatewayArrayOutput
A list of VPN gateways. Each element contains the following attributes:
func (GetGatewaysResultOutput) Id ¶
func (o GetGatewaysResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetGatewaysResultOutput) Ids ¶
func (o GetGatewaysResultOutput) Ids() pulumi.StringArrayOutput
IDs of the VPN.
func (GetGatewaysResultOutput) IncludeReservationData ¶
func (o GetGatewaysResultOutput) IncludeReservationData() pulumi.BoolPtrOutput
func (GetGatewaysResultOutput) NameRegex ¶
func (o GetGatewaysResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetGatewaysResultOutput) Names ¶
func (o GetGatewaysResultOutput) Names() pulumi.StringArrayOutput
names of the VPN.
func (GetGatewaysResultOutput) OutputFile ¶
func (o GetGatewaysResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetGatewaysResultOutput) Status ¶
func (o GetGatewaysResultOutput) Status() pulumi.StringPtrOutput
The status of the VPN
func (GetGatewaysResultOutput) ToGetGatewaysResultOutput ¶
func (o GetGatewaysResultOutput) ToGetGatewaysResultOutput() GetGatewaysResultOutput
func (GetGatewaysResultOutput) ToGetGatewaysResultOutputWithContext ¶
func (o GetGatewaysResultOutput) ToGetGatewaysResultOutputWithContext(ctx context.Context) GetGatewaysResultOutput
func (GetGatewaysResultOutput) VpcId ¶
func (o GetGatewaysResultOutput) VpcId() pulumi.StringPtrOutput
ID of the VPC that the VPN belongs.
type IpsecServer ¶
type IpsecServer struct { pulumi.CustomResourceState // The client CIDR block. It refers to the CIDR block that is allocated to the virtual interface of the client. ClientIpPool pulumi.StringOutput `pulumi:"clientIpPool"` // The dry run. DryRun pulumi.BoolPtrOutput `pulumi:"dryRun"` // Specifies whether you want the configuration to immediately take effect. EffectImmediately pulumi.BoolPtrOutput `pulumi:"effectImmediately"` // The configuration of Phase 1 negotiations. See the following `Block ikeConfig`. IkeConfigs IpsecServerIkeConfigArrayOutput `pulumi:"ikeConfigs"` // The configuration of Phase 2 negotiations. See the following `Block ipsecConfig`. IpsecConfigs IpsecServerIpsecConfigArrayOutput `pulumi:"ipsecConfigs"` // The name of the IPsec server. The name must be `2` to `128` characters in length, and can contain digits, hyphens (-), and underscores (_). It must start with a letter. IpsecServerName pulumi.StringPtrOutput `pulumi:"ipsecServerName"` // The local CIDR block. It refers to the CIDR block of the virtual private cloud (VPC) that is used to connect with the client. Separate multiple CIDR blocks with commas (,). Example: `192.168.1.0/24,192.168.2.0/24`. LocalSubnet pulumi.StringOutput `pulumi:"localSubnet"` // The pre-shared key. The pre-shared key is used to authenticate the VPN gateway and the client. By default, the system generates a random string that is 16 bits in length. You can also specify the pre-shared key. It can contain at most 100 characters. Psk pulumi.StringOutput `pulumi:"psk"` // Whether to enable the pre-shared key authentication method. The value is only `true`, which indicates that the pre-shared key authentication method is enabled. PskEnabled pulumi.BoolPtrOutput `pulumi:"pskEnabled"` // The ID of the VPN gateway. VpnGatewayId pulumi.StringOutput `pulumi:"vpnGatewayId"` }
Provides a VPN Ipsec Server resource.
For information about VPN Ipsec Server and how to use it, see [What is Ipsec Server](https://www.alibabacloud.com/help/en/doc-detail/205454.html).
> **NOTE:** Available in v1.161.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud" "github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/vpc" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/vpn"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultZones, err := alicloud.GetZones(ctx, &GetZonesArgs{ AvailableResourceCreation: pulumi.StringRef("VSwitch"), }, nil) if err != nil { return err } defaultNetworks, err := vpc.GetNetworks(ctx, &vpc.GetNetworksArgs{ NameRegex: pulumi.StringRef("default-NODELETING"), }, nil) if err != nil { return err } defaultSwitches, err := vpc.GetSwitches(ctx, &vpc.GetSwitchesArgs{ VpcId: pulumi.StringRef(defaultNetworks.Ids[0]), ZoneId: pulumi.StringRef(defaultZones.Zones[0].Id), }, nil) if err != nil { return err } vswitchId := defaultSwitches.Ids[0] defaultGateway, err := vpn.NewGateway(ctx, "defaultGateway", &vpn.GatewayArgs{ VpcId: pulumi.String(defaultNetworks.Ids[0]), Bandwidth: pulumi.Int(10), EnableSsl: pulumi.Bool(true), EnableIpsec: pulumi.Bool(true), SslConnections: pulumi.Int(5), InstanceChargeType: pulumi.String("PrePaid"), VswitchId: pulumi.String(vswitchId), }) if err != nil { return err } _, err = vpn.NewIpsecServer(ctx, "example", &vpn.IpsecServerArgs{ ClientIpPool: pulumi.String("example_value"), IpsecServerName: pulumi.String("example_value"), LocalSubnet: pulumi.String("example_value"), VpnGatewayId: defaultGateway.ID(), }) if err != nil { return err } return nil }) }
```
## Import
VPN Ipsec Server can be imported using the id, e.g.
```sh
$ pulumi import alicloud:vpn/ipsecServer:IpsecServer example <id>
```
func GetIpsecServer ¶
func GetIpsecServer(ctx *pulumi.Context, name string, id pulumi.IDInput, state *IpsecServerState, opts ...pulumi.ResourceOption) (*IpsecServer, error)
GetIpsecServer gets an existing IpsecServer 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 NewIpsecServer ¶
func NewIpsecServer(ctx *pulumi.Context, name string, args *IpsecServerArgs, opts ...pulumi.ResourceOption) (*IpsecServer, error)
NewIpsecServer registers a new resource with the given unique name, arguments, and options.
func (*IpsecServer) ElementType ¶
func (*IpsecServer) ElementType() reflect.Type
func (*IpsecServer) ToIpsecServerOutput ¶
func (i *IpsecServer) ToIpsecServerOutput() IpsecServerOutput
func (*IpsecServer) ToIpsecServerOutputWithContext ¶
func (i *IpsecServer) ToIpsecServerOutputWithContext(ctx context.Context) IpsecServerOutput
type IpsecServerArgs ¶
type IpsecServerArgs struct { // The client CIDR block. It refers to the CIDR block that is allocated to the virtual interface of the client. ClientIpPool pulumi.StringInput // The dry run. DryRun pulumi.BoolPtrInput // Specifies whether you want the configuration to immediately take effect. EffectImmediately pulumi.BoolPtrInput // The configuration of Phase 1 negotiations. See the following `Block ikeConfig`. IkeConfigs IpsecServerIkeConfigArrayInput // The configuration of Phase 2 negotiations. See the following `Block ipsecConfig`. IpsecConfigs IpsecServerIpsecConfigArrayInput // The name of the IPsec server. The name must be `2` to `128` characters in length, and can contain digits, hyphens (-), and underscores (_). It must start with a letter. IpsecServerName pulumi.StringPtrInput // The local CIDR block. It refers to the CIDR block of the virtual private cloud (VPC) that is used to connect with the client. Separate multiple CIDR blocks with commas (,). Example: `192.168.1.0/24,192.168.2.0/24`. LocalSubnet pulumi.StringInput // The pre-shared key. The pre-shared key is used to authenticate the VPN gateway and the client. By default, the system generates a random string that is 16 bits in length. You can also specify the pre-shared key. It can contain at most 100 characters. Psk pulumi.StringPtrInput // Whether to enable the pre-shared key authentication method. The value is only `true`, which indicates that the pre-shared key authentication method is enabled. PskEnabled pulumi.BoolPtrInput // The ID of the VPN gateway. VpnGatewayId pulumi.StringInput }
The set of arguments for constructing a IpsecServer resource.
func (IpsecServerArgs) ElementType ¶
func (IpsecServerArgs) ElementType() reflect.Type
type IpsecServerArray ¶
type IpsecServerArray []IpsecServerInput
func (IpsecServerArray) ElementType ¶
func (IpsecServerArray) ElementType() reflect.Type
func (IpsecServerArray) ToIpsecServerArrayOutput ¶
func (i IpsecServerArray) ToIpsecServerArrayOutput() IpsecServerArrayOutput
func (IpsecServerArray) ToIpsecServerArrayOutputWithContext ¶
func (i IpsecServerArray) ToIpsecServerArrayOutputWithContext(ctx context.Context) IpsecServerArrayOutput
type IpsecServerArrayInput ¶
type IpsecServerArrayInput interface { pulumi.Input ToIpsecServerArrayOutput() IpsecServerArrayOutput ToIpsecServerArrayOutputWithContext(context.Context) IpsecServerArrayOutput }
IpsecServerArrayInput is an input type that accepts IpsecServerArray and IpsecServerArrayOutput values. You can construct a concrete instance of `IpsecServerArrayInput` via:
IpsecServerArray{ IpsecServerArgs{...} }
type IpsecServerArrayOutput ¶
type IpsecServerArrayOutput struct{ *pulumi.OutputState }
func (IpsecServerArrayOutput) ElementType ¶
func (IpsecServerArrayOutput) ElementType() reflect.Type
func (IpsecServerArrayOutput) Index ¶
func (o IpsecServerArrayOutput) Index(i pulumi.IntInput) IpsecServerOutput
func (IpsecServerArrayOutput) ToIpsecServerArrayOutput ¶
func (o IpsecServerArrayOutput) ToIpsecServerArrayOutput() IpsecServerArrayOutput
func (IpsecServerArrayOutput) ToIpsecServerArrayOutputWithContext ¶
func (o IpsecServerArrayOutput) ToIpsecServerArrayOutputWithContext(ctx context.Context) IpsecServerArrayOutput
type IpsecServerIkeConfig ¶
type IpsecServerIkeConfig struct { // The authentication algorithm that is used in Phase 1 negotiations. Default value: `sha1`. IkeAuthAlg *string `pulumi:"ikeAuthAlg"` // The encryption algorithm that is used in Phase 1 negotiations. Default value: `aes`. IkeEncAlg *string `pulumi:"ikeEncAlg"` // IkeLifetime: the SA lifetime determined by Phase 1 negotiations. Valid values: `0` to `86400`. Default value: `86400`. Unit: `seconds`. IkeLifetime *int `pulumi:"ikeLifetime"` // The IKE negotiation mode. Default value: `main`. IkeMode *string `pulumi:"ikeMode"` // The Diffie-Hellman key exchange algorithm that is used in Phase 1 negotiations. Default value: `group2`. IkePfs *string `pulumi:"ikePfs"` // The IKE version. Valid values: `ikev1` and `ikev2`. Default value: `ikev2`. IkeVersion *string `pulumi:"ikeVersion"` // The identifier of the IPsec server. The value can be a fully qualified domain name (FQDN) or an IP address. The default value is the public IP address of the VPN gateway. LocalId *string `pulumi:"localId"` // The identifier of the customer gateway. The value can be an FQDN or an IP address. By default, this parameter is not specified. RemoteId *string `pulumi:"remoteId"` }
type IpsecServerIkeConfigArgs ¶
type IpsecServerIkeConfigArgs struct { // The authentication algorithm that is used in Phase 1 negotiations. Default value: `sha1`. IkeAuthAlg pulumi.StringPtrInput `pulumi:"ikeAuthAlg"` // The encryption algorithm that is used in Phase 1 negotiations. Default value: `aes`. IkeEncAlg pulumi.StringPtrInput `pulumi:"ikeEncAlg"` // IkeLifetime: the SA lifetime determined by Phase 1 negotiations. Valid values: `0` to `86400`. Default value: `86400`. Unit: `seconds`. IkeLifetime pulumi.IntPtrInput `pulumi:"ikeLifetime"` // The IKE negotiation mode. Default value: `main`. IkeMode pulumi.StringPtrInput `pulumi:"ikeMode"` // The Diffie-Hellman key exchange algorithm that is used in Phase 1 negotiations. Default value: `group2`. IkePfs pulumi.StringPtrInput `pulumi:"ikePfs"` // The IKE version. Valid values: `ikev1` and `ikev2`. Default value: `ikev2`. IkeVersion pulumi.StringPtrInput `pulumi:"ikeVersion"` // The identifier of the IPsec server. The value can be a fully qualified domain name (FQDN) or an IP address. The default value is the public IP address of the VPN gateway. LocalId pulumi.StringPtrInput `pulumi:"localId"` // The identifier of the customer gateway. The value can be an FQDN or an IP address. By default, this parameter is not specified. RemoteId pulumi.StringPtrInput `pulumi:"remoteId"` }
func (IpsecServerIkeConfigArgs) ElementType ¶
func (IpsecServerIkeConfigArgs) ElementType() reflect.Type
func (IpsecServerIkeConfigArgs) ToIpsecServerIkeConfigOutput ¶
func (i IpsecServerIkeConfigArgs) ToIpsecServerIkeConfigOutput() IpsecServerIkeConfigOutput
func (IpsecServerIkeConfigArgs) ToIpsecServerIkeConfigOutputWithContext ¶
func (i IpsecServerIkeConfigArgs) ToIpsecServerIkeConfigOutputWithContext(ctx context.Context) IpsecServerIkeConfigOutput
type IpsecServerIkeConfigArray ¶
type IpsecServerIkeConfigArray []IpsecServerIkeConfigInput
func (IpsecServerIkeConfigArray) ElementType ¶
func (IpsecServerIkeConfigArray) ElementType() reflect.Type
func (IpsecServerIkeConfigArray) ToIpsecServerIkeConfigArrayOutput ¶
func (i IpsecServerIkeConfigArray) ToIpsecServerIkeConfigArrayOutput() IpsecServerIkeConfigArrayOutput
func (IpsecServerIkeConfigArray) ToIpsecServerIkeConfigArrayOutputWithContext ¶
func (i IpsecServerIkeConfigArray) ToIpsecServerIkeConfigArrayOutputWithContext(ctx context.Context) IpsecServerIkeConfigArrayOutput
type IpsecServerIkeConfigArrayInput ¶
type IpsecServerIkeConfigArrayInput interface { pulumi.Input ToIpsecServerIkeConfigArrayOutput() IpsecServerIkeConfigArrayOutput ToIpsecServerIkeConfigArrayOutputWithContext(context.Context) IpsecServerIkeConfigArrayOutput }
IpsecServerIkeConfigArrayInput is an input type that accepts IpsecServerIkeConfigArray and IpsecServerIkeConfigArrayOutput values. You can construct a concrete instance of `IpsecServerIkeConfigArrayInput` via:
IpsecServerIkeConfigArray{ IpsecServerIkeConfigArgs{...} }
type IpsecServerIkeConfigArrayOutput ¶
type IpsecServerIkeConfigArrayOutput struct{ *pulumi.OutputState }
func (IpsecServerIkeConfigArrayOutput) ElementType ¶
func (IpsecServerIkeConfigArrayOutput) ElementType() reflect.Type
func (IpsecServerIkeConfigArrayOutput) Index ¶
func (o IpsecServerIkeConfigArrayOutput) Index(i pulumi.IntInput) IpsecServerIkeConfigOutput
func (IpsecServerIkeConfigArrayOutput) ToIpsecServerIkeConfigArrayOutput ¶
func (o IpsecServerIkeConfigArrayOutput) ToIpsecServerIkeConfigArrayOutput() IpsecServerIkeConfigArrayOutput
func (IpsecServerIkeConfigArrayOutput) ToIpsecServerIkeConfigArrayOutputWithContext ¶
func (o IpsecServerIkeConfigArrayOutput) ToIpsecServerIkeConfigArrayOutputWithContext(ctx context.Context) IpsecServerIkeConfigArrayOutput
type IpsecServerIkeConfigInput ¶
type IpsecServerIkeConfigInput interface { pulumi.Input ToIpsecServerIkeConfigOutput() IpsecServerIkeConfigOutput ToIpsecServerIkeConfigOutputWithContext(context.Context) IpsecServerIkeConfigOutput }
IpsecServerIkeConfigInput is an input type that accepts IpsecServerIkeConfigArgs and IpsecServerIkeConfigOutput values. You can construct a concrete instance of `IpsecServerIkeConfigInput` via:
IpsecServerIkeConfigArgs{...}
type IpsecServerIkeConfigOutput ¶
type IpsecServerIkeConfigOutput struct{ *pulumi.OutputState }
func (IpsecServerIkeConfigOutput) ElementType ¶
func (IpsecServerIkeConfigOutput) ElementType() reflect.Type
func (IpsecServerIkeConfigOutput) IkeAuthAlg ¶
func (o IpsecServerIkeConfigOutput) IkeAuthAlg() pulumi.StringPtrOutput
The authentication algorithm that is used in Phase 1 negotiations. Default value: `sha1`.
func (IpsecServerIkeConfigOutput) IkeEncAlg ¶
func (o IpsecServerIkeConfigOutput) IkeEncAlg() pulumi.StringPtrOutput
The encryption algorithm that is used in Phase 1 negotiations. Default value: `aes`.
func (IpsecServerIkeConfigOutput) IkeLifetime ¶
func (o IpsecServerIkeConfigOutput) IkeLifetime() pulumi.IntPtrOutput
IkeLifetime: the SA lifetime determined by Phase 1 negotiations. Valid values: `0` to `86400`. Default value: `86400`. Unit: `seconds`.
func (IpsecServerIkeConfigOutput) IkeMode ¶
func (o IpsecServerIkeConfigOutput) IkeMode() pulumi.StringPtrOutput
The IKE negotiation mode. Default value: `main`.
func (IpsecServerIkeConfigOutput) IkePfs ¶
func (o IpsecServerIkeConfigOutput) IkePfs() pulumi.StringPtrOutput
The Diffie-Hellman key exchange algorithm that is used in Phase 1 negotiations. Default value: `group2`.
func (IpsecServerIkeConfigOutput) IkeVersion ¶
func (o IpsecServerIkeConfigOutput) IkeVersion() pulumi.StringPtrOutput
The IKE version. Valid values: `ikev1` and `ikev2`. Default value: `ikev2`.
func (IpsecServerIkeConfigOutput) LocalId ¶
func (o IpsecServerIkeConfigOutput) LocalId() pulumi.StringPtrOutput
The identifier of the IPsec server. The value can be a fully qualified domain name (FQDN) or an IP address. The default value is the public IP address of the VPN gateway.
func (IpsecServerIkeConfigOutput) RemoteId ¶
func (o IpsecServerIkeConfigOutput) RemoteId() pulumi.StringPtrOutput
The identifier of the customer gateway. The value can be an FQDN or an IP address. By default, this parameter is not specified.
func (IpsecServerIkeConfigOutput) ToIpsecServerIkeConfigOutput ¶
func (o IpsecServerIkeConfigOutput) ToIpsecServerIkeConfigOutput() IpsecServerIkeConfigOutput
func (IpsecServerIkeConfigOutput) ToIpsecServerIkeConfigOutputWithContext ¶
func (o IpsecServerIkeConfigOutput) ToIpsecServerIkeConfigOutputWithContext(ctx context.Context) IpsecServerIkeConfigOutput
type IpsecServerInput ¶
type IpsecServerInput interface { pulumi.Input ToIpsecServerOutput() IpsecServerOutput ToIpsecServerOutputWithContext(ctx context.Context) IpsecServerOutput }
type IpsecServerIpsecConfig ¶
type IpsecServerIpsecConfig struct { // The authentication algorithm that is used in Phase 2 negotiations. Default value: `sha1`. IpsecAuthAlg *string `pulumi:"ipsecAuthAlg"` // The encryption algorithm that is used in Phase 2 negotiations. Default value: `aes`. IpsecEncAlg *string `pulumi:"ipsecEncAlg"` // The SA lifetime determined by Phase 2 negotiations. Valid values: `0` to `86400`. Default value: `86400`. Unit: `seconds`. IpsecLifetime *int `pulumi:"ipsecLifetime"` // Forwards packets of all protocols. The Diffie-Hellman key exchange algorithm used in Phase 2 negotiations. Default value: `group2`. IpsecPfs *string `pulumi:"ipsecPfs"` }
type IpsecServerIpsecConfigArgs ¶
type IpsecServerIpsecConfigArgs struct { // The authentication algorithm that is used in Phase 2 negotiations. Default value: `sha1`. IpsecAuthAlg pulumi.StringPtrInput `pulumi:"ipsecAuthAlg"` // The encryption algorithm that is used in Phase 2 negotiations. Default value: `aes`. IpsecEncAlg pulumi.StringPtrInput `pulumi:"ipsecEncAlg"` // The SA lifetime determined by Phase 2 negotiations. Valid values: `0` to `86400`. Default value: `86400`. Unit: `seconds`. IpsecLifetime pulumi.IntPtrInput `pulumi:"ipsecLifetime"` // Forwards packets of all protocols. The Diffie-Hellman key exchange algorithm used in Phase 2 negotiations. Default value: `group2`. IpsecPfs pulumi.StringPtrInput `pulumi:"ipsecPfs"` }
func (IpsecServerIpsecConfigArgs) ElementType ¶
func (IpsecServerIpsecConfigArgs) ElementType() reflect.Type
func (IpsecServerIpsecConfigArgs) ToIpsecServerIpsecConfigOutput ¶
func (i IpsecServerIpsecConfigArgs) ToIpsecServerIpsecConfigOutput() IpsecServerIpsecConfigOutput
func (IpsecServerIpsecConfigArgs) ToIpsecServerIpsecConfigOutputWithContext ¶
func (i IpsecServerIpsecConfigArgs) ToIpsecServerIpsecConfigOutputWithContext(ctx context.Context) IpsecServerIpsecConfigOutput
type IpsecServerIpsecConfigArray ¶
type IpsecServerIpsecConfigArray []IpsecServerIpsecConfigInput
func (IpsecServerIpsecConfigArray) ElementType ¶
func (IpsecServerIpsecConfigArray) ElementType() reflect.Type
func (IpsecServerIpsecConfigArray) ToIpsecServerIpsecConfigArrayOutput ¶
func (i IpsecServerIpsecConfigArray) ToIpsecServerIpsecConfigArrayOutput() IpsecServerIpsecConfigArrayOutput
func (IpsecServerIpsecConfigArray) ToIpsecServerIpsecConfigArrayOutputWithContext ¶
func (i IpsecServerIpsecConfigArray) ToIpsecServerIpsecConfigArrayOutputWithContext(ctx context.Context) IpsecServerIpsecConfigArrayOutput
type IpsecServerIpsecConfigArrayInput ¶
type IpsecServerIpsecConfigArrayInput interface { pulumi.Input ToIpsecServerIpsecConfigArrayOutput() IpsecServerIpsecConfigArrayOutput ToIpsecServerIpsecConfigArrayOutputWithContext(context.Context) IpsecServerIpsecConfigArrayOutput }
IpsecServerIpsecConfigArrayInput is an input type that accepts IpsecServerIpsecConfigArray and IpsecServerIpsecConfigArrayOutput values. You can construct a concrete instance of `IpsecServerIpsecConfigArrayInput` via:
IpsecServerIpsecConfigArray{ IpsecServerIpsecConfigArgs{...} }
type IpsecServerIpsecConfigArrayOutput ¶
type IpsecServerIpsecConfigArrayOutput struct{ *pulumi.OutputState }
func (IpsecServerIpsecConfigArrayOutput) ElementType ¶
func (IpsecServerIpsecConfigArrayOutput) ElementType() reflect.Type
func (IpsecServerIpsecConfigArrayOutput) Index ¶
func (o IpsecServerIpsecConfigArrayOutput) Index(i pulumi.IntInput) IpsecServerIpsecConfigOutput
func (IpsecServerIpsecConfigArrayOutput) ToIpsecServerIpsecConfigArrayOutput ¶
func (o IpsecServerIpsecConfigArrayOutput) ToIpsecServerIpsecConfigArrayOutput() IpsecServerIpsecConfigArrayOutput
func (IpsecServerIpsecConfigArrayOutput) ToIpsecServerIpsecConfigArrayOutputWithContext ¶
func (o IpsecServerIpsecConfigArrayOutput) ToIpsecServerIpsecConfigArrayOutputWithContext(ctx context.Context) IpsecServerIpsecConfigArrayOutput
type IpsecServerIpsecConfigInput ¶
type IpsecServerIpsecConfigInput interface { pulumi.Input ToIpsecServerIpsecConfigOutput() IpsecServerIpsecConfigOutput ToIpsecServerIpsecConfigOutputWithContext(context.Context) IpsecServerIpsecConfigOutput }
IpsecServerIpsecConfigInput is an input type that accepts IpsecServerIpsecConfigArgs and IpsecServerIpsecConfigOutput values. You can construct a concrete instance of `IpsecServerIpsecConfigInput` via:
IpsecServerIpsecConfigArgs{...}
type IpsecServerIpsecConfigOutput ¶
type IpsecServerIpsecConfigOutput struct{ *pulumi.OutputState }
func (IpsecServerIpsecConfigOutput) ElementType ¶
func (IpsecServerIpsecConfigOutput) ElementType() reflect.Type
func (IpsecServerIpsecConfigOutput) IpsecAuthAlg ¶
func (o IpsecServerIpsecConfigOutput) IpsecAuthAlg() pulumi.StringPtrOutput
The authentication algorithm that is used in Phase 2 negotiations. Default value: `sha1`.
func (IpsecServerIpsecConfigOutput) IpsecEncAlg ¶
func (o IpsecServerIpsecConfigOutput) IpsecEncAlg() pulumi.StringPtrOutput
The encryption algorithm that is used in Phase 2 negotiations. Default value: `aes`.
func (IpsecServerIpsecConfigOutput) IpsecLifetime ¶
func (o IpsecServerIpsecConfigOutput) IpsecLifetime() pulumi.IntPtrOutput
The SA lifetime determined by Phase 2 negotiations. Valid values: `0` to `86400`. Default value: `86400`. Unit: `seconds`.
func (IpsecServerIpsecConfigOutput) IpsecPfs ¶
func (o IpsecServerIpsecConfigOutput) IpsecPfs() pulumi.StringPtrOutput
Forwards packets of all protocols. The Diffie-Hellman key exchange algorithm used in Phase 2 negotiations. Default value: `group2`.
func (IpsecServerIpsecConfigOutput) ToIpsecServerIpsecConfigOutput ¶
func (o IpsecServerIpsecConfigOutput) ToIpsecServerIpsecConfigOutput() IpsecServerIpsecConfigOutput
func (IpsecServerIpsecConfigOutput) ToIpsecServerIpsecConfigOutputWithContext ¶
func (o IpsecServerIpsecConfigOutput) ToIpsecServerIpsecConfigOutputWithContext(ctx context.Context) IpsecServerIpsecConfigOutput
type IpsecServerMap ¶
type IpsecServerMap map[string]IpsecServerInput
func (IpsecServerMap) ElementType ¶
func (IpsecServerMap) ElementType() reflect.Type
func (IpsecServerMap) ToIpsecServerMapOutput ¶
func (i IpsecServerMap) ToIpsecServerMapOutput() IpsecServerMapOutput
func (IpsecServerMap) ToIpsecServerMapOutputWithContext ¶
func (i IpsecServerMap) ToIpsecServerMapOutputWithContext(ctx context.Context) IpsecServerMapOutput
type IpsecServerMapInput ¶
type IpsecServerMapInput interface { pulumi.Input ToIpsecServerMapOutput() IpsecServerMapOutput ToIpsecServerMapOutputWithContext(context.Context) IpsecServerMapOutput }
IpsecServerMapInput is an input type that accepts IpsecServerMap and IpsecServerMapOutput values. You can construct a concrete instance of `IpsecServerMapInput` via:
IpsecServerMap{ "key": IpsecServerArgs{...} }
type IpsecServerMapOutput ¶
type IpsecServerMapOutput struct{ *pulumi.OutputState }
func (IpsecServerMapOutput) ElementType ¶
func (IpsecServerMapOutput) ElementType() reflect.Type
func (IpsecServerMapOutput) MapIndex ¶
func (o IpsecServerMapOutput) MapIndex(k pulumi.StringInput) IpsecServerOutput
func (IpsecServerMapOutput) ToIpsecServerMapOutput ¶
func (o IpsecServerMapOutput) ToIpsecServerMapOutput() IpsecServerMapOutput
func (IpsecServerMapOutput) ToIpsecServerMapOutputWithContext ¶
func (o IpsecServerMapOutput) ToIpsecServerMapOutputWithContext(ctx context.Context) IpsecServerMapOutput
type IpsecServerOutput ¶
type IpsecServerOutput struct{ *pulumi.OutputState }
func (IpsecServerOutput) ClientIpPool ¶
func (o IpsecServerOutput) ClientIpPool() pulumi.StringOutput
The client CIDR block. It refers to the CIDR block that is allocated to the virtual interface of the client.
func (IpsecServerOutput) DryRun ¶
func (o IpsecServerOutput) DryRun() pulumi.BoolPtrOutput
The dry run.
func (IpsecServerOutput) EffectImmediately ¶
func (o IpsecServerOutput) EffectImmediately() pulumi.BoolPtrOutput
Specifies whether you want the configuration to immediately take effect.
func (IpsecServerOutput) ElementType ¶
func (IpsecServerOutput) ElementType() reflect.Type
func (IpsecServerOutput) IkeConfigs ¶
func (o IpsecServerOutput) IkeConfigs() IpsecServerIkeConfigArrayOutput
The configuration of Phase 1 negotiations. See the following `Block ikeConfig`.
func (IpsecServerOutput) IpsecConfigs ¶
func (o IpsecServerOutput) IpsecConfigs() IpsecServerIpsecConfigArrayOutput
The configuration of Phase 2 negotiations. See the following `Block ipsecConfig`.
func (IpsecServerOutput) IpsecServerName ¶
func (o IpsecServerOutput) IpsecServerName() pulumi.StringPtrOutput
The name of the IPsec server. The name must be `2` to `128` characters in length, and can contain digits, hyphens (-), and underscores (_). It must start with a letter.
func (IpsecServerOutput) LocalSubnet ¶
func (o IpsecServerOutput) LocalSubnet() pulumi.StringOutput
The local CIDR block. It refers to the CIDR block of the virtual private cloud (VPC) that is used to connect with the client. Separate multiple CIDR blocks with commas (,). Example: `192.168.1.0/24,192.168.2.0/24`.
func (IpsecServerOutput) Psk ¶
func (o IpsecServerOutput) Psk() pulumi.StringOutput
The pre-shared key. The pre-shared key is used to authenticate the VPN gateway and the client. By default, the system generates a random string that is 16 bits in length. You can also specify the pre-shared key. It can contain at most 100 characters.
func (IpsecServerOutput) PskEnabled ¶
func (o IpsecServerOutput) PskEnabled() pulumi.BoolPtrOutput
Whether to enable the pre-shared key authentication method. The value is only `true`, which indicates that the pre-shared key authentication method is enabled.
func (IpsecServerOutput) ToIpsecServerOutput ¶
func (o IpsecServerOutput) ToIpsecServerOutput() IpsecServerOutput
func (IpsecServerOutput) ToIpsecServerOutputWithContext ¶
func (o IpsecServerOutput) ToIpsecServerOutputWithContext(ctx context.Context) IpsecServerOutput
func (IpsecServerOutput) VpnGatewayId ¶
func (o IpsecServerOutput) VpnGatewayId() pulumi.StringOutput
The ID of the VPN gateway.
type IpsecServerState ¶
type IpsecServerState struct { // The client CIDR block. It refers to the CIDR block that is allocated to the virtual interface of the client. ClientIpPool pulumi.StringPtrInput // The dry run. DryRun pulumi.BoolPtrInput // Specifies whether you want the configuration to immediately take effect. EffectImmediately pulumi.BoolPtrInput // The configuration of Phase 1 negotiations. See the following `Block ikeConfig`. IkeConfigs IpsecServerIkeConfigArrayInput // The configuration of Phase 2 negotiations. See the following `Block ipsecConfig`. IpsecConfigs IpsecServerIpsecConfigArrayInput // The name of the IPsec server. The name must be `2` to `128` characters in length, and can contain digits, hyphens (-), and underscores (_). It must start with a letter. IpsecServerName pulumi.StringPtrInput // The local CIDR block. It refers to the CIDR block of the virtual private cloud (VPC) that is used to connect with the client. Separate multiple CIDR blocks with commas (,). Example: `192.168.1.0/24,192.168.2.0/24`. LocalSubnet pulumi.StringPtrInput // The pre-shared key. The pre-shared key is used to authenticate the VPN gateway and the client. By default, the system generates a random string that is 16 bits in length. You can also specify the pre-shared key. It can contain at most 100 characters. Psk pulumi.StringPtrInput // Whether to enable the pre-shared key authentication method. The value is only `true`, which indicates that the pre-shared key authentication method is enabled. PskEnabled pulumi.BoolPtrInput // The ID of the VPN gateway. VpnGatewayId pulumi.StringPtrInput }
func (IpsecServerState) ElementType ¶
func (IpsecServerState) ElementType() reflect.Type
type PbrRouteEntry ¶
type PbrRouteEntry struct { pulumi.CustomResourceState // The next hop of the policy-based route. NextHop pulumi.StringOutput `pulumi:"nextHop"` // Whether to issue the destination route to the VPC. PublishVpc pulumi.BoolOutput `pulumi:"publishVpc"` // The destination CIDR block of the policy-based route. RouteDest pulumi.StringOutput `pulumi:"routeDest"` // The source CIDR block of the policy-based route. RouteSource pulumi.StringOutput `pulumi:"routeSource"` // The status of the vpn pbr route entry. Status pulumi.StringOutput `pulumi:"status"` // The ID of the vpn gateway. VpnGatewayId pulumi.StringOutput `pulumi:"vpnGatewayId"` // The weight of the policy-based route. Valid values: 0 and 100. Weight pulumi.IntOutput `pulumi:"weight"` }
Provides a VPN Pbr Route Entry resource.
> **NOTE:** Available in 1.162.0+.
For information about VPN Pbr Route Entry and how to use it, see [What is VPN Pbr Route Entry](https://www.alibabacloud.com/help/en/doc-detail/127248.html).
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/vpn" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/vpn"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "tfacc" if param := cfg.Get("name"); param != "" { name = param } defaultGateways, err := vpn.GetGateways(ctx, nil, nil) if err != nil { return err } defaultCustomerGateway, err := vpn.NewCustomerGateway(ctx, "defaultCustomerGateway", &vpn.CustomerGatewayArgs{ IpAddress: pulumi.String("192.168.1.1"), }) if err != nil { return err } defaultConnection, err := vpn.NewConnection(ctx, "defaultConnection", &vpn.ConnectionArgs{ CustomerGatewayId: defaultCustomerGateway.ID(), VpnGatewayId: pulumi.String(defaultGateways.Ids[0]), LocalSubnets: pulumi.StringArray{ pulumi.String("192.168.2.0/24"), }, RemoteSubnets: pulumi.StringArray{ pulumi.String("192.168.3.0/24"), }, }) if err != nil { return err } _, err = vpn.NewPbrRouteEntry(ctx, "defaultPbrRouteEntry", &vpn.PbrRouteEntryArgs{ VpnGatewayId: pulumi.String(defaultGateways.Ids[0]), RouteSource: pulumi.String("192.168.1.0/24"), RouteDest: pulumi.String("10.0.0.0/24"), NextHop: defaultConnection.ID(), Weight: pulumi.Int(0), PublishVpc: pulumi.Bool(false), }) if err != nil { return err } return nil }) }
```
## Import
VPN Pbr route entry can be imported using the id, e.g.
```sh
$ pulumi import alicloud:vpn/pbrRouteEntry:PbrRouteEntry example <vpn_gateway_id>:<next_hop>:<route_source>:<route_dest>
```
func GetPbrRouteEntry ¶
func GetPbrRouteEntry(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PbrRouteEntryState, opts ...pulumi.ResourceOption) (*PbrRouteEntry, error)
GetPbrRouteEntry gets an existing PbrRouteEntry 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 NewPbrRouteEntry ¶
func NewPbrRouteEntry(ctx *pulumi.Context, name string, args *PbrRouteEntryArgs, opts ...pulumi.ResourceOption) (*PbrRouteEntry, error)
NewPbrRouteEntry registers a new resource with the given unique name, arguments, and options.
func (*PbrRouteEntry) ElementType ¶
func (*PbrRouteEntry) ElementType() reflect.Type
func (*PbrRouteEntry) ToPbrRouteEntryOutput ¶
func (i *PbrRouteEntry) ToPbrRouteEntryOutput() PbrRouteEntryOutput
func (*PbrRouteEntry) ToPbrRouteEntryOutputWithContext ¶
func (i *PbrRouteEntry) ToPbrRouteEntryOutputWithContext(ctx context.Context) PbrRouteEntryOutput
type PbrRouteEntryArgs ¶
type PbrRouteEntryArgs struct { // The next hop of the policy-based route. NextHop pulumi.StringInput // Whether to issue the destination route to the VPC. PublishVpc pulumi.BoolInput // The destination CIDR block of the policy-based route. RouteDest pulumi.StringInput // The source CIDR block of the policy-based route. RouteSource pulumi.StringInput // The ID of the vpn gateway. VpnGatewayId pulumi.StringInput // The weight of the policy-based route. Valid values: 0 and 100. Weight pulumi.IntInput }
The set of arguments for constructing a PbrRouteEntry resource.
func (PbrRouteEntryArgs) ElementType ¶
func (PbrRouteEntryArgs) ElementType() reflect.Type
type PbrRouteEntryArray ¶
type PbrRouteEntryArray []PbrRouteEntryInput
func (PbrRouteEntryArray) ElementType ¶
func (PbrRouteEntryArray) ElementType() reflect.Type
func (PbrRouteEntryArray) ToPbrRouteEntryArrayOutput ¶
func (i PbrRouteEntryArray) ToPbrRouteEntryArrayOutput() PbrRouteEntryArrayOutput
func (PbrRouteEntryArray) ToPbrRouteEntryArrayOutputWithContext ¶
func (i PbrRouteEntryArray) ToPbrRouteEntryArrayOutputWithContext(ctx context.Context) PbrRouteEntryArrayOutput
type PbrRouteEntryArrayInput ¶
type PbrRouteEntryArrayInput interface { pulumi.Input ToPbrRouteEntryArrayOutput() PbrRouteEntryArrayOutput ToPbrRouteEntryArrayOutputWithContext(context.Context) PbrRouteEntryArrayOutput }
PbrRouteEntryArrayInput is an input type that accepts PbrRouteEntryArray and PbrRouteEntryArrayOutput values. You can construct a concrete instance of `PbrRouteEntryArrayInput` via:
PbrRouteEntryArray{ PbrRouteEntryArgs{...} }
type PbrRouteEntryArrayOutput ¶
type PbrRouteEntryArrayOutput struct{ *pulumi.OutputState }
func (PbrRouteEntryArrayOutput) ElementType ¶
func (PbrRouteEntryArrayOutput) ElementType() reflect.Type
func (PbrRouteEntryArrayOutput) Index ¶
func (o PbrRouteEntryArrayOutput) Index(i pulumi.IntInput) PbrRouteEntryOutput
func (PbrRouteEntryArrayOutput) ToPbrRouteEntryArrayOutput ¶
func (o PbrRouteEntryArrayOutput) ToPbrRouteEntryArrayOutput() PbrRouteEntryArrayOutput
func (PbrRouteEntryArrayOutput) ToPbrRouteEntryArrayOutputWithContext ¶
func (o PbrRouteEntryArrayOutput) ToPbrRouteEntryArrayOutputWithContext(ctx context.Context) PbrRouteEntryArrayOutput
type PbrRouteEntryInput ¶
type PbrRouteEntryInput interface { pulumi.Input ToPbrRouteEntryOutput() PbrRouteEntryOutput ToPbrRouteEntryOutputWithContext(ctx context.Context) PbrRouteEntryOutput }
type PbrRouteEntryMap ¶
type PbrRouteEntryMap map[string]PbrRouteEntryInput
func (PbrRouteEntryMap) ElementType ¶
func (PbrRouteEntryMap) ElementType() reflect.Type
func (PbrRouteEntryMap) ToPbrRouteEntryMapOutput ¶
func (i PbrRouteEntryMap) ToPbrRouteEntryMapOutput() PbrRouteEntryMapOutput
func (PbrRouteEntryMap) ToPbrRouteEntryMapOutputWithContext ¶
func (i PbrRouteEntryMap) ToPbrRouteEntryMapOutputWithContext(ctx context.Context) PbrRouteEntryMapOutput
type PbrRouteEntryMapInput ¶
type PbrRouteEntryMapInput interface { pulumi.Input ToPbrRouteEntryMapOutput() PbrRouteEntryMapOutput ToPbrRouteEntryMapOutputWithContext(context.Context) PbrRouteEntryMapOutput }
PbrRouteEntryMapInput is an input type that accepts PbrRouteEntryMap and PbrRouteEntryMapOutput values. You can construct a concrete instance of `PbrRouteEntryMapInput` via:
PbrRouteEntryMap{ "key": PbrRouteEntryArgs{...} }
type PbrRouteEntryMapOutput ¶
type PbrRouteEntryMapOutput struct{ *pulumi.OutputState }
func (PbrRouteEntryMapOutput) ElementType ¶
func (PbrRouteEntryMapOutput) ElementType() reflect.Type
func (PbrRouteEntryMapOutput) MapIndex ¶
func (o PbrRouteEntryMapOutput) MapIndex(k pulumi.StringInput) PbrRouteEntryOutput
func (PbrRouteEntryMapOutput) ToPbrRouteEntryMapOutput ¶
func (o PbrRouteEntryMapOutput) ToPbrRouteEntryMapOutput() PbrRouteEntryMapOutput
func (PbrRouteEntryMapOutput) ToPbrRouteEntryMapOutputWithContext ¶
func (o PbrRouteEntryMapOutput) ToPbrRouteEntryMapOutputWithContext(ctx context.Context) PbrRouteEntryMapOutput
type PbrRouteEntryOutput ¶
type PbrRouteEntryOutput struct{ *pulumi.OutputState }
func (PbrRouteEntryOutput) ElementType ¶
func (PbrRouteEntryOutput) ElementType() reflect.Type
func (PbrRouteEntryOutput) NextHop ¶
func (o PbrRouteEntryOutput) NextHop() pulumi.StringOutput
The next hop of the policy-based route.
func (PbrRouteEntryOutput) PublishVpc ¶
func (o PbrRouteEntryOutput) PublishVpc() pulumi.BoolOutput
Whether to issue the destination route to the VPC.
func (PbrRouteEntryOutput) RouteDest ¶
func (o PbrRouteEntryOutput) RouteDest() pulumi.StringOutput
The destination CIDR block of the policy-based route.
func (PbrRouteEntryOutput) RouteSource ¶
func (o PbrRouteEntryOutput) RouteSource() pulumi.StringOutput
The source CIDR block of the policy-based route.
func (PbrRouteEntryOutput) Status ¶
func (o PbrRouteEntryOutput) Status() pulumi.StringOutput
The status of the vpn pbr route entry.
func (PbrRouteEntryOutput) ToPbrRouteEntryOutput ¶
func (o PbrRouteEntryOutput) ToPbrRouteEntryOutput() PbrRouteEntryOutput
func (PbrRouteEntryOutput) ToPbrRouteEntryOutputWithContext ¶
func (o PbrRouteEntryOutput) ToPbrRouteEntryOutputWithContext(ctx context.Context) PbrRouteEntryOutput
func (PbrRouteEntryOutput) VpnGatewayId ¶
func (o PbrRouteEntryOutput) VpnGatewayId() pulumi.StringOutput
The ID of the vpn gateway.
func (PbrRouteEntryOutput) Weight ¶
func (o PbrRouteEntryOutput) Weight() pulumi.IntOutput
The weight of the policy-based route. Valid values: 0 and 100.
type PbrRouteEntryState ¶
type PbrRouteEntryState struct { // The next hop of the policy-based route. NextHop pulumi.StringPtrInput // Whether to issue the destination route to the VPC. PublishVpc pulumi.BoolPtrInput // The destination CIDR block of the policy-based route. RouteDest pulumi.StringPtrInput // The source CIDR block of the policy-based route. RouteSource pulumi.StringPtrInput // The status of the vpn pbr route entry. Status pulumi.StringPtrInput // The ID of the vpn gateway. VpnGatewayId pulumi.StringPtrInput // The weight of the policy-based route. Valid values: 0 and 100. Weight pulumi.IntPtrInput }
func (PbrRouteEntryState) ElementType ¶
func (PbrRouteEntryState) ElementType() reflect.Type
type RouteEntry ¶
type RouteEntry struct { pulumi.CustomResourceState // The next hop of the destination route. NextHop pulumi.StringOutput `pulumi:"nextHop"` // Whether to issue the destination route to the VPC. PublishVpc pulumi.BoolOutput `pulumi:"publishVpc"` // The destination network segment of the destination route. RouteDest pulumi.StringOutput `pulumi:"routeDest"` // (Available in 1.161.0+) The type of the vpn route entry. RouteEntryType pulumi.StringOutput `pulumi:"routeEntryType"` // (Available in 1.161.0+) The status of the vpn route entry. Status pulumi.StringOutput `pulumi:"status"` // The id of the vpn gateway. VpnGatewayId pulumi.StringOutput `pulumi:"vpnGatewayId"` // The value should be 0 or 100. Weight pulumi.IntOutput `pulumi:"weight"` }
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/vpc" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/vpn"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultZones, err := alicloud.GetZones(ctx, &GetZonesArgs{ AvailableDiskCategory: pulumi.StringRef("cloud_efficiency"), AvailableResourceCreation: pulumi.StringRef("VSwitch"), }, nil) if err != nil { return err } defaultNetwork, err := vpc.NewNetwork(ctx, "defaultNetwork", &vpc.NetworkArgs{ CidrBlock: pulumi.String("10.1.0.0/21"), }) if err != nil { return err } defaultSwitch, err := vpc.NewSwitch(ctx, "defaultSwitch", &vpc.SwitchArgs{ VpcId: defaultNetwork.ID(), CidrBlock: pulumi.String("10.1.0.0/24"), ZoneId: pulumi.String(defaultZones.Zones[0].Id), }) if err != nil { return err } defaultGateway, err := vpn.NewGateway(ctx, "defaultGateway", &vpn.GatewayArgs{ VpcId: defaultNetwork.ID(), Bandwidth: pulumi.Int(10), InstanceChargeType: pulumi.String("PayByTraffic"), EnableSsl: pulumi.Bool(false), VswitchId: defaultSwitch.ID(), }) if err != nil { return err } defaultCustomerGateway, err := vpn.NewCustomerGateway(ctx, "defaultCustomerGateway", &vpn.CustomerGatewayArgs{ IpAddress: pulumi.String("192.168.1.1"), }) if err != nil { return err } defaultConnection, err := vpn.NewConnection(ctx, "defaultConnection", &vpn.ConnectionArgs{ CustomerGatewayId: defaultCustomerGateway.ID(), VpnGatewayId: defaultGateway.ID(), LocalSubnets: pulumi.StringArray{ pulumi.String("192.168.2.0/24"), }, RemoteSubnets: pulumi.StringArray{ pulumi.String("192.168.3.0/24"), }, }) if err != nil { return err } _, err = vpn.NewRouteEntry(ctx, "defaultRouteEntry", &vpn.RouteEntryArgs{ VpnGatewayId: defaultGateway.ID(), RouteDest: pulumi.String("10.0.0.0/24"), NextHop: defaultConnection.ID(), Weight: pulumi.Int(0), PublishVpc: pulumi.Bool(false), }) if err != nil { return err } return nil }) }
```
## Import
VPN route entry can be imported using the id(VpnGatewayId +":"+ NextHop +":"+ RouteDest), e.g.
```sh
$ pulumi import alicloud:vpn/routeEntry:RouteEntry example vpn-abc123456:vco-abc123456:10.0.0.10/24
```
func GetRouteEntry ¶
func GetRouteEntry(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RouteEntryState, opts ...pulumi.ResourceOption) (*RouteEntry, error)
GetRouteEntry gets an existing RouteEntry 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 NewRouteEntry ¶
func NewRouteEntry(ctx *pulumi.Context, name string, args *RouteEntryArgs, opts ...pulumi.ResourceOption) (*RouteEntry, error)
NewRouteEntry registers a new resource with the given unique name, arguments, and options.
func (*RouteEntry) ElementType ¶
func (*RouteEntry) ElementType() reflect.Type
func (*RouteEntry) ToRouteEntryOutput ¶
func (i *RouteEntry) ToRouteEntryOutput() RouteEntryOutput
func (*RouteEntry) ToRouteEntryOutputWithContext ¶
func (i *RouteEntry) ToRouteEntryOutputWithContext(ctx context.Context) RouteEntryOutput
type RouteEntryArgs ¶
type RouteEntryArgs struct { // The next hop of the destination route. NextHop pulumi.StringInput // Whether to issue the destination route to the VPC. PublishVpc pulumi.BoolInput // The destination network segment of the destination route. RouteDest pulumi.StringInput // The id of the vpn gateway. VpnGatewayId pulumi.StringInput // The value should be 0 or 100. Weight pulumi.IntInput }
The set of arguments for constructing a RouteEntry resource.
func (RouteEntryArgs) ElementType ¶
func (RouteEntryArgs) ElementType() reflect.Type
type RouteEntryArray ¶
type RouteEntryArray []RouteEntryInput
func (RouteEntryArray) ElementType ¶
func (RouteEntryArray) ElementType() reflect.Type
func (RouteEntryArray) ToRouteEntryArrayOutput ¶
func (i RouteEntryArray) ToRouteEntryArrayOutput() RouteEntryArrayOutput
func (RouteEntryArray) ToRouteEntryArrayOutputWithContext ¶
func (i RouteEntryArray) ToRouteEntryArrayOutputWithContext(ctx context.Context) RouteEntryArrayOutput
type RouteEntryArrayInput ¶
type RouteEntryArrayInput interface { pulumi.Input ToRouteEntryArrayOutput() RouteEntryArrayOutput ToRouteEntryArrayOutputWithContext(context.Context) RouteEntryArrayOutput }
RouteEntryArrayInput is an input type that accepts RouteEntryArray and RouteEntryArrayOutput values. You can construct a concrete instance of `RouteEntryArrayInput` via:
RouteEntryArray{ RouteEntryArgs{...} }
type RouteEntryArrayOutput ¶
type RouteEntryArrayOutput struct{ *pulumi.OutputState }
func (RouteEntryArrayOutput) ElementType ¶
func (RouteEntryArrayOutput) ElementType() reflect.Type
func (RouteEntryArrayOutput) Index ¶
func (o RouteEntryArrayOutput) Index(i pulumi.IntInput) RouteEntryOutput
func (RouteEntryArrayOutput) ToRouteEntryArrayOutput ¶
func (o RouteEntryArrayOutput) ToRouteEntryArrayOutput() RouteEntryArrayOutput
func (RouteEntryArrayOutput) ToRouteEntryArrayOutputWithContext ¶
func (o RouteEntryArrayOutput) ToRouteEntryArrayOutputWithContext(ctx context.Context) RouteEntryArrayOutput
type RouteEntryInput ¶
type RouteEntryInput interface { pulumi.Input ToRouteEntryOutput() RouteEntryOutput ToRouteEntryOutputWithContext(ctx context.Context) RouteEntryOutput }
type RouteEntryMap ¶
type RouteEntryMap map[string]RouteEntryInput
func (RouteEntryMap) ElementType ¶
func (RouteEntryMap) ElementType() reflect.Type
func (RouteEntryMap) ToRouteEntryMapOutput ¶
func (i RouteEntryMap) ToRouteEntryMapOutput() RouteEntryMapOutput
func (RouteEntryMap) ToRouteEntryMapOutputWithContext ¶
func (i RouteEntryMap) ToRouteEntryMapOutputWithContext(ctx context.Context) RouteEntryMapOutput
type RouteEntryMapInput ¶
type RouteEntryMapInput interface { pulumi.Input ToRouteEntryMapOutput() RouteEntryMapOutput ToRouteEntryMapOutputWithContext(context.Context) RouteEntryMapOutput }
RouteEntryMapInput is an input type that accepts RouteEntryMap and RouteEntryMapOutput values. You can construct a concrete instance of `RouteEntryMapInput` via:
RouteEntryMap{ "key": RouteEntryArgs{...} }
type RouteEntryMapOutput ¶
type RouteEntryMapOutput struct{ *pulumi.OutputState }
func (RouteEntryMapOutput) ElementType ¶
func (RouteEntryMapOutput) ElementType() reflect.Type
func (RouteEntryMapOutput) MapIndex ¶
func (o RouteEntryMapOutput) MapIndex(k pulumi.StringInput) RouteEntryOutput
func (RouteEntryMapOutput) ToRouteEntryMapOutput ¶
func (o RouteEntryMapOutput) ToRouteEntryMapOutput() RouteEntryMapOutput
func (RouteEntryMapOutput) ToRouteEntryMapOutputWithContext ¶
func (o RouteEntryMapOutput) ToRouteEntryMapOutputWithContext(ctx context.Context) RouteEntryMapOutput
type RouteEntryOutput ¶
type RouteEntryOutput struct{ *pulumi.OutputState }
func (RouteEntryOutput) ElementType ¶
func (RouteEntryOutput) ElementType() reflect.Type
func (RouteEntryOutput) NextHop ¶
func (o RouteEntryOutput) NextHop() pulumi.StringOutput
The next hop of the destination route.
func (RouteEntryOutput) PublishVpc ¶
func (o RouteEntryOutput) PublishVpc() pulumi.BoolOutput
Whether to issue the destination route to the VPC.
func (RouteEntryOutput) RouteDest ¶
func (o RouteEntryOutput) RouteDest() pulumi.StringOutput
The destination network segment of the destination route.
func (RouteEntryOutput) RouteEntryType ¶
func (o RouteEntryOutput) RouteEntryType() pulumi.StringOutput
(Available in 1.161.0+) The type of the vpn route entry.
func (RouteEntryOutput) Status ¶
func (o RouteEntryOutput) Status() pulumi.StringOutput
(Available in 1.161.0+) The status of the vpn route entry.
func (RouteEntryOutput) ToRouteEntryOutput ¶
func (o RouteEntryOutput) ToRouteEntryOutput() RouteEntryOutput
func (RouteEntryOutput) ToRouteEntryOutputWithContext ¶
func (o RouteEntryOutput) ToRouteEntryOutputWithContext(ctx context.Context) RouteEntryOutput
func (RouteEntryOutput) VpnGatewayId ¶
func (o RouteEntryOutput) VpnGatewayId() pulumi.StringOutput
The id of the vpn gateway.
func (RouteEntryOutput) Weight ¶
func (o RouteEntryOutput) Weight() pulumi.IntOutput
The value should be 0 or 100.
type RouteEntryState ¶
type RouteEntryState struct { // The next hop of the destination route. NextHop pulumi.StringPtrInput // Whether to issue the destination route to the VPC. PublishVpc pulumi.BoolPtrInput // The destination network segment of the destination route. RouteDest pulumi.StringPtrInput // (Available in 1.161.0+) The type of the vpn route entry. RouteEntryType pulumi.StringPtrInput // (Available in 1.161.0+) The status of the vpn route entry. Status pulumi.StringPtrInput // The id of the vpn gateway. VpnGatewayId pulumi.StringPtrInput // The value should be 0 or 100. Weight pulumi.IntPtrInput }
func (RouteEntryState) ElementType ¶
func (RouteEntryState) ElementType() reflect.Type
type SslVpnClientCert ¶
type SslVpnClientCert struct { pulumi.CustomResourceState // The client ca cert. CaCert pulumi.StringOutput `pulumi:"caCert"` // The client cert. ClientCert pulumi.StringOutput `pulumi:"clientCert"` // The vpn client config. ClientConfig pulumi.StringOutput `pulumi:"clientConfig"` // The client key. ClientKey pulumi.StringOutput `pulumi:"clientKey"` // The name of the client certificate. Name pulumi.StringOutput `pulumi:"name"` // The ID of the SSL-VPN server. SslVpnServerId pulumi.StringOutput `pulumi:"sslVpnServerId"` // The status of the client certificate. Status pulumi.StringOutput `pulumi:"status"` }
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/vpn"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := vpn.NewSslVpnClientCert(ctx, "foo", &vpn.SslVpnClientCertArgs{ SslVpnServerId: pulumi.String("ssl_vpn_server_fake_id"), }) if err != nil { return err } return nil }) }
```
## Import
SSL-VPN client certificates can be imported using the id, e.g.
```sh
$ pulumi import alicloud:vpn/sslVpnClientCert:SslVpnClientCert example vsc-abc123456
```
func GetSslVpnClientCert ¶
func GetSslVpnClientCert(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SslVpnClientCertState, opts ...pulumi.ResourceOption) (*SslVpnClientCert, error)
GetSslVpnClientCert gets an existing SslVpnClientCert 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 NewSslVpnClientCert ¶
func NewSslVpnClientCert(ctx *pulumi.Context, name string, args *SslVpnClientCertArgs, opts ...pulumi.ResourceOption) (*SslVpnClientCert, error)
NewSslVpnClientCert registers a new resource with the given unique name, arguments, and options.
func (*SslVpnClientCert) ElementType ¶
func (*SslVpnClientCert) ElementType() reflect.Type
func (*SslVpnClientCert) ToSslVpnClientCertOutput ¶
func (i *SslVpnClientCert) ToSslVpnClientCertOutput() SslVpnClientCertOutput
func (*SslVpnClientCert) ToSslVpnClientCertOutputWithContext ¶
func (i *SslVpnClientCert) ToSslVpnClientCertOutputWithContext(ctx context.Context) SslVpnClientCertOutput
type SslVpnClientCertArgs ¶
type SslVpnClientCertArgs struct { // The name of the client certificate. Name pulumi.StringPtrInput // The ID of the SSL-VPN server. SslVpnServerId pulumi.StringInput }
The set of arguments for constructing a SslVpnClientCert resource.
func (SslVpnClientCertArgs) ElementType ¶
func (SslVpnClientCertArgs) ElementType() reflect.Type
type SslVpnClientCertArray ¶
type SslVpnClientCertArray []SslVpnClientCertInput
func (SslVpnClientCertArray) ElementType ¶
func (SslVpnClientCertArray) ElementType() reflect.Type
func (SslVpnClientCertArray) ToSslVpnClientCertArrayOutput ¶
func (i SslVpnClientCertArray) ToSslVpnClientCertArrayOutput() SslVpnClientCertArrayOutput
func (SslVpnClientCertArray) ToSslVpnClientCertArrayOutputWithContext ¶
func (i SslVpnClientCertArray) ToSslVpnClientCertArrayOutputWithContext(ctx context.Context) SslVpnClientCertArrayOutput
type SslVpnClientCertArrayInput ¶
type SslVpnClientCertArrayInput interface { pulumi.Input ToSslVpnClientCertArrayOutput() SslVpnClientCertArrayOutput ToSslVpnClientCertArrayOutputWithContext(context.Context) SslVpnClientCertArrayOutput }
SslVpnClientCertArrayInput is an input type that accepts SslVpnClientCertArray and SslVpnClientCertArrayOutput values. You can construct a concrete instance of `SslVpnClientCertArrayInput` via:
SslVpnClientCertArray{ SslVpnClientCertArgs{...} }
type SslVpnClientCertArrayOutput ¶
type SslVpnClientCertArrayOutput struct{ *pulumi.OutputState }
func (SslVpnClientCertArrayOutput) ElementType ¶
func (SslVpnClientCertArrayOutput) ElementType() reflect.Type
func (SslVpnClientCertArrayOutput) Index ¶
func (o SslVpnClientCertArrayOutput) Index(i pulumi.IntInput) SslVpnClientCertOutput
func (SslVpnClientCertArrayOutput) ToSslVpnClientCertArrayOutput ¶
func (o SslVpnClientCertArrayOutput) ToSslVpnClientCertArrayOutput() SslVpnClientCertArrayOutput
func (SslVpnClientCertArrayOutput) ToSslVpnClientCertArrayOutputWithContext ¶
func (o SslVpnClientCertArrayOutput) ToSslVpnClientCertArrayOutputWithContext(ctx context.Context) SslVpnClientCertArrayOutput
type SslVpnClientCertInput ¶
type SslVpnClientCertInput interface { pulumi.Input ToSslVpnClientCertOutput() SslVpnClientCertOutput ToSslVpnClientCertOutputWithContext(ctx context.Context) SslVpnClientCertOutput }
type SslVpnClientCertMap ¶
type SslVpnClientCertMap map[string]SslVpnClientCertInput
func (SslVpnClientCertMap) ElementType ¶
func (SslVpnClientCertMap) ElementType() reflect.Type
func (SslVpnClientCertMap) ToSslVpnClientCertMapOutput ¶
func (i SslVpnClientCertMap) ToSslVpnClientCertMapOutput() SslVpnClientCertMapOutput
func (SslVpnClientCertMap) ToSslVpnClientCertMapOutputWithContext ¶
func (i SslVpnClientCertMap) ToSslVpnClientCertMapOutputWithContext(ctx context.Context) SslVpnClientCertMapOutput
type SslVpnClientCertMapInput ¶
type SslVpnClientCertMapInput interface { pulumi.Input ToSslVpnClientCertMapOutput() SslVpnClientCertMapOutput ToSslVpnClientCertMapOutputWithContext(context.Context) SslVpnClientCertMapOutput }
SslVpnClientCertMapInput is an input type that accepts SslVpnClientCertMap and SslVpnClientCertMapOutput values. You can construct a concrete instance of `SslVpnClientCertMapInput` via:
SslVpnClientCertMap{ "key": SslVpnClientCertArgs{...} }
type SslVpnClientCertMapOutput ¶
type SslVpnClientCertMapOutput struct{ *pulumi.OutputState }
func (SslVpnClientCertMapOutput) ElementType ¶
func (SslVpnClientCertMapOutput) ElementType() reflect.Type
func (SslVpnClientCertMapOutput) MapIndex ¶
func (o SslVpnClientCertMapOutput) MapIndex(k pulumi.StringInput) SslVpnClientCertOutput
func (SslVpnClientCertMapOutput) ToSslVpnClientCertMapOutput ¶
func (o SslVpnClientCertMapOutput) ToSslVpnClientCertMapOutput() SslVpnClientCertMapOutput
func (SslVpnClientCertMapOutput) ToSslVpnClientCertMapOutputWithContext ¶
func (o SslVpnClientCertMapOutput) ToSslVpnClientCertMapOutputWithContext(ctx context.Context) SslVpnClientCertMapOutput
type SslVpnClientCertOutput ¶
type SslVpnClientCertOutput struct{ *pulumi.OutputState }
func (SslVpnClientCertOutput) CaCert ¶
func (o SslVpnClientCertOutput) CaCert() pulumi.StringOutput
The client ca cert.
func (SslVpnClientCertOutput) ClientCert ¶
func (o SslVpnClientCertOutput) ClientCert() pulumi.StringOutput
The client cert.
func (SslVpnClientCertOutput) ClientConfig ¶
func (o SslVpnClientCertOutput) ClientConfig() pulumi.StringOutput
The vpn client config.
func (SslVpnClientCertOutput) ClientKey ¶
func (o SslVpnClientCertOutput) ClientKey() pulumi.StringOutput
The client key.
func (SslVpnClientCertOutput) ElementType ¶
func (SslVpnClientCertOutput) ElementType() reflect.Type
func (SslVpnClientCertOutput) Name ¶
func (o SslVpnClientCertOutput) Name() pulumi.StringOutput
The name of the client certificate.
func (SslVpnClientCertOutput) SslVpnServerId ¶
func (o SslVpnClientCertOutput) SslVpnServerId() pulumi.StringOutput
The ID of the SSL-VPN server.
func (SslVpnClientCertOutput) Status ¶
func (o SslVpnClientCertOutput) Status() pulumi.StringOutput
The status of the client certificate.
func (SslVpnClientCertOutput) ToSslVpnClientCertOutput ¶
func (o SslVpnClientCertOutput) ToSslVpnClientCertOutput() SslVpnClientCertOutput
func (SslVpnClientCertOutput) ToSslVpnClientCertOutputWithContext ¶
func (o SslVpnClientCertOutput) ToSslVpnClientCertOutputWithContext(ctx context.Context) SslVpnClientCertOutput
type SslVpnClientCertState ¶
type SslVpnClientCertState struct { // The client ca cert. CaCert pulumi.StringPtrInput // The client cert. ClientCert pulumi.StringPtrInput // The vpn client config. ClientConfig pulumi.StringPtrInput // The client key. ClientKey pulumi.StringPtrInput // The name of the client certificate. Name pulumi.StringPtrInput // The ID of the SSL-VPN server. SslVpnServerId pulumi.StringPtrInput // The status of the client certificate. Status pulumi.StringPtrInput }
func (SslVpnClientCertState) ElementType ¶
func (SslVpnClientCertState) ElementType() reflect.Type
type SslVpnServer ¶
type SslVpnServer struct { pulumi.CustomResourceState // The encryption algorithm that is used in the SSL-VPN connection. Valid values: `AES-128-CBC`,`AES-192-CBC`,`AES-256-CBC`,`none`. Default value: `AES-128-CBC`. // * `AES-128-CBC` - the AES-128-CBC algorithm. // * `AES-192-CBC` - the AES-192-CBC algorithm. // * `AES-256-CBC` - the AES-256-CBC algorithm. Cipher pulumi.StringPtrOutput `pulumi:"cipher"` // The CIDR block from which access addresses are allocated to the virtual network interface card of the client. ClientIpPool pulumi.StringOutput `pulumi:"clientIpPool"` // Specifies whether to enable data compression. Valid values: `true`,`false`. Default value: `false` Compress pulumi.BoolPtrOutput `pulumi:"compress"` // The number of current connections. Connections pulumi.IntOutput `pulumi:"connections"` // The internet IP of the SSL-VPN server. InternetIp pulumi.StringOutput `pulumi:"internetIp"` // The CIDR block to be accessed by the client through the SSL-VPN connection. It supports to set multi CIDRs by comma join ways, like `10.0.1.0/24,10.0.2.0/24,10.0.3.0/24`. LocalSubnet pulumi.StringOutput `pulumi:"localSubnet"` // The maximum number of connections. MaxConnections pulumi.IntOutput `pulumi:"maxConnections"` // The name of the SSL-VPN server. Name pulumi.StringOutput `pulumi:"name"` // The port used by the SSL-VPN server. The default value is `1194`.The following ports cannot be used: [22, 2222, 22222, 9000, 9001, 9002, 7505, 80, 443, 53, 68, 123, 4510, 4560, 500, 4500]. Port pulumi.IntPtrOutput `pulumi:"port"` // The protocol used by the SSL-VPN server. Valid value: UDP(default) |TCP Protocol pulumi.StringPtrOutput `pulumi:"protocol"` // The ID of the VPN gateway. VpnGatewayId pulumi.StringOutput `pulumi:"vpnGatewayId"` }
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/vpn"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooGateway, err := vpn.NewGateway(ctx, "fooGateway", &vpn.GatewayArgs{ VpcId: pulumi.String("vpc-fake-id"), Bandwidth: pulumi.Int(10), EnableSsl: pulumi.Bool(true), InstanceChargeType: pulumi.String("PostPaid"), Description: pulumi.String("test_create_description"), }) if err != nil { return err } _, err = vpn.NewSslVpnServer(ctx, "fooSslVpnServer", &vpn.SslVpnServerArgs{ VpnGatewayId: fooGateway.ID(), ClientIpPool: pulumi.String("192.168.0.0/16"), LocalSubnet: pulumi.String("172.16.0.0/21"), Protocol: pulumi.String("UDP"), Cipher: pulumi.String("AES-128-CBC"), Port: pulumi.Int(1194), Compress: pulumi.Bool(false), }) if err != nil { return err } return nil }) }
```
## Import
SSL-VPN server can be imported using the id, e.g.
```sh
$ pulumi import alicloud:vpn/sslVpnServer:SslVpnServer example vss-abc123456
```
func GetSslVpnServer ¶
func GetSslVpnServer(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SslVpnServerState, opts ...pulumi.ResourceOption) (*SslVpnServer, error)
GetSslVpnServer gets an existing SslVpnServer 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 NewSslVpnServer ¶
func NewSslVpnServer(ctx *pulumi.Context, name string, args *SslVpnServerArgs, opts ...pulumi.ResourceOption) (*SslVpnServer, error)
NewSslVpnServer registers a new resource with the given unique name, arguments, and options.
func (*SslVpnServer) ElementType ¶
func (*SslVpnServer) ElementType() reflect.Type
func (*SslVpnServer) ToSslVpnServerOutput ¶
func (i *SslVpnServer) ToSslVpnServerOutput() SslVpnServerOutput
func (*SslVpnServer) ToSslVpnServerOutputWithContext ¶
func (i *SslVpnServer) ToSslVpnServerOutputWithContext(ctx context.Context) SslVpnServerOutput
type SslVpnServerArgs ¶
type SslVpnServerArgs struct { // The encryption algorithm that is used in the SSL-VPN connection. Valid values: `AES-128-CBC`,`AES-192-CBC`,`AES-256-CBC`,`none`. Default value: `AES-128-CBC`. // * `AES-128-CBC` - the AES-128-CBC algorithm. // * `AES-192-CBC` - the AES-192-CBC algorithm. // * `AES-256-CBC` - the AES-256-CBC algorithm. Cipher pulumi.StringPtrInput // The CIDR block from which access addresses are allocated to the virtual network interface card of the client. ClientIpPool pulumi.StringInput // Specifies whether to enable data compression. Valid values: `true`,`false`. Default value: `false` Compress pulumi.BoolPtrInput // The CIDR block to be accessed by the client through the SSL-VPN connection. It supports to set multi CIDRs by comma join ways, like `10.0.1.0/24,10.0.2.0/24,10.0.3.0/24`. LocalSubnet pulumi.StringInput // The name of the SSL-VPN server. Name pulumi.StringPtrInput // The port used by the SSL-VPN server. The default value is `1194`.The following ports cannot be used: [22, 2222, 22222, 9000, 9001, 9002, 7505, 80, 443, 53, 68, 123, 4510, 4560, 500, 4500]. Port pulumi.IntPtrInput // The protocol used by the SSL-VPN server. Valid value: UDP(default) |TCP Protocol pulumi.StringPtrInput // The ID of the VPN gateway. VpnGatewayId pulumi.StringInput }
The set of arguments for constructing a SslVpnServer resource.
func (SslVpnServerArgs) ElementType ¶
func (SslVpnServerArgs) ElementType() reflect.Type
type SslVpnServerArray ¶
type SslVpnServerArray []SslVpnServerInput
func (SslVpnServerArray) ElementType ¶
func (SslVpnServerArray) ElementType() reflect.Type
func (SslVpnServerArray) ToSslVpnServerArrayOutput ¶
func (i SslVpnServerArray) ToSslVpnServerArrayOutput() SslVpnServerArrayOutput
func (SslVpnServerArray) ToSslVpnServerArrayOutputWithContext ¶
func (i SslVpnServerArray) ToSslVpnServerArrayOutputWithContext(ctx context.Context) SslVpnServerArrayOutput
type SslVpnServerArrayInput ¶
type SslVpnServerArrayInput interface { pulumi.Input ToSslVpnServerArrayOutput() SslVpnServerArrayOutput ToSslVpnServerArrayOutputWithContext(context.Context) SslVpnServerArrayOutput }
SslVpnServerArrayInput is an input type that accepts SslVpnServerArray and SslVpnServerArrayOutput values. You can construct a concrete instance of `SslVpnServerArrayInput` via:
SslVpnServerArray{ SslVpnServerArgs{...} }
type SslVpnServerArrayOutput ¶
type SslVpnServerArrayOutput struct{ *pulumi.OutputState }
func (SslVpnServerArrayOutput) ElementType ¶
func (SslVpnServerArrayOutput) ElementType() reflect.Type
func (SslVpnServerArrayOutput) Index ¶
func (o SslVpnServerArrayOutput) Index(i pulumi.IntInput) SslVpnServerOutput
func (SslVpnServerArrayOutput) ToSslVpnServerArrayOutput ¶
func (o SslVpnServerArrayOutput) ToSslVpnServerArrayOutput() SslVpnServerArrayOutput
func (SslVpnServerArrayOutput) ToSslVpnServerArrayOutputWithContext ¶
func (o SslVpnServerArrayOutput) ToSslVpnServerArrayOutputWithContext(ctx context.Context) SslVpnServerArrayOutput
type SslVpnServerInput ¶
type SslVpnServerInput interface { pulumi.Input ToSslVpnServerOutput() SslVpnServerOutput ToSslVpnServerOutputWithContext(ctx context.Context) SslVpnServerOutput }
type SslVpnServerMap ¶
type SslVpnServerMap map[string]SslVpnServerInput
func (SslVpnServerMap) ElementType ¶
func (SslVpnServerMap) ElementType() reflect.Type
func (SslVpnServerMap) ToSslVpnServerMapOutput ¶
func (i SslVpnServerMap) ToSslVpnServerMapOutput() SslVpnServerMapOutput
func (SslVpnServerMap) ToSslVpnServerMapOutputWithContext ¶
func (i SslVpnServerMap) ToSslVpnServerMapOutputWithContext(ctx context.Context) SslVpnServerMapOutput
type SslVpnServerMapInput ¶
type SslVpnServerMapInput interface { pulumi.Input ToSslVpnServerMapOutput() SslVpnServerMapOutput ToSslVpnServerMapOutputWithContext(context.Context) SslVpnServerMapOutput }
SslVpnServerMapInput is an input type that accepts SslVpnServerMap and SslVpnServerMapOutput values. You can construct a concrete instance of `SslVpnServerMapInput` via:
SslVpnServerMap{ "key": SslVpnServerArgs{...} }
type SslVpnServerMapOutput ¶
type SslVpnServerMapOutput struct{ *pulumi.OutputState }
func (SslVpnServerMapOutput) ElementType ¶
func (SslVpnServerMapOutput) ElementType() reflect.Type
func (SslVpnServerMapOutput) MapIndex ¶
func (o SslVpnServerMapOutput) MapIndex(k pulumi.StringInput) SslVpnServerOutput
func (SslVpnServerMapOutput) ToSslVpnServerMapOutput ¶
func (o SslVpnServerMapOutput) ToSslVpnServerMapOutput() SslVpnServerMapOutput
func (SslVpnServerMapOutput) ToSslVpnServerMapOutputWithContext ¶
func (o SslVpnServerMapOutput) ToSslVpnServerMapOutputWithContext(ctx context.Context) SslVpnServerMapOutput
type SslVpnServerOutput ¶
type SslVpnServerOutput struct{ *pulumi.OutputState }
func (SslVpnServerOutput) Cipher ¶
func (o SslVpnServerOutput) Cipher() pulumi.StringPtrOutput
The encryption algorithm that is used in the SSL-VPN connection. Valid values: `AES-128-CBC`,`AES-192-CBC`,`AES-256-CBC`,`none`. Default value: `AES-128-CBC`. * `AES-128-CBC` - the AES-128-CBC algorithm. * `AES-192-CBC` - the AES-192-CBC algorithm. * `AES-256-CBC` - the AES-256-CBC algorithm.
func (SslVpnServerOutput) ClientIpPool ¶
func (o SslVpnServerOutput) ClientIpPool() pulumi.StringOutput
The CIDR block from which access addresses are allocated to the virtual network interface card of the client.
func (SslVpnServerOutput) Compress ¶
func (o SslVpnServerOutput) Compress() pulumi.BoolPtrOutput
Specifies whether to enable data compression. Valid values: `true`,`false`. Default value: `false`
func (SslVpnServerOutput) Connections ¶
func (o SslVpnServerOutput) Connections() pulumi.IntOutput
The number of current connections.
func (SslVpnServerOutput) ElementType ¶
func (SslVpnServerOutput) ElementType() reflect.Type
func (SslVpnServerOutput) InternetIp ¶
func (o SslVpnServerOutput) InternetIp() pulumi.StringOutput
The internet IP of the SSL-VPN server.
func (SslVpnServerOutput) LocalSubnet ¶
func (o SslVpnServerOutput) LocalSubnet() pulumi.StringOutput
The CIDR block to be accessed by the client through the SSL-VPN connection. It supports to set multi CIDRs by comma join ways, like `10.0.1.0/24,10.0.2.0/24,10.0.3.0/24`.
func (SslVpnServerOutput) MaxConnections ¶
func (o SslVpnServerOutput) MaxConnections() pulumi.IntOutput
The maximum number of connections.
func (SslVpnServerOutput) Name ¶
func (o SslVpnServerOutput) Name() pulumi.StringOutput
The name of the SSL-VPN server.
func (SslVpnServerOutput) Port ¶
func (o SslVpnServerOutput) Port() pulumi.IntPtrOutput
The port used by the SSL-VPN server. The default value is `1194`.The following ports cannot be used: [22, 2222, 22222, 9000, 9001, 9002, 7505, 80, 443, 53, 68, 123, 4510, 4560, 500, 4500].
func (SslVpnServerOutput) Protocol ¶
func (o SslVpnServerOutput) Protocol() pulumi.StringPtrOutput
The protocol used by the SSL-VPN server. Valid value: UDP(default) |TCP
func (SslVpnServerOutput) ToSslVpnServerOutput ¶
func (o SslVpnServerOutput) ToSslVpnServerOutput() SslVpnServerOutput
func (SslVpnServerOutput) ToSslVpnServerOutputWithContext ¶
func (o SslVpnServerOutput) ToSslVpnServerOutputWithContext(ctx context.Context) SslVpnServerOutput
func (SslVpnServerOutput) VpnGatewayId ¶
func (o SslVpnServerOutput) VpnGatewayId() pulumi.StringOutput
The ID of the VPN gateway.
type SslVpnServerState ¶
type SslVpnServerState struct { // The encryption algorithm that is used in the SSL-VPN connection. Valid values: `AES-128-CBC`,`AES-192-CBC`,`AES-256-CBC`,`none`. Default value: `AES-128-CBC`. // * `AES-128-CBC` - the AES-128-CBC algorithm. // * `AES-192-CBC` - the AES-192-CBC algorithm. // * `AES-256-CBC` - the AES-256-CBC algorithm. Cipher pulumi.StringPtrInput // The CIDR block from which access addresses are allocated to the virtual network interface card of the client. ClientIpPool pulumi.StringPtrInput // Specifies whether to enable data compression. Valid values: `true`,`false`. Default value: `false` Compress pulumi.BoolPtrInput // The number of current connections. Connections pulumi.IntPtrInput // The internet IP of the SSL-VPN server. InternetIp pulumi.StringPtrInput // The CIDR block to be accessed by the client through the SSL-VPN connection. It supports to set multi CIDRs by comma join ways, like `10.0.1.0/24,10.0.2.0/24,10.0.3.0/24`. LocalSubnet pulumi.StringPtrInput // The maximum number of connections. MaxConnections pulumi.IntPtrInput // The name of the SSL-VPN server. Name pulumi.StringPtrInput // The port used by the SSL-VPN server. The default value is `1194`.The following ports cannot be used: [22, 2222, 22222, 9000, 9001, 9002, 7505, 80, 443, 53, 68, 123, 4510, 4560, 500, 4500]. Port pulumi.IntPtrInput // The protocol used by the SSL-VPN server. Valid value: UDP(default) |TCP Protocol pulumi.StringPtrInput // The ID of the VPN gateway. VpnGatewayId pulumi.StringPtrInput }
func (SslVpnServerState) ElementType ¶
func (SslVpnServerState) ElementType() reflect.Type