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

aviatrix.AviatrixFqdnPassThrough

Explore with Pulumi AI

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

    Import

    fqdn_pass_through can be imported using the gw_name, e.g.

     $ pulumi import aviatrix:index/aviatrixFqdnPassThrough:AviatrixFqdnPassThrough test gw_name
    

    Example Usage

    using System.Collections.Generic;
    using Pulumi;
    using Aviatrix = Pulumi.Aviatrix;
    
    return await Deployment.RunAsync(() => 
    {
        // Create an Aviatrix Gateway FQDN filter pass-through
        var testFqdnPassThrough = new Aviatrix.AviatrixFqdnPassThrough("testFqdnPassThrough", new()
        {
            GwName = aviatrix_gateway.Test_gw_aws.Gw_name,
            PassThroughCidrs = new[]
            {
                "10.0.0.0/24",
                "10.0.1.0/24",
                "10.0.2.0/24",
            },
        }, new CustomResourceOptions
        {
            DependsOn = new[]
            {
                aviatrix_fqdn.Test_fqdn,
            },
        });
    
    });
    
    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.NewAviatrixFqdnPassThrough(ctx, "testFqdnPassThrough", &aviatrix.AviatrixFqdnPassThroughArgs{
    			GwName: pulumi.Any(aviatrix_gateway.Test_gw_aws.Gw_name),
    			PassThroughCidrs: pulumi.StringArray{
    				pulumi.String("10.0.0.0/24"),
    				pulumi.String("10.0.1.0/24"),
    				pulumi.String("10.0.2.0/24"),
    			},
    		}, pulumi.DependsOn([]pulumi.Resource{
    			aviatrix_fqdn.Test_fqdn,
    		}))
    		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.AviatrixFqdnPassThrough;
    import com.pulumi.aviatrix.AviatrixFqdnPassThroughArgs;
    import com.pulumi.resources.CustomResourceOptions;
    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 testFqdnPassThrough = new AviatrixFqdnPassThrough("testFqdnPassThrough", AviatrixFqdnPassThroughArgs.builder()        
                .gwName(aviatrix_gateway.test_gw_aws().gw_name())
                .passThroughCidrs(            
                    "10.0.0.0/24",
                    "10.0.1.0/24",
                    "10.0.2.0/24")
                .build(), CustomResourceOptions.builder()
                    .dependsOn(aviatrix_fqdn.test_fqdn())
                    .build());
    
        }
    }
    
    import pulumi
    import pulumi_aviatrix as aviatrix
    
    # Create an Aviatrix Gateway FQDN filter pass-through
    test_fqdn_pass_through = aviatrix.AviatrixFqdnPassThrough("testFqdnPassThrough",
        gw_name=aviatrix_gateway["test_gw_aws"]["gw_name"],
        pass_through_cidrs=[
            "10.0.0.0/24",
            "10.0.1.0/24",
            "10.0.2.0/24",
        ],
        opts=pulumi.ResourceOptions(depends_on=[aviatrix_fqdn["test_fqdn"]]))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aviatrix from "@astipkovits/aviatrix";
    
    // Create an Aviatrix Gateway FQDN filter pass-through
    const testFqdnPassThrough = new aviatrix.AviatrixFqdnPassThrough("testFqdnPassThrough", {
        gwName: aviatrix_gateway.test_gw_aws.gw_name,
        passThroughCidrs: [
            "10.0.0.0/24",
            "10.0.1.0/24",
            "10.0.2.0/24",
        ],
    }, {
        dependsOn: [aviatrix_fqdn.test_fqdn],
    });
    
    resources:
      # Create an Aviatrix Gateway FQDN filter pass-through
      testFqdnPassThrough:
        type: aviatrix:AviatrixFqdnPassThrough
        properties:
          gwName: ${aviatrix_gateway.test_gw_aws.gw_name}
          passThroughCidrs:
            - 10.0.0.0/24
            - 10.0.1.0/24
            - 10.0.2.0/24
        options:
          dependson:
            - ${aviatrix_fqdn.test_fqdn}
    

    Create AviatrixFqdnPassThrough Resource

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

    Constructor syntax

    new AviatrixFqdnPassThrough(name: string, args: AviatrixFqdnPassThroughArgs, opts?: CustomResourceOptions);
    @overload
    def AviatrixFqdnPassThrough(resource_name: str,
                                args: AviatrixFqdnPassThroughArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def AviatrixFqdnPassThrough(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                gw_name: Optional[str] = None,
                                pass_through_cidrs: Optional[Sequence[str]] = None)
    func NewAviatrixFqdnPassThrough(ctx *Context, name string, args AviatrixFqdnPassThroughArgs, opts ...ResourceOption) (*AviatrixFqdnPassThrough, error)
    public AviatrixFqdnPassThrough(string name, AviatrixFqdnPassThroughArgs args, CustomResourceOptions? opts = null)
    public AviatrixFqdnPassThrough(String name, AviatrixFqdnPassThroughArgs args)
    public AviatrixFqdnPassThrough(String name, AviatrixFqdnPassThroughArgs args, CustomResourceOptions options)
    
    type: aviatrix:AviatrixFqdnPassThrough
    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 AviatrixFqdnPassThroughArgs
    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 AviatrixFqdnPassThroughArgs
    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 AviatrixFqdnPassThroughArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AviatrixFqdnPassThroughArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AviatrixFqdnPassThroughArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

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

    var aviatrixFqdnPassThroughResource = new Aviatrix.AviatrixFqdnPassThrough("aviatrixFqdnPassThroughResource", new()
    {
        GwName = "string",
        PassThroughCidrs = new[]
        {
            "string",
        },
    });
    
    example, err := aviatrix.NewAviatrixFqdnPassThrough(ctx, "aviatrixFqdnPassThroughResource", &aviatrix.AviatrixFqdnPassThroughArgs{
    	GwName: pulumi.String("string"),
    	PassThroughCidrs: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var aviatrixFqdnPassThroughResource = new AviatrixFqdnPassThrough("aviatrixFqdnPassThroughResource", AviatrixFqdnPassThroughArgs.builder()        
        .gwName("string")
        .passThroughCidrs("string")
        .build());
    
    aviatrix_fqdn_pass_through_resource = aviatrix.AviatrixFqdnPassThrough("aviatrixFqdnPassThroughResource",
        gw_name="string",
        pass_through_cidrs=["string"])
    
    const aviatrixFqdnPassThroughResource = new aviatrix.AviatrixFqdnPassThrough("aviatrixFqdnPassThroughResource", {
        gwName: "string",
        passThroughCidrs: ["string"],
    });
    
    type: aviatrix:AviatrixFqdnPassThrough
    properties:
        gwName: string
        passThroughCidrs:
            - string
    

    AviatrixFqdnPassThrough 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 AviatrixFqdnPassThrough resource accepts the following input properties:

    GwName string
    Gateway name to apply pass-through rules to.
    PassThroughCidrs List<string>
    List of origin CIDR's to allow to pass-through FQDN filtering rules. Minimum list length: 1.
    GwName string
    Gateway name to apply pass-through rules to.
    PassThroughCidrs []string
    List of origin CIDR's to allow to pass-through FQDN filtering rules. Minimum list length: 1.
    gwName String
    Gateway name to apply pass-through rules to.
    passThroughCidrs List<String>
    List of origin CIDR's to allow to pass-through FQDN filtering rules. Minimum list length: 1.
    gwName string
    Gateway name to apply pass-through rules to.
    passThroughCidrs string[]
    List of origin CIDR's to allow to pass-through FQDN filtering rules. Minimum list length: 1.
    gw_name str
    Gateway name to apply pass-through rules to.
    pass_through_cidrs Sequence[str]
    List of origin CIDR's to allow to pass-through FQDN filtering rules. Minimum list length: 1.
    gwName String
    Gateway name to apply pass-through rules to.
    passThroughCidrs List<String>
    List of origin CIDR's to allow to pass-through FQDN filtering rules. Minimum list length: 1.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AviatrixFqdnPassThrough 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 AviatrixFqdnPassThrough Resource

    Get an existing AviatrixFqdnPassThrough 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?: AviatrixFqdnPassThroughState, opts?: CustomResourceOptions): AviatrixFqdnPassThrough
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            gw_name: Optional[str] = None,
            pass_through_cidrs: Optional[Sequence[str]] = None) -> AviatrixFqdnPassThrough
    func GetAviatrixFqdnPassThrough(ctx *Context, name string, id IDInput, state *AviatrixFqdnPassThroughState, opts ...ResourceOption) (*AviatrixFqdnPassThrough, error)
    public static AviatrixFqdnPassThrough Get(string name, Input<string> id, AviatrixFqdnPassThroughState? state, CustomResourceOptions? opts = null)
    public static AviatrixFqdnPassThrough get(String name, Output<String> id, AviatrixFqdnPassThroughState 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:
    GwName string
    Gateway name to apply pass-through rules to.
    PassThroughCidrs List<string>
    List of origin CIDR's to allow to pass-through FQDN filtering rules. Minimum list length: 1.
    GwName string
    Gateway name to apply pass-through rules to.
    PassThroughCidrs []string
    List of origin CIDR's to allow to pass-through FQDN filtering rules. Minimum list length: 1.
    gwName String
    Gateway name to apply pass-through rules to.
    passThroughCidrs List<String>
    List of origin CIDR's to allow to pass-through FQDN filtering rules. Minimum list length: 1.
    gwName string
    Gateway name to apply pass-through rules to.
    passThroughCidrs string[]
    List of origin CIDR's to allow to pass-through FQDN filtering rules. Minimum list length: 1.
    gw_name str
    Gateway name to apply pass-through rules to.
    pass_through_cidrs Sequence[str]
    List of origin CIDR's to allow to pass-through FQDN filtering rules. Minimum list length: 1.
    gwName String
    Gateway name to apply pass-through rules to.
    passThroughCidrs List<String>
    List of origin CIDR's to allow to pass-through FQDN filtering rules. Minimum list length: 1.

    Package Details

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