1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. vpn
  5. getGatewayVpnAttachments
Alibaba Cloud v3.52.1 published on Thursday, Apr 4, 2024 by Pulumi

alicloud.vpn.getGatewayVpnAttachments

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.52.1 published on Thursday, Apr 4, 2024 by Pulumi

    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 = data.alicloud_vpn_gateway_vpn_attachments.vpn_attachments.attachments[0].ike_config[0].local_id;
    export const internetIp = data.alicloud_vpn_gateway_vpn_attachments.vpn_attachments.attachments[0].internet_ip;
    
    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", data["alicloud_vpn_gateway_vpn_attachments"]["vpn_attachments"]["attachments"][0]["ike_config"][0]["local_id"])
    pulumi.export("internetIp", data["alicloud_vpn_gateway_vpn_attachments"]["vpn_attachments"]["attachments"][0]["internet_ip"])
    
    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, nil, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("vpnGatewayVpnAttachmentId1", ids.Attachments[0].Id)
    		nameRegex, err := vpn.GetGatewayVpnAttachments(ctx, &vpn.GetGatewayVpnAttachmentsArgs{
    			NameRegex: pulumi.StringRef("^my-VpnAttachment"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("vpnGatewayVpnAttachmentId2", nameRegex.Attachments[0].Id)
    		ctx.Export("localId", data.Alicloud_vpn_gateway_vpn_attachments.Vpn_attachments.Attachments[0].Ike_config[0].Local_id)
    		ctx.Export("internetIp", data.Alicloud_vpn_gateway_vpn_attachments.Vpn_attachments.Attachments[0].Internet_ip)
    		return nil
    	})
    }
    
    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"] = data.Alicloud_vpn_gateway_vpn_attachments.Vpn_attachments.Attachments[0].Ike_config[0].Local_id,
            ["internetIp"] = data.Alicloud_vpn_gateway_vpn_attachments.Vpn_attachments.Attachments[0].Internet_ip,
        };
    });
    
    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", data.alicloud_vpn_gateway_vpn_attachments().vpn_attachments().attachments()[0].ike_config()[0].local_id());
            ctx.export("internetIp", data.alicloud_vpn_gateway_vpn_attachments().vpn_attachments().attachments()[0].internet_ip());
        }
    }
    
    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: ${data.alicloud_vpn_gateway_vpn_attachments.vpn_attachments.attachments[0].ike_config[0].local_id}
      internetIp: ${data.alicloud_vpn_gateway_vpn_attachments.vpn_attachments.attachments[0].internet_ip}
    

    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.
    NameRegex string
    A regex string to filter results by Vpn Attachment name.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    PageNumber int
    PageSize int
    Status string
    The status of the resource.
    VpnGatewayId string
    The parameter 'vpn_gateway_id' has been deprecated from 1.194.0.

    Deprecated: The parameter 'vpn_gateway_id' has been deprecated from 1.194.0.

    Ids []string
    A list of Vpn Attachment IDs.
    NameRegex string
    A regex string to filter results by Vpn Attachment name.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    PageNumber int
    PageSize int
    Status string
    The status of the resource.
    VpnGatewayId string
    The parameter 'vpn_gateway_id' has been deprecated from 1.194.0.

    Deprecated: The parameter 'vpn_gateway_id' has been deprecated from 1.194.0.

    ids List<String>
    A list of Vpn Attachment IDs.
    nameRegex String
    A regex string to filter results by Vpn Attachment name.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    pageNumber Integer
    pageSize Integer
    status String
    The status of the resource.
    vpnGatewayId String
    The parameter 'vpn_gateway_id' has been deprecated from 1.194.0.

    Deprecated: The parameter 'vpn_gateway_id' has been deprecated from 1.194.0.

    ids string[]
    A list of Vpn Attachment IDs.
    nameRegex string
    A regex string to filter results by Vpn Attachment name.
    outputFile string
    File name where to save data source results (after running pulumi preview).
    pageNumber number
    pageSize number
    status string
    The status of the resource.
    vpnGatewayId string
    The parameter 'vpn_gateway_id' has been deprecated from 1.194.0.

    Deprecated: The parameter 'vpn_gateway_id' has been deprecated from 1.194.0.

    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.
    vpn_gateway_id str
    The parameter 'vpn_gateway_id' has been deprecated from 1.194.0.

    Deprecated: The parameter 'vpn_gateway_id' has been deprecated from 1.194.0.

    ids List<String>
    A list of Vpn Attachment IDs.
    nameRegex String
    A regex string to filter results by Vpn Attachment name.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    pageNumber Number
    pageSize Number
    status String
    The status of the resource.
    vpnGatewayId String
    The parameter 'vpn_gateway_id' has been deprecated from 1.194.0.

    Deprecated: The parameter 'vpn_gateway_id' has been deprecated from 1.194.0.

    getGatewayVpnAttachments Result

    The following output properties are available:

    Attachments List<Pulumi.AliCloud.Vpn.Outputs.GetGatewayVpnAttachmentsAttachment>
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    Names List<string>
    NameRegex string
    OutputFile string
    PageNumber int
    PageSize int
    Status string
    VpnGatewayId string

    Deprecated: The parameter 'vpn_gateway_id' has been deprecated from 1.194.0.

    Attachments []GetGatewayVpnAttachmentsAttachment
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    Names []string
    NameRegex string
    OutputFile string
    PageNumber int
    PageSize int
    Status string
    VpnGatewayId string

    Deprecated: The parameter 'vpn_gateway_id' has been deprecated from 1.194.0.

    attachments List<GetGatewayVpnAttachmentsAttachment>
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    names List<String>
    nameRegex String
    outputFile String
    pageNumber Integer
    pageSize Integer
    status String
    vpnGatewayId String

    Deprecated: The parameter 'vpn_gateway_id' has been deprecated from 1.194.0.

    attachments GetGatewayVpnAttachmentsAttachment[]
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    names string[]
    nameRegex string
    outputFile string
    pageNumber number
    pageSize number
    status string
    vpnGatewayId string

    Deprecated: The parameter 'vpn_gateway_id' has been deprecated from 1.194.0.

    attachments Sequence[GetGatewayVpnAttachmentsAttachment]
    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_id str

    Deprecated: The parameter 'vpn_gateway_id' has been deprecated from 1.194.0.

    attachments List<Property Map>
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    names List<String>
    nameRegex String
    outputFile String
    pageNumber Number
    pageSize Number
    status String
    vpnGatewayId String

    Deprecated: The parameter 'vpn_gateway_id' has been deprecated from 1.194.0.

    Supporting Types

    GetGatewayVpnAttachmentsAttachment

    BgpConfigs List<Pulumi.AliCloud.Vpn.Inputs.GetGatewayVpnAttachmentsAttachmentBgpConfig>
    The configurations of the BGP routing protocol.
    ConnectionStatus string
    The status of the IPsec-VPN connection.
    CreateTime string
    The creation time of the resource.
    CustomerGatewayId string
    The ID of the customer gateway.
    EffectImmediately bool
    Indicates whether IPsec-VPN negotiations are initiated immediately. Valid values.
    HealthCheckConfigs List<Pulumi.AliCloud.Vpn.Inputs.GetGatewayVpnAttachmentsAttachmentHealthCheckConfig>
    The health check configurations.
    Id string
    The ID of the Vpn Attachment.
    IkeConfigs List<Pulumi.AliCloud.Vpn.Inputs.GetGatewayVpnAttachmentsAttachmentIkeConfig>
    Configuration negotiated in the second stage.
    InternetIp string
    The internet ip of the resource. The alicloud.cen.TransitRouterVpnAttachment resource will not have a value until after it is created.
    IpsecConfigs List<Pulumi.AliCloud.Vpn.Inputs.GetGatewayVpnAttachmentsAttachmentIpsecConfig>
    The configuration of Phase 2 negotiations.
    LocalSubnet string
    The CIDR block of the virtual private cloud (VPC).
    NetworkType string
    The network type.
    RemoteSubnet string
    The CIDR block of the on-premises data center.
    Status string
    The status of the resource.
    VpnAttachmentName string
    The name of the IPsec-VPN connection.
    VpnConnectionId string
    The first ID of the resource.
    BgpConfigs []GetGatewayVpnAttachmentsAttachmentBgpConfig
    The configurations of the BGP routing protocol.
    ConnectionStatus string
    The status of the IPsec-VPN connection.
    CreateTime string
    The creation time of the resource.
    CustomerGatewayId string
    The ID of the customer gateway.
    EffectImmediately bool
    Indicates whether IPsec-VPN negotiations are initiated immediately. Valid values.
    HealthCheckConfigs []GetGatewayVpnAttachmentsAttachmentHealthCheckConfig
    The health check configurations.
    Id string
    The ID of the Vpn Attachment.
    IkeConfigs []GetGatewayVpnAttachmentsAttachmentIkeConfig
    Configuration negotiated in the second stage.
    InternetIp string
    The internet ip of the resource. The alicloud.cen.TransitRouterVpnAttachment resource will not have a value until after it is created.
    IpsecConfigs []GetGatewayVpnAttachmentsAttachmentIpsecConfig
    The configuration of Phase 2 negotiations.
    LocalSubnet string
    The CIDR block of the virtual private cloud (VPC).
    NetworkType string
    The network type.
    RemoteSubnet string
    The CIDR block of the on-premises data center.
    Status string
    The status of the resource.
    VpnAttachmentName string
    The name of the IPsec-VPN connection.
    VpnConnectionId string
    The first ID of the resource.
    bgpConfigs List<GetGatewayVpnAttachmentsAttachmentBgpConfig>
    The configurations of the BGP routing protocol.
    connectionStatus String
    The status of the IPsec-VPN connection.
    createTime String
    The creation time of the resource.
    customerGatewayId String
    The ID of the customer gateway.
    effectImmediately Boolean
    Indicates whether IPsec-VPN negotiations are initiated immediately. Valid values.
    healthCheckConfigs List<GetGatewayVpnAttachmentsAttachmentHealthCheckConfig>
    The health check configurations.
    id String
    The ID of the Vpn Attachment.
    ikeConfigs List<GetGatewayVpnAttachmentsAttachmentIkeConfig>
    Configuration negotiated in the second stage.
    internetIp String
    The internet ip of the resource. The alicloud.cen.TransitRouterVpnAttachment resource will not have a value until after it is created.
    ipsecConfigs List<GetGatewayVpnAttachmentsAttachmentIpsecConfig>
    The configuration of Phase 2 negotiations.
    localSubnet String
    The CIDR block of the virtual private cloud (VPC).
    networkType String
    The network type.
    remoteSubnet String
    The CIDR block of the on-premises data center.
    status String
    The status of the resource.
    vpnAttachmentName String
    The name of the IPsec-VPN connection.
    vpnConnectionId String
    The first ID of the resource.
    bgpConfigs GetGatewayVpnAttachmentsAttachmentBgpConfig[]
    The configurations of the BGP routing protocol.
    connectionStatus string
    The status of the IPsec-VPN connection.
    createTime string
    The creation time of the resource.
    customerGatewayId string
    The ID of the customer gateway.
    effectImmediately boolean
    Indicates whether IPsec-VPN negotiations are initiated immediately. Valid values.
    healthCheckConfigs GetGatewayVpnAttachmentsAttachmentHealthCheckConfig[]
    The health check configurations.
    id string
    The ID of the Vpn Attachment.
    ikeConfigs GetGatewayVpnAttachmentsAttachmentIkeConfig[]
    Configuration negotiated in the second stage.
    internetIp string
    The internet ip of the resource. The alicloud.cen.TransitRouterVpnAttachment resource will not have a value until after it is created.
    ipsecConfigs GetGatewayVpnAttachmentsAttachmentIpsecConfig[]
    The configuration of Phase 2 negotiations.
    localSubnet string
    The CIDR block of the virtual private cloud (VPC).
    networkType string
    The network type.
    remoteSubnet string
    The CIDR block of the on-premises data center.
    status string
    The status of the resource.
    vpnAttachmentName string
    The name of the IPsec-VPN connection.
    vpnConnectionId string
    The first ID of the resource.
    bgp_configs Sequence[GetGatewayVpnAttachmentsAttachmentBgpConfig]
    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_id str
    The ID of the customer gateway.
    effect_immediately bool
    Indicates whether IPsec-VPN negotiations are initiated immediately. Valid values.
    health_check_configs Sequence[GetGatewayVpnAttachmentsAttachmentHealthCheckConfig]
    The health check configurations.
    id str
    The ID of the Vpn Attachment.
    ike_configs Sequence[GetGatewayVpnAttachmentsAttachmentIkeConfig]
    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[GetGatewayVpnAttachmentsAttachmentIpsecConfig]
    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_name str
    The name of the IPsec-VPN connection.
    vpn_connection_id str
    The first ID of the resource.
    bgpConfigs List<Property Map>
    The configurations of the BGP routing protocol.
    connectionStatus String
    The status of the IPsec-VPN connection.
    createTime String
    The creation time of the resource.
    customerGatewayId String
    The ID of the customer gateway.
    effectImmediately Boolean
    Indicates whether IPsec-VPN negotiations are initiated immediately. Valid values.
    healthCheckConfigs List<Property Map>
    The health check configurations.
    id String
    The ID of the Vpn Attachment.
    ikeConfigs List<Property Map>
    Configuration negotiated in the second stage.
    internetIp String
    The internet ip of the resource. The alicloud.cen.TransitRouterVpnAttachment resource will not have a value until after it is created.
    ipsecConfigs List<Property Map>
    The configuration of Phase 2 negotiations.
    localSubnet String
    The CIDR block of the virtual private cloud (VPC).
    networkType String
    The network type.
    remoteSubnet String
    The CIDR block of the on-premises data center.
    status String
    The status of the resource.
    vpnAttachmentName String
    The name of the IPsec-VPN connection.
    vpnConnectionId String
    The first ID of the resource.

    GetGatewayVpnAttachmentsAttachmentBgpConfig

    LocalAsn string
    The ASN on the Alibaba Cloud side.
    LocalBgpIp string
    The BGP IP address on the Alibaba Cloud side.
    Status string
    The status of the resource.
    TunnelCidr 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.
    LocalAsn string
    The ASN on the Alibaba Cloud side.
    LocalBgpIp string
    The BGP IP address on the Alibaba Cloud side.
    Status string
    The status of the resource.
    TunnelCidr 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.
    localAsn String
    The ASN on the Alibaba Cloud side.
    localBgpIp String
    The BGP IP address on the Alibaba Cloud side.
    status String
    The status of the resource.
    tunnelCidr 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.
    localAsn string
    The ASN on the Alibaba Cloud side.
    localBgpIp string
    The BGP IP address on the Alibaba Cloud side.
    status string
    The status of the resource.
    tunnelCidr 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_ip str
    The BGP IP address on the Alibaba Cloud side.
    status str
    The status of the resource.
    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.
    localAsn String
    The ASN on the Alibaba Cloud side.
    localBgpIp String
    The BGP IP address on the Alibaba Cloud side.
    status String
    The status of the resource.
    tunnelCidr 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 resource.
    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 resource.
    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 resource.
    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 resource.
    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 resource.
    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 resource.

    GetGatewayVpnAttachmentsAttachmentIkeConfig

    IkeAuthAlg string
    The IKE authentication algorithm.
    IkeEncAlg string
    The IKE encryption algorithm.
    IkeLifetime string
    The IKE lifetime. Unit: seconds.
    IkeMode string
    The IKE negotiation mode.
    IkePfs string
    The DH group.
    IkeVersion string
    The version of the IKE protocol.
    LocalId 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.
    RemoteId 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.
    IkeAuthAlg string
    The IKE authentication algorithm.
    IkeEncAlg string
    The IKE encryption algorithm.
    IkeLifetime string
    The IKE lifetime. Unit: seconds.
    IkeMode string
    The IKE negotiation mode.
    IkePfs string
    The DH group.
    IkeVersion string
    The version of the IKE protocol.
    LocalId 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.
    RemoteId 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.
    ikeAuthAlg String
    The IKE authentication algorithm.
    ikeEncAlg String
    The IKE encryption algorithm.
    ikeLifetime String
    The IKE lifetime. Unit: seconds.
    ikeMode String
    The IKE negotiation mode.
    ikePfs String
    The DH group.
    ikeVersion String
    The version of the IKE protocol.
    localId 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.
    remoteId 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.
    ikeAuthAlg string
    The IKE authentication algorithm.
    ikeEncAlg string
    The IKE encryption algorithm.
    ikeLifetime string
    The IKE lifetime. Unit: seconds.
    ikeMode string
    The IKE negotiation mode.
    ikePfs string
    The DH group.
    ikeVersion string
    The version of the IKE protocol.
    localId 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.
    remoteId 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_alg str
    The IKE authentication algorithm.
    ike_enc_alg str
    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.
    ikeAuthAlg String
    The IKE authentication algorithm.
    ikeEncAlg String
    The IKE encryption algorithm.
    ikeLifetime String
    The IKE lifetime. Unit: seconds.
    ikeMode String
    The IKE negotiation mode.
    ikePfs String
    The DH group.
    ikeVersion String
    The version of the IKE protocol.
    localId 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.
    remoteId 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

    IpsecAuthAlg string
    The IPsec authentication algorithm.
    IpsecEncAlg string
    The IPsec encryption algorithm.
    IpsecLifetime string
    The IPsec lifetime. Unit: seconds.
    IpsecPfs string
    The DH group.
    IpsecAuthAlg string
    The IPsec authentication algorithm.
    IpsecEncAlg string
    The IPsec encryption algorithm.
    IpsecLifetime string
    The IPsec lifetime. Unit: seconds.
    IpsecPfs string
    The DH group.
    ipsecAuthAlg String
    The IPsec authentication algorithm.
    ipsecEncAlg String
    The IPsec encryption algorithm.
    ipsecLifetime String
    The IPsec lifetime. Unit: seconds.
    ipsecPfs String
    The DH group.
    ipsecAuthAlg string
    The IPsec authentication algorithm.
    ipsecEncAlg string
    The IPsec encryption algorithm.
    ipsecLifetime string
    The IPsec lifetime. Unit: seconds.
    ipsecPfs string
    The DH group.
    ipsec_auth_alg str
    The IPsec authentication algorithm.
    ipsec_enc_alg str
    The IPsec encryption algorithm.
    ipsec_lifetime str
    The IPsec lifetime. Unit: seconds.
    ipsec_pfs str
    The DH group.
    ipsecAuthAlg String
    The IPsec authentication algorithm.
    ipsecEncAlg String
    The IPsec encryption algorithm.
    ipsecLifetime String
    The IPsec lifetime. Unit: seconds.
    ipsecPfs 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.
    alicloud logo
    Alibaba Cloud v3.52.1 published on Thursday, Apr 4, 2024 by Pulumi