aviatrix.AviatrixTransitVpc
Explore with Pulumi AI
The aviatrix.AviatrixTransitVpc resource creates and manages the Aviatrix Transit Network Gateways.
!> WARNING: The aviatrix.AviatrixTransitVpc
resource is deprecated as of Release 2.0. It is currently kept for backward-compatibility and will be removed in the future. Please use the transit gateway resource instead. If this is already in the state, please remove it from state file and import as aviatrix.AviatrixTransitGateway
.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Aviatrix = Pulumi.Aviatrix;
return await Deployment.RunAsync(() =>
{
// Manage Aviatrix Transit Network Gateways in aws
var testTransitGwAws = new Aviatrix.AviatrixTransitVpc("testTransitGwAws", new()
{
AccountName = "devops_aws",
CloudType = 1,
ConnectedTransit = "yes",
EnableHybridConnection = true,
GwName = "transit",
HaGwSize = "t2.micro",
HaSubnet = "10.1.0.0/24",
Subnet = "10.1.0.0/24",
TagLists = new[]
{
"name:value",
"name1:value1",
"name2:value2",
},
VpcId = "vpc-abcd1234",
VpcReg = "us-east-1",
VpcSize = "t2.micro",
});
// Manage Aviatrix Transit Network Gateways in azure
var testTransitGwAzure = new Aviatrix.AviatrixTransitVpc("testTransitGwAzure", new()
{
AccountName = "devops_azure",
CloudType = 8,
ConnectedTransit = "yes",
GwName = "transit",
HaGwSize = "Standard_B1s",
HaSubnet = "10.30.0.0/24",
Subnet = "10.30.0.0/24",
VpcId = "vnet1:hello",
VpcReg = "West US",
VpcSize = "Standard_B1s",
});
});
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.NewAviatrixTransitVpc(ctx, "testTransitGwAws", &aviatrix.AviatrixTransitVpcArgs{
AccountName: pulumi.String("devops_aws"),
CloudType: pulumi.Int(1),
ConnectedTransit: pulumi.String("yes"),
EnableHybridConnection: pulumi.Bool(true),
GwName: pulumi.String("transit"),
HaGwSize: pulumi.String("t2.micro"),
HaSubnet: pulumi.String("10.1.0.0/24"),
Subnet: pulumi.String("10.1.0.0/24"),
TagLists: pulumi.StringArray{
pulumi.String("name:value"),
pulumi.String("name1:value1"),
pulumi.String("name2:value2"),
},
VpcId: pulumi.String("vpc-abcd1234"),
VpcReg: pulumi.String("us-east-1"),
VpcSize: pulumi.String("t2.micro"),
})
if err != nil {
return err
}
_, err = aviatrix.NewAviatrixTransitVpc(ctx, "testTransitGwAzure", &aviatrix.AviatrixTransitVpcArgs{
AccountName: pulumi.String("devops_azure"),
CloudType: pulumi.Int(8),
ConnectedTransit: pulumi.String("yes"),
GwName: pulumi.String("transit"),
HaGwSize: pulumi.String("Standard_B1s"),
HaSubnet: pulumi.String("10.30.0.0/24"),
Subnet: pulumi.String("10.30.0.0/24"),
VpcId: pulumi.String("vnet1:hello"),
VpcReg: pulumi.String("West US"),
VpcSize: pulumi.String("Standard_B1s"),
})
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.AviatrixTransitVpc;
import com.pulumi.aviatrix.AviatrixTransitVpcArgs;
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 testTransitGwAws = new AviatrixTransitVpc("testTransitGwAws", AviatrixTransitVpcArgs.builder()
.accountName("devops_aws")
.cloudType(1)
.connectedTransit("yes")
.enableHybridConnection(true)
.gwName("transit")
.haGwSize("t2.micro")
.haSubnet("10.1.0.0/24")
.subnet("10.1.0.0/24")
.tagLists(
"name:value",
"name1:value1",
"name2:value2")
.vpcId("vpc-abcd1234")
.vpcReg("us-east-1")
.vpcSize("t2.micro")
.build());
var testTransitGwAzure = new AviatrixTransitVpc("testTransitGwAzure", AviatrixTransitVpcArgs.builder()
.accountName("devops_azure")
.cloudType(8)
.connectedTransit("yes")
.gwName("transit")
.haGwSize("Standard_B1s")
.haSubnet("10.30.0.0/24")
.subnet("10.30.0.0/24")
.vpcId("vnet1:hello")
.vpcReg("West US")
.vpcSize("Standard_B1s")
.build());
}
}
import pulumi
import pulumi_aviatrix as aviatrix
# Manage Aviatrix Transit Network Gateways in aws
test_transit_gw_aws = aviatrix.AviatrixTransitVpc("testTransitGwAws",
account_name="devops_aws",
cloud_type=1,
connected_transit="yes",
enable_hybrid_connection=True,
gw_name="transit",
ha_gw_size="t2.micro",
ha_subnet="10.1.0.0/24",
subnet="10.1.0.0/24",
tag_lists=[
"name:value",
"name1:value1",
"name2:value2",
],
vpc_id="vpc-abcd1234",
vpc_reg="us-east-1",
vpc_size="t2.micro")
# Manage Aviatrix Transit Network Gateways in azure
test_transit_gw_azure = aviatrix.AviatrixTransitVpc("testTransitGwAzure",
account_name="devops_azure",
cloud_type=8,
connected_transit="yes",
gw_name="transit",
ha_gw_size="Standard_B1s",
ha_subnet="10.30.0.0/24",
subnet="10.30.0.0/24",
vpc_id="vnet1:hello",
vpc_reg="West US",
vpc_size="Standard_B1s")
import * as pulumi from "@pulumi/pulumi";
import * as aviatrix from "@pulumi/aviatrix";
// Manage Aviatrix Transit Network Gateways in aws
const testTransitGwAws = new aviatrix.AviatrixTransitVpc("test_transit_gw_aws", {
accountName: "devops_aws",
cloudType: 1,
connectedTransit: "yes",
enableHybridConnection: true,
gwName: "transit",
haGwSize: "t2.micro",
haSubnet: "10.1.0.0/24",
subnet: "10.1.0.0/24",
tagLists: [
"name:value",
"name1:value1",
"name2:value2",
],
vpcId: "vpc-abcd1234",
vpcReg: "us-east-1",
vpcSize: "t2.micro",
});
// Manage Aviatrix Transit Network Gateways in azure
const testTransitGwAzure = new aviatrix.AviatrixTransitVpc("test_transit_gw_azure", {
accountName: "devops_azure",
cloudType: 8,
connectedTransit: "yes",
gwName: "transit",
haGwSize: "Standard_B1s",
haSubnet: "10.30.0.0/24",
subnet: "10.30.0.0/24",
vpcId: "vnet1:hello",
vpcReg: "West US",
vpcSize: "Standard_B1s",
});
resources:
# Manage Aviatrix Transit Network Gateways in aws
testTransitGwAws:
type: aviatrix:AviatrixTransitVpc
properties:
accountName: devops_aws
cloudType: 1
connectedTransit: yes
enableHybridConnection: true
gwName: transit
haGwSize: t2.micro
haSubnet: 10.1.0.0/24
subnet: 10.1.0.0/24
tagLists:
- name:value
- name1:value1
- name2:value2
vpcId: vpc-abcd1234
vpcReg: us-east-1
vpcSize: t2.micro
# Manage Aviatrix Transit Network Gateways in azure
testTransitGwAzure:
type: aviatrix:AviatrixTransitVpc
properties:
accountName: devops_azure
cloudType: 8
connectedTransit: yes
gwName: transit
haGwSize: Standard_B1s
haSubnet: 10.30.0.0/24
subnet: 10.30.0.0/24
vpcId: vnet1:hello
vpcReg: West US
vpcSize: Standard_B1s
Create AviatrixTransitVpc Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AviatrixTransitVpc(name: string, args: AviatrixTransitVpcArgs, opts?: CustomResourceOptions);
@overload
def AviatrixTransitVpc(resource_name: str,
args: AviatrixTransitVpcArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AviatrixTransitVpc(resource_name: str,
opts: Optional[ResourceOptions] = None,
subnet: Optional[str] = None,
cloud_type: Optional[int] = None,
vpc_size: Optional[str] = None,
vpc_reg: Optional[str] = None,
account_name: Optional[str] = None,
vpc_id: Optional[str] = None,
gw_name: Optional[str] = None,
enable_hybrid_connection: Optional[bool] = None,
ha_insane_mode_az: Optional[str] = None,
ha_subnet: Optional[str] = None,
insane_mode: Optional[bool] = None,
insane_mode_az: Optional[str] = None,
ha_gw_size: Optional[str] = None,
tag_lists: Optional[Sequence[str]] = None,
enable_nat: Optional[str] = None,
enable_firenet_interfaces: Optional[bool] = None,
connected_transit: Optional[str] = None)
func NewAviatrixTransitVpc(ctx *Context, name string, args AviatrixTransitVpcArgs, opts ...ResourceOption) (*AviatrixTransitVpc, error)
public AviatrixTransitVpc(string name, AviatrixTransitVpcArgs args, CustomResourceOptions? opts = null)
public AviatrixTransitVpc(String name, AviatrixTransitVpcArgs args)
public AviatrixTransitVpc(String name, AviatrixTransitVpcArgs args, CustomResourceOptions options)
type: aviatrix:AviatrixTransitVpc
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 AviatrixTransitVpcArgs
- 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 AviatrixTransitVpcArgs
- 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 AviatrixTransitVpcArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AviatrixTransitVpcArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AviatrixTransitVpcArgs
- 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 aviatrixTransitVpcResource = new Aviatrix.AviatrixTransitVpc("aviatrixTransitVpcResource", new()
{
Subnet = "string",
CloudType = 0,
VpcSize = "string",
VpcReg = "string",
AccountName = "string",
VpcId = "string",
GwName = "string",
EnableHybridConnection = false,
HaInsaneModeAz = "string",
HaSubnet = "string",
InsaneMode = false,
InsaneModeAz = "string",
HaGwSize = "string",
TagLists = new[]
{
"string",
},
EnableNat = "string",
EnableFirenetInterfaces = false,
ConnectedTransit = "string",
});
example, err := aviatrix.NewAviatrixTransitVpc(ctx, "aviatrixTransitVpcResource", &aviatrix.AviatrixTransitVpcArgs{
Subnet: pulumi.String("string"),
CloudType: pulumi.Int(0),
VpcSize: pulumi.String("string"),
VpcReg: pulumi.String("string"),
AccountName: pulumi.String("string"),
VpcId: pulumi.String("string"),
GwName: pulumi.String("string"),
EnableHybridConnection: pulumi.Bool(false),
HaInsaneModeAz: pulumi.String("string"),
HaSubnet: pulumi.String("string"),
InsaneMode: pulumi.Bool(false),
InsaneModeAz: pulumi.String("string"),
HaGwSize: pulumi.String("string"),
TagLists: pulumi.StringArray{
pulumi.String("string"),
},
EnableNat: pulumi.String("string"),
EnableFirenetInterfaces: pulumi.Bool(false),
ConnectedTransit: pulumi.String("string"),
})
var aviatrixTransitVpcResource = new AviatrixTransitVpc("aviatrixTransitVpcResource", AviatrixTransitVpcArgs.builder()
.subnet("string")
.cloudType(0)
.vpcSize("string")
.vpcReg("string")
.accountName("string")
.vpcId("string")
.gwName("string")
.enableHybridConnection(false)
.haInsaneModeAz("string")
.haSubnet("string")
.insaneMode(false)
.insaneModeAz("string")
.haGwSize("string")
.tagLists("string")
.enableNat("string")
.enableFirenetInterfaces(false)
.connectedTransit("string")
.build());
aviatrix_transit_vpc_resource = aviatrix.AviatrixTransitVpc("aviatrixTransitVpcResource",
subnet="string",
cloud_type=0,
vpc_size="string",
vpc_reg="string",
account_name="string",
vpc_id="string",
gw_name="string",
enable_hybrid_connection=False,
ha_insane_mode_az="string",
ha_subnet="string",
insane_mode=False,
insane_mode_az="string",
ha_gw_size="string",
tag_lists=["string"],
enable_nat="string",
enable_firenet_interfaces=False,
connected_transit="string")
const aviatrixTransitVpcResource = new aviatrix.AviatrixTransitVpc("aviatrixTransitVpcResource", {
subnet: "string",
cloudType: 0,
vpcSize: "string",
vpcReg: "string",
accountName: "string",
vpcId: "string",
gwName: "string",
enableHybridConnection: false,
haInsaneModeAz: "string",
haSubnet: "string",
insaneMode: false,
insaneModeAz: "string",
haGwSize: "string",
tagLists: ["string"],
enableNat: "string",
enableFirenetInterfaces: false,
connectedTransit: "string",
});
type: aviatrix:AviatrixTransitVpc
properties:
accountName: string
cloudType: 0
connectedTransit: string
enableFirenetInterfaces: false
enableHybridConnection: false
enableNat: string
gwName: string
haGwSize: string
haInsaneModeAz: string
haSubnet: string
insaneMode: false
insaneModeAz: string
subnet: string
tagLists:
- string
vpcId: string
vpcReg: string
vpcSize: string
AviatrixTransitVpc Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AviatrixTransitVpc resource accepts the following input properties:
- Account
Name string - This parameter represents the name of a Cloud-Account in Aviatrix controller.
- Cloud
Type int - Type of cloud service provider, requires an integer value. Use 1 for AWS.
- Gw
Name string - Name of the gateway which is going to be created.
- Subnet string
- Public Subnet CIDR. Example: AWS: "10.0.0.0/24". Copy/paste from AWS Console to get the right subnet CIDR.
- Vpc
Id string - VPC-ID/VNet-Name of cloud provider. Required if for aws. Example: AWS: "vpc-abcd1234", GCP: "mygooglecloudvpcname", etc...
- Vpc
Reg string - Region of cloud provider. Example: AWS: "us-east-1", ARM: "East US 2", etc...
- Vpc
Size string - Size of the gateway instance. Example: AWS: "t2.large", etc...
- Connected
Transit string - Specify Connected Transit status. Supported values: true, false.
- Enable
Firenet boolInterfaces - Sign of readiness for FireNet connection. Valid values: true and false. Default: false.
- Enable
Hybrid boolConnection - Sign of readiness for TGW connection. Only supported for aws. Example: false.
- Enable
Nat string - Enable NAT for this container.
- Ha
Gw stringSize - HA Gateway Size. Mandatory if HA is enabled (ha_subnet is set). Example: "t2.micro".
- Ha
Insane stringMode Az - AZ of subnet being created for Insane Mode Transit HA Gateway. Required if insane_mode is enabled and ha_subnet is set.
- Ha
Subnet string - HA Subnet CIDR. Example: "10.12.0.0/24".Setting to empty/unset will disable HA. Setting to a valid subnet CIDR will create an HA gateway on the subnet.
- Insane
Mode bool - Specify Insane Mode high performance gateway. Insane Mode gateway size must be at least c5 size. If enabled, will look for spare /26 segment to create a new subnet. Only available for AWS. Supported values: true, false.
- Insane
Mode stringAz - AZ of subnet being created for Insane Mode Transit Gateway. Required if insane_mode is enabled.
- Tag
Lists List<string> - Instance tag of cloud provider. Only supported for aws. Example: ["key1:value1","key002:value002"]
- Account
Name string - This parameter represents the name of a Cloud-Account in Aviatrix controller.
- Cloud
Type int - Type of cloud service provider, requires an integer value. Use 1 for AWS.
- Gw
Name string - Name of the gateway which is going to be created.
- Subnet string
- Public Subnet CIDR. Example: AWS: "10.0.0.0/24". Copy/paste from AWS Console to get the right subnet CIDR.
- Vpc
Id string - VPC-ID/VNet-Name of cloud provider. Required if for aws. Example: AWS: "vpc-abcd1234", GCP: "mygooglecloudvpcname", etc...
- Vpc
Reg string - Region of cloud provider. Example: AWS: "us-east-1", ARM: "East US 2", etc...
- Vpc
Size string - Size of the gateway instance. Example: AWS: "t2.large", etc...
- Connected
Transit string - Specify Connected Transit status. Supported values: true, false.
- Enable
Firenet boolInterfaces - Sign of readiness for FireNet connection. Valid values: true and false. Default: false.
- Enable
Hybrid boolConnection - Sign of readiness for TGW connection. Only supported for aws. Example: false.
- Enable
Nat string - Enable NAT for this container.
- Ha
Gw stringSize - HA Gateway Size. Mandatory if HA is enabled (ha_subnet is set). Example: "t2.micro".
- Ha
Insane stringMode Az - AZ of subnet being created for Insane Mode Transit HA Gateway. Required if insane_mode is enabled and ha_subnet is set.
- Ha
Subnet string - HA Subnet CIDR. Example: "10.12.0.0/24".Setting to empty/unset will disable HA. Setting to a valid subnet CIDR will create an HA gateway on the subnet.
- Insane
Mode bool - Specify Insane Mode high performance gateway. Insane Mode gateway size must be at least c5 size. If enabled, will look for spare /26 segment to create a new subnet. Only available for AWS. Supported values: true, false.
- Insane
Mode stringAz - AZ of subnet being created for Insane Mode Transit Gateway. Required if insane_mode is enabled.
- Tag
Lists []string - Instance tag of cloud provider. Only supported for aws. Example: ["key1:value1","key002:value002"]
- account
Name String - This parameter represents the name of a Cloud-Account in Aviatrix controller.
- cloud
Type Integer - Type of cloud service provider, requires an integer value. Use 1 for AWS.
- gw
Name String - Name of the gateway which is going to be created.
- subnet String
- Public Subnet CIDR. Example: AWS: "10.0.0.0/24". Copy/paste from AWS Console to get the right subnet CIDR.
- vpc
Id String - VPC-ID/VNet-Name of cloud provider. Required if for aws. Example: AWS: "vpc-abcd1234", GCP: "mygooglecloudvpcname", etc...
- vpc
Reg String - Region of cloud provider. Example: AWS: "us-east-1", ARM: "East US 2", etc...
- vpc
Size String - Size of the gateway instance. Example: AWS: "t2.large", etc...
- connected
Transit String - Specify Connected Transit status. Supported values: true, false.
- enable
Firenet BooleanInterfaces - Sign of readiness for FireNet connection. Valid values: true and false. Default: false.
- enable
Hybrid BooleanConnection - Sign of readiness for TGW connection. Only supported for aws. Example: false.
- enable
Nat String - Enable NAT for this container.
- ha
Gw StringSize - HA Gateway Size. Mandatory if HA is enabled (ha_subnet is set). Example: "t2.micro".
- ha
Insane StringMode Az - AZ of subnet being created for Insane Mode Transit HA Gateway. Required if insane_mode is enabled and ha_subnet is set.
- ha
Subnet String - HA Subnet CIDR. Example: "10.12.0.0/24".Setting to empty/unset will disable HA. Setting to a valid subnet CIDR will create an HA gateway on the subnet.
- insane
Mode Boolean - Specify Insane Mode high performance gateway. Insane Mode gateway size must be at least c5 size. If enabled, will look for spare /26 segment to create a new subnet. Only available for AWS. Supported values: true, false.
- insane
Mode StringAz - AZ of subnet being created for Insane Mode Transit Gateway. Required if insane_mode is enabled.
- tag
Lists List<String> - Instance tag of cloud provider. Only supported for aws. Example: ["key1:value1","key002:value002"]
- account
Name string - This parameter represents the name of a Cloud-Account in Aviatrix controller.
- cloud
Type number - Type of cloud service provider, requires an integer value. Use 1 for AWS.
- gw
Name string - Name of the gateway which is going to be created.
- subnet string
- Public Subnet CIDR. Example: AWS: "10.0.0.0/24". Copy/paste from AWS Console to get the right subnet CIDR.
- vpc
Id string - VPC-ID/VNet-Name of cloud provider. Required if for aws. Example: AWS: "vpc-abcd1234", GCP: "mygooglecloudvpcname", etc...
- vpc
Reg string - Region of cloud provider. Example: AWS: "us-east-1", ARM: "East US 2", etc...
- vpc
Size string - Size of the gateway instance. Example: AWS: "t2.large", etc...
- connected
Transit string - Specify Connected Transit status. Supported values: true, false.
- enable
Firenet booleanInterfaces - Sign of readiness for FireNet connection. Valid values: true and false. Default: false.
- enable
Hybrid booleanConnection - Sign of readiness for TGW connection. Only supported for aws. Example: false.
- enable
Nat string - Enable NAT for this container.
- ha
Gw stringSize - HA Gateway Size. Mandatory if HA is enabled (ha_subnet is set). Example: "t2.micro".
- ha
Insane stringMode Az - AZ of subnet being created for Insane Mode Transit HA Gateway. Required if insane_mode is enabled and ha_subnet is set.
- ha
Subnet string - HA Subnet CIDR. Example: "10.12.0.0/24".Setting to empty/unset will disable HA. Setting to a valid subnet CIDR will create an HA gateway on the subnet.
- insane
Mode boolean - Specify Insane Mode high performance gateway. Insane Mode gateway size must be at least c5 size. If enabled, will look for spare /26 segment to create a new subnet. Only available for AWS. Supported values: true, false.
- insane
Mode stringAz - AZ of subnet being created for Insane Mode Transit Gateway. Required if insane_mode is enabled.
- tag
Lists string[] - Instance tag of cloud provider. Only supported for aws. Example: ["key1:value1","key002:value002"]
- account_
name str - This parameter represents the name of a Cloud-Account in Aviatrix controller.
- cloud_
type int - Type of cloud service provider, requires an integer value. Use 1 for AWS.
- gw_
name str - Name of the gateway which is going to be created.
- subnet str
- Public Subnet CIDR. Example: AWS: "10.0.0.0/24". Copy/paste from AWS Console to get the right subnet CIDR.
- vpc_
id str - VPC-ID/VNet-Name of cloud provider. Required if for aws. Example: AWS: "vpc-abcd1234", GCP: "mygooglecloudvpcname", etc...
- vpc_
reg str - Region of cloud provider. Example: AWS: "us-east-1", ARM: "East US 2", etc...
- vpc_
size str - Size of the gateway instance. Example: AWS: "t2.large", etc...
- connected_
transit str - Specify Connected Transit status. Supported values: true, false.
- enable_
firenet_ boolinterfaces - Sign of readiness for FireNet connection. Valid values: true and false. Default: false.
- enable_
hybrid_ boolconnection - Sign of readiness for TGW connection. Only supported for aws. Example: false.
- enable_
nat str - Enable NAT for this container.
- ha_
gw_ strsize - HA Gateway Size. Mandatory if HA is enabled (ha_subnet is set). Example: "t2.micro".
- ha_
insane_ strmode_ az - AZ of subnet being created for Insane Mode Transit HA Gateway. Required if insane_mode is enabled and ha_subnet is set.
- ha_
subnet str - HA Subnet CIDR. Example: "10.12.0.0/24".Setting to empty/unset will disable HA. Setting to a valid subnet CIDR will create an HA gateway on the subnet.
- insane_
mode bool - Specify Insane Mode high performance gateway. Insane Mode gateway size must be at least c5 size. If enabled, will look for spare /26 segment to create a new subnet. Only available for AWS. Supported values: true, false.
- insane_
mode_ straz - AZ of subnet being created for Insane Mode Transit Gateway. Required if insane_mode is enabled.
- tag_
lists Sequence[str] - Instance tag of cloud provider. Only supported for aws. Example: ["key1:value1","key002:value002"]
- account
Name String - This parameter represents the name of a Cloud-Account in Aviatrix controller.
- cloud
Type Number - Type of cloud service provider, requires an integer value. Use 1 for AWS.
- gw
Name String - Name of the gateway which is going to be created.
- subnet String
- Public Subnet CIDR. Example: AWS: "10.0.0.0/24". Copy/paste from AWS Console to get the right subnet CIDR.
- vpc
Id String - VPC-ID/VNet-Name of cloud provider. Required if for aws. Example: AWS: "vpc-abcd1234", GCP: "mygooglecloudvpcname", etc...
- vpc
Reg String - Region of cloud provider. Example: AWS: "us-east-1", ARM: "East US 2", etc...
- vpc
Size String - Size of the gateway instance. Example: AWS: "t2.large", etc...
- connected
Transit String - Specify Connected Transit status. Supported values: true, false.
- enable
Firenet BooleanInterfaces - Sign of readiness for FireNet connection. Valid values: true and false. Default: false.
- enable
Hybrid BooleanConnection - Sign of readiness for TGW connection. Only supported for aws. Example: false.
- enable
Nat String - Enable NAT for this container.
- ha
Gw StringSize - HA Gateway Size. Mandatory if HA is enabled (ha_subnet is set). Example: "t2.micro".
- ha
Insane StringMode Az - AZ of subnet being created for Insane Mode Transit HA Gateway. Required if insane_mode is enabled and ha_subnet is set.
- ha
Subnet String - HA Subnet CIDR. Example: "10.12.0.0/24".Setting to empty/unset will disable HA. Setting to a valid subnet CIDR will create an HA gateway on the subnet.
- insane
Mode Boolean - Specify Insane Mode high performance gateway. Insane Mode gateway size must be at least c5 size. If enabled, will look for spare /26 segment to create a new subnet. Only available for AWS. Supported values: true, false.
- insane
Mode StringAz - AZ of subnet being created for Insane Mode Transit Gateway. Required if insane_mode is enabled.
- tag
Lists List<String> - Instance tag of cloud provider. Only supported for aws. Example: ["key1:value1","key002:value002"]
Outputs
All input properties are implicitly available as output properties. Additionally, the AviatrixTransitVpc 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 AviatrixTransitVpc Resource
Get an existing AviatrixTransitVpc 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?: AviatrixTransitVpcState, opts?: CustomResourceOptions): AviatrixTransitVpc
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_name: Optional[str] = None,
cloud_type: Optional[int] = None,
connected_transit: Optional[str] = None,
enable_firenet_interfaces: Optional[bool] = None,
enable_hybrid_connection: Optional[bool] = None,
enable_nat: Optional[str] = None,
gw_name: Optional[str] = None,
ha_gw_size: Optional[str] = None,
ha_insane_mode_az: Optional[str] = None,
ha_subnet: Optional[str] = None,
insane_mode: Optional[bool] = None,
insane_mode_az: Optional[str] = None,
subnet: Optional[str] = None,
tag_lists: Optional[Sequence[str]] = None,
vpc_id: Optional[str] = None,
vpc_reg: Optional[str] = None,
vpc_size: Optional[str] = None) -> AviatrixTransitVpc
func GetAviatrixTransitVpc(ctx *Context, name string, id IDInput, state *AviatrixTransitVpcState, opts ...ResourceOption) (*AviatrixTransitVpc, error)
public static AviatrixTransitVpc Get(string name, Input<string> id, AviatrixTransitVpcState? state, CustomResourceOptions? opts = null)
public static AviatrixTransitVpc get(String name, Output<String> id, AviatrixTransitVpcState 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.
- Account
Name string - This parameter represents the name of a Cloud-Account in Aviatrix controller.
- Cloud
Type int - Type of cloud service provider, requires an integer value. Use 1 for AWS.
- Connected
Transit string - Specify Connected Transit status. Supported values: true, false.
- Enable
Firenet boolInterfaces - Sign of readiness for FireNet connection. Valid values: true and false. Default: false.
- Enable
Hybrid boolConnection - Sign of readiness for TGW connection. Only supported for aws. Example: false.
- Enable
Nat string - Enable NAT for this container.
- Gw
Name string - Name of the gateway which is going to be created.
- Ha
Gw stringSize - HA Gateway Size. Mandatory if HA is enabled (ha_subnet is set). Example: "t2.micro".
- Ha
Insane stringMode Az - AZ of subnet being created for Insane Mode Transit HA Gateway. Required if insane_mode is enabled and ha_subnet is set.
- Ha
Subnet string - HA Subnet CIDR. Example: "10.12.0.0/24".Setting to empty/unset will disable HA. Setting to a valid subnet CIDR will create an HA gateway on the subnet.
- Insane
Mode bool - Specify Insane Mode high performance gateway. Insane Mode gateway size must be at least c5 size. If enabled, will look for spare /26 segment to create a new subnet. Only available for AWS. Supported values: true, false.
- Insane
Mode stringAz - AZ of subnet being created for Insane Mode Transit Gateway. Required if insane_mode is enabled.
- Subnet string
- Public Subnet CIDR. Example: AWS: "10.0.0.0/24". Copy/paste from AWS Console to get the right subnet CIDR.
- Tag
Lists List<string> - Instance tag of cloud provider. Only supported for aws. Example: ["key1:value1","key002:value002"]
- Vpc
Id string - VPC-ID/VNet-Name of cloud provider. Required if for aws. Example: AWS: "vpc-abcd1234", GCP: "mygooglecloudvpcname", etc...
- Vpc
Reg string - Region of cloud provider. Example: AWS: "us-east-1", ARM: "East US 2", etc...
- Vpc
Size string - Size of the gateway instance. Example: AWS: "t2.large", etc...
- Account
Name string - This parameter represents the name of a Cloud-Account in Aviatrix controller.
- Cloud
Type int - Type of cloud service provider, requires an integer value. Use 1 for AWS.
- Connected
Transit string - Specify Connected Transit status. Supported values: true, false.
- Enable
Firenet boolInterfaces - Sign of readiness for FireNet connection. Valid values: true and false. Default: false.
- Enable
Hybrid boolConnection - Sign of readiness for TGW connection. Only supported for aws. Example: false.
- Enable
Nat string - Enable NAT for this container.
- Gw
Name string - Name of the gateway which is going to be created.
- Ha
Gw stringSize - HA Gateway Size. Mandatory if HA is enabled (ha_subnet is set). Example: "t2.micro".
- Ha
Insane stringMode Az - AZ of subnet being created for Insane Mode Transit HA Gateway. Required if insane_mode is enabled and ha_subnet is set.
- Ha
Subnet string - HA Subnet CIDR. Example: "10.12.0.0/24".Setting to empty/unset will disable HA. Setting to a valid subnet CIDR will create an HA gateway on the subnet.
- Insane
Mode bool - Specify Insane Mode high performance gateway. Insane Mode gateway size must be at least c5 size. If enabled, will look for spare /26 segment to create a new subnet. Only available for AWS. Supported values: true, false.
- Insane
Mode stringAz - AZ of subnet being created for Insane Mode Transit Gateway. Required if insane_mode is enabled.
- Subnet string
- Public Subnet CIDR. Example: AWS: "10.0.0.0/24". Copy/paste from AWS Console to get the right subnet CIDR.
- Tag
Lists []string - Instance tag of cloud provider. Only supported for aws. Example: ["key1:value1","key002:value002"]
- Vpc
Id string - VPC-ID/VNet-Name of cloud provider. Required if for aws. Example: AWS: "vpc-abcd1234", GCP: "mygooglecloudvpcname", etc...
- Vpc
Reg string - Region of cloud provider. Example: AWS: "us-east-1", ARM: "East US 2", etc...
- Vpc
Size string - Size of the gateway instance. Example: AWS: "t2.large", etc...
- account
Name String - This parameter represents the name of a Cloud-Account in Aviatrix controller.
- cloud
Type Integer - Type of cloud service provider, requires an integer value. Use 1 for AWS.
- connected
Transit String - Specify Connected Transit status. Supported values: true, false.
- enable
Firenet BooleanInterfaces - Sign of readiness for FireNet connection. Valid values: true and false. Default: false.
- enable
Hybrid BooleanConnection - Sign of readiness for TGW connection. Only supported for aws. Example: false.
- enable
Nat String - Enable NAT for this container.
- gw
Name String - Name of the gateway which is going to be created.
- ha
Gw StringSize - HA Gateway Size. Mandatory if HA is enabled (ha_subnet is set). Example: "t2.micro".
- ha
Insane StringMode Az - AZ of subnet being created for Insane Mode Transit HA Gateway. Required if insane_mode is enabled and ha_subnet is set.
- ha
Subnet String - HA Subnet CIDR. Example: "10.12.0.0/24".Setting to empty/unset will disable HA. Setting to a valid subnet CIDR will create an HA gateway on the subnet.
- insane
Mode Boolean - Specify Insane Mode high performance gateway. Insane Mode gateway size must be at least c5 size. If enabled, will look for spare /26 segment to create a new subnet. Only available for AWS. Supported values: true, false.
- insane
Mode StringAz - AZ of subnet being created for Insane Mode Transit Gateway. Required if insane_mode is enabled.
- subnet String
- Public Subnet CIDR. Example: AWS: "10.0.0.0/24". Copy/paste from AWS Console to get the right subnet CIDR.
- tag
Lists List<String> - Instance tag of cloud provider. Only supported for aws. Example: ["key1:value1","key002:value002"]
- vpc
Id String - VPC-ID/VNet-Name of cloud provider. Required if for aws. Example: AWS: "vpc-abcd1234", GCP: "mygooglecloudvpcname", etc...
- vpc
Reg String - Region of cloud provider. Example: AWS: "us-east-1", ARM: "East US 2", etc...
- vpc
Size String - Size of the gateway instance. Example: AWS: "t2.large", etc...
- account
Name string - This parameter represents the name of a Cloud-Account in Aviatrix controller.
- cloud
Type number - Type of cloud service provider, requires an integer value. Use 1 for AWS.
- connected
Transit string - Specify Connected Transit status. Supported values: true, false.
- enable
Firenet booleanInterfaces - Sign of readiness for FireNet connection. Valid values: true and false. Default: false.
- enable
Hybrid booleanConnection - Sign of readiness for TGW connection. Only supported for aws. Example: false.
- enable
Nat string - Enable NAT for this container.
- gw
Name string - Name of the gateway which is going to be created.
- ha
Gw stringSize - HA Gateway Size. Mandatory if HA is enabled (ha_subnet is set). Example: "t2.micro".
- ha
Insane stringMode Az - AZ of subnet being created for Insane Mode Transit HA Gateway. Required if insane_mode is enabled and ha_subnet is set.
- ha
Subnet string - HA Subnet CIDR. Example: "10.12.0.0/24".Setting to empty/unset will disable HA. Setting to a valid subnet CIDR will create an HA gateway on the subnet.
- insane
Mode boolean - Specify Insane Mode high performance gateway. Insane Mode gateway size must be at least c5 size. If enabled, will look for spare /26 segment to create a new subnet. Only available for AWS. Supported values: true, false.
- insane
Mode stringAz - AZ of subnet being created for Insane Mode Transit Gateway. Required if insane_mode is enabled.
- subnet string
- Public Subnet CIDR. Example: AWS: "10.0.0.0/24". Copy/paste from AWS Console to get the right subnet CIDR.
- tag
Lists string[] - Instance tag of cloud provider. Only supported for aws. Example: ["key1:value1","key002:value002"]
- vpc
Id string - VPC-ID/VNet-Name of cloud provider. Required if for aws. Example: AWS: "vpc-abcd1234", GCP: "mygooglecloudvpcname", etc...
- vpc
Reg string - Region of cloud provider. Example: AWS: "us-east-1", ARM: "East US 2", etc...
- vpc
Size string - Size of the gateway instance. Example: AWS: "t2.large", etc...
- account_
name str - This parameter represents the name of a Cloud-Account in Aviatrix controller.
- cloud_
type int - Type of cloud service provider, requires an integer value. Use 1 for AWS.
- connected_
transit str - Specify Connected Transit status. Supported values: true, false.
- enable_
firenet_ boolinterfaces - Sign of readiness for FireNet connection. Valid values: true and false. Default: false.
- enable_
hybrid_ boolconnection - Sign of readiness for TGW connection. Only supported for aws. Example: false.
- enable_
nat str - Enable NAT for this container.
- gw_
name str - Name of the gateway which is going to be created.
- ha_
gw_ strsize - HA Gateway Size. Mandatory if HA is enabled (ha_subnet is set). Example: "t2.micro".
- ha_
insane_ strmode_ az - AZ of subnet being created for Insane Mode Transit HA Gateway. Required if insane_mode is enabled and ha_subnet is set.
- ha_
subnet str - HA Subnet CIDR. Example: "10.12.0.0/24".Setting to empty/unset will disable HA. Setting to a valid subnet CIDR will create an HA gateway on the subnet.
- insane_
mode bool - Specify Insane Mode high performance gateway. Insane Mode gateway size must be at least c5 size. If enabled, will look for spare /26 segment to create a new subnet. Only available for AWS. Supported values: true, false.
- insane_
mode_ straz - AZ of subnet being created for Insane Mode Transit Gateway. Required if insane_mode is enabled.
- subnet str
- Public Subnet CIDR. Example: AWS: "10.0.0.0/24". Copy/paste from AWS Console to get the right subnet CIDR.
- tag_
lists Sequence[str] - Instance tag of cloud provider. Only supported for aws. Example: ["key1:value1","key002:value002"]
- vpc_
id str - VPC-ID/VNet-Name of cloud provider. Required if for aws. Example: AWS: "vpc-abcd1234", GCP: "mygooglecloudvpcname", etc...
- vpc_
reg str - Region of cloud provider. Example: AWS: "us-east-1", ARM: "East US 2", etc...
- vpc_
size str - Size of the gateway instance. Example: AWS: "t2.large", etc...
- account
Name String - This parameter represents the name of a Cloud-Account in Aviatrix controller.
- cloud
Type Number - Type of cloud service provider, requires an integer value. Use 1 for AWS.
- connected
Transit String - Specify Connected Transit status. Supported values: true, false.
- enable
Firenet BooleanInterfaces - Sign of readiness for FireNet connection. Valid values: true and false. Default: false.
- enable
Hybrid BooleanConnection - Sign of readiness for TGW connection. Only supported for aws. Example: false.
- enable
Nat String - Enable NAT for this container.
- gw
Name String - Name of the gateway which is going to be created.
- ha
Gw StringSize - HA Gateway Size. Mandatory if HA is enabled (ha_subnet is set). Example: "t2.micro".
- ha
Insane StringMode Az - AZ of subnet being created for Insane Mode Transit HA Gateway. Required if insane_mode is enabled and ha_subnet is set.
- ha
Subnet String - HA Subnet CIDR. Example: "10.12.0.0/24".Setting to empty/unset will disable HA. Setting to a valid subnet CIDR will create an HA gateway on the subnet.
- insane
Mode Boolean - Specify Insane Mode high performance gateway. Insane Mode gateway size must be at least c5 size. If enabled, will look for spare /26 segment to create a new subnet. Only available for AWS. Supported values: true, false.
- insane
Mode StringAz - AZ of subnet being created for Insane Mode Transit Gateway. Required if insane_mode is enabled.
- subnet String
- Public Subnet CIDR. Example: AWS: "10.0.0.0/24". Copy/paste from AWS Console to get the right subnet CIDR.
- tag
Lists List<String> - Instance tag of cloud provider. Only supported for aws. Example: ["key1:value1","key002:value002"]
- vpc
Id String - VPC-ID/VNet-Name of cloud provider. Required if for aws. Example: AWS: "vpc-abcd1234", GCP: "mygooglecloudvpcname", etc...
- vpc
Reg String - Region of cloud provider. Example: AWS: "us-east-1", ARM: "East US 2", etc...
- vpc
Size String - Size of the gateway instance. Example: AWS: "t2.large", etc...
Import
Instance transit_vpc can be imported using the gw_name, e.g.
$ pulumi import aviatrix:index/aviatrixTransitVpc:AviatrixTransitVpc test gw_name
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.