opentelekomcloud.VpcEipV1
Explore with Pulumi AI
Up-to-date reference of API arguments for VPC eip you can get at documentation portal
Manages a V1 EIP resource within OpenTelekomCloud VPC.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const eip1 = new opentelekomcloud.VpcEipV1("eip1", {
bandwidth: {
chargeMode: "traffic",
name: "test",
shareType: "PER",
size: 8,
},
publicip: {
type: "5_bgp",
},
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
eip1 = opentelekomcloud.VpcEipV1("eip1",
bandwidth={
"charge_mode": "traffic",
"name": "test",
"share_type": "PER",
"size": 8,
},
publicip={
"type": "5_bgp",
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := opentelekomcloud.NewVpcEipV1(ctx, "eip1", &opentelekomcloud.VpcEipV1Args{
Bandwidth: &opentelekomcloud.VpcEipV1BandwidthArgs{
ChargeMode: pulumi.String("traffic"),
Name: pulumi.String("test"),
ShareType: pulumi.String("PER"),
Size: pulumi.Float64(8),
},
Publicip: &opentelekomcloud.VpcEipV1PublicipArgs{
Type: pulumi.String("5_bgp"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var eip1 = new Opentelekomcloud.VpcEipV1("eip1", new()
{
Bandwidth = new Opentelekomcloud.Inputs.VpcEipV1BandwidthArgs
{
ChargeMode = "traffic",
Name = "test",
ShareType = "PER",
Size = 8,
},
Publicip = new Opentelekomcloud.Inputs.VpcEipV1PublicipArgs
{
Type = "5_bgp",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.VpcEipV1;
import com.pulumi.opentelekomcloud.VpcEipV1Args;
import com.pulumi.opentelekomcloud.inputs.VpcEipV1BandwidthArgs;
import com.pulumi.opentelekomcloud.inputs.VpcEipV1PublicipArgs;
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 eip1 = new VpcEipV1("eip1", VpcEipV1Args.builder()
.bandwidth(VpcEipV1BandwidthArgs.builder()
.chargeMode("traffic")
.name("test")
.shareType("PER")
.size(8)
.build())
.publicip(VpcEipV1PublicipArgs.builder()
.type("5_bgp")
.build())
.build());
}
}
resources:
eip1:
type: opentelekomcloud:VpcEipV1
properties:
bandwidth:
chargeMode: traffic
name: test
shareType: PER
size: 8
publicip:
type: 5_bgp
EIP with name
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const eip1 = new opentelekomcloud.VpcEipV1("eip1", {
bandwidth: {
chargeMode: "traffic",
name: "test",
shareType: "PER",
size: 8,
},
publicip: {
name: "my_eip",
type: "5_bgp",
},
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
eip1 = opentelekomcloud.VpcEipV1("eip1",
bandwidth={
"charge_mode": "traffic",
"name": "test",
"share_type": "PER",
"size": 8,
},
publicip={
"name": "my_eip",
"type": "5_bgp",
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := opentelekomcloud.NewVpcEipV1(ctx, "eip1", &opentelekomcloud.VpcEipV1Args{
Bandwidth: &opentelekomcloud.VpcEipV1BandwidthArgs{
ChargeMode: pulumi.String("traffic"),
Name: pulumi.String("test"),
ShareType: pulumi.String("PER"),
Size: pulumi.Float64(8),
},
Publicip: &opentelekomcloud.VpcEipV1PublicipArgs{
Name: pulumi.String("my_eip"),
Type: pulumi.String("5_bgp"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var eip1 = new Opentelekomcloud.VpcEipV1("eip1", new()
{
Bandwidth = new Opentelekomcloud.Inputs.VpcEipV1BandwidthArgs
{
ChargeMode = "traffic",
Name = "test",
ShareType = "PER",
Size = 8,
},
Publicip = new Opentelekomcloud.Inputs.VpcEipV1PublicipArgs
{
Name = "my_eip",
Type = "5_bgp",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.VpcEipV1;
import com.pulumi.opentelekomcloud.VpcEipV1Args;
import com.pulumi.opentelekomcloud.inputs.VpcEipV1BandwidthArgs;
import com.pulumi.opentelekomcloud.inputs.VpcEipV1PublicipArgs;
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 eip1 = new VpcEipV1("eip1", VpcEipV1Args.builder()
.bandwidth(VpcEipV1BandwidthArgs.builder()
.chargeMode("traffic")
.name("test")
.shareType("PER")
.size(8)
.build())
.publicip(VpcEipV1PublicipArgs.builder()
.name("my_eip")
.type("5_bgp")
.build())
.build());
}
}
resources:
eip1:
type: opentelekomcloud:VpcEipV1
properties:
bandwidth:
chargeMode: traffic
name: test
shareType: PER
size: 8
publicip:
name: my_eip
type: 5_bgp
Create VpcEipV1 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VpcEipV1(name: string, args: VpcEipV1Args, opts?: CustomResourceOptions);
@overload
def VpcEipV1(resource_name: str,
args: VpcEipV1Args,
opts: Optional[ResourceOptions] = None)
@overload
def VpcEipV1(resource_name: str,
opts: Optional[ResourceOptions] = None,
bandwidth: Optional[VpcEipV1BandwidthArgs] = None,
publicip: Optional[VpcEipV1PublicipArgs] = None,
region: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[VpcEipV1TimeoutsArgs] = None,
unbind_port: Optional[bool] = None,
value_specs: Optional[Mapping[str, str]] = None,
vpc_eip_v1_id: Optional[str] = None)
func NewVpcEipV1(ctx *Context, name string, args VpcEipV1Args, opts ...ResourceOption) (*VpcEipV1, error)
public VpcEipV1(string name, VpcEipV1Args args, CustomResourceOptions? opts = null)
public VpcEipV1(String name, VpcEipV1Args args)
public VpcEipV1(String name, VpcEipV1Args args, CustomResourceOptions options)
type: opentelekomcloud:VpcEipV1
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 VpcEipV1Args
- 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 VpcEipV1Args
- 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 VpcEipV1Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VpcEipV1Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VpcEipV1Args
- 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 vpcEipV1Resource = new Opentelekomcloud.VpcEipV1("vpcEipV1Resource", new()
{
Bandwidth = new Opentelekomcloud.Inputs.VpcEipV1BandwidthArgs
{
Name = "string",
ShareType = "string",
Size = 0,
ChargeMode = "string",
},
Publicip = new Opentelekomcloud.Inputs.VpcEipV1PublicipArgs
{
Type = "string",
IpAddress = "string",
Name = "string",
PortId = "string",
},
Region = "string",
Tags =
{
{ "string", "string" },
},
Timeouts = new Opentelekomcloud.Inputs.VpcEipV1TimeoutsArgs
{
Create = "string",
Delete = "string",
},
UnbindPort = false,
ValueSpecs =
{
{ "string", "string" },
},
VpcEipV1Id = "string",
});
example, err := opentelekomcloud.NewVpcEipV1(ctx, "vpcEipV1Resource", &opentelekomcloud.VpcEipV1Args{
Bandwidth: &opentelekomcloud.VpcEipV1BandwidthArgs{
Name: pulumi.String("string"),
ShareType: pulumi.String("string"),
Size: pulumi.Float64(0),
ChargeMode: pulumi.String("string"),
},
Publicip: &opentelekomcloud.VpcEipV1PublicipArgs{
Type: pulumi.String("string"),
IpAddress: pulumi.String("string"),
Name: pulumi.String("string"),
PortId: pulumi.String("string"),
},
Region: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &opentelekomcloud.VpcEipV1TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
UnbindPort: pulumi.Bool(false),
ValueSpecs: pulumi.StringMap{
"string": pulumi.String("string"),
},
VpcEipV1Id: pulumi.String("string"),
})
var vpcEipV1Resource = new VpcEipV1("vpcEipV1Resource", VpcEipV1Args.builder()
.bandwidth(VpcEipV1BandwidthArgs.builder()
.name("string")
.shareType("string")
.size(0)
.chargeMode("string")
.build())
.publicip(VpcEipV1PublicipArgs.builder()
.type("string")
.ipAddress("string")
.name("string")
.portId("string")
.build())
.region("string")
.tags(Map.of("string", "string"))
.timeouts(VpcEipV1TimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.unbindPort(false)
.valueSpecs(Map.of("string", "string"))
.vpcEipV1Id("string")
.build());
vpc_eip_v1_resource = opentelekomcloud.VpcEipV1("vpcEipV1Resource",
bandwidth={
"name": "string",
"share_type": "string",
"size": 0,
"charge_mode": "string",
},
publicip={
"type": "string",
"ip_address": "string",
"name": "string",
"port_id": "string",
},
region="string",
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
},
unbind_port=False,
value_specs={
"string": "string",
},
vpc_eip_v1_id="string")
const vpcEipV1Resource = new opentelekomcloud.VpcEipV1("vpcEipV1Resource", {
bandwidth: {
name: "string",
shareType: "string",
size: 0,
chargeMode: "string",
},
publicip: {
type: "string",
ipAddress: "string",
name: "string",
portId: "string",
},
region: "string",
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
},
unbindPort: false,
valueSpecs: {
string: "string",
},
vpcEipV1Id: "string",
});
type: opentelekomcloud:VpcEipV1
properties:
bandwidth:
chargeMode: string
name: string
shareType: string
size: 0
publicip:
ipAddress: string
name: string
portId: string
type: string
region: string
tags:
string: string
timeouts:
create: string
delete: string
unbindPort: false
valueSpecs:
string: string
vpcEipV1Id: string
VpcEipV1 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 VpcEipV1 resource accepts the following input properties:
- Bandwidth
Vpc
Eip V1Bandwidth - The bandwidth object.
- Publicip
Vpc
Eip V1Publicip - The elastic IP address object.
- Region string
- The region in which to obtain the V1 Networking client.
If omitted, the
region
argument of the provider is used. Changing this creates a new service. - Dictionary<string, string>
- See Argument Reference above.
- Timeouts
Vpc
Eip V1Timeouts - Unbind
Port bool - Value
Specs Dictionary<string, string> - Vpc
Eip stringV1Id - The VPC EIP id.
- Bandwidth
Vpc
Eip V1Bandwidth Args - The bandwidth object.
- Publicip
Vpc
Eip V1Publicip Args - The elastic IP address object.
- Region string
- The region in which to obtain the V1 Networking client.
If omitted, the
region
argument of the provider is used. Changing this creates a new service. - map[string]string
- See Argument Reference above.
- Timeouts
Vpc
Eip V1Timeouts Args - Unbind
Port bool - Value
Specs map[string]string - Vpc
Eip stringV1Id - The VPC EIP id.
- bandwidth
Vpc
Eip V1Bandwidth - The bandwidth object.
- publicip
Vpc
Eip V1Publicip - The elastic IP address object.
- region String
- The region in which to obtain the V1 Networking client.
If omitted, the
region
argument of the provider is used. Changing this creates a new service. - Map<String,String>
- See Argument Reference above.
- timeouts
Vpc
Eip V1Timeouts - unbind
Port Boolean - value
Specs Map<String,String> - vpc
Eip StringV1Id - The VPC EIP id.
- bandwidth
Vpc
Eip V1Bandwidth - The bandwidth object.
- publicip
Vpc
Eip V1Publicip - The elastic IP address object.
- region string
- The region in which to obtain the V1 Networking client.
If omitted, the
region
argument of the provider is used. Changing this creates a new service. - {[key: string]: string}
- See Argument Reference above.
- timeouts
Vpc
Eip V1Timeouts - unbind
Port boolean - value
Specs {[key: string]: string} - vpc
Eip stringV1Id - The VPC EIP id.
- bandwidth
Vpc
Eip V1Bandwidth Args - The bandwidth object.
- publicip
Vpc
Eip V1Publicip Args - The elastic IP address object.
- region str
- The region in which to obtain the V1 Networking client.
If omitted, the
region
argument of the provider is used. Changing this creates a new service. - Mapping[str, str]
- See Argument Reference above.
- timeouts
Vpc
Eip V1Timeouts Args - unbind_
port bool - value_
specs Mapping[str, str] - vpc_
eip_ strv1_ id - The VPC EIP id.
- bandwidth Property Map
- The bandwidth object.
- publicip Property Map
- The elastic IP address object.
- region String
- The region in which to obtain the V1 Networking client.
If omitted, the
region
argument of the provider is used. Changing this creates a new service. - Map<String>
- See Argument Reference above.
- timeouts Property Map
- unbind
Port Boolean - value
Specs Map<String> - vpc
Eip StringV1Id - The VPC EIP id.
Outputs
All input properties are implicitly available as output properties. Additionally, the VpcEipV1 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 VpcEipV1 Resource
Get an existing VpcEipV1 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?: VpcEipV1State, opts?: CustomResourceOptions): VpcEipV1
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bandwidth: Optional[VpcEipV1BandwidthArgs] = None,
publicip: Optional[VpcEipV1PublicipArgs] = None,
region: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[VpcEipV1TimeoutsArgs] = None,
unbind_port: Optional[bool] = None,
value_specs: Optional[Mapping[str, str]] = None,
vpc_eip_v1_id: Optional[str] = None) -> VpcEipV1
func GetVpcEipV1(ctx *Context, name string, id IDInput, state *VpcEipV1State, opts ...ResourceOption) (*VpcEipV1, error)
public static VpcEipV1 Get(string name, Input<string> id, VpcEipV1State? state, CustomResourceOptions? opts = null)
public static VpcEipV1 get(String name, Output<String> id, VpcEipV1State state, CustomResourceOptions options)
resources: _: type: opentelekomcloud:VpcEipV1 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.
- Bandwidth
Vpc
Eip V1Bandwidth - The bandwidth object.
- Publicip
Vpc
Eip V1Publicip - The elastic IP address object.
- Region string
- The region in which to obtain the V1 Networking client.
If omitted, the
region
argument of the provider is used. Changing this creates a new service. - Dictionary<string, string>
- See Argument Reference above.
- Timeouts
Vpc
Eip V1Timeouts - Unbind
Port bool - Value
Specs Dictionary<string, string> - Vpc
Eip stringV1Id - The VPC EIP id.
- Bandwidth
Vpc
Eip V1Bandwidth Args - The bandwidth object.
- Publicip
Vpc
Eip V1Publicip Args - The elastic IP address object.
- Region string
- The region in which to obtain the V1 Networking client.
If omitted, the
region
argument of the provider is used. Changing this creates a new service. - map[string]string
- See Argument Reference above.
- Timeouts
Vpc
Eip V1Timeouts Args - Unbind
Port bool - Value
Specs map[string]string - Vpc
Eip stringV1Id - The VPC EIP id.
- bandwidth
Vpc
Eip V1Bandwidth - The bandwidth object.
- publicip
Vpc
Eip V1Publicip - The elastic IP address object.
- region String
- The region in which to obtain the V1 Networking client.
If omitted, the
region
argument of the provider is used. Changing this creates a new service. - Map<String,String>
- See Argument Reference above.
- timeouts
Vpc
Eip V1Timeouts - unbind
Port Boolean - value
Specs Map<String,String> - vpc
Eip StringV1Id - The VPC EIP id.
- bandwidth
Vpc
Eip V1Bandwidth - The bandwidth object.
- publicip
Vpc
Eip V1Publicip - The elastic IP address object.
- region string
- The region in which to obtain the V1 Networking client.
If omitted, the
region
argument of the provider is used. Changing this creates a new service. - {[key: string]: string}
- See Argument Reference above.
- timeouts
Vpc
Eip V1Timeouts - unbind
Port boolean - value
Specs {[key: string]: string} - vpc
Eip stringV1Id - The VPC EIP id.
- bandwidth
Vpc
Eip V1Bandwidth Args - The bandwidth object.
- publicip
Vpc
Eip V1Publicip Args - The elastic IP address object.
- region str
- The region in which to obtain the V1 Networking client.
If omitted, the
region
argument of the provider is used. Changing this creates a new service. - Mapping[str, str]
- See Argument Reference above.
- timeouts
Vpc
Eip V1Timeouts Args - unbind_
port bool - value_
specs Mapping[str, str] - vpc_
eip_ strv1_ id - The VPC EIP id.
- bandwidth Property Map
- The bandwidth object.
- publicip Property Map
- The elastic IP address object.
- region String
- The region in which to obtain the V1 Networking client.
If omitted, the
region
argument of the provider is used. Changing this creates a new service. - Map<String>
- See Argument Reference above.
- timeouts Property Map
- unbind
Port Boolean - value
Specs Map<String> - vpc
Eip StringV1Id - The VPC EIP id.
Supporting Types
VpcEipV1Bandwidth, VpcEipV1BandwidthArgs
- Name string
- The bandwidth name, which is a string of 1 to 64 characters that contain letters, digits, underscores (_), and hyphens (-).
- string
- Whether the bandwidth is shared or exclusive. Changing this creates a new eip.
- Size double
- The bandwidth size. The value ranges from 1 to 300 Mbit/s.
- Charge
Mode string - This is a reserved field. If the system supports charging by traffic and this field is specified, then you are charged by traffic for elastic IP addresses. Changing this creates a new eip.
- Name string
- The bandwidth name, which is a string of 1 to 64 characters that contain letters, digits, underscores (_), and hyphens (-).
- string
- Whether the bandwidth is shared or exclusive. Changing this creates a new eip.
- Size float64
- The bandwidth size. The value ranges from 1 to 300 Mbit/s.
- Charge
Mode string - This is a reserved field. If the system supports charging by traffic and this field is specified, then you are charged by traffic for elastic IP addresses. Changing this creates a new eip.
- name String
- The bandwidth name, which is a string of 1 to 64 characters that contain letters, digits, underscores (_), and hyphens (-).
- String
- Whether the bandwidth is shared or exclusive. Changing this creates a new eip.
- size Double
- The bandwidth size. The value ranges from 1 to 300 Mbit/s.
- charge
Mode String - This is a reserved field. If the system supports charging by traffic and this field is specified, then you are charged by traffic for elastic IP addresses. Changing this creates a new eip.
- name string
- The bandwidth name, which is a string of 1 to 64 characters that contain letters, digits, underscores (_), and hyphens (-).
- string
- Whether the bandwidth is shared or exclusive. Changing this creates a new eip.
- size number
- The bandwidth size. The value ranges from 1 to 300 Mbit/s.
- charge
Mode string - This is a reserved field. If the system supports charging by traffic and this field is specified, then you are charged by traffic for elastic IP addresses. Changing this creates a new eip.
- name str
- The bandwidth name, which is a string of 1 to 64 characters that contain letters, digits, underscores (_), and hyphens (-).
- str
- Whether the bandwidth is shared or exclusive. Changing this creates a new eip.
- size float
- The bandwidth size. The value ranges from 1 to 300 Mbit/s.
- charge_
mode str - This is a reserved field. If the system supports charging by traffic and this field is specified, then you are charged by traffic for elastic IP addresses. Changing this creates a new eip.
- name String
- The bandwidth name, which is a string of 1 to 64 characters that contain letters, digits, underscores (_), and hyphens (-).
- String
- Whether the bandwidth is shared or exclusive. Changing this creates a new eip.
- size Number
- The bandwidth size. The value ranges from 1 to 300 Mbit/s.
- charge
Mode String - This is a reserved field. If the system supports charging by traffic and this field is specified, then you are charged by traffic for elastic IP addresses. Changing this creates a new eip.
VpcEipV1Publicip, VpcEipV1PublicipArgs
- Type string
- The value must be a type supported by the system.
The value can be
5_bgp
,5_mailbgp
and5_gray
. Changing this creates a new eip. - Ip
Address string - The value must be a valid IP address in the available IP address segment. Changing this creates a new eip.
- Name string
- The ip name, which is a string of 1 to 64 characters.
- Port
Id string - The port id which this eip will associate with. If the value
is
""
or this not specified, the eip will be in unbind state.
- Type string
- The value must be a type supported by the system.
The value can be
5_bgp
,5_mailbgp
and5_gray
. Changing this creates a new eip. - Ip
Address string - The value must be a valid IP address in the available IP address segment. Changing this creates a new eip.
- Name string
- The ip name, which is a string of 1 to 64 characters.
- Port
Id string - The port id which this eip will associate with. If the value
is
""
or this not specified, the eip will be in unbind state.
- type String
- The value must be a type supported by the system.
The value can be
5_bgp
,5_mailbgp
and5_gray
. Changing this creates a new eip. - ip
Address String - The value must be a valid IP address in the available IP address segment. Changing this creates a new eip.
- name String
- The ip name, which is a string of 1 to 64 characters.
- port
Id String - The port id which this eip will associate with. If the value
is
""
or this not specified, the eip will be in unbind state.
- type string
- The value must be a type supported by the system.
The value can be
5_bgp
,5_mailbgp
and5_gray
. Changing this creates a new eip. - ip
Address string - The value must be a valid IP address in the available IP address segment. Changing this creates a new eip.
- name string
- The ip name, which is a string of 1 to 64 characters.
- port
Id string - The port id which this eip will associate with. If the value
is
""
or this not specified, the eip will be in unbind state.
- type str
- The value must be a type supported by the system.
The value can be
5_bgp
,5_mailbgp
and5_gray
. Changing this creates a new eip. - ip_
address str - The value must be a valid IP address in the available IP address segment. Changing this creates a new eip.
- name str
- The ip name, which is a string of 1 to 64 characters.
- port_
id str - The port id which this eip will associate with. If the value
is
""
or this not specified, the eip will be in unbind state.
- type String
- The value must be a type supported by the system.
The value can be
5_bgp
,5_mailbgp
and5_gray
. Changing this creates a new eip. - ip
Address String - The value must be a valid IP address in the available IP address segment. Changing this creates a new eip.
- name String
- The ip name, which is a string of 1 to 64 characters.
- port
Id String - The port id which this eip will associate with. If the value
is
""
or this not specified, the eip will be in unbind state.
VpcEipV1Timeouts, VpcEipV1TimeoutsArgs
Import
EIPs can be imported using the id
, e.g.
$ pulumi import opentelekomcloud:index/vpcEipV1:VpcEipV1 eip_1 2c7f39f3-702b-48d1-940c-b50384177ee1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.