Documentation
¶
Index ¶
- type Connection
- func (*Connection) ElementType() reflect.Type
- func (i *Connection) ToConnectionOutput() ConnectionOutput
- func (i *Connection) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput
- func (i *Connection) ToConnectionPtrOutput() ConnectionPtrOutput
- func (i *Connection) ToConnectionPtrOutputWithContext(ctx context.Context) ConnectionPtrOutput
- 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 ConnectionIkeConfig
- type ConnectionIkeConfigArgs
- type ConnectionIkeConfigArray
- type ConnectionIkeConfigArrayInput
- type ConnectionIkeConfigArrayOutput
- func (ConnectionIkeConfigArrayOutput) ElementType() reflect.Type
- func (o ConnectionIkeConfigArrayOutput) Index(i pulumi.IntInput) ConnectionIkeConfigOutput
- func (o ConnectionIkeConfigArrayOutput) ToConnectionIkeConfigArrayOutput() ConnectionIkeConfigArrayOutput
- func (o ConnectionIkeConfigArrayOutput) ToConnectionIkeConfigArrayOutputWithContext(ctx context.Context) ConnectionIkeConfigArrayOutput
- 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
- type ConnectionInput
- type ConnectionIpsecConfig
- type ConnectionIpsecConfigArgs
- type ConnectionIpsecConfigArray
- func (ConnectionIpsecConfigArray) ElementType() reflect.Type
- func (i ConnectionIpsecConfigArray) ToConnectionIpsecConfigArrayOutput() ConnectionIpsecConfigArrayOutput
- func (i ConnectionIpsecConfigArray) ToConnectionIpsecConfigArrayOutputWithContext(ctx context.Context) ConnectionIpsecConfigArrayOutput
- type ConnectionIpsecConfigArrayInput
- type ConnectionIpsecConfigArrayOutput
- func (ConnectionIpsecConfigArrayOutput) ElementType() reflect.Type
- func (o ConnectionIpsecConfigArrayOutput) Index(i pulumi.IntInput) ConnectionIpsecConfigOutput
- func (o ConnectionIpsecConfigArrayOutput) ToConnectionIpsecConfigArrayOutput() ConnectionIpsecConfigArrayOutput
- func (o ConnectionIpsecConfigArrayOutput) ToConnectionIpsecConfigArrayOutputWithContext(ctx context.Context) ConnectionIpsecConfigArrayOutput
- 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
- 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 (ConnectionOutput) ElementType() reflect.Type
- func (o ConnectionOutput) ToConnectionOutput() ConnectionOutput
- func (o ConnectionOutput) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput
- func (o ConnectionOutput) ToConnectionPtrOutput() ConnectionPtrOutput
- func (o ConnectionOutput) ToConnectionPtrOutputWithContext(ctx context.Context) ConnectionPtrOutput
- type ConnectionPtrInput
- type ConnectionPtrOutput
- type ConnectionState
- type CustomerGateway
- func (*CustomerGateway) ElementType() reflect.Type
- func (i *CustomerGateway) ToCustomerGatewayOutput() CustomerGatewayOutput
- func (i *CustomerGateway) ToCustomerGatewayOutputWithContext(ctx context.Context) CustomerGatewayOutput
- func (i *CustomerGateway) ToCustomerGatewayPtrOutput() CustomerGatewayPtrOutput
- func (i *CustomerGateway) ToCustomerGatewayPtrOutputWithContext(ctx context.Context) CustomerGatewayPtrOutput
- 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 (CustomerGatewayOutput) ElementType() reflect.Type
- func (o CustomerGatewayOutput) ToCustomerGatewayOutput() CustomerGatewayOutput
- func (o CustomerGatewayOutput) ToCustomerGatewayOutputWithContext(ctx context.Context) CustomerGatewayOutput
- func (o CustomerGatewayOutput) ToCustomerGatewayPtrOutput() CustomerGatewayPtrOutput
- func (o CustomerGatewayOutput) ToCustomerGatewayPtrOutputWithContext(ctx context.Context) CustomerGatewayPtrOutput
- type CustomerGatewayPtrInput
- type CustomerGatewayPtrOutput
- type CustomerGatewayState
- type Gateway
- func (*Gateway) ElementType() reflect.Type
- func (i *Gateway) ToGatewayOutput() GatewayOutput
- func (i *Gateway) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput
- func (i *Gateway) ToGatewayPtrOutput() GatewayPtrOutput
- func (i *Gateway) ToGatewayPtrOutputWithContext(ctx context.Context) GatewayPtrOutput
- type GatewayArgs
- type GatewayArray
- type GatewayArrayInput
- type GatewayArrayOutput
- type GatewayInput
- type GatewayMap
- type GatewayMapInput
- type GatewayMapOutput
- type GatewayOutput
- func (GatewayOutput) ElementType() reflect.Type
- func (o GatewayOutput) ToGatewayOutput() GatewayOutput
- func (o GatewayOutput) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput
- func (o GatewayOutput) ToGatewayPtrOutput() GatewayPtrOutput
- func (o GatewayOutput) ToGatewayPtrOutputWithContext(ctx context.Context) GatewayPtrOutput
- type GatewayPtrInput
- type GatewayPtrOutput
- type GatewayState
- 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 GetConnectionsResult
- 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) 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 GetCustomerGatewaysResult
- 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) 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 GetGatewaysResult
- type RouteEntry
- func (*RouteEntry) ElementType() reflect.Type
- func (i *RouteEntry) ToRouteEntryOutput() RouteEntryOutput
- func (i *RouteEntry) ToRouteEntryOutputWithContext(ctx context.Context) RouteEntryOutput
- func (i *RouteEntry) ToRouteEntryPtrOutput() RouteEntryPtrOutput
- func (i *RouteEntry) ToRouteEntryPtrOutputWithContext(ctx context.Context) RouteEntryPtrOutput
- 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) ToRouteEntryOutput() RouteEntryOutput
- func (o RouteEntryOutput) ToRouteEntryOutputWithContext(ctx context.Context) RouteEntryOutput
- func (o RouteEntryOutput) ToRouteEntryPtrOutput() RouteEntryPtrOutput
- func (o RouteEntryOutput) ToRouteEntryPtrOutputWithContext(ctx context.Context) RouteEntryPtrOutput
- type RouteEntryPtrInput
- type RouteEntryPtrOutput
- type RouteEntryState
- type SslVpnClientCert
- func (*SslVpnClientCert) ElementType() reflect.Type
- func (i *SslVpnClientCert) ToSslVpnClientCertOutput() SslVpnClientCertOutput
- func (i *SslVpnClientCert) ToSslVpnClientCertOutputWithContext(ctx context.Context) SslVpnClientCertOutput
- func (i *SslVpnClientCert) ToSslVpnClientCertPtrOutput() SslVpnClientCertPtrOutput
- func (i *SslVpnClientCert) ToSslVpnClientCertPtrOutputWithContext(ctx context.Context) SslVpnClientCertPtrOutput
- 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 (SslVpnClientCertOutput) ElementType() reflect.Type
- func (o SslVpnClientCertOutput) ToSslVpnClientCertOutput() SslVpnClientCertOutput
- func (o SslVpnClientCertOutput) ToSslVpnClientCertOutputWithContext(ctx context.Context) SslVpnClientCertOutput
- func (o SslVpnClientCertOutput) ToSslVpnClientCertPtrOutput() SslVpnClientCertPtrOutput
- func (o SslVpnClientCertOutput) ToSslVpnClientCertPtrOutputWithContext(ctx context.Context) SslVpnClientCertPtrOutput
- type SslVpnClientCertPtrInput
- type SslVpnClientCertPtrOutput
- type SslVpnClientCertState
- type SslVpnServer
- func (*SslVpnServer) ElementType() reflect.Type
- func (i *SslVpnServer) ToSslVpnServerOutput() SslVpnServerOutput
- func (i *SslVpnServer) ToSslVpnServerOutputWithContext(ctx context.Context) SslVpnServerOutput
- func (i *SslVpnServer) ToSslVpnServerPtrOutput() SslVpnServerPtrOutput
- func (i *SslVpnServer) ToSslVpnServerPtrOutputWithContext(ctx context.Context) SslVpnServerPtrOutput
- 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 (SslVpnServerOutput) ElementType() reflect.Type
- func (o SslVpnServerOutput) ToSslVpnServerOutput() SslVpnServerOutput
- func (o SslVpnServerOutput) ToSslVpnServerOutputWithContext(ctx context.Context) SslVpnServerOutput
- func (o SslVpnServerOutput) ToSslVpnServerPtrOutput() SslVpnServerPtrOutput
- func (o SslVpnServerOutput) ToSslVpnServerPtrOutputWithContext(ctx context.Context) SslVpnServerPtrOutput
- type SslVpnServerPtrInput
- type SslVpnServerPtrOutput
- type SslVpnServerState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct { pulumi.CustomResourceState // 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"` // The configurations of phase-one negotiation. IkeConfigs ConnectionIkeConfigArrayOutput `pulumi:"ikeConfigs"` // The configurations of phase-two negotiation. IpsecConfigs ConnectionIpsecConfigArrayOutput `pulumi:"ipsecConfigs"` // 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"` }
## 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
func (*Connection) ToConnectionPtrOutput ¶
func (i *Connection) ToConnectionPtrOutput() ConnectionPtrOutput
func (*Connection) ToConnectionPtrOutputWithContext ¶
func (i *Connection) ToConnectionPtrOutputWithContext(ctx context.Context) ConnectionPtrOutput
type ConnectionArgs ¶
type ConnectionArgs struct { // 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 // The configurations of phase-one negotiation. IkeConfigs ConnectionIkeConfigArrayInput // The configurations of phase-two negotiation. IpsecConfigs ConnectionIpsecConfigArrayInput // 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 ConnectionIkeConfig ¶
type ConnectionIkeConfig struct { // The authentication algorithm of phase-one negotiation. Valid value: md5 | sha1 | sha256 | sha384 | sha512 |. Default value: sha1 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 | sha256 | sha384 | sha512 |. Default value: sha1 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
type ConnectionIkeConfigArray ¶
type ConnectionIkeConfigArray []ConnectionIkeConfigInput
func (ConnectionIkeConfigArray) ElementType ¶
func (ConnectionIkeConfigArray) ElementType() reflect.Type
func (ConnectionIkeConfigArray) ToConnectionIkeConfigArrayOutput ¶
func (i ConnectionIkeConfigArray) ToConnectionIkeConfigArrayOutput() ConnectionIkeConfigArrayOutput
func (ConnectionIkeConfigArray) ToConnectionIkeConfigArrayOutputWithContext ¶
func (i ConnectionIkeConfigArray) ToConnectionIkeConfigArrayOutputWithContext(ctx context.Context) ConnectionIkeConfigArrayOutput
type ConnectionIkeConfigArrayInput ¶
type ConnectionIkeConfigArrayInput interface { pulumi.Input ToConnectionIkeConfigArrayOutput() ConnectionIkeConfigArrayOutput ToConnectionIkeConfigArrayOutputWithContext(context.Context) ConnectionIkeConfigArrayOutput }
ConnectionIkeConfigArrayInput is an input type that accepts ConnectionIkeConfigArray and ConnectionIkeConfigArrayOutput values. You can construct a concrete instance of `ConnectionIkeConfigArrayInput` via:
ConnectionIkeConfigArray{ ConnectionIkeConfigArgs{...} }
type ConnectionIkeConfigArrayOutput ¶
type ConnectionIkeConfigArrayOutput struct{ *pulumi.OutputState }
func (ConnectionIkeConfigArrayOutput) ElementType ¶
func (ConnectionIkeConfigArrayOutput) ElementType() reflect.Type
func (ConnectionIkeConfigArrayOutput) Index ¶
func (o ConnectionIkeConfigArrayOutput) Index(i pulumi.IntInput) ConnectionIkeConfigOutput
func (ConnectionIkeConfigArrayOutput) ToConnectionIkeConfigArrayOutput ¶
func (o ConnectionIkeConfigArrayOutput) ToConnectionIkeConfigArrayOutput() ConnectionIkeConfigArrayOutput
func (ConnectionIkeConfigArrayOutput) ToConnectionIkeConfigArrayOutputWithContext ¶
func (o ConnectionIkeConfigArrayOutput) ToConnectionIkeConfigArrayOutputWithContext(ctx context.Context) ConnectionIkeConfigArrayOutput
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 | sha256 | sha384 | sha512 |. Default value: sha1
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
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
type ConnectionIpsecConfigArray ¶
type ConnectionIpsecConfigArray []ConnectionIpsecConfigInput
func (ConnectionIpsecConfigArray) ElementType ¶
func (ConnectionIpsecConfigArray) ElementType() reflect.Type
func (ConnectionIpsecConfigArray) ToConnectionIpsecConfigArrayOutput ¶
func (i ConnectionIpsecConfigArray) ToConnectionIpsecConfigArrayOutput() ConnectionIpsecConfigArrayOutput
func (ConnectionIpsecConfigArray) ToConnectionIpsecConfigArrayOutputWithContext ¶
func (i ConnectionIpsecConfigArray) ToConnectionIpsecConfigArrayOutputWithContext(ctx context.Context) ConnectionIpsecConfigArrayOutput
type ConnectionIpsecConfigArrayInput ¶
type ConnectionIpsecConfigArrayInput interface { pulumi.Input ToConnectionIpsecConfigArrayOutput() ConnectionIpsecConfigArrayOutput ToConnectionIpsecConfigArrayOutputWithContext(context.Context) ConnectionIpsecConfigArrayOutput }
ConnectionIpsecConfigArrayInput is an input type that accepts ConnectionIpsecConfigArray and ConnectionIpsecConfigArrayOutput values. You can construct a concrete instance of `ConnectionIpsecConfigArrayInput` via:
ConnectionIpsecConfigArray{ ConnectionIpsecConfigArgs{...} }
type ConnectionIpsecConfigArrayOutput ¶
type ConnectionIpsecConfigArrayOutput struct{ *pulumi.OutputState }
func (ConnectionIpsecConfigArrayOutput) ElementType ¶
func (ConnectionIpsecConfigArrayOutput) ElementType() reflect.Type
func (ConnectionIpsecConfigArrayOutput) Index ¶
func (o ConnectionIpsecConfigArrayOutput) Index(i pulumi.IntInput) ConnectionIpsecConfigOutput
func (ConnectionIpsecConfigArrayOutput) ToConnectionIpsecConfigArrayOutput ¶
func (o ConnectionIpsecConfigArrayOutput) ToConnectionIpsecConfigArrayOutput() ConnectionIpsecConfigArrayOutput
func (ConnectionIpsecConfigArrayOutput) ToConnectionIpsecConfigArrayOutputWithContext ¶
func (o ConnectionIpsecConfigArrayOutput) ToConnectionIpsecConfigArrayOutputWithContext(ctx context.Context) ConnectionIpsecConfigArrayOutput
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
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) ElementType ¶
func (ConnectionOutput) ElementType() reflect.Type
func (ConnectionOutput) ToConnectionOutput ¶
func (o ConnectionOutput) ToConnectionOutput() ConnectionOutput
func (ConnectionOutput) ToConnectionOutputWithContext ¶
func (o ConnectionOutput) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput
func (ConnectionOutput) ToConnectionPtrOutput ¶
func (o ConnectionOutput) ToConnectionPtrOutput() ConnectionPtrOutput
func (ConnectionOutput) ToConnectionPtrOutputWithContext ¶
func (o ConnectionOutput) ToConnectionPtrOutputWithContext(ctx context.Context) ConnectionPtrOutput
type ConnectionPtrInput ¶
type ConnectionPtrInput interface { pulumi.Input ToConnectionPtrOutput() ConnectionPtrOutput ToConnectionPtrOutputWithContext(ctx context.Context) ConnectionPtrOutput }
type ConnectionPtrOutput ¶
type ConnectionPtrOutput struct {
*pulumi.OutputState
}
func (ConnectionPtrOutput) ElementType ¶
func (ConnectionPtrOutput) ElementType() reflect.Type
func (ConnectionPtrOutput) ToConnectionPtrOutput ¶
func (o ConnectionPtrOutput) ToConnectionPtrOutput() ConnectionPtrOutput
func (ConnectionPtrOutput) ToConnectionPtrOutputWithContext ¶
func (o ConnectionPtrOutput) ToConnectionPtrOutputWithContext(ctx context.Context) ConnectionPtrOutput
type ConnectionState ¶
type ConnectionState struct { // 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 // The configurations of phase-one negotiation. IkeConfigs ConnectionIkeConfigArrayInput // The configurations of phase-two negotiation. IpsecConfigs ConnectionIpsecConfigArrayInput // 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 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"` }
## 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
func (*CustomerGateway) ToCustomerGatewayPtrOutput ¶
func (i *CustomerGateway) ToCustomerGatewayPtrOutput() CustomerGatewayPtrOutput
func (*CustomerGateway) ToCustomerGatewayPtrOutputWithContext ¶
func (i *CustomerGateway) ToCustomerGatewayPtrOutputWithContext(ctx context.Context) CustomerGatewayPtrOutput
type CustomerGatewayArgs ¶
type CustomerGatewayArgs struct { // 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) ElementType ¶
func (CustomerGatewayOutput) ElementType() reflect.Type
func (CustomerGatewayOutput) ToCustomerGatewayOutput ¶
func (o CustomerGatewayOutput) ToCustomerGatewayOutput() CustomerGatewayOutput
func (CustomerGatewayOutput) ToCustomerGatewayOutputWithContext ¶
func (o CustomerGatewayOutput) ToCustomerGatewayOutputWithContext(ctx context.Context) CustomerGatewayOutput
func (CustomerGatewayOutput) ToCustomerGatewayPtrOutput ¶
func (o CustomerGatewayOutput) ToCustomerGatewayPtrOutput() CustomerGatewayPtrOutput
func (CustomerGatewayOutput) ToCustomerGatewayPtrOutputWithContext ¶
func (o CustomerGatewayOutput) ToCustomerGatewayPtrOutputWithContext(ctx context.Context) CustomerGatewayPtrOutput
type CustomerGatewayPtrInput ¶
type CustomerGatewayPtrInput interface { pulumi.Input ToCustomerGatewayPtrOutput() CustomerGatewayPtrOutput ToCustomerGatewayPtrOutputWithContext(ctx context.Context) CustomerGatewayPtrOutput }
type CustomerGatewayPtrOutput ¶
type CustomerGatewayPtrOutput struct {
*pulumi.OutputState
}
func (CustomerGatewayPtrOutput) ElementType ¶
func (CustomerGatewayPtrOutput) ElementType() reflect.Type
func (CustomerGatewayPtrOutput) ToCustomerGatewayPtrOutput ¶
func (o CustomerGatewayPtrOutput) ToCustomerGatewayPtrOutput() CustomerGatewayPtrOutput
func (CustomerGatewayPtrOutput) ToCustomerGatewayPtrOutputWithContext ¶
func (o CustomerGatewayPtrOutput) ToCustomerGatewayPtrOutputWithContext(ctx context.Context) CustomerGatewayPtrOutput
type CustomerGatewayState ¶
type CustomerGatewayState struct { // 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 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 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 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
func (*Gateway) ToGatewayPtrOutput ¶
func (i *Gateway) ToGatewayPtrOutput() GatewayPtrOutput
func (*Gateway) ToGatewayPtrOutputWithContext ¶
func (i *Gateway) ToGatewayPtrOutputWithContext(ctx context.Context) GatewayPtrOutput
type GatewayArgs ¶
type GatewayArgs struct { 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 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 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) ElementType ¶
func (GatewayOutput) ElementType() reflect.Type
func (GatewayOutput) ToGatewayOutput ¶
func (o GatewayOutput) ToGatewayOutput() GatewayOutput
func (GatewayOutput) ToGatewayOutputWithContext ¶
func (o GatewayOutput) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput
func (GatewayOutput) ToGatewayPtrOutput ¶
func (o GatewayOutput) ToGatewayPtrOutput() GatewayPtrOutput
func (GatewayOutput) ToGatewayPtrOutputWithContext ¶
func (o GatewayOutput) ToGatewayPtrOutputWithContext(ctx context.Context) GatewayPtrOutput
type GatewayPtrInput ¶
type GatewayPtrInput interface { pulumi.Input ToGatewayPtrOutput() GatewayPtrOutput ToGatewayPtrOutputWithContext(ctx context.Context) GatewayPtrOutput }
type GatewayPtrOutput ¶
type GatewayPtrOutput struct {
*pulumi.OutputState
}
func (GatewayPtrOutput) ElementType ¶
func (GatewayPtrOutput) ElementType() reflect.Type
func (GatewayPtrOutput) ToGatewayPtrOutput ¶
func (o GatewayPtrOutput) ToGatewayPtrOutput() GatewayPtrOutput
func (GatewayPtrOutput) ToGatewayPtrOutputWithContext ¶
func (o GatewayPtrOutput) ToGatewayPtrOutputWithContext(ctx context.Context) GatewayPtrOutput
type GatewayState ¶
type GatewayState struct { 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 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 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 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 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/v3/go/alicloud/vpn" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "fake-cgw-id" opt1 := "/tmp/vpnconn" opt2 := "fake-vpn-id" _, err := vpn.GetConnections(ctx, &vpn.GetConnectionsArgs{ CustomerGatewayId: &opt0, Ids: []string{ "fake-conn-id", }, OutputFile: &opt1, VpnGatewayId: &opt2, }, nil) if err != nil { return err } return nil }) }
```
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 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 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) 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 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/v3/go/alicloud/vpn" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "testAcc*" opt1 := "/tmp/cgws" _, err := vpn.GetCustomerGateways(ctx, &vpn.GetCustomerGatewaysArgs{ Ids: []string{ "fake-id1", "fake-id2", }, NameRegex: &opt0, OutputFile: &opt1, }, nil) if err != nil { return err } return nil }) }
```
type GetGatewaysArgs ¶
type GetGatewaysArgs struct { // Limit search to specific business status - valid value is "Normal", "FinancialLocked". BusinessStatus *string `pulumi:"businessStatus"` // IDs of the VPN. Ids []string `pulumi:"ids"` // 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"` // Whether the ipsec function 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 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"` // Whether the ipsec function 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 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
Whether the ipsec function 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) 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 GetGatewaysResult ¶
type GetGatewaysResult struct { // The business status of the VPN gateway. BusinessStatus *string `pulumi:"businessStatus"` // 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"` 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/v3/go/alicloud/vpn" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "Normal" opt1 := "testAcc*" opt2 := "/tmp/vpns" opt3 := "active" opt4 := "fake-vpc-id" _, err := vpn.GetGateways(ctx, &vpn.GetGatewaysArgs{ BusinessStatus: &opt0, Ids: []string{ "fake-vpn-id1", "fake-vpn-id2", }, NameRegex: &opt1, OutputFile: &opt2, Status: &opt3, VpcId: &opt4, }, nil) if err != nil { return err } return nil }) }
```
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"` // The id of the vpn gateway. VpnGatewayId pulumi.StringOutput `pulumi:"vpnGatewayId"` // The value should be 0 or 100. Weight pulumi.IntOutput `pulumi:"weight"` }
## 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
func (*RouteEntry) ToRouteEntryPtrOutput ¶
func (i *RouteEntry) ToRouteEntryPtrOutput() RouteEntryPtrOutput
func (*RouteEntry) ToRouteEntryPtrOutputWithContext ¶
func (i *RouteEntry) ToRouteEntryPtrOutputWithContext(ctx context.Context) RouteEntryPtrOutput
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) ToRouteEntryOutput ¶
func (o RouteEntryOutput) ToRouteEntryOutput() RouteEntryOutput
func (RouteEntryOutput) ToRouteEntryOutputWithContext ¶
func (o RouteEntryOutput) ToRouteEntryOutputWithContext(ctx context.Context) RouteEntryOutput
func (RouteEntryOutput) ToRouteEntryPtrOutput ¶
func (o RouteEntryOutput) ToRouteEntryPtrOutput() RouteEntryPtrOutput
func (RouteEntryOutput) ToRouteEntryPtrOutputWithContext ¶
func (o RouteEntryOutput) ToRouteEntryPtrOutputWithContext(ctx context.Context) RouteEntryPtrOutput
type RouteEntryPtrInput ¶
type RouteEntryPtrInput interface { pulumi.Input ToRouteEntryPtrOutput() RouteEntryPtrOutput ToRouteEntryPtrOutputWithContext(ctx context.Context) RouteEntryPtrOutput }
type RouteEntryPtrOutput ¶
type RouteEntryPtrOutput struct {
*pulumi.OutputState
}
func (RouteEntryPtrOutput) ElementType ¶
func (RouteEntryPtrOutput) ElementType() reflect.Type
func (RouteEntryPtrOutput) ToRouteEntryPtrOutput ¶
func (o RouteEntryPtrOutput) ToRouteEntryPtrOutput() RouteEntryPtrOutput
func (RouteEntryPtrOutput) ToRouteEntryPtrOutputWithContext ¶
func (o RouteEntryPtrOutput) ToRouteEntryPtrOutputWithContext(ctx context.Context) RouteEntryPtrOutput
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 // 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"` }
## 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
func (*SslVpnClientCert) ToSslVpnClientCertPtrOutput ¶
func (i *SslVpnClientCert) ToSslVpnClientCertPtrOutput() SslVpnClientCertPtrOutput
func (*SslVpnClientCert) ToSslVpnClientCertPtrOutputWithContext ¶
func (i *SslVpnClientCert) ToSslVpnClientCertPtrOutputWithContext(ctx context.Context) SslVpnClientCertPtrOutput
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) ElementType ¶
func (SslVpnClientCertOutput) ElementType() reflect.Type
func (SslVpnClientCertOutput) ToSslVpnClientCertOutput ¶
func (o SslVpnClientCertOutput) ToSslVpnClientCertOutput() SslVpnClientCertOutput
func (SslVpnClientCertOutput) ToSslVpnClientCertOutputWithContext ¶
func (o SslVpnClientCertOutput) ToSslVpnClientCertOutputWithContext(ctx context.Context) SslVpnClientCertOutput
func (SslVpnClientCertOutput) ToSslVpnClientCertPtrOutput ¶
func (o SslVpnClientCertOutput) ToSslVpnClientCertPtrOutput() SslVpnClientCertPtrOutput
func (SslVpnClientCertOutput) ToSslVpnClientCertPtrOutputWithContext ¶
func (o SslVpnClientCertOutput) ToSslVpnClientCertPtrOutputWithContext(ctx context.Context) SslVpnClientCertPtrOutput
type SslVpnClientCertPtrInput ¶
type SslVpnClientCertPtrInput interface { pulumi.Input ToSslVpnClientCertPtrOutput() SslVpnClientCertPtrOutput ToSslVpnClientCertPtrOutputWithContext(ctx context.Context) SslVpnClientCertPtrOutput }
type SslVpnClientCertPtrOutput ¶
type SslVpnClientCertPtrOutput struct {
*pulumi.OutputState
}
func (SslVpnClientCertPtrOutput) ElementType ¶
func (SslVpnClientCertPtrOutput) ElementType() reflect.Type
func (SslVpnClientCertPtrOutput) ToSslVpnClientCertPtrOutput ¶
func (o SslVpnClientCertPtrOutput) ToSslVpnClientCertPtrOutput() SslVpnClientCertPtrOutput
func (SslVpnClientCertPtrOutput) ToSslVpnClientCertPtrOutputWithContext ¶
func (o SslVpnClientCertPtrOutput) ToSslVpnClientCertPtrOutputWithContext(ctx context.Context) SslVpnClientCertPtrOutput
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 used by the SSL-VPN server. Valid value: AES-128-CBC (default)| AES-192-CBC | AES-256-CBC | none 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"` // Specify whether to compress the communication. Valid value: true (default) | 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"` }
## 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
func (*SslVpnServer) ToSslVpnServerPtrOutput ¶
func (i *SslVpnServer) ToSslVpnServerPtrOutput() SslVpnServerPtrOutput
func (*SslVpnServer) ToSslVpnServerPtrOutputWithContext ¶
func (i *SslVpnServer) ToSslVpnServerPtrOutputWithContext(ctx context.Context) SslVpnServerPtrOutput
type SslVpnServerArgs ¶
type SslVpnServerArgs struct { // The encryption algorithm used by the SSL-VPN server. Valid value: AES-128-CBC (default)| AES-192-CBC | AES-256-CBC | none Cipher pulumi.StringPtrInput // The CIDR block from which access addresses are allocated to the virtual network interface card of the client. ClientIpPool pulumi.StringInput // Specify whether to compress the communication. Valid value: true (default) | 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) ElementType ¶
func (SslVpnServerOutput) ElementType() reflect.Type
func (SslVpnServerOutput) ToSslVpnServerOutput ¶
func (o SslVpnServerOutput) ToSslVpnServerOutput() SslVpnServerOutput
func (SslVpnServerOutput) ToSslVpnServerOutputWithContext ¶
func (o SslVpnServerOutput) ToSslVpnServerOutputWithContext(ctx context.Context) SslVpnServerOutput
func (SslVpnServerOutput) ToSslVpnServerPtrOutput ¶
func (o SslVpnServerOutput) ToSslVpnServerPtrOutput() SslVpnServerPtrOutput
func (SslVpnServerOutput) ToSslVpnServerPtrOutputWithContext ¶
func (o SslVpnServerOutput) ToSslVpnServerPtrOutputWithContext(ctx context.Context) SslVpnServerPtrOutput
type SslVpnServerPtrInput ¶
type SslVpnServerPtrInput interface { pulumi.Input ToSslVpnServerPtrOutput() SslVpnServerPtrOutput ToSslVpnServerPtrOutputWithContext(ctx context.Context) SslVpnServerPtrOutput }
type SslVpnServerPtrOutput ¶
type SslVpnServerPtrOutput struct {
*pulumi.OutputState
}
func (SslVpnServerPtrOutput) ElementType ¶
func (SslVpnServerPtrOutput) ElementType() reflect.Type
func (SslVpnServerPtrOutput) ToSslVpnServerPtrOutput ¶
func (o SslVpnServerPtrOutput) ToSslVpnServerPtrOutput() SslVpnServerPtrOutput
func (SslVpnServerPtrOutput) ToSslVpnServerPtrOutputWithContext ¶
func (o SslVpnServerPtrOutput) ToSslVpnServerPtrOutputWithContext(ctx context.Context) SslVpnServerPtrOutput
type SslVpnServerState ¶
type SslVpnServerState struct { // The encryption algorithm used by the SSL-VPN server. Valid value: AES-128-CBC (default)| AES-192-CBC | AES-256-CBC | none Cipher pulumi.StringPtrInput // The CIDR block from which access addresses are allocated to the virtual network interface card of the client. ClientIpPool pulumi.StringPtrInput // Specify whether to compress the communication. Valid value: true (default) | 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