Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi
alicloud.vpn.getGatewayVpnAttachments
Explore with Pulumi AI
This data source provides the Vpn Gateway Vpn Attachments of the current Alibaba Cloud user.
NOTE: Available in v1.181.0+.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const ids = alicloud.vpn.getGatewayVpnAttachments({});
export const vpnGatewayVpnAttachmentId1 = ids.then(ids => ids.attachments?.[0]?.id);
const nameRegex = alicloud.vpn.getGatewayVpnAttachments({
nameRegex: "^my-VpnAttachment",
});
export const vpnGatewayVpnAttachmentId2 = nameRegex.then(nameRegex => nameRegex.attachments?.[0]?.id);
export const localId = vpnAttachments.attachments[0].ikeConfig[0].localId;
export const internetIp = vpnAttachments.attachments[0].internetIp;
import pulumi
import pulumi_alicloud as alicloud
ids = alicloud.vpn.get_gateway_vpn_attachments()
pulumi.export("vpnGatewayVpnAttachmentId1", ids.attachments[0].id)
name_regex = alicloud.vpn.get_gateway_vpn_attachments(name_regex="^my-VpnAttachment")
pulumi.export("vpnGatewayVpnAttachmentId2", name_regex.attachments[0].id)
pulumi.export("localId", vpn_attachments["attachments"][0]["ikeConfig"][0]["localId"])
pulumi.export("internetIp", vpn_attachments["attachments"][0]["internetIp"])
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 {
ids, err := vpn.GetGatewayVpnAttachments(ctx, &vpn.GetGatewayVpnAttachmentsArgs{}, nil)
if err != nil {
return err
}
ctx.Export("vpnGatewayVpnAttachmentId1", ids.Attachments[0].Id)
nameRegex, err := vpn.GetGatewayVpnAttachments(ctx, &vpn.GetGatewayVpnAttachmentsArgs{
NameRegex: pulumi.StringRef("^my-VpnAttachment"),
}, nil)
if err != nil {
return err
}
ctx.Export("vpnGatewayVpnAttachmentId2", nameRegex.Attachments[0].Id)
ctx.Export("localId", vpnAttachments.Attachments[0].IkeConfig[0].LocalId)
ctx.Export("internetIp", vpnAttachments.Attachments[0].InternetIp)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var ids = AliCloud.Vpn.GetGatewayVpnAttachments.Invoke();
var nameRegex = AliCloud.Vpn.GetGatewayVpnAttachments.Invoke(new()
{
NameRegex = "^my-VpnAttachment",
});
return new Dictionary<string, object?>
{
["vpnGatewayVpnAttachmentId1"] = ids.Apply(getGatewayVpnAttachmentsResult => getGatewayVpnAttachmentsResult.Attachments[0]?.Id),
["vpnGatewayVpnAttachmentId2"] = nameRegex.Apply(getGatewayVpnAttachmentsResult => getGatewayVpnAttachmentsResult.Attachments[0]?.Id),
["localId"] = vpnAttachments.Attachments[0].IkeConfig[0].LocalId,
["internetIp"] = vpnAttachments.Attachments[0].InternetIp,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.vpn.VpnFunctions;
import com.pulumi.alicloud.vpn.inputs.GetGatewayVpnAttachmentsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var ids = VpnFunctions.getGatewayVpnAttachments();
ctx.export("vpnGatewayVpnAttachmentId1", ids.applyValue(getGatewayVpnAttachmentsResult -> getGatewayVpnAttachmentsResult.attachments()[0].id()));
final var nameRegex = VpnFunctions.getGatewayVpnAttachments(GetGatewayVpnAttachmentsArgs.builder()
.nameRegex("^my-VpnAttachment")
.build());
ctx.export("vpnGatewayVpnAttachmentId2", nameRegex.applyValue(getGatewayVpnAttachmentsResult -> getGatewayVpnAttachmentsResult.attachments()[0].id()));
ctx.export("localId", vpnAttachments.attachments()[0].ikeConfig()[0].localId());
ctx.export("internetIp", vpnAttachments.attachments()[0].internetIp());
}
}
variables:
ids:
fn::invoke:
Function: alicloud:vpn:getGatewayVpnAttachments
Arguments: {}
nameRegex:
fn::invoke:
Function: alicloud:vpn:getGatewayVpnAttachments
Arguments:
nameRegex: ^my-VpnAttachment
outputs:
vpnGatewayVpnAttachmentId1: ${ids.attachments[0].id}
vpnGatewayVpnAttachmentId2: ${nameRegex.attachments[0].id}
localId: ${vpnAttachments.attachments[0].ikeConfig[0].localId}
internetIp: ${vpnAttachments.attachments[0].internetIp}
Using getGatewayVpnAttachments
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getGatewayVpnAttachments(args: GetGatewayVpnAttachmentsArgs, opts?: InvokeOptions): Promise<GetGatewayVpnAttachmentsResult>
function getGatewayVpnAttachmentsOutput(args: GetGatewayVpnAttachmentsOutputArgs, opts?: InvokeOptions): Output<GetGatewayVpnAttachmentsResult>
def get_gateway_vpn_attachments(ids: Optional[Sequence[str]] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
page_number: Optional[int] = None,
page_size: Optional[int] = None,
status: Optional[str] = None,
vpn_gateway_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGatewayVpnAttachmentsResult
def get_gateway_vpn_attachments_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
page_number: Optional[pulumi.Input[int]] = None,
page_size: Optional[pulumi.Input[int]] = None,
status: Optional[pulumi.Input[str]] = None,
vpn_gateway_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGatewayVpnAttachmentsResult]
func GetGatewayVpnAttachments(ctx *Context, args *GetGatewayVpnAttachmentsArgs, opts ...InvokeOption) (*GetGatewayVpnAttachmentsResult, error)
func GetGatewayVpnAttachmentsOutput(ctx *Context, args *GetGatewayVpnAttachmentsOutputArgs, opts ...InvokeOption) GetGatewayVpnAttachmentsResultOutput
> Note: This function is named GetGatewayVpnAttachments
in the Go SDK.
public static class GetGatewayVpnAttachments
{
public static Task<GetGatewayVpnAttachmentsResult> InvokeAsync(GetGatewayVpnAttachmentsArgs args, InvokeOptions? opts = null)
public static Output<GetGatewayVpnAttachmentsResult> Invoke(GetGatewayVpnAttachmentsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetGatewayVpnAttachmentsResult> getGatewayVpnAttachments(GetGatewayVpnAttachmentsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: alicloud:vpn/getGatewayVpnAttachments:getGatewayVpnAttachments
arguments:
# arguments dictionary
The following arguments are supported:
- Ids List<string>
- A list of Vpn Attachment IDs.
- Name
Regex string - A regex string to filter results by Vpn Attachment name.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Page
Number int - Page
Size int - Status string
- The status of the resource. Valid values:
init
,active
,attaching
,attached
,detaching
,financialLocked
,provisioning
,updating
,upgrading
,deleted
. - Vpn
Gateway stringId - The parameter 'vpn_gateway_id' has been deprecated from 1.194.0.
- Ids []string
- A list of Vpn Attachment IDs.
- Name
Regex string - A regex string to filter results by Vpn Attachment name.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Page
Number int - Page
Size int - Status string
- The status of the resource. Valid values:
init
,active
,attaching
,attached
,detaching
,financialLocked
,provisioning
,updating
,upgrading
,deleted
. - Vpn
Gateway stringId - The parameter 'vpn_gateway_id' has been deprecated from 1.194.0.
- ids List<String>
- A list of Vpn Attachment IDs.
- name
Regex String - A regex string to filter results by Vpn Attachment name.
- output
File String - File name where to save data source results (after running
pulumi preview
). - page
Number Integer - page
Size Integer - status String
- The status of the resource. Valid values:
init
,active
,attaching
,attached
,detaching
,financialLocked
,provisioning
,updating
,upgrading
,deleted
. - vpn
Gateway StringId - The parameter 'vpn_gateway_id' has been deprecated from 1.194.0.
- ids string[]
- A list of Vpn Attachment IDs.
- name
Regex string - A regex string to filter results by Vpn Attachment name.
- output
File string - File name where to save data source results (after running
pulumi preview
). - page
Number number - page
Size number - status string
- The status of the resource. Valid values:
init
,active
,attaching
,attached
,detaching
,financialLocked
,provisioning
,updating
,upgrading
,deleted
. - vpn
Gateway stringId - The parameter 'vpn_gateway_id' has been deprecated from 1.194.0.
- ids Sequence[str]
- A list of Vpn Attachment IDs.
- name_
regex str - A regex string to filter results by Vpn Attachment name.
- output_
file str - File name where to save data source results (after running
pulumi preview
). - page_
number int - page_
size int - status str
- The status of the resource. Valid values:
init
,active
,attaching
,attached
,detaching
,financialLocked
,provisioning
,updating
,upgrading
,deleted
. - vpn_
gateway_ strid - The parameter 'vpn_gateway_id' has been deprecated from 1.194.0.
- ids List<String>
- A list of Vpn Attachment IDs.
- name
Regex String - A regex string to filter results by Vpn Attachment name.
- output
File String - File name where to save data source results (after running
pulumi preview
). - page
Number Number - page
Size Number - status String
- The status of the resource. Valid values:
init
,active
,attaching
,attached
,detaching
,financialLocked
,provisioning
,updating
,upgrading
,deleted
. - vpn
Gateway StringId - The parameter 'vpn_gateway_id' has been deprecated from 1.194.0.
getGatewayVpnAttachments Result
The following output properties are available:
- Attachments
List<Pulumi.
Ali Cloud. Vpn. Outputs. Get Gateway Vpn Attachments Attachment> - Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Names List<string>
- Name
Regex string - Output
File string - Page
Number int - Page
Size int - Status string
- Vpn
Gateway stringId
- Attachments
[]Get
Gateway Vpn Attachments Attachment - Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Names []string
- Name
Regex string - Output
File string - Page
Number int - Page
Size int - Status string
- Vpn
Gateway stringId
- attachments
List<Get
Gateway Vpn Attachments Attachment> - id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- name
Regex String - output
File String - page
Number Integer - page
Size Integer - status String
- vpn
Gateway StringId
- attachments
Get
Gateway Vpn Attachments Attachment[] - id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- names string[]
- name
Regex string - output
File string - page
Number number - page
Size number - status string
- vpn
Gateway stringId
- attachments
Sequence[Get
Gateway Vpn Attachments Attachment] - id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- names Sequence[str]
- name_
regex str - output_
file str - page_
number int - page_
size int - status str
- vpn_
gateway_ strid
- attachments List<Property Map>
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- name
Regex String - output
File String - page
Number Number - page
Size Number - status String
- vpn
Gateway StringId
Supporting Types
GetGatewayVpnAttachmentsAttachment
- Bgp
Configs List<Pulumi.Ali Cloud. Vpn. Inputs. Get Gateway Vpn Attachments Attachment Bgp Config> - The configurations of the BGP routing protocol.
- Connection
Status string - The status of the IPsec-VPN connection.
- Create
Time string - The creation time of the resource.
- Customer
Gateway stringId - The ID of the customer gateway.
- Effect
Immediately bool - Indicates whether IPsec-VPN negotiations are initiated immediately. Valid values.
- Health
Check List<Pulumi.Configs Ali Cloud. Vpn. Inputs. Get Gateway Vpn Attachments Attachment Health Check Config> - The health check configurations.
- Id string
- The ID of the Vpn Attachment.
- Ike
Configs List<Pulumi.Ali Cloud. Vpn. Inputs. Get Gateway Vpn Attachments Attachment Ike Config> - Configuration negotiated in the second stage.
- Internet
Ip string - The internet ip of the resource. The alicloud.cen.TransitRouterVpnAttachment resource will not have a value until after it is created.
- Ipsec
Configs List<Pulumi.Ali Cloud. Vpn. Inputs. Get Gateway Vpn Attachments Attachment Ipsec Config> - The configuration of Phase 2 negotiations.
- Local
Subnet string - The CIDR block of the virtual private cloud (VPC).
- Network
Type string - The network type.
- Remote
Subnet string - The CIDR block of the on-premises data center.
- Status string
- The status of the resource.
- Vpn
Attachment stringName - The name of the IPsec-VPN connection.
- Vpn
Connection stringId - The first ID of the resource.
- Bgp
Configs []GetGateway Vpn Attachments Attachment Bgp Config - The configurations of the BGP routing protocol.
- Connection
Status string - The status of the IPsec-VPN connection.
- Create
Time string - The creation time of the resource.
- Customer
Gateway stringId - The ID of the customer gateway.
- Effect
Immediately bool - Indicates whether IPsec-VPN negotiations are initiated immediately. Valid values.
- Health
Check []GetConfigs Gateway Vpn Attachments Attachment Health Check Config - The health check configurations.
- Id string
- The ID of the Vpn Attachment.
- Ike
Configs []GetGateway Vpn Attachments Attachment Ike Config - Configuration negotiated in the second stage.
- Internet
Ip string - The internet ip of the resource. The alicloud.cen.TransitRouterVpnAttachment resource will not have a value until after it is created.
- Ipsec
Configs []GetGateway Vpn Attachments Attachment Ipsec Config - The configuration of Phase 2 negotiations.
- Local
Subnet string - The CIDR block of the virtual private cloud (VPC).
- Network
Type string - The network type.
- Remote
Subnet string - The CIDR block of the on-premises data center.
- Status string
- The status of the resource.
- Vpn
Attachment stringName - The name of the IPsec-VPN connection.
- Vpn
Connection stringId - The first ID of the resource.
- bgp
Configs List<GetGateway Vpn Attachments Attachment Bgp Config> - The configurations of the BGP routing protocol.
- connection
Status String - The status of the IPsec-VPN connection.
- create
Time String - The creation time of the resource.
- customer
Gateway StringId - The ID of the customer gateway.
- effect
Immediately Boolean - Indicates whether IPsec-VPN negotiations are initiated immediately. Valid values.
- health
Check List<GetConfigs Gateway Vpn Attachments Attachment Health Check Config> - The health check configurations.
- id String
- The ID of the Vpn Attachment.
- ike
Configs List<GetGateway Vpn Attachments Attachment Ike Config> - Configuration negotiated in the second stage.
- internet
Ip String - The internet ip of the resource. The alicloud.cen.TransitRouterVpnAttachment resource will not have a value until after it is created.
- ipsec
Configs List<GetGateway Vpn Attachments Attachment Ipsec Config> - The configuration of Phase 2 negotiations.
- local
Subnet String - The CIDR block of the virtual private cloud (VPC).
- network
Type String - The network type.
- remote
Subnet String - The CIDR block of the on-premises data center.
- status String
- The status of the resource.
- vpn
Attachment StringName - The name of the IPsec-VPN connection.
- vpn
Connection StringId - The first ID of the resource.
- bgp
Configs GetGateway Vpn Attachments Attachment Bgp Config[] - The configurations of the BGP routing protocol.
- connection
Status string - The status of the IPsec-VPN connection.
- create
Time string - The creation time of the resource.
- customer
Gateway stringId - The ID of the customer gateway.
- effect
Immediately boolean - Indicates whether IPsec-VPN negotiations are initiated immediately. Valid values.
- health
Check GetConfigs Gateway Vpn Attachments Attachment Health Check Config[] - The health check configurations.
- id string
- The ID of the Vpn Attachment.
- ike
Configs GetGateway Vpn Attachments Attachment Ike Config[] - Configuration negotiated in the second stage.
- internet
Ip string - The internet ip of the resource. The alicloud.cen.TransitRouterVpnAttachment resource will not have a value until after it is created.
- ipsec
Configs GetGateway Vpn Attachments Attachment Ipsec Config[] - The configuration of Phase 2 negotiations.
- local
Subnet string - The CIDR block of the virtual private cloud (VPC).
- network
Type string - The network type.
- remote
Subnet string - The CIDR block of the on-premises data center.
- status string
- The status of the resource.
- vpn
Attachment stringName - The name of the IPsec-VPN connection.
- vpn
Connection stringId - The first ID of the resource.
- bgp_
configs Sequence[GetGateway Vpn Attachments Attachment Bgp Config] - The configurations of the BGP routing protocol.
- connection_
status str - The status of the IPsec-VPN connection.
- create_
time str - The creation time of the resource.
- customer_
gateway_ strid - The ID of the customer gateway.
- effect_
immediately bool - Indicates whether IPsec-VPN negotiations are initiated immediately. Valid values.
- health_
check_ Sequence[Getconfigs Gateway Vpn Attachments Attachment Health Check Config] - The health check configurations.
- id str
- The ID of the Vpn Attachment.
- ike_
configs Sequence[GetGateway Vpn Attachments Attachment Ike Config] - Configuration negotiated in the second stage.
- internet_
ip str - The internet ip of the resource. The alicloud.cen.TransitRouterVpnAttachment resource will not have a value until after it is created.
- ipsec_
configs Sequence[GetGateway Vpn Attachments Attachment Ipsec Config] - The configuration of Phase 2 negotiations.
- local_
subnet str - The CIDR block of the virtual private cloud (VPC).
- network_
type str - The network type.
- remote_
subnet str - The CIDR block of the on-premises data center.
- status str
- The status of the resource.
- vpn_
attachment_ strname - The name of the IPsec-VPN connection.
- vpn_
connection_ strid - The first ID of the resource.
- bgp
Configs List<Property Map> - The configurations of the BGP routing protocol.
- connection
Status String - The status of the IPsec-VPN connection.
- create
Time String - The creation time of the resource.
- customer
Gateway StringId - The ID of the customer gateway.
- effect
Immediately Boolean - Indicates whether IPsec-VPN negotiations are initiated immediately. Valid values.
- health
Check List<Property Map>Configs - The health check configurations.
- id String
- The ID of the Vpn Attachment.
- ike
Configs List<Property Map> - Configuration negotiated in the second stage.
- internet
Ip String - The internet ip of the resource. The alicloud.cen.TransitRouterVpnAttachment resource will not have a value until after it is created.
- ipsec
Configs List<Property Map> - The configuration of Phase 2 negotiations.
- local
Subnet String - The CIDR block of the virtual private cloud (VPC).
- network
Type String - The network type.
- remote
Subnet String - The CIDR block of the on-premises data center.
- status String
- The status of the resource.
- vpn
Attachment StringName - The name of the IPsec-VPN connection.
- vpn
Connection StringId - The first ID of the resource.
GetGatewayVpnAttachmentsAttachmentBgpConfig
- Local
Asn string - The ASN on the Alibaba Cloud side.
- Local
Bgp stringIp - The BGP IP address on the Alibaba Cloud side.
- Status string
- The negotiation status of the BGP routing protocol.
- Tunnel
Cidr string - The CIDR block of the IPsec tunnel. The CIDR block belongs to 169.254.0.0/16. The mask of the CIDR block is 30 bits in length.
- Local
Asn string - The ASN on the Alibaba Cloud side.
- Local
Bgp stringIp - The BGP IP address on the Alibaba Cloud side.
- Status string
- The negotiation status of the BGP routing protocol.
- Tunnel
Cidr string - The CIDR block of the IPsec tunnel. The CIDR block belongs to 169.254.0.0/16. The mask of the CIDR block is 30 bits in length.
- local
Asn String - The ASN on the Alibaba Cloud side.
- local
Bgp StringIp - The BGP IP address on the Alibaba Cloud side.
- status String
- The negotiation status of the BGP routing protocol.
- tunnel
Cidr String - The CIDR block of the IPsec tunnel. The CIDR block belongs to 169.254.0.0/16. The mask of the CIDR block is 30 bits in length.
- local
Asn string - The ASN on the Alibaba Cloud side.
- local
Bgp stringIp - The BGP IP address on the Alibaba Cloud side.
- status string
- The negotiation status of the BGP routing protocol.
- tunnel
Cidr string - The CIDR block of the IPsec tunnel. The CIDR block belongs to 169.254.0.0/16. The mask of the CIDR block is 30 bits in length.
- local_
asn str - The ASN on the Alibaba Cloud side.
- local_
bgp_ strip - The BGP IP address on the Alibaba Cloud side.
- status str
- The negotiation status of the BGP routing protocol.
- tunnel_
cidr str - The CIDR block of the IPsec tunnel. The CIDR block belongs to 169.254.0.0/16. The mask of the CIDR block is 30 bits in length.
- local
Asn String - The ASN on the Alibaba Cloud side.
- local
Bgp StringIp - The BGP IP address on the Alibaba Cloud side.
- status String
- The negotiation status of the BGP routing protocol.
- tunnel
Cidr String - The CIDR block of the IPsec tunnel. The CIDR block belongs to 169.254.0.0/16. The mask of the CIDR block is 30 bits in length.
GetGatewayVpnAttachmentsAttachmentHealthCheckConfig
- Dip string
- The destination IP address.
- Enable bool
- Specifies whether to enable health checks.
- Interval int
- The interval between two consecutive health checks. Unit: seconds.
- Policy string
- Whether to revoke the published route when the health check fails.
- Retry int
- The maximum number of health check retries.
- Sip string
- The source IP address.
- Status string
- The status of the health check.
- Dip string
- The destination IP address.
- Enable bool
- Specifies whether to enable health checks.
- Interval int
- The interval between two consecutive health checks. Unit: seconds.
- Policy string
- Whether to revoke the published route when the health check fails.
- Retry int
- The maximum number of health check retries.
- Sip string
- The source IP address.
- Status string
- The status of the health check.
- dip String
- The destination IP address.
- enable Boolean
- Specifies whether to enable health checks.
- interval Integer
- The interval between two consecutive health checks. Unit: seconds.
- policy String
- Whether to revoke the published route when the health check fails.
- retry Integer
- The maximum number of health check retries.
- sip String
- The source IP address.
- status String
- The status of the health check.
- dip string
- The destination IP address.
- enable boolean
- Specifies whether to enable health checks.
- interval number
- The interval between two consecutive health checks. Unit: seconds.
- policy string
- Whether to revoke the published route when the health check fails.
- retry number
- The maximum number of health check retries.
- sip string
- The source IP address.
- status string
- The status of the health check.
- dip str
- The destination IP address.
- enable bool
- Specifies whether to enable health checks.
- interval int
- The interval between two consecutive health checks. Unit: seconds.
- policy str
- Whether to revoke the published route when the health check fails.
- retry int
- The maximum number of health check retries.
- sip str
- The source IP address.
- status str
- The status of the health check.
- dip String
- The destination IP address.
- enable Boolean
- Specifies whether to enable health checks.
- interval Number
- The interval between two consecutive health checks. Unit: seconds.
- policy String
- Whether to revoke the published route when the health check fails.
- retry Number
- The maximum number of health check retries.
- sip String
- The source IP address.
- status String
- The status of the health check.
GetGatewayVpnAttachmentsAttachmentIkeConfig
- Ike
Auth stringAlg - The IKE authentication algorithm.
- Ike
Enc stringAlg - The IKE encryption algorithm.
- Ike
Lifetime string - The IKE lifetime. Unit: seconds.
- Ike
Mode string - The IKE negotiation mode.
- Ike
Pfs string - The DH group.
- Ike
Version string - The version of the IKE protocol.
- Local
Id string - The local ID, which supports the FQDN and IP formats. The current VPN gateway IP address is selected by default. The alicloud.cen.TransitRouterVpnAttachment resource will not have a value until after it is created.
- Psk string
- The pre-shared key.
- Remote
Id string - The identifier of the peer. The default value is the IP address of the VPN gateway. The value can be a fully qualified domain name (FQDN) or an IP address.
- Ike
Auth stringAlg - The IKE authentication algorithm.
- Ike
Enc stringAlg - The IKE encryption algorithm.
- Ike
Lifetime string - The IKE lifetime. Unit: seconds.
- Ike
Mode string - The IKE negotiation mode.
- Ike
Pfs string - The DH group.
- Ike
Version string - The version of the IKE protocol.
- Local
Id string - The local ID, which supports the FQDN and IP formats. The current VPN gateway IP address is selected by default. The alicloud.cen.TransitRouterVpnAttachment resource will not have a value until after it is created.
- Psk string
- The pre-shared key.
- Remote
Id string - The identifier of the peer. The default value is the IP address of the VPN gateway. The value can be a fully qualified domain name (FQDN) or an IP address.
- ike
Auth StringAlg - The IKE authentication algorithm.
- ike
Enc StringAlg - The IKE encryption algorithm.
- ike
Lifetime String - The IKE lifetime. Unit: seconds.
- ike
Mode String - The IKE negotiation mode.
- ike
Pfs String - The DH group.
- ike
Version String - The version of the IKE protocol.
- local
Id String - The local ID, which supports the FQDN and IP formats. The current VPN gateway IP address is selected by default. The alicloud.cen.TransitRouterVpnAttachment resource will not have a value until after it is created.
- psk String
- The pre-shared key.
- remote
Id String - The identifier of the peer. The default value is the IP address of the VPN gateway. The value can be a fully qualified domain name (FQDN) or an IP address.
- ike
Auth stringAlg - The IKE authentication algorithm.
- ike
Enc stringAlg - The IKE encryption algorithm.
- ike
Lifetime string - The IKE lifetime. Unit: seconds.
- ike
Mode string - The IKE negotiation mode.
- ike
Pfs string - The DH group.
- ike
Version string - The version of the IKE protocol.
- local
Id string - The local ID, which supports the FQDN and IP formats. The current VPN gateway IP address is selected by default. The alicloud.cen.TransitRouterVpnAttachment resource will not have a value until after it is created.
- psk string
- The pre-shared key.
- remote
Id string - The identifier of the peer. The default value is the IP address of the VPN gateway. The value can be a fully qualified domain name (FQDN) or an IP address.
- ike_
auth_ stralg - The IKE authentication algorithm.
- ike_
enc_ stralg - The IKE encryption algorithm.
- ike_
lifetime str - The IKE lifetime. Unit: seconds.
- ike_
mode str - The IKE negotiation mode.
- ike_
pfs str - The DH group.
- ike_
version str - The version of the IKE protocol.
- local_
id str - The local ID, which supports the FQDN and IP formats. The current VPN gateway IP address is selected by default. The alicloud.cen.TransitRouterVpnAttachment resource will not have a value until after it is created.
- psk str
- The pre-shared key.
- remote_
id str - The identifier of the peer. The default value is the IP address of the VPN gateway. The value can be a fully qualified domain name (FQDN) or an IP address.
- ike
Auth StringAlg - The IKE authentication algorithm.
- ike
Enc StringAlg - The IKE encryption algorithm.
- ike
Lifetime String - The IKE lifetime. Unit: seconds.
- ike
Mode String - The IKE negotiation mode.
- ike
Pfs String - The DH group.
- ike
Version String - The version of the IKE protocol.
- local
Id String - The local ID, which supports the FQDN and IP formats. The current VPN gateway IP address is selected by default. The alicloud.cen.TransitRouterVpnAttachment resource will not have a value until after it is created.
- psk String
- The pre-shared key.
- remote
Id String - The identifier of the peer. The default value is the IP address of the VPN gateway. The value can be a fully qualified domain name (FQDN) or an IP address.
GetGatewayVpnAttachmentsAttachmentIpsecConfig
- Ipsec
Auth stringAlg - The IPsec authentication algorithm.
- Ipsec
Enc stringAlg - The IPsec encryption algorithm.
- Ipsec
Lifetime string - The IPsec lifetime. Unit: seconds.
- Ipsec
Pfs string - The DH group.
- Ipsec
Auth stringAlg - The IPsec authentication algorithm.
- Ipsec
Enc stringAlg - The IPsec encryption algorithm.
- Ipsec
Lifetime string - The IPsec lifetime. Unit: seconds.
- Ipsec
Pfs string - The DH group.
- ipsec
Auth StringAlg - The IPsec authentication algorithm.
- ipsec
Enc StringAlg - The IPsec encryption algorithm.
- ipsec
Lifetime String - The IPsec lifetime. Unit: seconds.
- ipsec
Pfs String - The DH group.
- ipsec
Auth stringAlg - The IPsec authentication algorithm.
- ipsec
Enc stringAlg - The IPsec encryption algorithm.
- ipsec
Lifetime string - The IPsec lifetime. Unit: seconds.
- ipsec
Pfs string - The DH group.
- ipsec_
auth_ stralg - The IPsec authentication algorithm.
- ipsec_
enc_ stralg - The IPsec encryption algorithm.
- ipsec_
lifetime str - The IPsec lifetime. Unit: seconds.
- ipsec_
pfs str - The DH group.
- ipsec
Auth StringAlg - The IPsec authentication algorithm.
- ipsec
Enc StringAlg - The IPsec encryption algorithm.
- ipsec
Lifetime String - The IPsec lifetime. Unit: seconds.
- ipsec
Pfs String - The DH group.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.