Documentation
¶
Index ¶
- type Connection
- type ConnectionArgs
- 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 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 ConnectionState
- type CustomerGateway
- type CustomerGatewayArgs
- type CustomerGatewayState
- type Gateway
- type GatewayArgs
- 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
- type RouteEntryArgs
- type RouteEntryState
- type SslVpnClientCert
- type SslVpnClientCertArgs
- type SslVpnClientCertState
- type SslVpnServer
- type SslVpnServerArgs
- 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"` }
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.
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 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 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 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"` }
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.
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 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"` }
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.
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 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/v2/go/alicloud/vpn" "github.com/pulumi/pulumi/sdk/v2/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/v2/go/alicloud/vpn" "github.com/pulumi/pulumi/sdk/v2/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/v2/go/alicloud/vpn" "github.com/pulumi/pulumi/sdk/v2/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"` }
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.
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 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"` }
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.
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 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"` }
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.
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 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