aviatrix.AviatrixPrivateModeMulticloudEndpoint
Explore with Pulumi AI
The aviatrix_private_mode_multicloud_endpoint resource allows management of a Private Mode multicloud endpoint. This resource is available as of provider version R2.23+.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Aviatrix = Pulumi.Aviatrix;
return await Deployment.RunAsync(() =>
{
// Create an Aviatrix Controller Private Mode config
var test = new Aviatrix.AviatrixPrivateModeMulticloudEndpoint("test", new()
{
AccountName = "devops",
ControllerLbVpcId = "vpc-abcdefg",
Region = "us-east-1",
VpcId = "vpc-abcdef",
});
});
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.NewAviatrixPrivateModeMulticloudEndpoint(ctx, "test", &aviatrix.AviatrixPrivateModeMulticloudEndpointArgs{
AccountName: pulumi.String("devops"),
ControllerLbVpcId: pulumi.String("vpc-abcdefg"),
Region: pulumi.String("us-east-1"),
VpcId: pulumi.String("vpc-abcdef"),
})
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.AviatrixPrivateModeMulticloudEndpoint;
import com.pulumi.aviatrix.AviatrixPrivateModeMulticloudEndpointArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var test = new AviatrixPrivateModeMulticloudEndpoint("test", AviatrixPrivateModeMulticloudEndpointArgs.builder()
.accountName("devops")
.controllerLbVpcId("vpc-abcdefg")
.region("us-east-1")
.vpcId("vpc-abcdef")
.build());
}
}
import pulumi
import pulumi_aviatrix as aviatrix
# Create an Aviatrix Controller Private Mode config
test = aviatrix.AviatrixPrivateModeMulticloudEndpoint("test",
account_name="devops",
controller_lb_vpc_id="vpc-abcdefg",
region="us-east-1",
vpc_id="vpc-abcdef")
import * as pulumi from "@pulumi/pulumi";
import * as aviatrix from "@pulumi/aviatrix";
// Create an Aviatrix Controller Private Mode config
const test = new aviatrix.AviatrixPrivateModeMulticloudEndpoint("test", {
accountName: "devops",
controllerLbVpcId: "vpc-abcdefg",
region: "us-east-1",
vpcId: "vpc-abcdef",
});
resources:
# Create an Aviatrix Controller Private Mode config
test:
type: aviatrix:AviatrixPrivateModeMulticloudEndpoint
properties:
accountName: devops
controllerLbVpcId: vpc-abcdefg
region: us-east-1
vpcId: vpc-abcdef
Create AviatrixPrivateModeMulticloudEndpoint Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AviatrixPrivateModeMulticloudEndpoint(name: string, args: AviatrixPrivateModeMulticloudEndpointArgs, opts?: CustomResourceOptions);
@overload
def AviatrixPrivateModeMulticloudEndpoint(resource_name: str,
args: AviatrixPrivateModeMulticloudEndpointArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AviatrixPrivateModeMulticloudEndpoint(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_name: Optional[str] = None,
controller_lb_vpc_id: Optional[str] = None,
region: Optional[str] = None,
vpc_id: Optional[str] = None)
func NewAviatrixPrivateModeMulticloudEndpoint(ctx *Context, name string, args AviatrixPrivateModeMulticloudEndpointArgs, opts ...ResourceOption) (*AviatrixPrivateModeMulticloudEndpoint, error)
public AviatrixPrivateModeMulticloudEndpoint(string name, AviatrixPrivateModeMulticloudEndpointArgs args, CustomResourceOptions? opts = null)
public AviatrixPrivateModeMulticloudEndpoint(String name, AviatrixPrivateModeMulticloudEndpointArgs args)
public AviatrixPrivateModeMulticloudEndpoint(String name, AviatrixPrivateModeMulticloudEndpointArgs args, CustomResourceOptions options)
type: aviatrix:AviatrixPrivateModeMulticloudEndpoint
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 AviatrixPrivateModeMulticloudEndpointArgs
- 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 AviatrixPrivateModeMulticloudEndpointArgs
- 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 AviatrixPrivateModeMulticloudEndpointArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AviatrixPrivateModeMulticloudEndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AviatrixPrivateModeMulticloudEndpointArgs
- 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 aviatrixPrivateModeMulticloudEndpointResource = new Aviatrix.AviatrixPrivateModeMulticloudEndpoint("aviatrixPrivateModeMulticloudEndpointResource", new()
{
AccountName = "string",
ControllerLbVpcId = "string",
Region = "string",
VpcId = "string",
});
example, err := aviatrix.NewAviatrixPrivateModeMulticloudEndpoint(ctx, "aviatrixPrivateModeMulticloudEndpointResource", &aviatrix.AviatrixPrivateModeMulticloudEndpointArgs{
AccountName: pulumi.String("string"),
ControllerLbVpcId: pulumi.String("string"),
Region: pulumi.String("string"),
VpcId: pulumi.String("string"),
})
var aviatrixPrivateModeMulticloudEndpointResource = new AviatrixPrivateModeMulticloudEndpoint("aviatrixPrivateModeMulticloudEndpointResource", AviatrixPrivateModeMulticloudEndpointArgs.builder()
.accountName("string")
.controllerLbVpcId("string")
.region("string")
.vpcId("string")
.build());
aviatrix_private_mode_multicloud_endpoint_resource = aviatrix.AviatrixPrivateModeMulticloudEndpoint("aviatrixPrivateModeMulticloudEndpointResource",
account_name="string",
controller_lb_vpc_id="string",
region="string",
vpc_id="string")
const aviatrixPrivateModeMulticloudEndpointResource = new aviatrix.AviatrixPrivateModeMulticloudEndpoint("aviatrixPrivateModeMulticloudEndpointResource", {
accountName: "string",
controllerLbVpcId: "string",
region: "string",
vpcId: "string",
});
type: aviatrix:AviatrixPrivateModeMulticloudEndpoint
properties:
accountName: string
controllerLbVpcId: string
region: string
vpcId: string
AviatrixPrivateModeMulticloudEndpoint 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 AviatrixPrivateModeMulticloudEndpoint resource accepts the following input properties:
- Account
Name string - Name of the access account.
- Controller
Lb stringVpc Id - ID of the VPC containing a Private Mode controller load balancer.
- Region string
- Region of the VPC.
- Vpc
Id string - ID of the VPC to create the endpoint in.
- Account
Name string - Name of the access account.
- Controller
Lb stringVpc Id - ID of the VPC containing a Private Mode controller load balancer.
- Region string
- Region of the VPC.
- Vpc
Id string - ID of the VPC to create the endpoint in.
- account
Name String - Name of the access account.
- controller
Lb StringVpc Id - ID of the VPC containing a Private Mode controller load balancer.
- region String
- Region of the VPC.
- vpc
Id String - ID of the VPC to create the endpoint in.
- account
Name string - Name of the access account.
- controller
Lb stringVpc Id - ID of the VPC containing a Private Mode controller load balancer.
- region string
- Region of the VPC.
- vpc
Id string - ID of the VPC to create the endpoint in.
- account_
name str - Name of the access account.
- controller_
lb_ strvpc_ id - ID of the VPC containing a Private Mode controller load balancer.
- region str
- Region of the VPC.
- vpc_
id str - ID of the VPC to create the endpoint in.
- account
Name String - Name of the access account.
- controller
Lb StringVpc Id - ID of the VPC containing a Private Mode controller load balancer.
- region String
- Region of the VPC.
- vpc
Id String - ID of the VPC to create the endpoint in.
Outputs
All input properties are implicitly available as output properties. Additionally, the AviatrixPrivateModeMulticloudEndpoint resource produces the following output properties:
Look up Existing AviatrixPrivateModeMulticloudEndpoint Resource
Get an existing AviatrixPrivateModeMulticloudEndpoint 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?: AviatrixPrivateModeMulticloudEndpointState, opts?: CustomResourceOptions): AviatrixPrivateModeMulticloudEndpoint
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_name: Optional[str] = None,
controller_lb_vpc_id: Optional[str] = None,
dns_entry: Optional[str] = None,
region: Optional[str] = None,
vpc_id: Optional[str] = None) -> AviatrixPrivateModeMulticloudEndpoint
func GetAviatrixPrivateModeMulticloudEndpoint(ctx *Context, name string, id IDInput, state *AviatrixPrivateModeMulticloudEndpointState, opts ...ResourceOption) (*AviatrixPrivateModeMulticloudEndpoint, error)
public static AviatrixPrivateModeMulticloudEndpoint Get(string name, Input<string> id, AviatrixPrivateModeMulticloudEndpointState? state, CustomResourceOptions? opts = null)
public static AviatrixPrivateModeMulticloudEndpoint get(String name, Output<String> id, AviatrixPrivateModeMulticloudEndpointState 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 - Name of the access account.
- Controller
Lb stringVpc Id - ID of the VPC containing a Private Mode controller load balancer.
- Dns
Entry string - DNS entry of the endpoint.
- Region string
- Region of the VPC.
- Vpc
Id string - ID of the VPC to create the endpoint in.
- Account
Name string - Name of the access account.
- Controller
Lb stringVpc Id - ID of the VPC containing a Private Mode controller load balancer.
- Dns
Entry string - DNS entry of the endpoint.
- Region string
- Region of the VPC.
- Vpc
Id string - ID of the VPC to create the endpoint in.
- account
Name String - Name of the access account.
- controller
Lb StringVpc Id - ID of the VPC containing a Private Mode controller load balancer.
- dns
Entry String - DNS entry of the endpoint.
- region String
- Region of the VPC.
- vpc
Id String - ID of the VPC to create the endpoint in.
- account
Name string - Name of the access account.
- controller
Lb stringVpc Id - ID of the VPC containing a Private Mode controller load balancer.
- dns
Entry string - DNS entry of the endpoint.
- region string
- Region of the VPC.
- vpc
Id string - ID of the VPC to create the endpoint in.
- account_
name str - Name of the access account.
- controller_
lb_ strvpc_ id - ID of the VPC containing a Private Mode controller load balancer.
- dns_
entry str - DNS entry of the endpoint.
- region str
- Region of the VPC.
- vpc_
id str - ID of the VPC to create the endpoint in.
- account
Name String - Name of the access account.
- controller
Lb StringVpc Id - ID of the VPC containing a Private Mode controller load balancer.
- dns
Entry String - DNS entry of the endpoint.
- region String
- Region of the VPC.
- vpc
Id String - ID of the VPC to create the endpoint in.
Import
aviatrix_private_mode_multicloud_endpoint can be imported using the vpc_id
, e.g.
$ pulumi import aviatrix:index/aviatrixPrivateModeMulticloudEndpoint:AviatrixPrivateModeMulticloudEndpoint test vpc-1234567
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.