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 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 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 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 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 String
- The unique name of the resource.
- args 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" },
},
});
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"),
},
})
var enterpriseVpnCustomerGatewayV5Resource = new EnterpriseVpnCustomerGatewayV5("enterpriseVpnCustomerGatewayV5Resource", EnterpriseVpnCustomerGatewayV5Args.builder()
.asn(0)
.enterpriseVpnCustomerGatewayV5Id("string")
.idType("string")
.idValue("string")
.name("string")
.tags(Map.of("string", "string"))
.build());
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",
})
const enterpriseVpnCustomerGatewayV5Resource = new opentelekomcloud.EnterpriseVpnCustomerGatewayV5("enterpriseVpnCustomerGatewayV5Resource", {
asn: 0,
enterpriseVpnCustomerGatewayV5Id: "string",
idType: "string",
idValue: "string",
name: "string",
tags: {
string: "string",
},
});
type: opentelekomcloud:EnterpriseVpnCustomerGatewayV5
properties:
asn: 0
enterpriseVpnCustomerGatewayV5Id: string
idType: string
idValue: string
name: string
tags:
string: string
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
- Enterprise
Vpn stringCustomer Gateway V5Id - Id
Type string - Id
Value string - Name string
- Dictionary<string, string>
- Asn float64
- Enterprise
Vpn stringCustomer Gateway V5Id - Id
Type string - Id
Value string - Name string
- map[string]string
- asn Double
- enterprise
Vpn StringCustomer Gateway V5Id - id
Type String - id
Value String - name String
- Map<String,String>
- asn number
- enterprise
Vpn stringCustomer Gateway V5Id - id
Type string - id
Value string - name string
- {[key: string]: string}
- asn float
- enterprise_
vpn_ strcustomer_ gateway_ v5_ id - id_
type str - id_
value str - name str
- Mapping[str, str]
- asn Number
- enterprise
Vpn StringCustomer Gateway V5Id - id
Type String - id
Value String - name String
- Map<String>
Outputs
All input properties are implicitly available as output properties. Additionally, the EnterpriseVpnCustomerGatewayV5 resource produces the following output properties:
- created_
at str - id str
- The provider-assigned unique ID for this managed resource.
- ip str
- region str
- route_
mode str - updated_
at str
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
- 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.
- asn float
- created_
at str - enterprise_
vpn_ strcustomer_ gateway_ v5_ id - id_
type str - id_
value str - ip str
- name str
- region str
- route_
mode str - Mapping[str, str]
- updated_
at str
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.