aviatrix.AviatrixTransitCloudnConn
Explore with Pulumi AI
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:
- Bgp
Local stringAs Num - BGP AS Number of the Transit Gateway. Type: String.
- Cloudn
As stringNum - BGP AS Number of the Aviatrix CloudN. Type: String.
- Cloudn
Neighbor stringAs Num - BGP AS Number of the Aviatrix CloudN neighbor. Type: String.
- Cloudn
Neighbor stringIp - IP Address of Aviatrix CloudN neighbor. Type: String.
- Cloudn
Remote stringIp - IP Address of Aviatrix CloudN. Type: String.
- Connection
Name string - Name of the Transit Gateway to CloudN Connection. Type: String.
- Gw
Name string - Name of the Transit Gateway. Type: String.
- Vpc
Id string - VPC ID of the Aviatrix Transit Gateway. Type: String.
- Approved
Cidrs List<string> - Set of approved CIDRs. Requires
enable_learned_cidrs_approval
to be true. Type: Set(String). - Backup
Cloudn stringAs Num - BGP AS Number of HA CloudN. Type: String.
- Backup
Cloudn stringIp - IP Address of HA CloudN. Required when
enable_ha
is true. Type: String. - Backup
Cloudn stringNeighbor As Num - BGP AS Number of HA CloudN Neighbor. Type: String.
- Backup
Cloudn stringNeighbor Ip - IP Address of HA CloudN Neighbor. Type: String.
- Backup
Direct boolConnect - Flag to enable direct connect over private network to HA CloudN. Type: Boolean.
- Backup
Insane boolMode - 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 boolCidrs Approval - Enable encrypted transit approval for connection. Type: Boolean.
- Enable
Load boolBalancing - Flag to enable load balancing between CloudN and HA CloudN. Type: Boolean.
- Insane
Mode bool - Enable insane mode connection. Type: Boolean.
- Bgp
Local stringAs Num - BGP AS Number of the Transit Gateway. Type: String.
- Cloudn
As stringNum - BGP AS Number of the Aviatrix CloudN. Type: String.
- Cloudn
Neighbor stringAs Num - BGP AS Number of the Aviatrix CloudN neighbor. Type: String.
- Cloudn
Neighbor stringIp - IP Address of Aviatrix CloudN neighbor. Type: String.
- Cloudn
Remote stringIp - IP Address of Aviatrix CloudN. Type: String.
- Connection
Name string - Name of the Transit Gateway to CloudN Connection. Type: String.
- Gw
Name string - Name of the Transit Gateway. Type: String.
- Vpc
Id string - VPC ID of the Aviatrix Transit Gateway. Type: String.
- Approved
Cidrs []string - Set of approved CIDRs. Requires
enable_learned_cidrs_approval
to be true. Type: Set(String). - Backup
Cloudn stringAs Num - BGP AS Number of HA CloudN. Type: String.
- Backup
Cloudn stringIp - IP Address of HA CloudN. Required when
enable_ha
is true. Type: String. - Backup
Cloudn stringNeighbor As Num - BGP AS Number of HA CloudN Neighbor. Type: String.
- Backup
Cloudn stringNeighbor Ip - IP Address of HA CloudN Neighbor. Type: String.
- Backup
Direct boolConnect - Flag to enable direct connect over private network to HA CloudN. Type: Boolean.
- Backup
Insane boolMode - 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 boolCidrs Approval - Enable encrypted transit approval for connection. Type: Boolean.
- Enable
Load boolBalancing - Flag to enable load balancing between CloudN and HA CloudN. Type: Boolean.
- Insane
Mode bool - Enable insane mode connection. Type: Boolean.
- bgp
Local StringAs Num - BGP AS Number of the Transit Gateway. Type: String.
- cloudn
As StringNum - BGP AS Number of the Aviatrix CloudN. Type: String.
- cloudn
Neighbor StringAs Num - BGP AS Number of the Aviatrix CloudN neighbor. Type: String.
- cloudn
Neighbor StringIp - IP Address of Aviatrix CloudN neighbor. Type: String.
- cloudn
Remote StringIp - IP Address of Aviatrix CloudN. Type: String.
- connection
Name String - Name of the Transit Gateway to CloudN Connection. Type: String.
- gw
Name String - Name of the Transit Gateway. Type: String.
- vpc
Id String - VPC ID of the Aviatrix Transit Gateway. Type: String.
- approved
Cidrs List<String> - Set of approved CIDRs. Requires
enable_learned_cidrs_approval
to be true. Type: Set(String). - backup
Cloudn StringAs Num - BGP AS Number of HA CloudN. Type: String.
- backup
Cloudn StringIp - IP Address of HA CloudN. Required when
enable_ha
is true. Type: String. - backup
Cloudn StringNeighbor As Num - BGP AS Number of HA CloudN Neighbor. Type: String.
- backup
Cloudn StringNeighbor Ip - IP Address of HA CloudN Neighbor. Type: String.
- backup
Direct BooleanConnect - Flag to enable direct connect over private network to HA CloudN. Type: Boolean.
- backup
Insane BooleanMode - Flag to enable insane mode connection to HA CloudN. Type: Boolean.
- direct
Connect Boolean - Enable direct connect over private network. Type: Boolean. Default: true.
- enable
Ha Boolean - Enable connection to HA CloudN. Type: Boolean.
- enable
Learned BooleanCidrs Approval - Enable encrypted transit approval for connection. Type: Boolean.
- enable
Load BooleanBalancing - Flag to enable load balancing between CloudN and HA CloudN. Type: Boolean.
- insane
Mode Boolean - Enable insane mode connection. Type: Boolean.
- bgp
Local stringAs Num - BGP AS Number of the Transit Gateway. Type: String.
- cloudn
As stringNum - BGP AS Number of the Aviatrix CloudN. Type: String.
- cloudn
Neighbor stringAs Num - BGP AS Number of the Aviatrix CloudN neighbor. Type: String.
- cloudn
Neighbor stringIp - IP Address of Aviatrix CloudN neighbor. Type: String.
- cloudn
Remote stringIp - IP Address of Aviatrix CloudN. Type: String.
- connection
Name string - Name of the Transit Gateway to CloudN Connection. Type: String.
- gw
Name string - Name of the Transit Gateway. Type: String.
- vpc
Id string - VPC ID of the Aviatrix Transit Gateway. Type: String.
- approved
Cidrs string[] - Set of approved CIDRs. Requires
enable_learned_cidrs_approval
to be true. Type: Set(String). - backup
Cloudn stringAs Num - BGP AS Number of HA CloudN. Type: String.
- backup
Cloudn stringIp - IP Address of HA CloudN. Required when
enable_ha
is true. Type: String. - backup
Cloudn stringNeighbor As Num - BGP AS Number of HA CloudN Neighbor. Type: String.
- backup
Cloudn stringNeighbor Ip - IP Address of HA CloudN Neighbor. Type: String.
- backup
Direct booleanConnect - Flag to enable direct connect over private network to HA CloudN. Type: Boolean.
- backup
Insane booleanMode - Flag to enable insane mode connection to HA CloudN. Type: Boolean.
- direct
Connect boolean - Enable direct connect over private network. Type: Boolean. Default: true.
- enable
Ha boolean - Enable connection to HA CloudN. Type: Boolean.
- enable
Learned booleanCidrs Approval - Enable encrypted transit approval for connection. Type: Boolean.
- enable
Load booleanBalancing - Flag to enable load balancing between CloudN and HA CloudN. Type: Boolean.
- insane
Mode boolean - Enable insane mode connection. Type: Boolean.
- bgp_
local_ stras_ num - BGP AS Number of the Transit Gateway. Type: String.
- cloudn_
as_ strnum - BGP AS Number of the Aviatrix CloudN. Type: String.
- cloudn_
neighbor_ stras_ num - BGP AS Number of the Aviatrix CloudN neighbor. Type: String.
- cloudn_
neighbor_ strip - IP Address of Aviatrix CloudN neighbor. Type: String.
- cloudn_
remote_ strip - 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_ stras_ num - BGP AS Number of HA CloudN. Type: String.
- backup_
cloudn_ strip - IP Address of HA CloudN. Required when
enable_ha
is true. Type: String. - backup_
cloudn_ strneighbor_ as_ num - BGP AS Number of HA CloudN Neighbor. Type: String.
- backup_
cloudn_ strneighbor_ ip - IP Address of HA CloudN Neighbor. Type: String.
- backup_
direct_ boolconnect - Flag to enable direct connect over private network to HA CloudN. Type: Boolean.
- backup_
insane_ boolmode - 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_ boolcidrs_ approval - Enable encrypted transit approval for connection. Type: Boolean.
- enable_
load_ boolbalancing - Flag to enable load balancing between CloudN and HA CloudN. Type: Boolean.
- insane_
mode bool - Enable insane mode connection. Type: Boolean.
- bgp
Local StringAs Num - BGP AS Number of the Transit Gateway. Type: String.
- cloudn
As StringNum - BGP AS Number of the Aviatrix CloudN. Type: String.
- cloudn
Neighbor StringAs Num - BGP AS Number of the Aviatrix CloudN neighbor. Type: String.
- cloudn
Neighbor StringIp - IP Address of Aviatrix CloudN neighbor. Type: String.
- cloudn
Remote StringIp - IP Address of Aviatrix CloudN. Type: String.
- connection
Name String - Name of the Transit Gateway to CloudN Connection. Type: String.
- gw
Name String - Name of the Transit Gateway. Type: String.
- vpc
Id String - VPC ID of the Aviatrix Transit Gateway. Type: String.
- approved
Cidrs List<String> - Set of approved CIDRs. Requires
enable_learned_cidrs_approval
to be true. Type: Set(String). - backup
Cloudn StringAs Num - BGP AS Number of HA CloudN. Type: String.
- backup
Cloudn StringIp - IP Address of HA CloudN. Required when
enable_ha
is true. Type: String. - backup
Cloudn StringNeighbor As Num - BGP AS Number of HA CloudN Neighbor. Type: String.
- backup
Cloudn StringNeighbor Ip - IP Address of HA CloudN Neighbor. Type: String.
- backup
Direct BooleanConnect - Flag to enable direct connect over private network to HA CloudN. Type: Boolean.
- backup
Insane BooleanMode - Flag to enable insane mode connection to HA CloudN. Type: Boolean.
- direct
Connect Boolean - Enable direct connect over private network. Type: Boolean. Default: true.
- enable
Ha Boolean - Enable connection to HA CloudN. Type: Boolean.
- enable
Learned BooleanCidrs Approval - Enable encrypted transit approval for connection. Type: Boolean.
- enable
Load BooleanBalancing - Flag to enable load balancing between CloudN and HA CloudN. Type: Boolean.
- insane
Mode 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.
- Approved
Cidrs List<string> - Set of approved CIDRs. Requires
enable_learned_cidrs_approval
to be true. Type: Set(String). - Backup
Cloudn stringAs Num - BGP AS Number of HA CloudN. Type: String.
- Backup
Cloudn stringIp - IP Address of HA CloudN. Required when
enable_ha
is true. Type: String. - Backup
Cloudn stringNeighbor As Num - BGP AS Number of HA CloudN Neighbor. Type: String.
- Backup
Cloudn stringNeighbor Ip - IP Address of HA CloudN Neighbor. Type: String.
- Backup
Direct boolConnect - Flag to enable direct connect over private network to HA CloudN. Type: Boolean.
- Backup
Insane boolMode - Flag to enable insane mode connection to HA CloudN. Type: Boolean.
- Bgp
Local stringAs Num - BGP AS Number of the Transit Gateway. Type: String.
- Cloudn
As stringNum - BGP AS Number of the Aviatrix CloudN. Type: String.
- Cloudn
Neighbor stringAs Num - BGP AS Number of the Aviatrix CloudN neighbor. Type: String.
- Cloudn
Neighbor stringIp - IP Address of Aviatrix CloudN neighbor. Type: String.
- Cloudn
Remote stringIp - IP Address of Aviatrix CloudN. Type: String.
- Connection
Name string - 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 boolCidrs Approval - Enable encrypted transit approval for connection. Type: Boolean.
- Enable
Load boolBalancing - Flag to enable load balancing between CloudN and HA CloudN. Type: Boolean.
- Gw
Name string - Name of the Transit Gateway. Type: String.
- Insane
Mode bool - Enable insane mode connection. Type: Boolean.
- Vpc
Id string - VPC ID of the Aviatrix Transit Gateway. Type: String.
- Approved
Cidrs []string - Set of approved CIDRs. Requires
enable_learned_cidrs_approval
to be true. Type: Set(String). - Backup
Cloudn stringAs Num - BGP AS Number of HA CloudN. Type: String.
- Backup
Cloudn stringIp - IP Address of HA CloudN. Required when
enable_ha
is true. Type: String. - Backup
Cloudn stringNeighbor As Num - BGP AS Number of HA CloudN Neighbor. Type: String.
- Backup
Cloudn stringNeighbor Ip - IP Address of HA CloudN Neighbor. Type: String.
- Backup
Direct boolConnect - Flag to enable direct connect over private network to HA CloudN. Type: Boolean.
- Backup
Insane boolMode - Flag to enable insane mode connection to HA CloudN. Type: Boolean.
- Bgp
Local stringAs Num - BGP AS Number of the Transit Gateway. Type: String.
- Cloudn
As stringNum - BGP AS Number of the Aviatrix CloudN. Type: String.
- Cloudn
Neighbor stringAs Num - BGP AS Number of the Aviatrix CloudN neighbor. Type: String.
- Cloudn
Neighbor stringIp - IP Address of Aviatrix CloudN neighbor. Type: String.
- Cloudn
Remote stringIp - IP Address of Aviatrix CloudN. Type: String.
- Connection
Name string - 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 boolCidrs Approval - Enable encrypted transit approval for connection. Type: Boolean.
- Enable
Load boolBalancing - Flag to enable load balancing between CloudN and HA CloudN. Type: Boolean.
- Gw
Name string - Name of the Transit Gateway. Type: String.
- Insane
Mode bool - Enable insane mode connection. Type: Boolean.
- Vpc
Id string - VPC ID of the Aviatrix Transit Gateway. Type: String.
- approved
Cidrs List<String> - Set of approved CIDRs. Requires
enable_learned_cidrs_approval
to be true. Type: Set(String). - backup
Cloudn StringAs Num - BGP AS Number of HA CloudN. Type: String.
- backup
Cloudn StringIp - IP Address of HA CloudN. Required when
enable_ha
is true. Type: String. - backup
Cloudn StringNeighbor As Num - BGP AS Number of HA CloudN Neighbor. Type: String.
- backup
Cloudn StringNeighbor Ip - IP Address of HA CloudN Neighbor. Type: String.
- backup
Direct BooleanConnect - Flag to enable direct connect over private network to HA CloudN. Type: Boolean.
- backup
Insane BooleanMode - Flag to enable insane mode connection to HA CloudN. Type: Boolean.
- bgp
Local StringAs Num - BGP AS Number of the Transit Gateway. Type: String.
- cloudn
As StringNum - BGP AS Number of the Aviatrix CloudN. Type: String.
- cloudn
Neighbor StringAs Num - BGP AS Number of the Aviatrix CloudN neighbor. Type: String.
- cloudn
Neighbor StringIp - IP Address of Aviatrix CloudN neighbor. Type: String.
- cloudn
Remote StringIp - IP Address of Aviatrix CloudN. Type: String.
- connection
Name String - Name of the Transit Gateway to CloudN Connection. Type: String.
- direct
Connect Boolean - Enable direct connect over private network. Type: Boolean. Default: true.
- enable
Ha Boolean - Enable connection to HA CloudN. Type: Boolean.
- enable
Learned BooleanCidrs Approval - Enable encrypted transit approval for connection. Type: Boolean.
- enable
Load BooleanBalancing - Flag to enable load balancing between CloudN and HA CloudN. Type: Boolean.
- gw
Name String - Name of the Transit Gateway. Type: String.
- insane
Mode Boolean - Enable insane mode connection. Type: Boolean.
- vpc
Id String - VPC ID of the Aviatrix Transit Gateway. Type: String.
- approved
Cidrs string[] - Set of approved CIDRs. Requires
enable_learned_cidrs_approval
to be true. Type: Set(String). - backup
Cloudn stringAs Num - BGP AS Number of HA CloudN. Type: String.
- backup
Cloudn stringIp - IP Address of HA CloudN. Required when
enable_ha
is true. Type: String. - backup
Cloudn stringNeighbor As Num - BGP AS Number of HA CloudN Neighbor. Type: String.
- backup
Cloudn stringNeighbor Ip - IP Address of HA CloudN Neighbor. Type: String.
- backup
Direct booleanConnect - Flag to enable direct connect over private network to HA CloudN. Type: Boolean.
- backup
Insane booleanMode - Flag to enable insane mode connection to HA CloudN. Type: Boolean.
- bgp
Local stringAs Num - BGP AS Number of the Transit Gateway. Type: String.
- cloudn
As stringNum - BGP AS Number of the Aviatrix CloudN. Type: String.
- cloudn
Neighbor stringAs Num - BGP AS Number of the Aviatrix CloudN neighbor. Type: String.
- cloudn
Neighbor stringIp - IP Address of Aviatrix CloudN neighbor. Type: String.
- cloudn
Remote stringIp - IP Address of Aviatrix CloudN. Type: String.
- connection
Name string - Name of the Transit Gateway to CloudN Connection. Type: String.
- direct
Connect boolean - Enable direct connect over private network. Type: Boolean. Default: true.
- enable
Ha boolean - Enable connection to HA CloudN. Type: Boolean.
- enable
Learned booleanCidrs Approval - Enable encrypted transit approval for connection. Type: Boolean.
- enable
Load booleanBalancing - Flag to enable load balancing between CloudN and HA CloudN. Type: Boolean.
- gw
Name string - Name of the Transit Gateway. Type: String.
- insane
Mode boolean - Enable insane mode connection. Type: Boolean.
- vpc
Id 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_ stras_ num - BGP AS Number of HA CloudN. Type: String.
- backup_
cloudn_ strip - IP Address of HA CloudN. Required when
enable_ha
is true. Type: String. - backup_
cloudn_ strneighbor_ as_ num - BGP AS Number of HA CloudN Neighbor. Type: String.
- backup_
cloudn_ strneighbor_ ip - IP Address of HA CloudN Neighbor. Type: String.
- backup_
direct_ boolconnect - Flag to enable direct connect over private network to HA CloudN. Type: Boolean.
- backup_
insane_ boolmode - Flag to enable insane mode connection to HA CloudN. Type: Boolean.
- bgp_
local_ stras_ num - BGP AS Number of the Transit Gateway. Type: String.
- cloudn_
as_ strnum - BGP AS Number of the Aviatrix CloudN. Type: String.
- cloudn_
neighbor_ stras_ num - BGP AS Number of the Aviatrix CloudN neighbor. Type: String.
- cloudn_
neighbor_ strip - IP Address of Aviatrix CloudN neighbor. Type: String.
- cloudn_
remote_ strip - 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_ boolcidrs_ approval - Enable encrypted transit approval for connection. Type: Boolean.
- enable_
load_ boolbalancing - 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.
- approved
Cidrs List<String> - Set of approved CIDRs. Requires
enable_learned_cidrs_approval
to be true. Type: Set(String). - backup
Cloudn StringAs Num - BGP AS Number of HA CloudN. Type: String.
- backup
Cloudn StringIp - IP Address of HA CloudN. Required when
enable_ha
is true. Type: String. - backup
Cloudn StringNeighbor As Num - BGP AS Number of HA CloudN Neighbor. Type: String.
- backup
Cloudn StringNeighbor Ip - IP Address of HA CloudN Neighbor. Type: String.
- backup
Direct BooleanConnect - Flag to enable direct connect over private network to HA CloudN. Type: Boolean.
- backup
Insane BooleanMode - Flag to enable insane mode connection to HA CloudN. Type: Boolean.
- bgp
Local StringAs Num - BGP AS Number of the Transit Gateway. Type: String.
- cloudn
As StringNum - BGP AS Number of the Aviatrix CloudN. Type: String.
- cloudn
Neighbor StringAs Num - BGP AS Number of the Aviatrix CloudN neighbor. Type: String.
- cloudn
Neighbor StringIp - IP Address of Aviatrix CloudN neighbor. Type: String.
- cloudn
Remote StringIp - IP Address of Aviatrix CloudN. Type: String.
- connection
Name String - Name of the Transit Gateway to CloudN Connection. Type: String.
- direct
Connect Boolean - Enable direct connect over private network. Type: Boolean. Default: true.
- enable
Ha Boolean - Enable connection to HA CloudN. Type: Boolean.
- enable
Learned BooleanCidrs Approval - Enable encrypted transit approval for connection. Type: Boolean.
- enable
Load BooleanBalancing - Flag to enable load balancing between CloudN and HA CloudN. Type: Boolean.
- gw
Name String - Name of the Transit Gateway. Type: String.
- insane
Mode Boolean - Enable insane mode connection. Type: Boolean.
- vpc
Id 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.