1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. EnterpriseVpnCustomerGatewayV5
opentelekomcloud 1.36.35 published on Monday, Apr 14, 2025 by opentelekomcloud

opentelekomcloud.EnterpriseVpnCustomerGatewayV5

Explore with Pulumi AI

Create EnterpriseVpnCustomerGatewayV5 Resource

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

Constructor syntax

new EnterpriseVpnCustomerGatewayV5(name: string, args?: EnterpriseVpnCustomerGatewayV5Args, opts?: CustomResourceOptions);
@overload
def EnterpriseVpnCustomerGatewayV5(resource_name: str,
                                   args: Optional[EnterpriseVpnCustomerGatewayV5Args] = None,
                                   opts: Optional[ResourceOptions] = None)

@overload
def EnterpriseVpnCustomerGatewayV5(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   asn: Optional[float] = None,
                                   enterprise_vpn_customer_gateway_v5_id: Optional[str] = None,
                                   id_type: Optional[str] = None,
                                   id_value: Optional[str] = None,
                                   name: Optional[str] = None,
                                   tags: Optional[Mapping[str, str]] = None)
func NewEnterpriseVpnCustomerGatewayV5(ctx *Context, name string, args *EnterpriseVpnCustomerGatewayV5Args, opts ...ResourceOption) (*EnterpriseVpnCustomerGatewayV5, error)
public EnterpriseVpnCustomerGatewayV5(string name, EnterpriseVpnCustomerGatewayV5Args? args = null, CustomResourceOptions? opts = null)
public EnterpriseVpnCustomerGatewayV5(String name, EnterpriseVpnCustomerGatewayV5Args args)
public EnterpriseVpnCustomerGatewayV5(String name, EnterpriseVpnCustomerGatewayV5Args args, CustomResourceOptions options)
type: opentelekomcloud:EnterpriseVpnCustomerGatewayV5
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args EnterpriseVpnCustomerGatewayV5Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args EnterpriseVpnCustomerGatewayV5Args
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args EnterpriseVpnCustomerGatewayV5Args
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args EnterpriseVpnCustomerGatewayV5Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. EnterpriseVpnCustomerGatewayV5Args
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 enterpriseVpnCustomerGatewayV5Resource = new Opentelekomcloud.EnterpriseVpnCustomerGatewayV5("enterpriseVpnCustomerGatewayV5Resource", new()
{
    Asn = 0,
    EnterpriseVpnCustomerGatewayV5Id = "string",
    IdType = "string",
    IdValue = "string",
    Name = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := opentelekomcloud.NewEnterpriseVpnCustomerGatewayV5(ctx, "enterpriseVpnCustomerGatewayV5Resource", &opentelekomcloud.EnterpriseVpnCustomerGatewayV5Args{
Asn: pulumi.Float64(0),
EnterpriseVpnCustomerGatewayV5Id: pulumi.String("string"),
IdType: pulumi.String("string"),
IdValue: pulumi.String("string"),
Name: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
Copy
var enterpriseVpnCustomerGatewayV5Resource = new EnterpriseVpnCustomerGatewayV5("enterpriseVpnCustomerGatewayV5Resource", EnterpriseVpnCustomerGatewayV5Args.builder()
    .asn(0)
    .enterpriseVpnCustomerGatewayV5Id("string")
    .idType("string")
    .idValue("string")
    .name("string")
    .tags(Map.of("string", "string"))
    .build());
Copy
enterprise_vpn_customer_gateway_v5_resource = opentelekomcloud.EnterpriseVpnCustomerGatewayV5("enterpriseVpnCustomerGatewayV5Resource",
    asn=0,
    enterprise_vpn_customer_gateway_v5_id="string",
    id_type="string",
    id_value="string",
    name="string",
    tags={
        "string": "string",
    })
Copy
const enterpriseVpnCustomerGatewayV5Resource = new opentelekomcloud.EnterpriseVpnCustomerGatewayV5("enterpriseVpnCustomerGatewayV5Resource", {
    asn: 0,
    enterpriseVpnCustomerGatewayV5Id: "string",
    idType: "string",
    idValue: "string",
    name: "string",
    tags: {
        string: "string",
    },
});
Copy
type: opentelekomcloud:EnterpriseVpnCustomerGatewayV5
properties:
    asn: 0
    enterpriseVpnCustomerGatewayV5Id: string
    idType: string
    idValue: string
    name: string
    tags:
        string: string
Copy

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

Asn double
EnterpriseVpnCustomerGatewayV5Id string
IdType string
IdValue string
Name string
Tags Dictionary<string, string>
Asn float64
EnterpriseVpnCustomerGatewayV5Id string
IdType string
IdValue string
Name string
Tags map[string]string
asn Double
enterpriseVpnCustomerGatewayV5Id String
idType String
idValue String
name String
tags Map<String,String>
asn number
enterpriseVpnCustomerGatewayV5Id string
idType string
idValue string
name string
tags {[key: string]: string}
asn Number
enterpriseVpnCustomerGatewayV5Id String
idType String
idValue String
name String
tags Map<String>

Outputs

All input properties are implicitly available as output properties. Additionally, the EnterpriseVpnCustomerGatewayV5 resource produces the following output properties:

CreatedAt string
Id string
The provider-assigned unique ID for this managed resource.
Ip string
Region string
RouteMode string
UpdatedAt string
CreatedAt string
Id string
The provider-assigned unique ID for this managed resource.
Ip string
Region string
RouteMode string
UpdatedAt string
createdAt String
id String
The provider-assigned unique ID for this managed resource.
ip String
region String
routeMode String
updatedAt String
createdAt string
id string
The provider-assigned unique ID for this managed resource.
ip string
region string
routeMode string
updatedAt string
created_at str
id str
The provider-assigned unique ID for this managed resource.
ip str
region str
route_mode str
updated_at str
createdAt String
id String
The provider-assigned unique ID for this managed resource.
ip String
region String
routeMode String
updatedAt String

Look up Existing EnterpriseVpnCustomerGatewayV5 Resource

Get an existing EnterpriseVpnCustomerGatewayV5 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?: EnterpriseVpnCustomerGatewayV5State, opts?: CustomResourceOptions): EnterpriseVpnCustomerGatewayV5
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        asn: Optional[float] = None,
        created_at: Optional[str] = None,
        enterprise_vpn_customer_gateway_v5_id: Optional[str] = None,
        id_type: Optional[str] = None,
        id_value: Optional[str] = None,
        ip: Optional[str] = None,
        name: Optional[str] = None,
        region: Optional[str] = None,
        route_mode: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        updated_at: Optional[str] = None) -> EnterpriseVpnCustomerGatewayV5
func GetEnterpriseVpnCustomerGatewayV5(ctx *Context, name string, id IDInput, state *EnterpriseVpnCustomerGatewayV5State, opts ...ResourceOption) (*EnterpriseVpnCustomerGatewayV5, error)
public static EnterpriseVpnCustomerGatewayV5 Get(string name, Input<string> id, EnterpriseVpnCustomerGatewayV5State? state, CustomResourceOptions? opts = null)
public static EnterpriseVpnCustomerGatewayV5 get(String name, Output<String> id, EnterpriseVpnCustomerGatewayV5State state, CustomResourceOptions options)
resources:  _:    type: opentelekomcloud:EnterpriseVpnCustomerGatewayV5    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Asn double
CreatedAt string
EnterpriseVpnCustomerGatewayV5Id string
IdType string
IdValue string
Ip string
Name string
Region string
RouteMode string
Tags Dictionary<string, string>
UpdatedAt string
Asn float64
CreatedAt string
EnterpriseVpnCustomerGatewayV5Id string
IdType string
IdValue string
Ip string
Name string
Region string
RouteMode string
Tags map[string]string
UpdatedAt string
asn Double
createdAt String
enterpriseVpnCustomerGatewayV5Id String
idType String
idValue String
ip String
name String
region String
routeMode String
tags Map<String,String>
updatedAt String
asn number
createdAt string
enterpriseVpnCustomerGatewayV5Id string
idType string
idValue string
ip string
name string
region string
routeMode string
tags {[key: string]: string}
updatedAt string
asn Number
createdAt String
enterpriseVpnCustomerGatewayV5Id String
idType String
idValue String
ip String
name String
region String
routeMode String
tags Map<String>
updatedAt String

Package Details

Repository
opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
License
Notes
This Pulumi package is based on the opentelekomcloud Terraform Provider.