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

aviatrix.AviatrixVpnUserAccelerator

Explore with Pulumi AI

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

    The aviatrix_vpn_user_accelerator resource manages the Aviatrix VPN User Accelerator.

    Example Usage

    using System.Collections.Generic;
    using Pulumi;
    using Aviatrix = Pulumi.Aviatrix;
    
    return await Deployment.RunAsync(() => 
    {
        // Create an Aviatrix Vpn User Accelerator
        var testVpcAccelerator = new Aviatrix.AviatrixVpnUserAccelerator("testVpcAccelerator", new()
        {
            ElbName = "Aviatrix-vpc-abcd2134",
        });
    
    });
    
    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.NewAviatrixVpnUserAccelerator(ctx, "testVpcAccelerator", &aviatrix.AviatrixVpnUserAcceleratorArgs{
    			ElbName: pulumi.String("Aviatrix-vpc-abcd2134"),
    		})
    		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.AviatrixVpnUserAccelerator;
    import com.pulumi.aviatrix.AviatrixVpnUserAcceleratorArgs;
    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 testVpcAccelerator = new AviatrixVpnUserAccelerator("testVpcAccelerator", AviatrixVpnUserAcceleratorArgs.builder()        
                .elbName("Aviatrix-vpc-abcd2134")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_aviatrix as aviatrix
    
    # Create an Aviatrix Vpn User Accelerator
    test_vpc_accelerator = aviatrix.AviatrixVpnUserAccelerator("testVpcAccelerator", elb_name="Aviatrix-vpc-abcd2134")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aviatrix from "@pulumi/aviatrix";
    
    // Create an Aviatrix Vpn User Accelerator
    const testVpcAccelerator = new aviatrix.AviatrixVpnUserAccelerator("test_vpc_accelerator", {
        elbName: "Aviatrix-vpc-abcd2134",
    });
    
    resources:
      # Create an Aviatrix Vpn User Accelerator
      testVpcAccelerator:
        type: aviatrix:AviatrixVpnUserAccelerator
        properties:
          elbName: Aviatrix-vpc-abcd2134
    

    Create AviatrixVpnUserAccelerator Resource

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

    Constructor syntax

    new AviatrixVpnUserAccelerator(name: string, args: AviatrixVpnUserAcceleratorArgs, opts?: CustomResourceOptions);
    @overload
    def AviatrixVpnUserAccelerator(resource_name: str,
                                   args: AviatrixVpnUserAcceleratorArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def AviatrixVpnUserAccelerator(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   elb_name: Optional[str] = None)
    func NewAviatrixVpnUserAccelerator(ctx *Context, name string, args AviatrixVpnUserAcceleratorArgs, opts ...ResourceOption) (*AviatrixVpnUserAccelerator, error)
    public AviatrixVpnUserAccelerator(string name, AviatrixVpnUserAcceleratorArgs args, CustomResourceOptions? opts = null)
    public AviatrixVpnUserAccelerator(String name, AviatrixVpnUserAcceleratorArgs args)
    public AviatrixVpnUserAccelerator(String name, AviatrixVpnUserAcceleratorArgs args, CustomResourceOptions options)
    
    type: aviatrix:AviatrixVpnUserAccelerator
    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 AviatrixVpnUserAcceleratorArgs
    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 AviatrixVpnUserAcceleratorArgs
    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 AviatrixVpnUserAcceleratorArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AviatrixVpnUserAcceleratorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AviatrixVpnUserAcceleratorArgs
    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 aviatrixVpnUserAcceleratorResource = new Aviatrix.AviatrixVpnUserAccelerator("aviatrixVpnUserAcceleratorResource", new()
    {
        ElbName = "string",
    });
    
    example, err := aviatrix.NewAviatrixVpnUserAccelerator(ctx, "aviatrixVpnUserAcceleratorResource", &aviatrix.AviatrixVpnUserAcceleratorArgs{
    	ElbName: pulumi.String("string"),
    })
    
    var aviatrixVpnUserAcceleratorResource = new AviatrixVpnUserAccelerator("aviatrixVpnUserAcceleratorResource", AviatrixVpnUserAcceleratorArgs.builder()        
        .elbName("string")
        .build());
    
    aviatrix_vpn_user_accelerator_resource = aviatrix.AviatrixVpnUserAccelerator("aviatrixVpnUserAcceleratorResource", elb_name="string")
    
    const aviatrixVpnUserAcceleratorResource = new aviatrix.AviatrixVpnUserAccelerator("aviatrixVpnUserAcceleratorResource", {elbName: "string"});
    
    type: aviatrix:AviatrixVpnUserAccelerator
    properties:
        elbName: string
    

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

    ElbName string
    Name of ELB to be added to VPN User Accelerator. Example: "Aviatrix-vpc-abcd2134".
    ElbName string
    Name of ELB to be added to VPN User Accelerator. Example: "Aviatrix-vpc-abcd2134".
    elbName String
    Name of ELB to be added to VPN User Accelerator. Example: "Aviatrix-vpc-abcd2134".
    elbName string
    Name of ELB to be added to VPN User Accelerator. Example: "Aviatrix-vpc-abcd2134".
    elb_name str
    Name of ELB to be added to VPN User Accelerator. Example: "Aviatrix-vpc-abcd2134".
    elbName String
    Name of ELB to be added to VPN User Accelerator. Example: "Aviatrix-vpc-abcd2134".

    Outputs

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

    Get an existing AviatrixVpnUserAccelerator 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?: AviatrixVpnUserAcceleratorState, opts?: CustomResourceOptions): AviatrixVpnUserAccelerator
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            elb_name: Optional[str] = None) -> AviatrixVpnUserAccelerator
    func GetAviatrixVpnUserAccelerator(ctx *Context, name string, id IDInput, state *AviatrixVpnUserAcceleratorState, opts ...ResourceOption) (*AviatrixVpnUserAccelerator, error)
    public static AviatrixVpnUserAccelerator Get(string name, Input<string> id, AviatrixVpnUserAcceleratorState? state, CustomResourceOptions? opts = null)
    public static AviatrixVpnUserAccelerator get(String name, Output<String> id, AviatrixVpnUserAcceleratorState 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:
    ElbName string
    Name of ELB to be added to VPN User Accelerator. Example: "Aviatrix-vpc-abcd2134".
    ElbName string
    Name of ELB to be added to VPN User Accelerator. Example: "Aviatrix-vpc-abcd2134".
    elbName String
    Name of ELB to be added to VPN User Accelerator. Example: "Aviatrix-vpc-abcd2134".
    elbName string
    Name of ELB to be added to VPN User Accelerator. Example: "Aviatrix-vpc-abcd2134".
    elb_name str
    Name of ELB to be added to VPN User Accelerator. Example: "Aviatrix-vpc-abcd2134".
    elbName String
    Name of ELB to be added to VPN User Accelerator. Example: "Aviatrix-vpc-abcd2134".

    Import

    vpn_user_accelerator can be imported using the elb_name, e.g.

     $ pulumi import aviatrix:index/aviatrixVpnUserAccelerator:AviatrixVpnUserAccelerator test Aviatrix-vpc-abcd1234
    

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

    Package Details

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