tencentcloud.Eip
Explore with Pulumi AI
Provides an EIP resource.
Example Usage
Paid by the bandwidth package
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const foo = new tencentcloud.Eip("foo", {
bandwidthPackageId: "bwp-jtvzuky6",
internetChargeType: "BANDWIDTH_PACKAGE",
type: "EIP",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
foo = tencentcloud.Eip("foo",
bandwidth_package_id="bwp-jtvzuky6",
internet_charge_type="BANDWIDTH_PACKAGE",
type="EIP")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewEip(ctx, "foo", &tencentcloud.EipArgs{
BandwidthPackageId: pulumi.String("bwp-jtvzuky6"),
InternetChargeType: pulumi.String("BANDWIDTH_PACKAGE"),
Type: pulumi.String("EIP"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var foo = new Tencentcloud.Eip("foo", new()
{
BandwidthPackageId = "bwp-jtvzuky6",
InternetChargeType = "BANDWIDTH_PACKAGE",
Type = "EIP",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.Eip;
import com.pulumi.tencentcloud.EipArgs;
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 foo = new Eip("foo", EipArgs.builder()
.bandwidthPackageId("bwp-jtvzuky6")
.internetChargeType("BANDWIDTH_PACKAGE")
.type("EIP")
.build());
}
}
resources:
foo:
type: tencentcloud:Eip
properties:
bandwidthPackageId: bwp-jtvzuky6
internetChargeType: BANDWIDTH_PACKAGE
type: EIP
AntiDDos Eip
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const foo = new tencentcloud.Eip("foo", {
antiDdosPackageId: "xxxxxxxx",
bandwidthPackageId: "bwp-4ocyia9s",
internetChargeType: "BANDWIDTH_PACKAGE",
tags: {
test: "test",
},
type: "AntiDDoSEIP",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
foo = tencentcloud.Eip("foo",
anti_ddos_package_id="xxxxxxxx",
bandwidth_package_id="bwp-4ocyia9s",
internet_charge_type="BANDWIDTH_PACKAGE",
tags={
"test": "test",
},
type="AntiDDoSEIP")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewEip(ctx, "foo", &tencentcloud.EipArgs{
AntiDdosPackageId: pulumi.String("xxxxxxxx"),
BandwidthPackageId: pulumi.String("bwp-4ocyia9s"),
InternetChargeType: pulumi.String("BANDWIDTH_PACKAGE"),
Tags: pulumi.StringMap{
"test": pulumi.String("test"),
},
Type: pulumi.String("AntiDDoSEIP"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var foo = new Tencentcloud.Eip("foo", new()
{
AntiDdosPackageId = "xxxxxxxx",
BandwidthPackageId = "bwp-4ocyia9s",
InternetChargeType = "BANDWIDTH_PACKAGE",
Tags =
{
{ "test", "test" },
},
Type = "AntiDDoSEIP",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.Eip;
import com.pulumi.tencentcloud.EipArgs;
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 foo = new Eip("foo", EipArgs.builder()
.antiDdosPackageId("xxxxxxxx")
.bandwidthPackageId("bwp-4ocyia9s")
.internetChargeType("BANDWIDTH_PACKAGE")
.tags(Map.of("test", "test"))
.type("AntiDDoSEIP")
.build());
}
}
resources:
foo:
type: tencentcloud:Eip
properties:
antiDdosPackageId: xxxxxxxx
bandwidthPackageId: bwp-4ocyia9s
internetChargeType: BANDWIDTH_PACKAGE
tags:
test: test
type: AntiDDoSEIP
Eip With Network Egress
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const foo = new tencentcloud.Eip("foo", {
egress: "center_egress2",
internetChargeType: "BANDWIDTH_PACKAGE",
internetMaxBandwidthOut: 1,
internetServiceProvider: "CMCC",
type: "EIP",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
foo = tencentcloud.Eip("foo",
egress="center_egress2",
internet_charge_type="BANDWIDTH_PACKAGE",
internet_max_bandwidth_out=1,
internet_service_provider="CMCC",
type="EIP")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewEip(ctx, "foo", &tencentcloud.EipArgs{
Egress: pulumi.String("center_egress2"),
InternetChargeType: pulumi.String("BANDWIDTH_PACKAGE"),
InternetMaxBandwidthOut: pulumi.Float64(1),
InternetServiceProvider: pulumi.String("CMCC"),
Type: pulumi.String("EIP"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var foo = new Tencentcloud.Eip("foo", new()
{
Egress = "center_egress2",
InternetChargeType = "BANDWIDTH_PACKAGE",
InternetMaxBandwidthOut = 1,
InternetServiceProvider = "CMCC",
Type = "EIP",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.Eip;
import com.pulumi.tencentcloud.EipArgs;
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 foo = new Eip("foo", EipArgs.builder()
.egress("center_egress2")
.internetChargeType("BANDWIDTH_PACKAGE")
.internetMaxBandwidthOut(1)
.internetServiceProvider("CMCC")
.type("EIP")
.build());
}
}
resources:
foo:
type: tencentcloud:Eip
properties:
egress: center_egress2
internetChargeType: BANDWIDTH_PACKAGE
internetMaxBandwidthOut: 1
internetServiceProvider: CMCC
type: EIP
Create Eip Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Eip(name: string, args?: EipArgs, opts?: CustomResourceOptions);
@overload
def Eip(resource_name: str,
args: Optional[EipArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Eip(resource_name: str,
opts: Optional[ResourceOptions] = None,
anti_ddos_package_id: Optional[str] = None,
anycast_zone: Optional[str] = None,
applicable_for_clb: Optional[bool] = None,
auto_renew_flag: Optional[float] = None,
bandwidth_package_id: Optional[str] = None,
cdc_id: Optional[str] = None,
egress: Optional[str] = None,
eip_id: Optional[str] = None,
internet_charge_type: Optional[str] = None,
internet_max_bandwidth_out: Optional[float] = None,
internet_service_provider: Optional[str] = None,
name: Optional[str] = None,
prepaid_period: Optional[float] = None,
tags: Optional[Mapping[str, str]] = None,
type: Optional[str] = None)
func NewEip(ctx *Context, name string, args *EipArgs, opts ...ResourceOption) (*Eip, error)
public Eip(string name, EipArgs? args = null, CustomResourceOptions? opts = null)
type: tencentcloud:Eip
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 EipArgs
- 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 EipArgs
- 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 EipArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EipArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EipArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Eip 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 Eip resource accepts the following input properties:
- Anti
Ddos stringPackage Id - ID of anti DDos package, it must set when
type
isAntiDDoSEIP
. - Anycast
Zone string - The zone of anycast. Valid value:
ANYCAST_ZONE_GLOBAL
andANYCAST_ZONE_OVERSEAS
. - Applicable
For boolClb - It has been deprecated from version 1.27.0. Indicates whether the anycast eip can be associated to a CLB.
- Auto
Renew doubleFlag - Auto renew flag. 0 - default state (manual renew); 1 - automatic renew; 2 - explicit no automatic renew. NOTES: Only supported prepaid EIP.
- Bandwidth
Package stringId - ID of bandwidth package, it will set when
internet_charge_type
isBANDWIDTH_PACKAGE
. - Cdc
Id string - CDC Unique ID.
- Egress string
- Network egress. It defaults to
center_egress1
. If you want to try the egress feature, please submit a ticket. - Eip
Id string - ID of the resource.
- Internet
Charge stringType - The charge type of eip. Valid values:
BANDWIDTH_PACKAGE
,BANDWIDTH_POSTPAID_BY_HOUR
,BANDWIDTH_PREPAID_BY_MONTH
andTRAFFIC_POSTPAID_BY_HOUR
. - Internet
Max doubleBandwidth Out - The bandwidth limit of EIP, unit is Mbps.
- Internet
Service stringProvider - Internet service provider of eip. Valid value:
BGP
,CMCC
,CTCC
andCUCC
. - Name string
- The name of eip.
- Prepaid
Period double - Period of instance. Default value:
1
. Valid value:1
,2
,3
,4
,6
,7
,8
,9
,12
,24
,36
. NOTES: must set wheninternet_charge_type
isBANDWIDTH_PREPAID_BY_MONTH
. - Dictionary<string, string>
- The tags of eip.
- Type string
- The type of eip. Valid value:
EIP
andAnycastEIP
andHighQualityEIP
andAntiDDoSEIP
. Default isEIP
.
- Anti
Ddos stringPackage Id - ID of anti DDos package, it must set when
type
isAntiDDoSEIP
. - Anycast
Zone string - The zone of anycast. Valid value:
ANYCAST_ZONE_GLOBAL
andANYCAST_ZONE_OVERSEAS
. - Applicable
For boolClb - It has been deprecated from version 1.27.0. Indicates whether the anycast eip can be associated to a CLB.
- Auto
Renew float64Flag - Auto renew flag. 0 - default state (manual renew); 1 - automatic renew; 2 - explicit no automatic renew. NOTES: Only supported prepaid EIP.
- Bandwidth
Package stringId - ID of bandwidth package, it will set when
internet_charge_type
isBANDWIDTH_PACKAGE
. - Cdc
Id string - CDC Unique ID.
- Egress string
- Network egress. It defaults to
center_egress1
. If you want to try the egress feature, please submit a ticket. - Eip
Id string - ID of the resource.
- Internet
Charge stringType - The charge type of eip. Valid values:
BANDWIDTH_PACKAGE
,BANDWIDTH_POSTPAID_BY_HOUR
,BANDWIDTH_PREPAID_BY_MONTH
andTRAFFIC_POSTPAID_BY_HOUR
. - Internet
Max float64Bandwidth Out - The bandwidth limit of EIP, unit is Mbps.
- Internet
Service stringProvider - Internet service provider of eip. Valid value:
BGP
,CMCC
,CTCC
andCUCC
. - Name string
- The name of eip.
- Prepaid
Period float64 - Period of instance. Default value:
1
. Valid value:1
,2
,3
,4
,6
,7
,8
,9
,12
,24
,36
. NOTES: must set wheninternet_charge_type
isBANDWIDTH_PREPAID_BY_MONTH
. - map[string]string
- The tags of eip.
- Type string
- The type of eip. Valid value:
EIP
andAnycastEIP
andHighQualityEIP
andAntiDDoSEIP
. Default isEIP
.
- anti
Ddos StringPackage Id - ID of anti DDos package, it must set when
type
isAntiDDoSEIP
. - anycast
Zone String - The zone of anycast. Valid value:
ANYCAST_ZONE_GLOBAL
andANYCAST_ZONE_OVERSEAS
. - applicable
For BooleanClb - It has been deprecated from version 1.27.0. Indicates whether the anycast eip can be associated to a CLB.
- auto
Renew DoubleFlag - Auto renew flag. 0 - default state (manual renew); 1 - automatic renew; 2 - explicit no automatic renew. NOTES: Only supported prepaid EIP.
- bandwidth
Package StringId - ID of bandwidth package, it will set when
internet_charge_type
isBANDWIDTH_PACKAGE
. - cdc
Id String - CDC Unique ID.
- egress String
- Network egress. It defaults to
center_egress1
. If you want to try the egress feature, please submit a ticket. - eip
Id String - ID of the resource.
- internet
Charge StringType - The charge type of eip. Valid values:
BANDWIDTH_PACKAGE
,BANDWIDTH_POSTPAID_BY_HOUR
,BANDWIDTH_PREPAID_BY_MONTH
andTRAFFIC_POSTPAID_BY_HOUR
. - internet
Max DoubleBandwidth Out - The bandwidth limit of EIP, unit is Mbps.
- internet
Service StringProvider - Internet service provider of eip. Valid value:
BGP
,CMCC
,CTCC
andCUCC
. - name String
- The name of eip.
- prepaid
Period Double - Period of instance. Default value:
1
. Valid value:1
,2
,3
,4
,6
,7
,8
,9
,12
,24
,36
. NOTES: must set wheninternet_charge_type
isBANDWIDTH_PREPAID_BY_MONTH
. - Map<String,String>
- The tags of eip.
- type String
- The type of eip. Valid value:
EIP
andAnycastEIP
andHighQualityEIP
andAntiDDoSEIP
. Default isEIP
.
- anti
Ddos stringPackage Id - ID of anti DDos package, it must set when
type
isAntiDDoSEIP
. - anycast
Zone string - The zone of anycast. Valid value:
ANYCAST_ZONE_GLOBAL
andANYCAST_ZONE_OVERSEAS
. - applicable
For booleanClb - It has been deprecated from version 1.27.0. Indicates whether the anycast eip can be associated to a CLB.
- auto
Renew numberFlag - Auto renew flag. 0 - default state (manual renew); 1 - automatic renew; 2 - explicit no automatic renew. NOTES: Only supported prepaid EIP.
- bandwidth
Package stringId - ID of bandwidth package, it will set when
internet_charge_type
isBANDWIDTH_PACKAGE
. - cdc
Id string - CDC Unique ID.
- egress string
- Network egress. It defaults to
center_egress1
. If you want to try the egress feature, please submit a ticket. - eip
Id string - ID of the resource.
- internet
Charge stringType - The charge type of eip. Valid values:
BANDWIDTH_PACKAGE
,BANDWIDTH_POSTPAID_BY_HOUR
,BANDWIDTH_PREPAID_BY_MONTH
andTRAFFIC_POSTPAID_BY_HOUR
. - internet
Max numberBandwidth Out - The bandwidth limit of EIP, unit is Mbps.
- internet
Service stringProvider - Internet service provider of eip. Valid value:
BGP
,CMCC
,CTCC
andCUCC
. - name string
- The name of eip.
- prepaid
Period number - Period of instance. Default value:
1
. Valid value:1
,2
,3
,4
,6
,7
,8
,9
,12
,24
,36
. NOTES: must set wheninternet_charge_type
isBANDWIDTH_PREPAID_BY_MONTH
. - {[key: string]: string}
- The tags of eip.
- type string
- The type of eip. Valid value:
EIP
andAnycastEIP
andHighQualityEIP
andAntiDDoSEIP
. Default isEIP
.
- anti_
ddos_ strpackage_ id - ID of anti DDos package, it must set when
type
isAntiDDoSEIP
. - anycast_
zone str - The zone of anycast. Valid value:
ANYCAST_ZONE_GLOBAL
andANYCAST_ZONE_OVERSEAS
. - applicable_
for_ boolclb - It has been deprecated from version 1.27.0. Indicates whether the anycast eip can be associated to a CLB.
- auto_
renew_ floatflag - Auto renew flag. 0 - default state (manual renew); 1 - automatic renew; 2 - explicit no automatic renew. NOTES: Only supported prepaid EIP.
- bandwidth_
package_ strid - ID of bandwidth package, it will set when
internet_charge_type
isBANDWIDTH_PACKAGE
. - cdc_
id str - CDC Unique ID.
- egress str
- Network egress. It defaults to
center_egress1
. If you want to try the egress feature, please submit a ticket. - eip_
id str - ID of the resource.
- internet_
charge_ strtype - The charge type of eip. Valid values:
BANDWIDTH_PACKAGE
,BANDWIDTH_POSTPAID_BY_HOUR
,BANDWIDTH_PREPAID_BY_MONTH
andTRAFFIC_POSTPAID_BY_HOUR
. - internet_
max_ floatbandwidth_ out - The bandwidth limit of EIP, unit is Mbps.
- internet_
service_ strprovider - Internet service provider of eip. Valid value:
BGP
,CMCC
,CTCC
andCUCC
. - name str
- The name of eip.
- prepaid_
period float - Period of instance. Default value:
1
. Valid value:1
,2
,3
,4
,6
,7
,8
,9
,12
,24
,36
. NOTES: must set wheninternet_charge_type
isBANDWIDTH_PREPAID_BY_MONTH
. - Mapping[str, str]
- The tags of eip.
- type str
- The type of eip. Valid value:
EIP
andAnycastEIP
andHighQualityEIP
andAntiDDoSEIP
. Default isEIP
.
- anti
Ddos StringPackage Id - ID of anti DDos package, it must set when
type
isAntiDDoSEIP
. - anycast
Zone String - The zone of anycast. Valid value:
ANYCAST_ZONE_GLOBAL
andANYCAST_ZONE_OVERSEAS
. - applicable
For BooleanClb - It has been deprecated from version 1.27.0. Indicates whether the anycast eip can be associated to a CLB.
- auto
Renew NumberFlag - Auto renew flag. 0 - default state (manual renew); 1 - automatic renew; 2 - explicit no automatic renew. NOTES: Only supported prepaid EIP.
- bandwidth
Package StringId - ID of bandwidth package, it will set when
internet_charge_type
isBANDWIDTH_PACKAGE
. - cdc
Id String - CDC Unique ID.
- egress String
- Network egress. It defaults to
center_egress1
. If you want to try the egress feature, please submit a ticket. - eip
Id String - ID of the resource.
- internet
Charge StringType - The charge type of eip. Valid values:
BANDWIDTH_PACKAGE
,BANDWIDTH_POSTPAID_BY_HOUR
,BANDWIDTH_PREPAID_BY_MONTH
andTRAFFIC_POSTPAID_BY_HOUR
. - internet
Max NumberBandwidth Out - The bandwidth limit of EIP, unit is Mbps.
- internet
Service StringProvider - Internet service provider of eip. Valid value:
BGP
,CMCC
,CTCC
andCUCC
. - name String
- The name of eip.
- prepaid
Period Number - Period of instance. Default value:
1
. Valid value:1
,2
,3
,4
,6
,7
,8
,9
,12
,24
,36
. NOTES: must set wheninternet_charge_type
isBANDWIDTH_PREPAID_BY_MONTH
. - Map<String>
- The tags of eip.
- type String
- The type of eip. Valid value:
EIP
andAnycastEIP
andHighQualityEIP
andAntiDDoSEIP
. Default isEIP
.
Outputs
All input properties are implicitly available as output properties. Additionally, the Eip resource produces the following output properties:
Look up Existing Eip Resource
Get an existing Eip 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?: EipState, opts?: CustomResourceOptions): Eip
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
anti_ddos_package_id: Optional[str] = None,
anycast_zone: Optional[str] = None,
applicable_for_clb: Optional[bool] = None,
auto_renew_flag: Optional[float] = None,
bandwidth_package_id: Optional[str] = None,
cdc_id: Optional[str] = None,
egress: Optional[str] = None,
eip_id: Optional[str] = None,
internet_charge_type: Optional[str] = None,
internet_max_bandwidth_out: Optional[float] = None,
internet_service_provider: Optional[str] = None,
name: Optional[str] = None,
prepaid_period: Optional[float] = None,
public_ip: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
type: Optional[str] = None) -> Eip
func GetEip(ctx *Context, name string, id IDInput, state *EipState, opts ...ResourceOption) (*Eip, error)
public static Eip Get(string name, Input<string> id, EipState? state, CustomResourceOptions? opts = null)
public static Eip get(String name, Output<String> id, EipState state, CustomResourceOptions options)
resources: _: type: tencentcloud:Eip 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.
- Anti
Ddos stringPackage Id - ID of anti DDos package, it must set when
type
isAntiDDoSEIP
. - Anycast
Zone string - The zone of anycast. Valid value:
ANYCAST_ZONE_GLOBAL
andANYCAST_ZONE_OVERSEAS
. - Applicable
For boolClb - It has been deprecated from version 1.27.0. Indicates whether the anycast eip can be associated to a CLB.
- Auto
Renew doubleFlag - Auto renew flag. 0 - default state (manual renew); 1 - automatic renew; 2 - explicit no automatic renew. NOTES: Only supported prepaid EIP.
- Bandwidth
Package stringId - ID of bandwidth package, it will set when
internet_charge_type
isBANDWIDTH_PACKAGE
. - Cdc
Id string - CDC Unique ID.
- Egress string
- Network egress. It defaults to
center_egress1
. If you want to try the egress feature, please submit a ticket. - Eip
Id string - ID of the resource.
- Internet
Charge stringType - The charge type of eip. Valid values:
BANDWIDTH_PACKAGE
,BANDWIDTH_POSTPAID_BY_HOUR
,BANDWIDTH_PREPAID_BY_MONTH
andTRAFFIC_POSTPAID_BY_HOUR
. - Internet
Max doubleBandwidth Out - The bandwidth limit of EIP, unit is Mbps.
- Internet
Service stringProvider - Internet service provider of eip. Valid value:
BGP
,CMCC
,CTCC
andCUCC
. - Name string
- The name of eip.
- Prepaid
Period double - Period of instance. Default value:
1
. Valid value:1
,2
,3
,4
,6
,7
,8
,9
,12
,24
,36
. NOTES: must set wheninternet_charge_type
isBANDWIDTH_PREPAID_BY_MONTH
. - Public
Ip string - The elastic IP address.
- Status string
- The EIP current status.
- Dictionary<string, string>
- The tags of eip.
- Type string
- The type of eip. Valid value:
EIP
andAnycastEIP
andHighQualityEIP
andAntiDDoSEIP
. Default isEIP
.
- Anti
Ddos stringPackage Id - ID of anti DDos package, it must set when
type
isAntiDDoSEIP
. - Anycast
Zone string - The zone of anycast. Valid value:
ANYCAST_ZONE_GLOBAL
andANYCAST_ZONE_OVERSEAS
. - Applicable
For boolClb - It has been deprecated from version 1.27.0. Indicates whether the anycast eip can be associated to a CLB.
- Auto
Renew float64Flag - Auto renew flag. 0 - default state (manual renew); 1 - automatic renew; 2 - explicit no automatic renew. NOTES: Only supported prepaid EIP.
- Bandwidth
Package stringId - ID of bandwidth package, it will set when
internet_charge_type
isBANDWIDTH_PACKAGE
. - Cdc
Id string - CDC Unique ID.
- Egress string
- Network egress. It defaults to
center_egress1
. If you want to try the egress feature, please submit a ticket. - Eip
Id string - ID of the resource.
- Internet
Charge stringType - The charge type of eip. Valid values:
BANDWIDTH_PACKAGE
,BANDWIDTH_POSTPAID_BY_HOUR
,BANDWIDTH_PREPAID_BY_MONTH
andTRAFFIC_POSTPAID_BY_HOUR
. - Internet
Max float64Bandwidth Out - The bandwidth limit of EIP, unit is Mbps.
- Internet
Service stringProvider - Internet service provider of eip. Valid value:
BGP
,CMCC
,CTCC
andCUCC
. - Name string
- The name of eip.
- Prepaid
Period float64 - Period of instance. Default value:
1
. Valid value:1
,2
,3
,4
,6
,7
,8
,9
,12
,24
,36
. NOTES: must set wheninternet_charge_type
isBANDWIDTH_PREPAID_BY_MONTH
. - Public
Ip string - The elastic IP address.
- Status string
- The EIP current status.
- map[string]string
- The tags of eip.
- Type string
- The type of eip. Valid value:
EIP
andAnycastEIP
andHighQualityEIP
andAntiDDoSEIP
. Default isEIP
.
- anti
Ddos StringPackage Id - ID of anti DDos package, it must set when
type
isAntiDDoSEIP
. - anycast
Zone String - The zone of anycast. Valid value:
ANYCAST_ZONE_GLOBAL
andANYCAST_ZONE_OVERSEAS
. - applicable
For BooleanClb - It has been deprecated from version 1.27.0. Indicates whether the anycast eip can be associated to a CLB.
- auto
Renew DoubleFlag - Auto renew flag. 0 - default state (manual renew); 1 - automatic renew; 2 - explicit no automatic renew. NOTES: Only supported prepaid EIP.
- bandwidth
Package StringId - ID of bandwidth package, it will set when
internet_charge_type
isBANDWIDTH_PACKAGE
. - cdc
Id String - CDC Unique ID.
- egress String
- Network egress. It defaults to
center_egress1
. If you want to try the egress feature, please submit a ticket. - eip
Id String - ID of the resource.
- internet
Charge StringType - The charge type of eip. Valid values:
BANDWIDTH_PACKAGE
,BANDWIDTH_POSTPAID_BY_HOUR
,BANDWIDTH_PREPAID_BY_MONTH
andTRAFFIC_POSTPAID_BY_HOUR
. - internet
Max DoubleBandwidth Out - The bandwidth limit of EIP, unit is Mbps.
- internet
Service StringProvider - Internet service provider of eip. Valid value:
BGP
,CMCC
,CTCC
andCUCC
. - name String
- The name of eip.
- prepaid
Period Double - Period of instance. Default value:
1
. Valid value:1
,2
,3
,4
,6
,7
,8
,9
,12
,24
,36
. NOTES: must set wheninternet_charge_type
isBANDWIDTH_PREPAID_BY_MONTH
. - public
Ip String - The elastic IP address.
- status String
- The EIP current status.
- Map<String,String>
- The tags of eip.
- type String
- The type of eip. Valid value:
EIP
andAnycastEIP
andHighQualityEIP
andAntiDDoSEIP
. Default isEIP
.
- anti
Ddos stringPackage Id - ID of anti DDos package, it must set when
type
isAntiDDoSEIP
. - anycast
Zone string - The zone of anycast. Valid value:
ANYCAST_ZONE_GLOBAL
andANYCAST_ZONE_OVERSEAS
. - applicable
For booleanClb - It has been deprecated from version 1.27.0. Indicates whether the anycast eip can be associated to a CLB.
- auto
Renew numberFlag - Auto renew flag. 0 - default state (manual renew); 1 - automatic renew; 2 - explicit no automatic renew. NOTES: Only supported prepaid EIP.
- bandwidth
Package stringId - ID of bandwidth package, it will set when
internet_charge_type
isBANDWIDTH_PACKAGE
. - cdc
Id string - CDC Unique ID.
- egress string
- Network egress. It defaults to
center_egress1
. If you want to try the egress feature, please submit a ticket. - eip
Id string - ID of the resource.
- internet
Charge stringType - The charge type of eip. Valid values:
BANDWIDTH_PACKAGE
,BANDWIDTH_POSTPAID_BY_HOUR
,BANDWIDTH_PREPAID_BY_MONTH
andTRAFFIC_POSTPAID_BY_HOUR
. - internet
Max numberBandwidth Out - The bandwidth limit of EIP, unit is Mbps.
- internet
Service stringProvider - Internet service provider of eip. Valid value:
BGP
,CMCC
,CTCC
andCUCC
. - name string
- The name of eip.
- prepaid
Period number - Period of instance. Default value:
1
. Valid value:1
,2
,3
,4
,6
,7
,8
,9
,12
,24
,36
. NOTES: must set wheninternet_charge_type
isBANDWIDTH_PREPAID_BY_MONTH
. - public
Ip string - The elastic IP address.
- status string
- The EIP current status.
- {[key: string]: string}
- The tags of eip.
- type string
- The type of eip. Valid value:
EIP
andAnycastEIP
andHighQualityEIP
andAntiDDoSEIP
. Default isEIP
.
- anti_
ddos_ strpackage_ id - ID of anti DDos package, it must set when
type
isAntiDDoSEIP
. - anycast_
zone str - The zone of anycast. Valid value:
ANYCAST_ZONE_GLOBAL
andANYCAST_ZONE_OVERSEAS
. - applicable_
for_ boolclb - It has been deprecated from version 1.27.0. Indicates whether the anycast eip can be associated to a CLB.
- auto_
renew_ floatflag - Auto renew flag. 0 - default state (manual renew); 1 - automatic renew; 2 - explicit no automatic renew. NOTES: Only supported prepaid EIP.
- bandwidth_
package_ strid - ID of bandwidth package, it will set when
internet_charge_type
isBANDWIDTH_PACKAGE
. - cdc_
id str - CDC Unique ID.
- egress str
- Network egress. It defaults to
center_egress1
. If you want to try the egress feature, please submit a ticket. - eip_
id str - ID of the resource.
- internet_
charge_ strtype - The charge type of eip. Valid values:
BANDWIDTH_PACKAGE
,BANDWIDTH_POSTPAID_BY_HOUR
,BANDWIDTH_PREPAID_BY_MONTH
andTRAFFIC_POSTPAID_BY_HOUR
. - internet_
max_ floatbandwidth_ out - The bandwidth limit of EIP, unit is Mbps.
- internet_
service_ strprovider - Internet service provider of eip. Valid value:
BGP
,CMCC
,CTCC
andCUCC
. - name str
- The name of eip.
- prepaid_
period float - Period of instance. Default value:
1
. Valid value:1
,2
,3
,4
,6
,7
,8
,9
,12
,24
,36
. NOTES: must set wheninternet_charge_type
isBANDWIDTH_PREPAID_BY_MONTH
. - public_
ip str - The elastic IP address.
- status str
- The EIP current status.
- Mapping[str, str]
- The tags of eip.
- type str
- The type of eip. Valid value:
EIP
andAnycastEIP
andHighQualityEIP
andAntiDDoSEIP
. Default isEIP
.
- anti
Ddos StringPackage Id - ID of anti DDos package, it must set when
type
isAntiDDoSEIP
. - anycast
Zone String - The zone of anycast. Valid value:
ANYCAST_ZONE_GLOBAL
andANYCAST_ZONE_OVERSEAS
. - applicable
For BooleanClb - It has been deprecated from version 1.27.0. Indicates whether the anycast eip can be associated to a CLB.
- auto
Renew NumberFlag - Auto renew flag. 0 - default state (manual renew); 1 - automatic renew; 2 - explicit no automatic renew. NOTES: Only supported prepaid EIP.
- bandwidth
Package StringId - ID of bandwidth package, it will set when
internet_charge_type
isBANDWIDTH_PACKAGE
. - cdc
Id String - CDC Unique ID.
- egress String
- Network egress. It defaults to
center_egress1
. If you want to try the egress feature, please submit a ticket. - eip
Id String - ID of the resource.
- internet
Charge StringType - The charge type of eip. Valid values:
BANDWIDTH_PACKAGE
,BANDWIDTH_POSTPAID_BY_HOUR
,BANDWIDTH_PREPAID_BY_MONTH
andTRAFFIC_POSTPAID_BY_HOUR
. - internet
Max NumberBandwidth Out - The bandwidth limit of EIP, unit is Mbps.
- internet
Service StringProvider - Internet service provider of eip. Valid value:
BGP
,CMCC
,CTCC
andCUCC
. - name String
- The name of eip.
- prepaid
Period Number - Period of instance. Default value:
1
. Valid value:1
,2
,3
,4
,6
,7
,8
,9
,12
,24
,36
. NOTES: must set wheninternet_charge_type
isBANDWIDTH_PREPAID_BY_MONTH
. - public
Ip String - The elastic IP address.
- status String
- The EIP current status.
- Map<String>
- The tags of eip.
- type String
- The type of eip. Valid value:
EIP
andAnycastEIP
andHighQualityEIP
andAntiDDoSEIP
. Default isEIP
.
Import
EIP can be imported using the id, e.g.
$ pulumi import tencentcloud:index/eip:Eip foo eip-nyvf60va
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.