1. Packages
  2. Volcengine
  3. API Docs
  4. eip
  5. Address
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

volcengine.eip.Address

Explore with Pulumi AI

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@volcengine/pulumi";

const foo = new volcengine.eip.Address("foo", {
    bandwidth: 1,
    billingType: "PostPaidByBandwidth",
    description: "acc-test",
    isp: "ChinaUnicom",
    projectName: "default",
});
Copy
import pulumi
import pulumi_volcengine as volcengine

foo = volcengine.eip.Address("foo",
    bandwidth=1,
    billing_type="PostPaidByBandwidth",
    description="acc-test",
    isp="ChinaUnicom",
    project_name="default")
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/eip"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := eip.NewAddress(ctx, "foo", &eip.AddressArgs{
			Bandwidth:   pulumi.Int(1),
			BillingType: pulumi.String("PostPaidByBandwidth"),
			Description: pulumi.String("acc-test"),
			Isp:         pulumi.String("ChinaUnicom"),
			ProjectName: pulumi.String("default"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;

return await Deployment.RunAsync(() => 
{
    var foo = new Volcengine.Eip.Address("foo", new()
    {
        Bandwidth = 1,
        BillingType = "PostPaidByBandwidth",
        Description = "acc-test",
        Isp = "ChinaUnicom",
        ProjectName = "default",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.eip.Address;
import com.pulumi.volcengine.eip.AddressArgs;
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 Address("foo", AddressArgs.builder()        
            .bandwidth(1)
            .billingType("PostPaidByBandwidth")
            .description("acc-test")
            .isp("ChinaUnicom")
            .projectName("default")
            .build());

    }
}
Copy
resources:
  foo:
    type: volcengine:eip:Address
    properties:
      bandwidth: 1
      billingType: PostPaidByBandwidth
      description: acc-test
      isp: ChinaUnicom
      projectName: default
Copy

Create Address Resource

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

Constructor syntax

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

@overload
def Address(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            billing_type: Optional[str] = None,
            bandwidth: Optional[int] = None,
            description: Optional[str] = None,
            isp: Optional[str] = None,
            name: Optional[str] = None,
            period: Optional[int] = None,
            project_name: Optional[str] = None,
            security_protection_types: Optional[Sequence[str]] = None,
            tags: Optional[Sequence[AddressTagArgs]] = None)
func NewAddress(ctx *Context, name string, args AddressArgs, opts ...ResourceOption) (*Address, error)
public Address(string name, AddressArgs args, CustomResourceOptions? opts = null)
public Address(String name, AddressArgs args)
public Address(String name, AddressArgs args, CustomResourceOptions options)
type: volcengine:eip:Address
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 This property is required. AddressArgs
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 This property is required. AddressArgs
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 This property is required. AddressArgs
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 This property is required. AddressArgs
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. AddressArgs
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 addressResource = new Volcengine.Eip.Address("addressResource", new()
{
    BillingType = "string",
    Bandwidth = 0,
    Description = "string",
    Isp = "string",
    Name = "string",
    Period = 0,
    ProjectName = "string",
    SecurityProtectionTypes = new[]
    {
        "string",
    },
    Tags = new[]
    {
        new Volcengine.Eip.Inputs.AddressTagArgs
        {
            Key = "string",
            Value = "string",
        },
    },
});
Copy
example, err := eip.NewAddress(ctx, "addressResource", &eip.AddressArgs{
	BillingType: pulumi.String("string"),
	Bandwidth:   pulumi.Int(0),
	Description: pulumi.String("string"),
	Isp:         pulumi.String("string"),
	Name:        pulumi.String("string"),
	Period:      pulumi.Int(0),
	ProjectName: pulumi.String("string"),
	SecurityProtectionTypes: pulumi.StringArray{
		pulumi.String("string"),
	},
	Tags: eip.AddressTagArray{
		&eip.AddressTagArgs{
			Key:   pulumi.String("string"),
			Value: pulumi.String("string"),
		},
	},
})
Copy
var addressResource = new Address("addressResource", AddressArgs.builder()
    .billingType("string")
    .bandwidth(0)
    .description("string")
    .isp("string")
    .name("string")
    .period(0)
    .projectName("string")
    .securityProtectionTypes("string")
    .tags(AddressTagArgs.builder()
        .key("string")
        .value("string")
        .build())
    .build());
Copy
address_resource = volcengine.eip.Address("addressResource",
    billing_type="string",
    bandwidth=0,
    description="string",
    isp="string",
    name="string",
    period=0,
    project_name="string",
    security_protection_types=["string"],
    tags=[{
        "key": "string",
        "value": "string",
    }])
Copy
const addressResource = new volcengine.eip.Address("addressResource", {
    billingType: "string",
    bandwidth: 0,
    description: "string",
    isp: "string",
    name: "string",
    period: 0,
    projectName: "string",
    securityProtectionTypes: ["string"],
    tags: [{
        key: "string",
        value: "string",
    }],
});
Copy
type: volcengine:eip:Address
properties:
    bandwidth: 0
    billingType: string
    description: string
    isp: string
    name: string
    period: 0
    projectName: string
    securityProtectionTypes:
        - string
    tags:
        - key: string
          value: string
Copy

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

BillingType This property is required. string
The billing type of the EIP Address. And optional choice contains PostPaidByBandwidth or PostPaidByTraffic or PrePaid.
Bandwidth int
The peek bandwidth of the EIP.
Description string
The description of the EIP.
Isp Changes to this property will trigger replacement. string
The ISP of the EIP, the value can be BGP or ChinaMobile or ChinaUnicom or ChinaTelecom or SingleLine_BGP or Static_BGP or Fusion_BGP.
Name string
The name of the EIP Address.
Period int
The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid Eip or changing the billing_type from PostPaid to PrePaid.
ProjectName string
The ProjectName of the EIP.
SecurityProtectionTypes Changes to this property will trigger replacement. List<string>
Security protection types for public IP addresses. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: AntiDDoS_Enhanced or left blank.If the value is AntiDDoS_Enhanced, then will create an eip with enhanced protection,(can be added to DDoS native protection (enterprise version) instance). If left blank, it indicates an eip with basic protection.
Tags List<AddressTag>
Tags.
BillingType This property is required. string
The billing type of the EIP Address. And optional choice contains PostPaidByBandwidth or PostPaidByTraffic or PrePaid.
Bandwidth int
The peek bandwidth of the EIP.
Description string
The description of the EIP.
Isp Changes to this property will trigger replacement. string
The ISP of the EIP, the value can be BGP or ChinaMobile or ChinaUnicom or ChinaTelecom or SingleLine_BGP or Static_BGP or Fusion_BGP.
Name string
The name of the EIP Address.
Period int
The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid Eip or changing the billing_type from PostPaid to PrePaid.
ProjectName string
The ProjectName of the EIP.
SecurityProtectionTypes Changes to this property will trigger replacement. []string
Security protection types for public IP addresses. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: AntiDDoS_Enhanced or left blank.If the value is AntiDDoS_Enhanced, then will create an eip with enhanced protection,(can be added to DDoS native protection (enterprise version) instance). If left blank, it indicates an eip with basic protection.
Tags []AddressTagArgs
Tags.
billingType This property is required. String
The billing type of the EIP Address. And optional choice contains PostPaidByBandwidth or PostPaidByTraffic or PrePaid.
bandwidth Integer
The peek bandwidth of the EIP.
description String
The description of the EIP.
isp Changes to this property will trigger replacement. String
The ISP of the EIP, the value can be BGP or ChinaMobile or ChinaUnicom or ChinaTelecom or SingleLine_BGP or Static_BGP or Fusion_BGP.
name String
The name of the EIP Address.
period Integer
The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid Eip or changing the billing_type from PostPaid to PrePaid.
projectName String
The ProjectName of the EIP.
securityProtectionTypes Changes to this property will trigger replacement. List<String>
Security protection types for public IP addresses. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: AntiDDoS_Enhanced or left blank.If the value is AntiDDoS_Enhanced, then will create an eip with enhanced protection,(can be added to DDoS native protection (enterprise version) instance). If left blank, it indicates an eip with basic protection.
tags List<AddressTag>
Tags.
billingType This property is required. string
The billing type of the EIP Address. And optional choice contains PostPaidByBandwidth or PostPaidByTraffic or PrePaid.
bandwidth number
The peek bandwidth of the EIP.
description string
The description of the EIP.
isp Changes to this property will trigger replacement. string
The ISP of the EIP, the value can be BGP or ChinaMobile or ChinaUnicom or ChinaTelecom or SingleLine_BGP or Static_BGP or Fusion_BGP.
name string
The name of the EIP Address.
period number
The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid Eip or changing the billing_type from PostPaid to PrePaid.
projectName string
The ProjectName of the EIP.
securityProtectionTypes Changes to this property will trigger replacement. string[]
Security protection types for public IP addresses. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: AntiDDoS_Enhanced or left blank.If the value is AntiDDoS_Enhanced, then will create an eip with enhanced protection,(can be added to DDoS native protection (enterprise version) instance). If left blank, it indicates an eip with basic protection.
tags AddressTag[]
Tags.
billing_type This property is required. str
The billing type of the EIP Address. And optional choice contains PostPaidByBandwidth or PostPaidByTraffic or PrePaid.
bandwidth int
The peek bandwidth of the EIP.
description str
The description of the EIP.
isp Changes to this property will trigger replacement. str
The ISP of the EIP, the value can be BGP or ChinaMobile or ChinaUnicom or ChinaTelecom or SingleLine_BGP or Static_BGP or Fusion_BGP.
name str
The name of the EIP Address.
period int
The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid Eip or changing the billing_type from PostPaid to PrePaid.
project_name str
The ProjectName of the EIP.
security_protection_types Changes to this property will trigger replacement. Sequence[str]
Security protection types for public IP addresses. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: AntiDDoS_Enhanced or left blank.If the value is AntiDDoS_Enhanced, then will create an eip with enhanced protection,(can be added to DDoS native protection (enterprise version) instance). If left blank, it indicates an eip with basic protection.
tags Sequence[AddressTagArgs]
Tags.
billingType This property is required. String
The billing type of the EIP Address. And optional choice contains PostPaidByBandwidth or PostPaidByTraffic or PrePaid.
bandwidth Number
The peek bandwidth of the EIP.
description String
The description of the EIP.
isp Changes to this property will trigger replacement. String
The ISP of the EIP, the value can be BGP or ChinaMobile or ChinaUnicom or ChinaTelecom or SingleLine_BGP or Static_BGP or Fusion_BGP.
name String
The name of the EIP Address.
period Number
The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid Eip or changing the billing_type from PostPaid to PrePaid.
projectName String
The ProjectName of the EIP.
securityProtectionTypes Changes to this property will trigger replacement. List<String>
Security protection types for public IP addresses. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: AntiDDoS_Enhanced or left blank.If the value is AntiDDoS_Enhanced, then will create an eip with enhanced protection,(can be added to DDoS native protection (enterprise version) instance). If left blank, it indicates an eip with basic protection.
tags List<Property Map>
Tags.

Outputs

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

DeletedTime string
The deleted time of the EIP.
EipAddress string
The ip address of the EIP.
ExpiredTime string
The expired time of the EIP.
Id string
The provider-assigned unique ID for this managed resource.
OverdueTime string
The overdue time of the EIP.
Status string
The status of the EIP.
DeletedTime string
The deleted time of the EIP.
EipAddress string
The ip address of the EIP.
ExpiredTime string
The expired time of the EIP.
Id string
The provider-assigned unique ID for this managed resource.
OverdueTime string
The overdue time of the EIP.
Status string
The status of the EIP.
deletedTime String
The deleted time of the EIP.
eipAddress String
The ip address of the EIP.
expiredTime String
The expired time of the EIP.
id String
The provider-assigned unique ID for this managed resource.
overdueTime String
The overdue time of the EIP.
status String
The status of the EIP.
deletedTime string
The deleted time of the EIP.
eipAddress string
The ip address of the EIP.
expiredTime string
The expired time of the EIP.
id string
The provider-assigned unique ID for this managed resource.
overdueTime string
The overdue time of the EIP.
status string
The status of the EIP.
deleted_time str
The deleted time of the EIP.
eip_address str
The ip address of the EIP.
expired_time str
The expired time of the EIP.
id str
The provider-assigned unique ID for this managed resource.
overdue_time str
The overdue time of the EIP.
status str
The status of the EIP.
deletedTime String
The deleted time of the EIP.
eipAddress String
The ip address of the EIP.
expiredTime String
The expired time of the EIP.
id String
The provider-assigned unique ID for this managed resource.
overdueTime String
The overdue time of the EIP.
status String
The status of the EIP.

Look up Existing Address Resource

Get an existing Address 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?: AddressState, opts?: CustomResourceOptions): Address
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        bandwidth: Optional[int] = None,
        billing_type: Optional[str] = None,
        deleted_time: Optional[str] = None,
        description: Optional[str] = None,
        eip_address: Optional[str] = None,
        expired_time: Optional[str] = None,
        isp: Optional[str] = None,
        name: Optional[str] = None,
        overdue_time: Optional[str] = None,
        period: Optional[int] = None,
        project_name: Optional[str] = None,
        security_protection_types: Optional[Sequence[str]] = None,
        status: Optional[str] = None,
        tags: Optional[Sequence[AddressTagArgs]] = None) -> Address
func GetAddress(ctx *Context, name string, id IDInput, state *AddressState, opts ...ResourceOption) (*Address, error)
public static Address Get(string name, Input<string> id, AddressState? state, CustomResourceOptions? opts = null)
public static Address get(String name, Output<String> id, AddressState state, CustomResourceOptions options)
resources:  _:    type: volcengine:eip:Address    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:
Bandwidth int
The peek bandwidth of the EIP.
BillingType string
The billing type of the EIP Address. And optional choice contains PostPaidByBandwidth or PostPaidByTraffic or PrePaid.
DeletedTime string
The deleted time of the EIP.
Description string
The description of the EIP.
EipAddress string
The ip address of the EIP.
ExpiredTime string
The expired time of the EIP.
Isp Changes to this property will trigger replacement. string
The ISP of the EIP, the value can be BGP or ChinaMobile or ChinaUnicom or ChinaTelecom or SingleLine_BGP or Static_BGP or Fusion_BGP.
Name string
The name of the EIP Address.
OverdueTime string
The overdue time of the EIP.
Period int
The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid Eip or changing the billing_type from PostPaid to PrePaid.
ProjectName string
The ProjectName of the EIP.
SecurityProtectionTypes Changes to this property will trigger replacement. List<string>
Security protection types for public IP addresses. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: AntiDDoS_Enhanced or left blank.If the value is AntiDDoS_Enhanced, then will create an eip with enhanced protection,(can be added to DDoS native protection (enterprise version) instance). If left blank, it indicates an eip with basic protection.
Status string
The status of the EIP.
Tags List<AddressTag>
Tags.
Bandwidth int
The peek bandwidth of the EIP.
BillingType string
The billing type of the EIP Address. And optional choice contains PostPaidByBandwidth or PostPaidByTraffic or PrePaid.
DeletedTime string
The deleted time of the EIP.
Description string
The description of the EIP.
EipAddress string
The ip address of the EIP.
ExpiredTime string
The expired time of the EIP.
Isp Changes to this property will trigger replacement. string
The ISP of the EIP, the value can be BGP or ChinaMobile or ChinaUnicom or ChinaTelecom or SingleLine_BGP or Static_BGP or Fusion_BGP.
Name string
The name of the EIP Address.
OverdueTime string
The overdue time of the EIP.
Period int
The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid Eip or changing the billing_type from PostPaid to PrePaid.
ProjectName string
The ProjectName of the EIP.
SecurityProtectionTypes Changes to this property will trigger replacement. []string
Security protection types for public IP addresses. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: AntiDDoS_Enhanced or left blank.If the value is AntiDDoS_Enhanced, then will create an eip with enhanced protection,(can be added to DDoS native protection (enterprise version) instance). If left blank, it indicates an eip with basic protection.
Status string
The status of the EIP.
Tags []AddressTagArgs
Tags.
bandwidth Integer
The peek bandwidth of the EIP.
billingType String
The billing type of the EIP Address. And optional choice contains PostPaidByBandwidth or PostPaidByTraffic or PrePaid.
deletedTime String
The deleted time of the EIP.
description String
The description of the EIP.
eipAddress String
The ip address of the EIP.
expiredTime String
The expired time of the EIP.
isp Changes to this property will trigger replacement. String
The ISP of the EIP, the value can be BGP or ChinaMobile or ChinaUnicom or ChinaTelecom or SingleLine_BGP or Static_BGP or Fusion_BGP.
name String
The name of the EIP Address.
overdueTime String
The overdue time of the EIP.
period Integer
The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid Eip or changing the billing_type from PostPaid to PrePaid.
projectName String
The ProjectName of the EIP.
securityProtectionTypes Changes to this property will trigger replacement. List<String>
Security protection types for public IP addresses. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: AntiDDoS_Enhanced or left blank.If the value is AntiDDoS_Enhanced, then will create an eip with enhanced protection,(can be added to DDoS native protection (enterprise version) instance). If left blank, it indicates an eip with basic protection.
status String
The status of the EIP.
tags List<AddressTag>
Tags.
bandwidth number
The peek bandwidth of the EIP.
billingType string
The billing type of the EIP Address. And optional choice contains PostPaidByBandwidth or PostPaidByTraffic or PrePaid.
deletedTime string
The deleted time of the EIP.
description string
The description of the EIP.
eipAddress string
The ip address of the EIP.
expiredTime string
The expired time of the EIP.
isp Changes to this property will trigger replacement. string
The ISP of the EIP, the value can be BGP or ChinaMobile or ChinaUnicom or ChinaTelecom or SingleLine_BGP or Static_BGP or Fusion_BGP.
name string
The name of the EIP Address.
overdueTime string
The overdue time of the EIP.
period number
The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid Eip or changing the billing_type from PostPaid to PrePaid.
projectName string
The ProjectName of the EIP.
securityProtectionTypes Changes to this property will trigger replacement. string[]
Security protection types for public IP addresses. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: AntiDDoS_Enhanced or left blank.If the value is AntiDDoS_Enhanced, then will create an eip with enhanced protection,(can be added to DDoS native protection (enterprise version) instance). If left blank, it indicates an eip with basic protection.
status string
The status of the EIP.
tags AddressTag[]
Tags.
bandwidth int
The peek bandwidth of the EIP.
billing_type str
The billing type of the EIP Address. And optional choice contains PostPaidByBandwidth or PostPaidByTraffic or PrePaid.
deleted_time str
The deleted time of the EIP.
description str
The description of the EIP.
eip_address str
The ip address of the EIP.
expired_time str
The expired time of the EIP.
isp Changes to this property will trigger replacement. str
The ISP of the EIP, the value can be BGP or ChinaMobile or ChinaUnicom or ChinaTelecom or SingleLine_BGP or Static_BGP or Fusion_BGP.
name str
The name of the EIP Address.
overdue_time str
The overdue time of the EIP.
period int
The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid Eip or changing the billing_type from PostPaid to PrePaid.
project_name str
The ProjectName of the EIP.
security_protection_types Changes to this property will trigger replacement. Sequence[str]
Security protection types for public IP addresses. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: AntiDDoS_Enhanced or left blank.If the value is AntiDDoS_Enhanced, then will create an eip with enhanced protection,(can be added to DDoS native protection (enterprise version) instance). If left blank, it indicates an eip with basic protection.
status str
The status of the EIP.
tags Sequence[AddressTagArgs]
Tags.
bandwidth Number
The peek bandwidth of the EIP.
billingType String
The billing type of the EIP Address. And optional choice contains PostPaidByBandwidth or PostPaidByTraffic or PrePaid.
deletedTime String
The deleted time of the EIP.
description String
The description of the EIP.
eipAddress String
The ip address of the EIP.
expiredTime String
The expired time of the EIP.
isp Changes to this property will trigger replacement. String
The ISP of the EIP, the value can be BGP or ChinaMobile or ChinaUnicom or ChinaTelecom or SingleLine_BGP or Static_BGP or Fusion_BGP.
name String
The name of the EIP Address.
overdueTime String
The overdue time of the EIP.
period Number
The period of the EIP Address, the valid value range in 1~9 or 12 or 36. Default value is 12. The period unit defaults to Month.This field is only effective when creating a PrePaid Eip or changing the billing_type from PostPaid to PrePaid.
projectName String
The ProjectName of the EIP.
securityProtectionTypes Changes to this property will trigger replacement. List<String>
Security protection types for public IP addresses. Parameter - N: Indicates the number of security protection types, currently only supports taking 1. Value: AntiDDoS_Enhanced or left blank.If the value is AntiDDoS_Enhanced, then will create an eip with enhanced protection,(can be added to DDoS native protection (enterprise version) instance). If left blank, it indicates an eip with basic protection.
status String
The status of the EIP.
tags List<Property Map>
Tags.

Supporting Types

AddressTag
, AddressTagArgs

Key This property is required. string
The Key of Tags.
Value This property is required. string
The Value of Tags.
Key This property is required. string
The Key of Tags.
Value This property is required. string
The Value of Tags.
key This property is required. String
The Key of Tags.
value This property is required. String
The Value of Tags.
key This property is required. string
The Key of Tags.
value This property is required. string
The Value of Tags.
key This property is required. str
The Key of Tags.
value This property is required. str
The Value of Tags.
key This property is required. String
The Key of Tags.
value This property is required. String
The Value of Tags.

Import

Eip address can be imported using the id, e.g.

$ pulumi import volcengine:eip/address:Address default eip-274oj9a8rs9a87fap8sf9515b
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
volcengine volcengine/pulumi-volcengine
License
Apache-2.0
Notes
This Pulumi package is based on the volcengine Terraform Provider.