1. Packages
  2. Aviatrix
  3. API Docs
  4. AviatrixTransitCloudnConn
Aviatrix v0.0.11 published on Saturday, Jun 17, 2023 by Aviatrix

aviatrix.AviatrixTransitCloudnConn

Explore with Pulumi AI

aviatrix logo
Aviatrix v0.0.11 published on Saturday, Jun 17, 2023 by Aviatrix

    The aviatrix_transit_cloudn_conn resource creates and manages the connection between an Aviatrix Transit Gateway and an Aviatrix CloudN device. Available as of provider version R2.21.0+.

    Example Usage

    using System.Collections.Generic;
    using Pulumi;
    using Aviatrix = Pulumi.Aviatrix;
    
    return await Deployment.RunAsync(() => 
    {
        // Create an Aviatrix Transit Gateway to CloudN Connection
        var test = new Aviatrix.AviatrixTransitCloudnConn("test", new()
        {
            BgpLocalAsNum = "123",
            CloudnAsNum = "345",
            CloudnNeighborAsNum = "65005",
            CloudnNeighborIp = "182.1.2.3",
            CloudnRemoteIp = "172.12.13.14",
            ConnectionName = "my_conn",
            GwName = "transitGw",
            VpcId = "vpc-abcd1234",
        });
    
    });
    
    package main
    
    import (
    	"github.com/astipkovits/pulumi-aviatrix/sdk/go/aviatrix"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := aviatrix.NewAviatrixTransitCloudnConn(ctx, "test", &aviatrix.AviatrixTransitCloudnConnArgs{
    			BgpLocalAsNum:       pulumi.String("123"),
    			CloudnAsNum:         pulumi.String("345"),
    			CloudnNeighborAsNum: pulumi.String("65005"),
    			CloudnNeighborIp:    pulumi.String("182.1.2.3"),
    			CloudnRemoteIp:      pulumi.String("172.12.13.14"),
    			ConnectionName:      pulumi.String("my_conn"),
    			GwName:              pulumi.String("transitGw"),
    			VpcId:               pulumi.String("vpc-abcd1234"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aviatrix.AviatrixTransitCloudnConn;
    import com.pulumi.aviatrix.AviatrixTransitCloudnConnArgs;
    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) {
            var test = new AviatrixTransitCloudnConn("test", AviatrixTransitCloudnConnArgs.builder()        
                .bgpLocalAsNum("123")
                .cloudnAsNum("345")
                .cloudnNeighborAsNum("65005")
                .cloudnNeighborIp("182.1.2.3")
                .cloudnRemoteIp("172.12.13.14")
                .connectionName("my_conn")
                .gwName("transitGw")
                .vpcId("vpc-abcd1234")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_aviatrix as aviatrix
    
    # Create an Aviatrix Transit Gateway to CloudN Connection
    test = aviatrix.AviatrixTransitCloudnConn("test",
        bgp_local_as_num="123",
        cloudn_as_num="345",
        cloudn_neighbor_as_num="65005",
        cloudn_neighbor_ip="182.1.2.3",
        cloudn_remote_ip="172.12.13.14",
        connection_name="my_conn",
        gw_name="transitGw",
        vpc_id="vpc-abcd1234")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aviatrix from "@pulumi/aviatrix";
    
    // Create an Aviatrix Transit Gateway to CloudN Connection
    const test = new aviatrix.AviatrixTransitCloudnConn("test", {
        bgpLocalAsNum: "123",
        cloudnAsNum: "345",
        cloudnNeighborAsNum: "65005",
        cloudnNeighborIp: "182.1.2.3",
        cloudnRemoteIp: "172.12.13.14",
        connectionName: "my_conn",
        gwName: "transitGw",
        vpcId: "vpc-abcd1234",
    });
    
    resources:
      # Create an Aviatrix Transit Gateway to CloudN Connection
      test:
        type: aviatrix:AviatrixTransitCloudnConn
        properties:
          bgpLocalAsNum: '123'
          cloudnAsNum: '345'
          cloudnNeighborAsNum: '65005'
          cloudnNeighborIp: 182.1.2.3
          cloudnRemoteIp: 172.12.13.14
          connectionName: my_conn
          gwName: transitGw
          vpcId: vpc-abcd1234
    
    using System.Collections.Generic;
    using Pulumi;
    using Aviatrix = Pulumi.Aviatrix;
    
    return await Deployment.RunAsync(() => 
    {
        // Create an Aviatrix Transit Gateway to CloudN Connection with HA
        var test = new Aviatrix.AviatrixTransitCloudnConn("test", new()
        {
            BackupCloudnAsNum = "123",
            BackupCloudnIp = "1.2.3.6",
            BackupCloudnNeighborAsNum = "345",
            BackupCloudnNeighborIp = "1.2.3.7",
            BgpLocalAsNum = "123",
            CloudnAsNum = "345",
            CloudnNeighborAsNum = "65005",
            CloudnNeighborIp = "1.2.3.5",
            CloudnRemoteIp = "1.2.3.4",
            ConnectionName = "my_conn",
            EnableHa = true,
            GwName = "transitGw",
            VpcId = "vpc-abcd1234",
        });
    
    });
    
    package main
    
    import (
    	"github.com/astipkovits/pulumi-aviatrix/sdk/go/aviatrix"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := aviatrix.NewAviatrixTransitCloudnConn(ctx, "test", &aviatrix.AviatrixTransitCloudnConnArgs{
    			BackupCloudnAsNum:         pulumi.String("123"),
    			BackupCloudnIp:            pulumi.String("1.2.3.6"),
    			BackupCloudnNeighborAsNum: pulumi.String("345"),
    			BackupCloudnNeighborIp:    pulumi.String("1.2.3.7"),
    			BgpLocalAsNum:             pulumi.String("123"),
    			CloudnAsNum:               pulumi.String("345"),
    			CloudnNeighborAsNum:       pulumi.String("65005"),
    			CloudnNeighborIp:          pulumi.String("1.2.3.5"),
    			CloudnRemoteIp:            pulumi.String("1.2.3.4"),
    			ConnectionName:            pulumi.String("my_conn"),
    			EnableHa:                  pulumi.Bool(true),
    			GwName:                    pulumi.String("transitGw"),
    			VpcId:                     pulumi.String("vpc-abcd1234"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aviatrix.AviatrixTransitCloudnConn;
    import com.pulumi.aviatrix.AviatrixTransitCloudnConnArgs;
    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) {
            var test = new AviatrixTransitCloudnConn("test", AviatrixTransitCloudnConnArgs.builder()        
                .backupCloudnAsNum("123")
                .backupCloudnIp("1.2.3.6")
                .backupCloudnNeighborAsNum("345")
                .backupCloudnNeighborIp("1.2.3.7")
                .bgpLocalAsNum("123")
                .cloudnAsNum("345")
                .cloudnNeighborAsNum("65005")
                .cloudnNeighborIp("1.2.3.5")
                .cloudnRemoteIp("1.2.3.4")
                .connectionName("my_conn")
                .enableHa(true)
                .gwName("transitGw")
                .vpcId("vpc-abcd1234")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_aviatrix as aviatrix
    
    # Create an Aviatrix Transit Gateway to CloudN Connection with HA
    test = aviatrix.AviatrixTransitCloudnConn("test",
        backup_cloudn_as_num="123",
        backup_cloudn_ip="1.2.3.6",
        backup_cloudn_neighbor_as_num="345",
        backup_cloudn_neighbor_ip="1.2.3.7",
        bgp_local_as_num="123",
        cloudn_as_num="345",
        cloudn_neighbor_as_num="65005",
        cloudn_neighbor_ip="1.2.3.5",
        cloudn_remote_ip="1.2.3.4",
        connection_name="my_conn",
        enable_ha=True,
        gw_name="transitGw",
        vpc_id="vpc-abcd1234")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aviatrix from "@pulumi/aviatrix";
    
    // Create an Aviatrix Transit Gateway to CloudN Connection with HA
    const test = new aviatrix.AviatrixTransitCloudnConn("test", {
        backupCloudnAsNum: "123",
        backupCloudnIp: "1.2.3.6",
        backupCloudnNeighborAsNum: "345",
        backupCloudnNeighborIp: "1.2.3.7",
        bgpLocalAsNum: "123",
        cloudnAsNum: "345",
        cloudnNeighborAsNum: "65005",
        cloudnNeighborIp: "1.2.3.5",
        cloudnRemoteIp: "1.2.3.4",
        connectionName: "my_conn",
        enableHa: true,
        gwName: "transitGw",
        vpcId: "vpc-abcd1234",
    });
    
    resources:
      # Create an Aviatrix Transit Gateway to CloudN Connection with HA
      test:
        type: aviatrix:AviatrixTransitCloudnConn
        properties:
          backupCloudnAsNum: '123'
          backupCloudnIp: 1.2.3.6
          backupCloudnNeighborAsNum: '345'
          backupCloudnNeighborIp: 1.2.3.7
          bgpLocalAsNum: '123'
          cloudnAsNum: '345'
          cloudnNeighborAsNum: '65005'
          cloudnNeighborIp: 1.2.3.5
          cloudnRemoteIp: 1.2.3.4
          connectionName: my_conn
          enableHa: true
          gwName: transitGw
          vpcId: vpc-abcd1234
    

    Create AviatrixTransitCloudnConn Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AviatrixTransitCloudnConn(name: string, args: AviatrixTransitCloudnConnArgs, opts?: CustomResourceOptions);
    @overload
    def AviatrixTransitCloudnConn(resource_name: str,
                                  args: AviatrixTransitCloudnConnArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def AviatrixTransitCloudnConn(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  cloudn_as_num: Optional[str] = None,
                                  vpc_id: Optional[str] = None,
                                  gw_name: Optional[str] = None,
                                  connection_name: Optional[str] = None,
                                  cloudn_remote_ip: Optional[str] = None,
                                  cloudn_neighbor_ip: Optional[str] = None,
                                  cloudn_neighbor_as_num: Optional[str] = None,
                                  bgp_local_as_num: Optional[str] = None,
                                  backup_direct_connect: Optional[bool] = None,
                                  backup_insane_mode: Optional[bool] = None,
                                  approved_cidrs: Optional[Sequence[str]] = None,
                                  backup_cloudn_neighbor_ip: Optional[str] = None,
                                  backup_cloudn_neighbor_as_num: Optional[str] = None,
                                  direct_connect: Optional[bool] = None,
                                  enable_ha: Optional[bool] = None,
                                  enable_learned_cidrs_approval: Optional[bool] = None,
                                  enable_load_balancing: Optional[bool] = None,
                                  backup_cloudn_ip: Optional[str] = None,
                                  insane_mode: Optional[bool] = None,
                                  backup_cloudn_as_num: Optional[str] = None)
    func NewAviatrixTransitCloudnConn(ctx *Context, name string, args AviatrixTransitCloudnConnArgs, opts ...ResourceOption) (*AviatrixTransitCloudnConn, error)
    public AviatrixTransitCloudnConn(string name, AviatrixTransitCloudnConnArgs args, CustomResourceOptions? opts = null)
    public AviatrixTransitCloudnConn(String name, AviatrixTransitCloudnConnArgs args)
    public AviatrixTransitCloudnConn(String name, AviatrixTransitCloudnConnArgs args, CustomResourceOptions options)
    
    type: aviatrix:AviatrixTransitCloudnConn
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AviatrixTransitCloudnConnArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AviatrixTransitCloudnConnArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AviatrixTransitCloudnConnArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AviatrixTransitCloudnConnArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AviatrixTransitCloudnConnArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var aviatrixTransitCloudnConnResource = new Aviatrix.AviatrixTransitCloudnConn("aviatrixTransitCloudnConnResource", new()
    {
        CloudnAsNum = "string",
        VpcId = "string",
        GwName = "string",
        ConnectionName = "string",
        CloudnRemoteIp = "string",
        CloudnNeighborIp = "string",
        CloudnNeighborAsNum = "string",
        BgpLocalAsNum = "string",
        BackupDirectConnect = false,
        BackupInsaneMode = false,
        ApprovedCidrs = new[]
        {
            "string",
        },
        BackupCloudnNeighborIp = "string",
        BackupCloudnNeighborAsNum = "string",
        DirectConnect = false,
        EnableHa = false,
        EnableLearnedCidrsApproval = false,
        EnableLoadBalancing = false,
        BackupCloudnIp = "string",
        InsaneMode = false,
        BackupCloudnAsNum = "string",
    });
    
    example, err := aviatrix.NewAviatrixTransitCloudnConn(ctx, "aviatrixTransitCloudnConnResource", &aviatrix.AviatrixTransitCloudnConnArgs{
    	CloudnAsNum:         pulumi.String("string"),
    	VpcId:               pulumi.String("string"),
    	GwName:              pulumi.String("string"),
    	ConnectionName:      pulumi.String("string"),
    	CloudnRemoteIp:      pulumi.String("string"),
    	CloudnNeighborIp:    pulumi.String("string"),
    	CloudnNeighborAsNum: pulumi.String("string"),
    	BgpLocalAsNum:       pulumi.String("string"),
    	BackupDirectConnect: pulumi.Bool(false),
    	BackupInsaneMode:    pulumi.Bool(false),
    	ApprovedCidrs: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	BackupCloudnNeighborIp:     pulumi.String("string"),
    	BackupCloudnNeighborAsNum:  pulumi.String("string"),
    	DirectConnect:              pulumi.Bool(false),
    	EnableHa:                   pulumi.Bool(false),
    	EnableLearnedCidrsApproval: pulumi.Bool(false),
    	EnableLoadBalancing:        pulumi.Bool(false),
    	BackupCloudnIp:             pulumi.String("string"),
    	InsaneMode:                 pulumi.Bool(false),
    	BackupCloudnAsNum:          pulumi.String("string"),
    })
    
    var aviatrixTransitCloudnConnResource = new AviatrixTransitCloudnConn("aviatrixTransitCloudnConnResource", AviatrixTransitCloudnConnArgs.builder()
        .cloudnAsNum("string")
        .vpcId("string")
        .gwName("string")
        .connectionName("string")
        .cloudnRemoteIp("string")
        .cloudnNeighborIp("string")
        .cloudnNeighborAsNum("string")
        .bgpLocalAsNum("string")
        .backupDirectConnect(false)
        .backupInsaneMode(false)
        .approvedCidrs("string")
        .backupCloudnNeighborIp("string")
        .backupCloudnNeighborAsNum("string")
        .directConnect(false)
        .enableHa(false)
        .enableLearnedCidrsApproval(false)
        .enableLoadBalancing(false)
        .backupCloudnIp("string")
        .insaneMode(false)
        .backupCloudnAsNum("string")
        .build());
    
    aviatrix_transit_cloudn_conn_resource = aviatrix.AviatrixTransitCloudnConn("aviatrixTransitCloudnConnResource",
        cloudn_as_num="string",
        vpc_id="string",
        gw_name="string",
        connection_name="string",
        cloudn_remote_ip="string",
        cloudn_neighbor_ip="string",
        cloudn_neighbor_as_num="string",
        bgp_local_as_num="string",
        backup_direct_connect=False,
        backup_insane_mode=False,
        approved_cidrs=["string"],
        backup_cloudn_neighbor_ip="string",
        backup_cloudn_neighbor_as_num="string",
        direct_connect=False,
        enable_ha=False,
        enable_learned_cidrs_approval=False,
        enable_load_balancing=False,
        backup_cloudn_ip="string",
        insane_mode=False,
        backup_cloudn_as_num="string")
    
    const aviatrixTransitCloudnConnResource = new aviatrix.AviatrixTransitCloudnConn("aviatrixTransitCloudnConnResource", {
        cloudnAsNum: "string",
        vpcId: "string",
        gwName: "string",
        connectionName: "string",
        cloudnRemoteIp: "string",
        cloudnNeighborIp: "string",
        cloudnNeighborAsNum: "string",
        bgpLocalAsNum: "string",
        backupDirectConnect: false,
        backupInsaneMode: false,
        approvedCidrs: ["string"],
        backupCloudnNeighborIp: "string",
        backupCloudnNeighborAsNum: "string",
        directConnect: false,
        enableHa: false,
        enableLearnedCidrsApproval: false,
        enableLoadBalancing: false,
        backupCloudnIp: "string",
        insaneMode: false,
        backupCloudnAsNum: "string",
    });
    
    type: aviatrix:AviatrixTransitCloudnConn
    properties:
        approvedCidrs:
            - string
        backupCloudnAsNum: string
        backupCloudnIp: string
        backupCloudnNeighborAsNum: string
        backupCloudnNeighborIp: string
        backupDirectConnect: false
        backupInsaneMode: false
        bgpLocalAsNum: string
        cloudnAsNum: string
        cloudnNeighborAsNum: string
        cloudnNeighborIp: string
        cloudnRemoteIp: string
        connectionName: string
        directConnect: false
        enableHa: false
        enableLearnedCidrsApproval: false
        enableLoadBalancing: false
        gwName: string
        insaneMode: false
        vpcId: string
    

    AviatrixTransitCloudnConn Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The AviatrixTransitCloudnConn resource accepts the following input properties:

    BgpLocalAsNum string
    BGP AS Number of the Transit Gateway. Type: String.
    CloudnAsNum string
    BGP AS Number of the Aviatrix CloudN. Type: String.
    CloudnNeighborAsNum string
    BGP AS Number of the Aviatrix CloudN neighbor. Type: String.
    CloudnNeighborIp string
    IP Address of Aviatrix CloudN neighbor. Type: String.
    CloudnRemoteIp string
    IP Address of Aviatrix CloudN. Type: String.
    ConnectionName string
    Name of the Transit Gateway to CloudN Connection. Type: String.
    GwName string
    Name of the Transit Gateway. Type: String.
    VpcId string
    VPC ID of the Aviatrix Transit Gateway. Type: String.
    ApprovedCidrs List<string>
    Set of approved CIDRs. Requires enable_learned_cidrs_approval to be true. Type: Set(String).
    BackupCloudnAsNum string
    BGP AS Number of HA CloudN. Type: String.
    BackupCloudnIp string
    IP Address of HA CloudN. Required when enable_ha is true. Type: String.
    BackupCloudnNeighborAsNum string
    BGP AS Number of HA CloudN Neighbor. Type: String.
    BackupCloudnNeighborIp string
    IP Address of HA CloudN Neighbor. Type: String.
    BackupDirectConnect bool
    Flag to enable direct connect over private network to HA CloudN. Type: Boolean.
    BackupInsaneMode bool
    Flag to enable insane mode connection to HA CloudN. Type: Boolean.
    DirectConnect bool
    Enable direct connect over private network. Type: Boolean. Default: true.
    EnableHa bool
    Enable connection to HA CloudN. Type: Boolean.
    EnableLearnedCidrsApproval bool
    Enable encrypted transit approval for connection. Type: Boolean.
    EnableLoadBalancing bool
    Flag to enable load balancing between CloudN and HA CloudN. Type: Boolean.
    InsaneMode bool
    Enable insane mode connection. Type: Boolean.
    BgpLocalAsNum string
    BGP AS Number of the Transit Gateway. Type: String.
    CloudnAsNum string
    BGP AS Number of the Aviatrix CloudN. Type: String.
    CloudnNeighborAsNum string
    BGP AS Number of the Aviatrix CloudN neighbor. Type: String.
    CloudnNeighborIp string
    IP Address of Aviatrix CloudN neighbor. Type: String.
    CloudnRemoteIp string
    IP Address of Aviatrix CloudN. Type: String.
    ConnectionName string
    Name of the Transit Gateway to CloudN Connection. Type: String.
    GwName string
    Name of the Transit Gateway. Type: String.
    VpcId string
    VPC ID of the Aviatrix Transit Gateway. Type: String.
    ApprovedCidrs []string
    Set of approved CIDRs. Requires enable_learned_cidrs_approval to be true. Type: Set(String).
    BackupCloudnAsNum string
    BGP AS Number of HA CloudN. Type: String.
    BackupCloudnIp string
    IP Address of HA CloudN. Required when enable_ha is true. Type: String.
    BackupCloudnNeighborAsNum string
    BGP AS Number of HA CloudN Neighbor. Type: String.
    BackupCloudnNeighborIp string
    IP Address of HA CloudN Neighbor. Type: String.
    BackupDirectConnect bool
    Flag to enable direct connect over private network to HA CloudN. Type: Boolean.
    BackupInsaneMode bool
    Flag to enable insane mode connection to HA CloudN. Type: Boolean.
    DirectConnect bool
    Enable direct connect over private network. Type: Boolean. Default: true.
    EnableHa bool
    Enable connection to HA CloudN. Type: Boolean.
    EnableLearnedCidrsApproval bool
    Enable encrypted transit approval for connection. Type: Boolean.
    EnableLoadBalancing bool
    Flag to enable load balancing between CloudN and HA CloudN. Type: Boolean.
    InsaneMode bool
    Enable insane mode connection. Type: Boolean.
    bgpLocalAsNum String
    BGP AS Number of the Transit Gateway. Type: String.
    cloudnAsNum String
    BGP AS Number of the Aviatrix CloudN. Type: String.
    cloudnNeighborAsNum String
    BGP AS Number of the Aviatrix CloudN neighbor. Type: String.
    cloudnNeighborIp String
    IP Address of Aviatrix CloudN neighbor. Type: String.
    cloudnRemoteIp String
    IP Address of Aviatrix CloudN. Type: String.
    connectionName String
    Name of the Transit Gateway to CloudN Connection. Type: String.
    gwName String
    Name of the Transit Gateway. Type: String.
    vpcId String
    VPC ID of the Aviatrix Transit Gateway. Type: String.
    approvedCidrs List<String>
    Set of approved CIDRs. Requires enable_learned_cidrs_approval to be true. Type: Set(String).
    backupCloudnAsNum String
    BGP AS Number of HA CloudN. Type: String.
    backupCloudnIp String
    IP Address of HA CloudN. Required when enable_ha is true. Type: String.
    backupCloudnNeighborAsNum String
    BGP AS Number of HA CloudN Neighbor. Type: String.
    backupCloudnNeighborIp String
    IP Address of HA CloudN Neighbor. Type: String.
    backupDirectConnect Boolean
    Flag to enable direct connect over private network to HA CloudN. Type: Boolean.
    backupInsaneMode Boolean
    Flag to enable insane mode connection to HA CloudN. Type: Boolean.
    directConnect Boolean
    Enable direct connect over private network. Type: Boolean. Default: true.
    enableHa Boolean
    Enable connection to HA CloudN. Type: Boolean.
    enableLearnedCidrsApproval Boolean
    Enable encrypted transit approval for connection. Type: Boolean.
    enableLoadBalancing Boolean
    Flag to enable load balancing between CloudN and HA CloudN. Type: Boolean.
    insaneMode Boolean
    Enable insane mode connection. Type: Boolean.
    bgpLocalAsNum string
    BGP AS Number of the Transit Gateway. Type: String.
    cloudnAsNum string
    BGP AS Number of the Aviatrix CloudN. Type: String.
    cloudnNeighborAsNum string
    BGP AS Number of the Aviatrix CloudN neighbor. Type: String.
    cloudnNeighborIp string
    IP Address of Aviatrix CloudN neighbor. Type: String.
    cloudnRemoteIp string
    IP Address of Aviatrix CloudN. Type: String.
    connectionName string
    Name of the Transit Gateway to CloudN Connection. Type: String.
    gwName string
    Name of the Transit Gateway. Type: String.
    vpcId string
    VPC ID of the Aviatrix Transit Gateway. Type: String.
    approvedCidrs string[]
    Set of approved CIDRs. Requires enable_learned_cidrs_approval to be true. Type: Set(String).
    backupCloudnAsNum string
    BGP AS Number of HA CloudN. Type: String.
    backupCloudnIp string
    IP Address of HA CloudN. Required when enable_ha is true. Type: String.
    backupCloudnNeighborAsNum string
    BGP AS Number of HA CloudN Neighbor. Type: String.
    backupCloudnNeighborIp string
    IP Address of HA CloudN Neighbor. Type: String.
    backupDirectConnect boolean
    Flag to enable direct connect over private network to HA CloudN. Type: Boolean.
    backupInsaneMode boolean
    Flag to enable insane mode connection to HA CloudN. Type: Boolean.
    directConnect boolean
    Enable direct connect over private network. Type: Boolean. Default: true.
    enableHa boolean
    Enable connection to HA CloudN. Type: Boolean.
    enableLearnedCidrsApproval boolean
    Enable encrypted transit approval for connection. Type: Boolean.
    enableLoadBalancing boolean
    Flag to enable load balancing between CloudN and HA CloudN. Type: Boolean.
    insaneMode boolean
    Enable insane mode connection. Type: Boolean.
    bgp_local_as_num str
    BGP AS Number of the Transit Gateway. Type: String.
    cloudn_as_num str
    BGP AS Number of the Aviatrix CloudN. Type: String.
    cloudn_neighbor_as_num str
    BGP AS Number of the Aviatrix CloudN neighbor. Type: String.
    cloudn_neighbor_ip str
    IP Address of Aviatrix CloudN neighbor. Type: String.
    cloudn_remote_ip str
    IP Address of Aviatrix CloudN. Type: String.
    connection_name str
    Name of the Transit Gateway to CloudN Connection. Type: String.
    gw_name str
    Name of the Transit Gateway. Type: String.
    vpc_id str
    VPC ID of the Aviatrix Transit Gateway. Type: String.
    approved_cidrs Sequence[str]
    Set of approved CIDRs. Requires enable_learned_cidrs_approval to be true. Type: Set(String).
    backup_cloudn_as_num str
    BGP AS Number of HA CloudN. Type: String.
    backup_cloudn_ip str
    IP Address of HA CloudN. Required when enable_ha is true. Type: String.
    backup_cloudn_neighbor_as_num str
    BGP AS Number of HA CloudN Neighbor. Type: String.
    backup_cloudn_neighbor_ip str
    IP Address of HA CloudN Neighbor. Type: String.
    backup_direct_connect bool
    Flag to enable direct connect over private network to HA CloudN. Type: Boolean.
    backup_insane_mode bool
    Flag to enable insane mode connection to HA CloudN. Type: Boolean.
    direct_connect bool
    Enable direct connect over private network. Type: Boolean. Default: true.
    enable_ha bool
    Enable connection to HA CloudN. Type: Boolean.
    enable_learned_cidrs_approval bool
    Enable encrypted transit approval for connection. Type: Boolean.
    enable_load_balancing bool
    Flag to enable load balancing between CloudN and HA CloudN. Type: Boolean.
    insane_mode bool
    Enable insane mode connection. Type: Boolean.
    bgpLocalAsNum String
    BGP AS Number of the Transit Gateway. Type: String.
    cloudnAsNum String
    BGP AS Number of the Aviatrix CloudN. Type: String.
    cloudnNeighborAsNum String
    BGP AS Number of the Aviatrix CloudN neighbor. Type: String.
    cloudnNeighborIp String
    IP Address of Aviatrix CloudN neighbor. Type: String.
    cloudnRemoteIp String
    IP Address of Aviatrix CloudN. Type: String.
    connectionName String
    Name of the Transit Gateway to CloudN Connection. Type: String.
    gwName String
    Name of the Transit Gateway. Type: String.
    vpcId String
    VPC ID of the Aviatrix Transit Gateway. Type: String.
    approvedCidrs List<String>
    Set of approved CIDRs. Requires enable_learned_cidrs_approval to be true. Type: Set(String).
    backupCloudnAsNum String
    BGP AS Number of HA CloudN. Type: String.
    backupCloudnIp String
    IP Address of HA CloudN. Required when enable_ha is true. Type: String.
    backupCloudnNeighborAsNum String
    BGP AS Number of HA CloudN Neighbor. Type: String.
    backupCloudnNeighborIp String
    IP Address of HA CloudN Neighbor. Type: String.
    backupDirectConnect Boolean
    Flag to enable direct connect over private network to HA CloudN. Type: Boolean.
    backupInsaneMode Boolean
    Flag to enable insane mode connection to HA CloudN. Type: Boolean.
    directConnect Boolean
    Enable direct connect over private network. Type: Boolean. Default: true.
    enableHa Boolean
    Enable connection to HA CloudN. Type: Boolean.
    enableLearnedCidrsApproval Boolean
    Enable encrypted transit approval for connection. Type: Boolean.
    enableLoadBalancing Boolean
    Flag to enable load balancing between CloudN and HA CloudN. Type: Boolean.
    insaneMode Boolean
    Enable insane mode connection. Type: Boolean.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AviatrixTransitCloudnConn resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing AviatrixTransitCloudnConn Resource

    Get an existing AviatrixTransitCloudnConn resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AviatrixTransitCloudnConnState, opts?: CustomResourceOptions): AviatrixTransitCloudnConn
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            approved_cidrs: Optional[Sequence[str]] = None,
            backup_cloudn_as_num: Optional[str] = None,
            backup_cloudn_ip: Optional[str] = None,
            backup_cloudn_neighbor_as_num: Optional[str] = None,
            backup_cloudn_neighbor_ip: Optional[str] = None,
            backup_direct_connect: Optional[bool] = None,
            backup_insane_mode: Optional[bool] = None,
            bgp_local_as_num: Optional[str] = None,
            cloudn_as_num: Optional[str] = None,
            cloudn_neighbor_as_num: Optional[str] = None,
            cloudn_neighbor_ip: Optional[str] = None,
            cloudn_remote_ip: Optional[str] = None,
            connection_name: Optional[str] = None,
            direct_connect: Optional[bool] = None,
            enable_ha: Optional[bool] = None,
            enable_learned_cidrs_approval: Optional[bool] = None,
            enable_load_balancing: Optional[bool] = None,
            gw_name: Optional[str] = None,
            insane_mode: Optional[bool] = None,
            vpc_id: Optional[str] = None) -> AviatrixTransitCloudnConn
    func GetAviatrixTransitCloudnConn(ctx *Context, name string, id IDInput, state *AviatrixTransitCloudnConnState, opts ...ResourceOption) (*AviatrixTransitCloudnConn, error)
    public static AviatrixTransitCloudnConn Get(string name, Input<string> id, AviatrixTransitCloudnConnState? state, CustomResourceOptions? opts = null)
    public static AviatrixTransitCloudnConn get(String name, Output<String> id, AviatrixTransitCloudnConnState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ApprovedCidrs List<string>
    Set of approved CIDRs. Requires enable_learned_cidrs_approval to be true. Type: Set(String).
    BackupCloudnAsNum string
    BGP AS Number of HA CloudN. Type: String.
    BackupCloudnIp string
    IP Address of HA CloudN. Required when enable_ha is true. Type: String.
    BackupCloudnNeighborAsNum string
    BGP AS Number of HA CloudN Neighbor. Type: String.
    BackupCloudnNeighborIp string
    IP Address of HA CloudN Neighbor. Type: String.
    BackupDirectConnect bool
    Flag to enable direct connect over private network to HA CloudN. Type: Boolean.
    BackupInsaneMode bool
    Flag to enable insane mode connection to HA CloudN. Type: Boolean.
    BgpLocalAsNum string
    BGP AS Number of the Transit Gateway. Type: String.
    CloudnAsNum string
    BGP AS Number of the Aviatrix CloudN. Type: String.
    CloudnNeighborAsNum string
    BGP AS Number of the Aviatrix CloudN neighbor. Type: String.
    CloudnNeighborIp string
    IP Address of Aviatrix CloudN neighbor. Type: String.
    CloudnRemoteIp string
    IP Address of Aviatrix CloudN. Type: String.
    ConnectionName string
    Name of the Transit Gateway to CloudN Connection. Type: String.
    DirectConnect bool
    Enable direct connect over private network. Type: Boolean. Default: true.
    EnableHa bool
    Enable connection to HA CloudN. Type: Boolean.
    EnableLearnedCidrsApproval bool
    Enable encrypted transit approval for connection. Type: Boolean.
    EnableLoadBalancing bool
    Flag to enable load balancing between CloudN and HA CloudN. Type: Boolean.
    GwName string
    Name of the Transit Gateway. Type: String.
    InsaneMode bool
    Enable insane mode connection. Type: Boolean.
    VpcId string
    VPC ID of the Aviatrix Transit Gateway. Type: String.
    ApprovedCidrs []string
    Set of approved CIDRs. Requires enable_learned_cidrs_approval to be true. Type: Set(String).
    BackupCloudnAsNum string
    BGP AS Number of HA CloudN. Type: String.
    BackupCloudnIp string
    IP Address of HA CloudN. Required when enable_ha is true. Type: String.
    BackupCloudnNeighborAsNum string
    BGP AS Number of HA CloudN Neighbor. Type: String.
    BackupCloudnNeighborIp string
    IP Address of HA CloudN Neighbor. Type: String.
    BackupDirectConnect bool
    Flag to enable direct connect over private network to HA CloudN. Type: Boolean.
    BackupInsaneMode bool
    Flag to enable insane mode connection to HA CloudN. Type: Boolean.
    BgpLocalAsNum string
    BGP AS Number of the Transit Gateway. Type: String.
    CloudnAsNum string
    BGP AS Number of the Aviatrix CloudN. Type: String.
    CloudnNeighborAsNum string
    BGP AS Number of the Aviatrix CloudN neighbor. Type: String.
    CloudnNeighborIp string
    IP Address of Aviatrix CloudN neighbor. Type: String.
    CloudnRemoteIp string
    IP Address of Aviatrix CloudN. Type: String.
    ConnectionName string
    Name of the Transit Gateway to CloudN Connection. Type: String.
    DirectConnect bool
    Enable direct connect over private network. Type: Boolean. Default: true.
    EnableHa bool
    Enable connection to HA CloudN. Type: Boolean.
    EnableLearnedCidrsApproval bool
    Enable encrypted transit approval for connection. Type: Boolean.
    EnableLoadBalancing bool
    Flag to enable load balancing between CloudN and HA CloudN. Type: Boolean.
    GwName string
    Name of the Transit Gateway. Type: String.
    InsaneMode bool
    Enable insane mode connection. Type: Boolean.
    VpcId string
    VPC ID of the Aviatrix Transit Gateway. Type: String.
    approvedCidrs List<String>
    Set of approved CIDRs. Requires enable_learned_cidrs_approval to be true. Type: Set(String).
    backupCloudnAsNum String
    BGP AS Number of HA CloudN. Type: String.
    backupCloudnIp String
    IP Address of HA CloudN. Required when enable_ha is true. Type: String.
    backupCloudnNeighborAsNum String
    BGP AS Number of HA CloudN Neighbor. Type: String.
    backupCloudnNeighborIp String
    IP Address of HA CloudN Neighbor. Type: String.
    backupDirectConnect Boolean
    Flag to enable direct connect over private network to HA CloudN. Type: Boolean.
    backupInsaneMode Boolean
    Flag to enable insane mode connection to HA CloudN. Type: Boolean.
    bgpLocalAsNum String
    BGP AS Number of the Transit Gateway. Type: String.
    cloudnAsNum String
    BGP AS Number of the Aviatrix CloudN. Type: String.
    cloudnNeighborAsNum String
    BGP AS Number of the Aviatrix CloudN neighbor. Type: String.
    cloudnNeighborIp String
    IP Address of Aviatrix CloudN neighbor. Type: String.
    cloudnRemoteIp String
    IP Address of Aviatrix CloudN. Type: String.
    connectionName String
    Name of the Transit Gateway to CloudN Connection. Type: String.
    directConnect Boolean
    Enable direct connect over private network. Type: Boolean. Default: true.
    enableHa Boolean
    Enable connection to HA CloudN. Type: Boolean.
    enableLearnedCidrsApproval Boolean
    Enable encrypted transit approval for connection. Type: Boolean.
    enableLoadBalancing Boolean
    Flag to enable load balancing between CloudN and HA CloudN. Type: Boolean.
    gwName String
    Name of the Transit Gateway. Type: String.
    insaneMode Boolean
    Enable insane mode connection. Type: Boolean.
    vpcId String
    VPC ID of the Aviatrix Transit Gateway. Type: String.
    approvedCidrs string[]
    Set of approved CIDRs. Requires enable_learned_cidrs_approval to be true. Type: Set(String).
    backupCloudnAsNum string
    BGP AS Number of HA CloudN. Type: String.
    backupCloudnIp string
    IP Address of HA CloudN. Required when enable_ha is true. Type: String.
    backupCloudnNeighborAsNum string
    BGP AS Number of HA CloudN Neighbor. Type: String.
    backupCloudnNeighborIp string
    IP Address of HA CloudN Neighbor. Type: String.
    backupDirectConnect boolean
    Flag to enable direct connect over private network to HA CloudN. Type: Boolean.
    backupInsaneMode boolean
    Flag to enable insane mode connection to HA CloudN. Type: Boolean.
    bgpLocalAsNum string
    BGP AS Number of the Transit Gateway. Type: String.
    cloudnAsNum string
    BGP AS Number of the Aviatrix CloudN. Type: String.
    cloudnNeighborAsNum string
    BGP AS Number of the Aviatrix CloudN neighbor. Type: String.
    cloudnNeighborIp string
    IP Address of Aviatrix CloudN neighbor. Type: String.
    cloudnRemoteIp string
    IP Address of Aviatrix CloudN. Type: String.
    connectionName string
    Name of the Transit Gateway to CloudN Connection. Type: String.
    directConnect boolean
    Enable direct connect over private network. Type: Boolean. Default: true.
    enableHa boolean
    Enable connection to HA CloudN. Type: Boolean.
    enableLearnedCidrsApproval boolean
    Enable encrypted transit approval for connection. Type: Boolean.
    enableLoadBalancing boolean
    Flag to enable load balancing between CloudN and HA CloudN. Type: Boolean.
    gwName string
    Name of the Transit Gateway. Type: String.
    insaneMode boolean
    Enable insane mode connection. Type: Boolean.
    vpcId string
    VPC ID of the Aviatrix Transit Gateway. Type: String.
    approved_cidrs Sequence[str]
    Set of approved CIDRs. Requires enable_learned_cidrs_approval to be true. Type: Set(String).
    backup_cloudn_as_num str
    BGP AS Number of HA CloudN. Type: String.
    backup_cloudn_ip str
    IP Address of HA CloudN. Required when enable_ha is true. Type: String.
    backup_cloudn_neighbor_as_num str
    BGP AS Number of HA CloudN Neighbor. Type: String.
    backup_cloudn_neighbor_ip str
    IP Address of HA CloudN Neighbor. Type: String.
    backup_direct_connect bool
    Flag to enable direct connect over private network to HA CloudN. Type: Boolean.
    backup_insane_mode bool
    Flag to enable insane mode connection to HA CloudN. Type: Boolean.
    bgp_local_as_num str
    BGP AS Number of the Transit Gateway. Type: String.
    cloudn_as_num str
    BGP AS Number of the Aviatrix CloudN. Type: String.
    cloudn_neighbor_as_num str
    BGP AS Number of the Aviatrix CloudN neighbor. Type: String.
    cloudn_neighbor_ip str
    IP Address of Aviatrix CloudN neighbor. Type: String.
    cloudn_remote_ip str
    IP Address of Aviatrix CloudN. Type: String.
    connection_name str
    Name of the Transit Gateway to CloudN Connection. Type: String.
    direct_connect bool
    Enable direct connect over private network. Type: Boolean. Default: true.
    enable_ha bool
    Enable connection to HA CloudN. Type: Boolean.
    enable_learned_cidrs_approval bool
    Enable encrypted transit approval for connection. Type: Boolean.
    enable_load_balancing bool
    Flag to enable load balancing between CloudN and HA CloudN. Type: Boolean.
    gw_name str
    Name of the Transit Gateway. Type: String.
    insane_mode bool
    Enable insane mode connection. Type: Boolean.
    vpc_id str
    VPC ID of the Aviatrix Transit Gateway. Type: String.
    approvedCidrs List<String>
    Set of approved CIDRs. Requires enable_learned_cidrs_approval to be true. Type: Set(String).
    backupCloudnAsNum String
    BGP AS Number of HA CloudN. Type: String.
    backupCloudnIp String
    IP Address of HA CloudN. Required when enable_ha is true. Type: String.
    backupCloudnNeighborAsNum String
    BGP AS Number of HA CloudN Neighbor. Type: String.
    backupCloudnNeighborIp String
    IP Address of HA CloudN Neighbor. Type: String.
    backupDirectConnect Boolean
    Flag to enable direct connect over private network to HA CloudN. Type: Boolean.
    backupInsaneMode Boolean
    Flag to enable insane mode connection to HA CloudN. Type: Boolean.
    bgpLocalAsNum String
    BGP AS Number of the Transit Gateway. Type: String.
    cloudnAsNum String
    BGP AS Number of the Aviatrix CloudN. Type: String.
    cloudnNeighborAsNum String
    BGP AS Number of the Aviatrix CloudN neighbor. Type: String.
    cloudnNeighborIp String
    IP Address of Aviatrix CloudN neighbor. Type: String.
    cloudnRemoteIp String
    IP Address of Aviatrix CloudN. Type: String.
    connectionName String
    Name of the Transit Gateway to CloudN Connection. Type: String.
    directConnect Boolean
    Enable direct connect over private network. Type: Boolean. Default: true.
    enableHa Boolean
    Enable connection to HA CloudN. Type: Boolean.
    enableLearnedCidrsApproval Boolean
    Enable encrypted transit approval for connection. Type: Boolean.
    enableLoadBalancing Boolean
    Flag to enable load balancing between CloudN and HA CloudN. Type: Boolean.
    gwName String
    Name of the Transit Gateway. Type: String.
    insaneMode Boolean
    Enable insane mode connection. Type: Boolean.
    vpcId String
    VPC ID of the Aviatrix Transit Gateway. Type: String.

    Import

    transit_cloudn_conn can be imported using the connection_name and vpc_id, e.g.

     $ pulumi import aviatrix:index/aviatrixTransitCloudnConn:AviatrixTransitCloudnConn test connection_name~vpc_id
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    aviatrix astipkovits/pulumi-aviatrix
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aviatrix Terraform Provider.
    aviatrix logo
    Aviatrix v0.0.11 published on Saturday, Jun 17, 2023 by Aviatrix