aviatrix logo
Aviatrix v0.0.10, Jan 21 23

aviatrix.AviatrixTransitVpc

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

new AviatrixTransitVpc(name: string, args: AviatrixTransitVpcArgs, opts?: CustomResourceOptions);
@overload
def AviatrixTransitVpc(resource_name: 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)
@overload
def AviatrixTransitVpc(resource_name: str,
                       args: AviatrixTransitVpcArgs,
                       opts: Optional[ResourceOptions] = 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.

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.

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

The AviatrixTransitVpc resource accepts the following input properties:

AccountName string

This parameter represents the name of a Cloud-Account in Aviatrix controller.

CloudType int

Type of cloud service provider, requires an integer value. Use 1 for AWS.

GwName 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.

VpcId string

VPC-ID/VNet-Name of cloud provider. Required if for aws. Example: AWS: "vpc-abcd1234", GCP: "mygooglecloudvpcname", etc...

VpcReg string

Region of cloud provider. Example: AWS: "us-east-1", ARM: "East US 2", etc...

VpcSize string

Size of the gateway instance. Example: AWS: "t2.large", etc...

ConnectedTransit string

Specify Connected Transit status. Supported values: true, false.

EnableFirenetInterfaces bool

Sign of readiness for FireNet connection. Valid values: true and false. Default: false.

EnableHybridConnection bool

Sign of readiness for TGW connection. Only supported for aws. Example: false.

EnableNat string

Enable NAT for this container.

HaGwSize string

HA Gateway Size. Mandatory if HA is enabled (ha_subnet is set). Example: "t2.micro".

HaInsaneModeAz string

AZ of subnet being created for Insane Mode Transit HA Gateway. Required if insane_mode is enabled and ha_subnet is set.

HaSubnet 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.

InsaneMode 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.

InsaneModeAz string

AZ of subnet being created for Insane Mode Transit Gateway. Required if insane_mode is enabled.

TagLists List<string>

Instance tag of cloud provider. Only supported for aws. Example: ["key1:value1","key002:value002"]

AccountName string

This parameter represents the name of a Cloud-Account in Aviatrix controller.

CloudType int

Type of cloud service provider, requires an integer value. Use 1 for AWS.

GwName 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.

VpcId string

VPC-ID/VNet-Name of cloud provider. Required if for aws. Example: AWS: "vpc-abcd1234", GCP: "mygooglecloudvpcname", etc...

VpcReg string

Region of cloud provider. Example: AWS: "us-east-1", ARM: "East US 2", etc...

VpcSize string

Size of the gateway instance. Example: AWS: "t2.large", etc...

ConnectedTransit string

Specify Connected Transit status. Supported values: true, false.

EnableFirenetInterfaces bool

Sign of readiness for FireNet connection. Valid values: true and false. Default: false.

EnableHybridConnection bool

Sign of readiness for TGW connection. Only supported for aws. Example: false.

EnableNat string

Enable NAT for this container.

HaGwSize string

HA Gateway Size. Mandatory if HA is enabled (ha_subnet is set). Example: "t2.micro".

HaInsaneModeAz string

AZ of subnet being created for Insane Mode Transit HA Gateway. Required if insane_mode is enabled and ha_subnet is set.

HaSubnet 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.

InsaneMode 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.

InsaneModeAz string

AZ of subnet being created for Insane Mode Transit Gateway. Required if insane_mode is enabled.

TagLists []string

Instance tag of cloud provider. Only supported for aws. Example: ["key1:value1","key002:value002"]

accountName String

This parameter represents the name of a Cloud-Account in Aviatrix controller.

cloudType Integer

Type of cloud service provider, requires an integer value. Use 1 for AWS.

gwName 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.

vpcId String

VPC-ID/VNet-Name of cloud provider. Required if for aws. Example: AWS: "vpc-abcd1234", GCP: "mygooglecloudvpcname", etc...

vpcReg String

Region of cloud provider. Example: AWS: "us-east-1", ARM: "East US 2", etc...

vpcSize String

Size of the gateway instance. Example: AWS: "t2.large", etc...

connectedTransit String

Specify Connected Transit status. Supported values: true, false.

enableFirenetInterfaces Boolean

Sign of readiness for FireNet connection. Valid values: true and false. Default: false.

enableHybridConnection Boolean

Sign of readiness for TGW connection. Only supported for aws. Example: false.

enableNat String

Enable NAT for this container.

haGwSize String

HA Gateway Size. Mandatory if HA is enabled (ha_subnet is set). Example: "t2.micro".

haInsaneModeAz String

AZ of subnet being created for Insane Mode Transit HA Gateway. Required if insane_mode is enabled and ha_subnet is set.

haSubnet 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.

insaneMode 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.

insaneModeAz String

AZ of subnet being created for Insane Mode Transit Gateway. Required if insane_mode is enabled.

tagLists List<String>

Instance tag of cloud provider. Only supported for aws. Example: ["key1:value1","key002:value002"]

accountName string

This parameter represents the name of a Cloud-Account in Aviatrix controller.

cloudType number

Type of cloud service provider, requires an integer value. Use 1 for AWS.

gwName 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.

vpcId string

VPC-ID/VNet-Name of cloud provider. Required if for aws. Example: AWS: "vpc-abcd1234", GCP: "mygooglecloudvpcname", etc...

vpcReg string

Region of cloud provider. Example: AWS: "us-east-1", ARM: "East US 2", etc...

vpcSize string

Size of the gateway instance. Example: AWS: "t2.large", etc...

connectedTransit string

Specify Connected Transit status. Supported values: true, false.

enableFirenetInterfaces boolean

Sign of readiness for FireNet connection. Valid values: true and false. Default: false.

enableHybridConnection boolean

Sign of readiness for TGW connection. Only supported for aws. Example: false.

enableNat string

Enable NAT for this container.

haGwSize string

HA Gateway Size. Mandatory if HA is enabled (ha_subnet is set). Example: "t2.micro".

haInsaneModeAz string

AZ of subnet being created for Insane Mode Transit HA Gateway. Required if insane_mode is enabled and ha_subnet is set.

haSubnet 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.

insaneMode 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.

insaneModeAz string

AZ of subnet being created for Insane Mode Transit Gateway. Required if insane_mode is enabled.

tagLists 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_interfaces bool

Sign of readiness for FireNet connection. Valid values: true and false. Default: false.

enable_hybrid_connection bool

Sign of readiness for TGW connection. Only supported for aws. Example: false.

enable_nat str

Enable NAT for this container.

ha_gw_size str

HA Gateway Size. Mandatory if HA is enabled (ha_subnet is set). Example: "t2.micro".

ha_insane_mode_az str

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_az str

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"]

accountName String

This parameter represents the name of a Cloud-Account in Aviatrix controller.

cloudType Number

Type of cloud service provider, requires an integer value. Use 1 for AWS.

gwName 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.

vpcId String

VPC-ID/VNet-Name of cloud provider. Required if for aws. Example: AWS: "vpc-abcd1234", GCP: "mygooglecloudvpcname", etc...

vpcReg String

Region of cloud provider. Example: AWS: "us-east-1", ARM: "East US 2", etc...

vpcSize String

Size of the gateway instance. Example: AWS: "t2.large", etc...

connectedTransit String

Specify Connected Transit status. Supported values: true, false.

enableFirenetInterfaces Boolean

Sign of readiness for FireNet connection. Valid values: true and false. Default: false.

enableHybridConnection Boolean

Sign of readiness for TGW connection. Only supported for aws. Example: false.

enableNat String

Enable NAT for this container.

haGwSize String

HA Gateway Size. Mandatory if HA is enabled (ha_subnet is set). Example: "t2.micro".

haInsaneModeAz String

AZ of subnet being created for Insane Mode Transit HA Gateway. Required if insane_mode is enabled and ha_subnet is set.

haSubnet 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.

insaneMode 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.

insaneModeAz String

AZ of subnet being created for Insane Mode Transit Gateway. Required if insane_mode is enabled.

tagLists 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.
The following state arguments are supported:
AccountName string

This parameter represents the name of a Cloud-Account in Aviatrix controller.

CloudType int

Type of cloud service provider, requires an integer value. Use 1 for AWS.

ConnectedTransit string

Specify Connected Transit status. Supported values: true, false.

EnableFirenetInterfaces bool

Sign of readiness for FireNet connection. Valid values: true and false. Default: false.

EnableHybridConnection bool

Sign of readiness for TGW connection. Only supported for aws. Example: false.

EnableNat string

Enable NAT for this container.

GwName string

Name of the gateway which is going to be created.

HaGwSize string

HA Gateway Size. Mandatory if HA is enabled (ha_subnet is set). Example: "t2.micro".

HaInsaneModeAz string

AZ of subnet being created for Insane Mode Transit HA Gateway. Required if insane_mode is enabled and ha_subnet is set.

HaSubnet 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.

InsaneMode 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.

InsaneModeAz string

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.

TagLists List<string>

Instance tag of cloud provider. Only supported for aws. Example: ["key1:value1","key002:value002"]

VpcId string

VPC-ID/VNet-Name of cloud provider. Required if for aws. Example: AWS: "vpc-abcd1234", GCP: "mygooglecloudvpcname", etc...

VpcReg string

Region of cloud provider. Example: AWS: "us-east-1", ARM: "East US 2", etc...

VpcSize string

Size of the gateway instance. Example: AWS: "t2.large", etc...

AccountName string

This parameter represents the name of a Cloud-Account in Aviatrix controller.

CloudType int

Type of cloud service provider, requires an integer value. Use 1 for AWS.

ConnectedTransit string

Specify Connected Transit status. Supported values: true, false.

EnableFirenetInterfaces bool

Sign of readiness for FireNet connection. Valid values: true and false. Default: false.

EnableHybridConnection bool

Sign of readiness for TGW connection. Only supported for aws. Example: false.

EnableNat string

Enable NAT for this container.

GwName string

Name of the gateway which is going to be created.

HaGwSize string

HA Gateway Size. Mandatory if HA is enabled (ha_subnet is set). Example: "t2.micro".

HaInsaneModeAz string

AZ of subnet being created for Insane Mode Transit HA Gateway. Required if insane_mode is enabled and ha_subnet is set.

HaSubnet 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.

InsaneMode 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.

InsaneModeAz string

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.

TagLists []string

Instance tag of cloud provider. Only supported for aws. Example: ["key1:value1","key002:value002"]

VpcId string

VPC-ID/VNet-Name of cloud provider. Required if for aws. Example: AWS: "vpc-abcd1234", GCP: "mygooglecloudvpcname", etc...

VpcReg string

Region of cloud provider. Example: AWS: "us-east-1", ARM: "East US 2", etc...

VpcSize string

Size of the gateway instance. Example: AWS: "t2.large", etc...

accountName String

This parameter represents the name of a Cloud-Account in Aviatrix controller.

cloudType Integer

Type of cloud service provider, requires an integer value. Use 1 for AWS.

connectedTransit String

Specify Connected Transit status. Supported values: true, false.

enableFirenetInterfaces Boolean

Sign of readiness for FireNet connection. Valid values: true and false. Default: false.

enableHybridConnection Boolean

Sign of readiness for TGW connection. Only supported for aws. Example: false.

enableNat String

Enable NAT for this container.

gwName String

Name of the gateway which is going to be created.

haGwSize String

HA Gateway Size. Mandatory if HA is enabled (ha_subnet is set). Example: "t2.micro".

haInsaneModeAz String

AZ of subnet being created for Insane Mode Transit HA Gateway. Required if insane_mode is enabled and ha_subnet is set.

haSubnet 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.

insaneMode 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.

insaneModeAz String

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.

tagLists List<String>

Instance tag of cloud provider. Only supported for aws. Example: ["key1:value1","key002:value002"]

vpcId String

VPC-ID/VNet-Name of cloud provider. Required if for aws. Example: AWS: "vpc-abcd1234", GCP: "mygooglecloudvpcname", etc...

vpcReg String

Region of cloud provider. Example: AWS: "us-east-1", ARM: "East US 2", etc...

vpcSize String

Size of the gateway instance. Example: AWS: "t2.large", etc...

accountName string

This parameter represents the name of a Cloud-Account in Aviatrix controller.

cloudType number

Type of cloud service provider, requires an integer value. Use 1 for AWS.

connectedTransit string

Specify Connected Transit status. Supported values: true, false.

enableFirenetInterfaces boolean

Sign of readiness for FireNet connection. Valid values: true and false. Default: false.

enableHybridConnection boolean

Sign of readiness for TGW connection. Only supported for aws. Example: false.

enableNat string

Enable NAT for this container.

gwName string

Name of the gateway which is going to be created.

haGwSize string

HA Gateway Size. Mandatory if HA is enabled (ha_subnet is set). Example: "t2.micro".

haInsaneModeAz string

AZ of subnet being created for Insane Mode Transit HA Gateway. Required if insane_mode is enabled and ha_subnet is set.

haSubnet 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.

insaneMode 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.

insaneModeAz string

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.

tagLists string[]

Instance tag of cloud provider. Only supported for aws. Example: ["key1:value1","key002:value002"]

vpcId string

VPC-ID/VNet-Name of cloud provider. Required if for aws. Example: AWS: "vpc-abcd1234", GCP: "mygooglecloudvpcname", etc...

vpcReg string

Region of cloud provider. Example: AWS: "us-east-1", ARM: "East US 2", etc...

vpcSize 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_interfaces bool

Sign of readiness for FireNet connection. Valid values: true and false. Default: false.

enable_hybrid_connection bool

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_size str

HA Gateway Size. Mandatory if HA is enabled (ha_subnet is set). Example: "t2.micro".

ha_insane_mode_az str

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_az str

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...

accountName String

This parameter represents the name of a Cloud-Account in Aviatrix controller.

cloudType Number

Type of cloud service provider, requires an integer value. Use 1 for AWS.

connectedTransit String

Specify Connected Transit status. Supported values: true, false.

enableFirenetInterfaces Boolean

Sign of readiness for FireNet connection. Valid values: true and false. Default: false.

enableHybridConnection Boolean

Sign of readiness for TGW connection. Only supported for aws. Example: false.

enableNat String

Enable NAT for this container.

gwName String

Name of the gateway which is going to be created.

haGwSize String

HA Gateway Size. Mandatory if HA is enabled (ha_subnet is set). Example: "t2.micro".

haInsaneModeAz String

AZ of subnet being created for Insane Mode Transit HA Gateway. Required if insane_mode is enabled and ha_subnet is set.

haSubnet 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.

insaneMode 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.

insaneModeAz String

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.

tagLists List<String>

Instance tag of cloud provider. Only supported for aws. Example: ["key1:value1","key002:value002"]

vpcId String

VPC-ID/VNet-Name of cloud provider. Required if for aws. Example: AWS: "vpc-abcd1234", GCP: "mygooglecloudvpcname", etc...

vpcReg String

Region of cloud provider. Example: AWS: "us-east-1", ARM: "East US 2", etc...

vpcSize 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

Package Details

Repository
aviatrix astipkovits/pulumi-aviatrix
License
Apache-2.0
Notes

This Pulumi package is based on the aviatrix Terraform Provider.