alicloud logo
Alibaba Cloud v3.38.0, Jun 2 23

alicloud.ecs.Eip

Explore with Pulumi AI

Deprecated:

This resource has been deprecated in favour of the EipAddress resource

Provides an elastic IP resource.

DEPRECATED: This resource has been deprecated from version 1.126.0. Please use new resource alicloud_eip_address.

NOTE: The resource only supports to create PostPaid PayByTraffic or PrePaid PayByBandwidth elastic IP for international account. Otherwise, you will happened error COMMODITY.INVALID_COMPONENT. Your account is international if you can use it to login in International Web Console.

NOTE: From version 1.10.1, this resource supports creating “PrePaid” EIP. In addition, it supports setting EIP name and description.

Module Support

You can use the existing eip module to create several EIP instances and associate them with other resources one-click, like ECS instances, SLB, Nat Gateway and so on.

Example Usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    // Create a new EIP.
    var example = new AliCloud.Ecs.Eip("example", new()
    {
        Bandwidth = "10",
        InternetChargeType = "PayByBandwidth",
    });

});
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ecs.NewEip(ctx, "example", &ecs.EipArgs{
			Bandwidth:          pulumi.String("10"),
			InternetChargeType: pulumi.String("PayByBandwidth"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.ecs.Eip;
import com.pulumi.alicloud.ecs.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 example = new Eip("example", EipArgs.builder()        
            .bandwidth("10")
            .internetChargeType("PayByBandwidth")
            .build());

    }
}
import pulumi
import pulumi_alicloud as alicloud

# Create a new EIP.
example = alicloud.ecs.Eip("example",
    bandwidth="10",
    internet_charge_type="PayByBandwidth")
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

// Create a new EIP.
const example = new alicloud.ecs.Eip("example", {
    bandwidth: "10",
    internetChargeType: "PayByBandwidth",
});
resources:
  # Create a new EIP.
  example:
    type: alicloud:ecs:Eip
    properties:
      bandwidth: '10'
      internetChargeType: PayByBandwidth

Create Eip Resource

new Eip(name: string, args?: EipArgs, opts?: CustomResourceOptions);
@overload
def Eip(resource_name: str,
        opts: Optional[ResourceOptions] = None,
        activity_id: Optional[str] = None,
        address_name: Optional[str] = None,
        auto_pay: Optional[bool] = None,
        bandwidth: Optional[str] = None,
        deletion_protection: Optional[bool] = None,
        description: Optional[str] = None,
        high_definition_monitor_log_status: Optional[str] = None,
        instance_charge_type: Optional[str] = None,
        internet_charge_type: Optional[str] = None,
        isp: Optional[str] = None,
        log_project: Optional[str] = None,
        log_store: Optional[str] = None,
        name: Optional[str] = None,
        netmode: Optional[str] = None,
        payment_type: Optional[str] = None,
        period: Optional[int] = None,
        public_ip_address_pool_id: Optional[str] = None,
        resource_group_id: Optional[str] = None,
        security_protection_types: Optional[Sequence[str]] = None,
        tags: Optional[Mapping[str, Any]] = None)
@overload
def Eip(resource_name: str,
        args: Optional[EipArgs] = None,
        opts: Optional[ResourceOptions] = None)
func NewEip(ctx *Context, name string, args *EipArgs, opts ...ResourceOption) (*Eip, error)
public Eip(string name, EipArgs? args = null, CustomResourceOptions? opts = null)
public Eip(String name, EipArgs args)
public Eip(String name, EipArgs args, CustomResourceOptions options)
type: alicloud:ecs:Eip
properties: # The arguments to resource properties.
options: # 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.
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

The Eip resource accepts the following input properties:

ActivityId string
AddressName string

The name of the EIP instance. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://.

AutoPay bool
Bandwidth string

Maximum bandwidth to the elastic public network, measured in Mbps (Mega bit per second). If this value is not specified, then automatically sets it to 5 Mbps.

DeletionProtection bool

Whether enable the deletion protection or not. Default value: false.

  • true: Enable deletion protection.
  • false: Disable deletion protection.
Description string

Description of the EIP instance, This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null.

HighDefinitionMonitorLogStatus string
InstanceChargeType string

(It has been deprecated from version 1.126.0 and using new attribute payment_type instead) Elastic IP instance charge type. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid".

Deprecated:

Field 'instance_charge_type' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead.

InternetChargeType string

Internet charge type of the EIP, Valid values are PayByBandwidth, PayByTraffic. Default to PayByBandwidth. NOTE: From version 1.7.1 to 1.125.0, it defaults to PayByTraffic. It is only "PayByBandwidth" when instance_charge_type is PrePaid.

Isp string

The line type of the Elastic IP instance. Default to BGP. Other type of the isp need to open a whitelist.

LogProject string
LogStore string
Name string

It has been deprecated from version 1.126.0 and using new attribute address_name instead.

Deprecated:

Field 'name' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'address_name' instead.

Netmode string
PaymentType string

The billing method of the EIP. Valid values: Subscription and PayAsYouGo. Default value is PayAsYouGo.

Period int

The duration that you will buy the resource, in month. It is valid when instance_charge_type is PrePaid. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console. NOTE: The attribute period is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running pulumi up will not effect the resource.

PublicIpAddressPoolId string
ResourceGroupId string

The Id of resource group which the eip belongs.

SecurityProtectionTypes List<string>
Tags Dictionary<string, object>

A mapping of tags to assign to the resource.

ActivityId string
AddressName string

The name of the EIP instance. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://.

AutoPay bool
Bandwidth string

Maximum bandwidth to the elastic public network, measured in Mbps (Mega bit per second). If this value is not specified, then automatically sets it to 5 Mbps.

DeletionProtection bool

Whether enable the deletion protection or not. Default value: false.

  • true: Enable deletion protection.
  • false: Disable deletion protection.
Description string

Description of the EIP instance, This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null.

HighDefinitionMonitorLogStatus string
InstanceChargeType string

(It has been deprecated from version 1.126.0 and using new attribute payment_type instead) Elastic IP instance charge type. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid".

Deprecated:

Field 'instance_charge_type' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead.

InternetChargeType string

Internet charge type of the EIP, Valid values are PayByBandwidth, PayByTraffic. Default to PayByBandwidth. NOTE: From version 1.7.1 to 1.125.0, it defaults to PayByTraffic. It is only "PayByBandwidth" when instance_charge_type is PrePaid.

Isp string

The line type of the Elastic IP instance. Default to BGP. Other type of the isp need to open a whitelist.

LogProject string
LogStore string
Name string

It has been deprecated from version 1.126.0 and using new attribute address_name instead.

Deprecated:

Field 'name' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'address_name' instead.

Netmode string
PaymentType string

The billing method of the EIP. Valid values: Subscription and PayAsYouGo. Default value is PayAsYouGo.

Period int

The duration that you will buy the resource, in month. It is valid when instance_charge_type is PrePaid. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console. NOTE: The attribute period is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running pulumi up will not effect the resource.

PublicIpAddressPoolId string
ResourceGroupId string

The Id of resource group which the eip belongs.

SecurityProtectionTypes []string
Tags map[string]interface{}

A mapping of tags to assign to the resource.

activityId String
addressName String

The name of the EIP instance. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://.

autoPay Boolean
bandwidth String

Maximum bandwidth to the elastic public network, measured in Mbps (Mega bit per second). If this value is not specified, then automatically sets it to 5 Mbps.

deletionProtection Boolean

Whether enable the deletion protection or not. Default value: false.

  • true: Enable deletion protection.
  • false: Disable deletion protection.
description String

Description of the EIP instance, This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null.

highDefinitionMonitorLogStatus String
instanceChargeType String

(It has been deprecated from version 1.126.0 and using new attribute payment_type instead) Elastic IP instance charge type. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid".

Deprecated:

Field 'instance_charge_type' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead.

internetChargeType String

Internet charge type of the EIP, Valid values are PayByBandwidth, PayByTraffic. Default to PayByBandwidth. NOTE: From version 1.7.1 to 1.125.0, it defaults to PayByTraffic. It is only "PayByBandwidth" when instance_charge_type is PrePaid.

isp String

The line type of the Elastic IP instance. Default to BGP. Other type of the isp need to open a whitelist.

logProject String
logStore String
name String

It has been deprecated from version 1.126.0 and using new attribute address_name instead.

Deprecated:

Field 'name' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'address_name' instead.

netmode String
paymentType String

The billing method of the EIP. Valid values: Subscription and PayAsYouGo. Default value is PayAsYouGo.

period Integer

The duration that you will buy the resource, in month. It is valid when instance_charge_type is PrePaid. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console. NOTE: The attribute period is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running pulumi up will not effect the resource.

publicIpAddressPoolId String
resourceGroupId String

The Id of resource group which the eip belongs.

securityProtectionTypes List<String>
tags Map<String,Object>

A mapping of tags to assign to the resource.

activityId string
addressName string

The name of the EIP instance. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://.

autoPay boolean
bandwidth string

Maximum bandwidth to the elastic public network, measured in Mbps (Mega bit per second). If this value is not specified, then automatically sets it to 5 Mbps.

deletionProtection boolean

Whether enable the deletion protection or not. Default value: false.

  • true: Enable deletion protection.
  • false: Disable deletion protection.
description string

Description of the EIP instance, This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null.

highDefinitionMonitorLogStatus string
instanceChargeType string

(It has been deprecated from version 1.126.0 and using new attribute payment_type instead) Elastic IP instance charge type. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid".

Deprecated:

Field 'instance_charge_type' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead.

internetChargeType string

Internet charge type of the EIP, Valid values are PayByBandwidth, PayByTraffic. Default to PayByBandwidth. NOTE: From version 1.7.1 to 1.125.0, it defaults to PayByTraffic. It is only "PayByBandwidth" when instance_charge_type is PrePaid.

isp string

The line type of the Elastic IP instance. Default to BGP. Other type of the isp need to open a whitelist.

logProject string
logStore string
name string

It has been deprecated from version 1.126.0 and using new attribute address_name instead.

Deprecated:

Field 'name' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'address_name' instead.

netmode string
paymentType string

The billing method of the EIP. Valid values: Subscription and PayAsYouGo. Default value is PayAsYouGo.

period number

The duration that you will buy the resource, in month. It is valid when instance_charge_type is PrePaid. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console. NOTE: The attribute period is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running pulumi up will not effect the resource.

publicIpAddressPoolId string
resourceGroupId string

The Id of resource group which the eip belongs.

securityProtectionTypes string[]
tags {[key: string]: any}

A mapping of tags to assign to the resource.

activity_id str
address_name str

The name of the EIP instance. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://.

auto_pay bool
bandwidth str

Maximum bandwidth to the elastic public network, measured in Mbps (Mega bit per second). If this value is not specified, then automatically sets it to 5 Mbps.

deletion_protection bool

Whether enable the deletion protection or not. Default value: false.

  • true: Enable deletion protection.
  • false: Disable deletion protection.
description str

Description of the EIP instance, This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null.

high_definition_monitor_log_status str
instance_charge_type str

(It has been deprecated from version 1.126.0 and using new attribute payment_type instead) Elastic IP instance charge type. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid".

Deprecated:

Field 'instance_charge_type' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead.

internet_charge_type str

Internet charge type of the EIP, Valid values are PayByBandwidth, PayByTraffic. Default to PayByBandwidth. NOTE: From version 1.7.1 to 1.125.0, it defaults to PayByTraffic. It is only "PayByBandwidth" when instance_charge_type is PrePaid.

isp str

The line type of the Elastic IP instance. Default to BGP. Other type of the isp need to open a whitelist.

log_project str
log_store str
name str

It has been deprecated from version 1.126.0 and using new attribute address_name instead.

Deprecated:

Field 'name' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'address_name' instead.

netmode str
payment_type str

The billing method of the EIP. Valid values: Subscription and PayAsYouGo. Default value is PayAsYouGo.

period int

The duration that you will buy the resource, in month. It is valid when instance_charge_type is PrePaid. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console. NOTE: The attribute period is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running pulumi up will not effect the resource.

public_ip_address_pool_id str
resource_group_id str

The Id of resource group which the eip belongs.

security_protection_types Sequence[str]
tags Mapping[str, Any]

A mapping of tags to assign to the resource.

activityId String
addressName String

The name of the EIP instance. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://.

autoPay Boolean
bandwidth String

Maximum bandwidth to the elastic public network, measured in Mbps (Mega bit per second). If this value is not specified, then automatically sets it to 5 Mbps.

deletionProtection Boolean

Whether enable the deletion protection or not. Default value: false.

  • true: Enable deletion protection.
  • false: Disable deletion protection.
description String

Description of the EIP instance, This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null.

highDefinitionMonitorLogStatus String
instanceChargeType String

(It has been deprecated from version 1.126.0 and using new attribute payment_type instead) Elastic IP instance charge type. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid".

Deprecated:

Field 'instance_charge_type' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead.

internetChargeType String

Internet charge type of the EIP, Valid values are PayByBandwidth, PayByTraffic. Default to PayByBandwidth. NOTE: From version 1.7.1 to 1.125.0, it defaults to PayByTraffic. It is only "PayByBandwidth" when instance_charge_type is PrePaid.

isp String

The line type of the Elastic IP instance. Default to BGP. Other type of the isp need to open a whitelist.

logProject String
logStore String
name String

It has been deprecated from version 1.126.0 and using new attribute address_name instead.

Deprecated:

Field 'name' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'address_name' instead.

netmode String
paymentType String

The billing method of the EIP. Valid values: Subscription and PayAsYouGo. Default value is PayAsYouGo.

period Number

The duration that you will buy the resource, in month. It is valid when instance_charge_type is PrePaid. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console. NOTE: The attribute period is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running pulumi up will not effect the resource.

publicIpAddressPoolId String
resourceGroupId String

The Id of resource group which the eip belongs.

securityProtectionTypes List<String>
tags Map<Any>

A mapping of tags to assign to the resource.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

IpAddress string

The elastic ip address

Status string

The EIP current status.

Id string

The provider-assigned unique ID for this managed resource.

IpAddress string

The elastic ip address

Status string

The EIP current status.

id String

The provider-assigned unique ID for this managed resource.

ipAddress String

The elastic ip address

status String

The EIP current status.

id string

The provider-assigned unique ID for this managed resource.

ipAddress string

The elastic ip address

status string

The EIP current status.

id str

The provider-assigned unique ID for this managed resource.

ip_address str

The elastic ip address

status str

The EIP current status.

id String

The provider-assigned unique ID for this managed resource.

ipAddress String

The elastic ip address

status String

The EIP current status.

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,
        activity_id: Optional[str] = None,
        address_name: Optional[str] = None,
        auto_pay: Optional[bool] = None,
        bandwidth: Optional[str] = None,
        deletion_protection: Optional[bool] = None,
        description: Optional[str] = None,
        high_definition_monitor_log_status: Optional[str] = None,
        instance_charge_type: Optional[str] = None,
        internet_charge_type: Optional[str] = None,
        ip_address: Optional[str] = None,
        isp: Optional[str] = None,
        log_project: Optional[str] = None,
        log_store: Optional[str] = None,
        name: Optional[str] = None,
        netmode: Optional[str] = None,
        payment_type: Optional[str] = None,
        period: Optional[int] = None,
        public_ip_address_pool_id: Optional[str] = None,
        resource_group_id: Optional[str] = None,
        security_protection_types: Optional[Sequence[str]] = None,
        status: Optional[str] = None,
        tags: Optional[Mapping[str, Any]] = 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)
Resource lookup is not supported in YAML
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.
The following state arguments are supported:
ActivityId string
AddressName string

The name of the EIP instance. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://.

AutoPay bool
Bandwidth string

Maximum bandwidth to the elastic public network, measured in Mbps (Mega bit per second). If this value is not specified, then automatically sets it to 5 Mbps.

DeletionProtection bool

Whether enable the deletion protection or not. Default value: false.

  • true: Enable deletion protection.
  • false: Disable deletion protection.
Description string

Description of the EIP instance, This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null.

HighDefinitionMonitorLogStatus string
InstanceChargeType string

(It has been deprecated from version 1.126.0 and using new attribute payment_type instead) Elastic IP instance charge type. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid".

Deprecated:

Field 'instance_charge_type' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead.

InternetChargeType string

Internet charge type of the EIP, Valid values are PayByBandwidth, PayByTraffic. Default to PayByBandwidth. NOTE: From version 1.7.1 to 1.125.0, it defaults to PayByTraffic. It is only "PayByBandwidth" when instance_charge_type is PrePaid.

IpAddress string

The elastic ip address

Isp string

The line type of the Elastic IP instance. Default to BGP. Other type of the isp need to open a whitelist.

LogProject string
LogStore string
Name string

It has been deprecated from version 1.126.0 and using new attribute address_name instead.

Deprecated:

Field 'name' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'address_name' instead.

Netmode string
PaymentType string

The billing method of the EIP. Valid values: Subscription and PayAsYouGo. Default value is PayAsYouGo.

Period int

The duration that you will buy the resource, in month. It is valid when instance_charge_type is PrePaid. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console. NOTE: The attribute period is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running pulumi up will not effect the resource.

PublicIpAddressPoolId string
ResourceGroupId string

The Id of resource group which the eip belongs.

SecurityProtectionTypes List<string>
Status string

The EIP current status.

Tags Dictionary<string, object>

A mapping of tags to assign to the resource.

ActivityId string
AddressName string

The name of the EIP instance. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://.

AutoPay bool
Bandwidth string

Maximum bandwidth to the elastic public network, measured in Mbps (Mega bit per second). If this value is not specified, then automatically sets it to 5 Mbps.

DeletionProtection bool

Whether enable the deletion protection or not. Default value: false.

  • true: Enable deletion protection.
  • false: Disable deletion protection.
Description string

Description of the EIP instance, This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null.

HighDefinitionMonitorLogStatus string
InstanceChargeType string

(It has been deprecated from version 1.126.0 and using new attribute payment_type instead) Elastic IP instance charge type. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid".

Deprecated:

Field 'instance_charge_type' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead.

InternetChargeType string

Internet charge type of the EIP, Valid values are PayByBandwidth, PayByTraffic. Default to PayByBandwidth. NOTE: From version 1.7.1 to 1.125.0, it defaults to PayByTraffic. It is only "PayByBandwidth" when instance_charge_type is PrePaid.

IpAddress string

The elastic ip address

Isp string

The line type of the Elastic IP instance. Default to BGP. Other type of the isp need to open a whitelist.

LogProject string
LogStore string
Name string

It has been deprecated from version 1.126.0 and using new attribute address_name instead.

Deprecated:

Field 'name' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'address_name' instead.

Netmode string
PaymentType string

The billing method of the EIP. Valid values: Subscription and PayAsYouGo. Default value is PayAsYouGo.

Period int

The duration that you will buy the resource, in month. It is valid when instance_charge_type is PrePaid. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console. NOTE: The attribute period is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running pulumi up will not effect the resource.

PublicIpAddressPoolId string
ResourceGroupId string

The Id of resource group which the eip belongs.

SecurityProtectionTypes []string
Status string

The EIP current status.

Tags map[string]interface{}

A mapping of tags to assign to the resource.

activityId String
addressName String

The name of the EIP instance. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://.

autoPay Boolean
bandwidth String

Maximum bandwidth to the elastic public network, measured in Mbps (Mega bit per second). If this value is not specified, then automatically sets it to 5 Mbps.

deletionProtection Boolean

Whether enable the deletion protection or not. Default value: false.

  • true: Enable deletion protection.
  • false: Disable deletion protection.
description String

Description of the EIP instance, This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null.

highDefinitionMonitorLogStatus String
instanceChargeType String

(It has been deprecated from version 1.126.0 and using new attribute payment_type instead) Elastic IP instance charge type. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid".

Deprecated:

Field 'instance_charge_type' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead.

internetChargeType String

Internet charge type of the EIP, Valid values are PayByBandwidth, PayByTraffic. Default to PayByBandwidth. NOTE: From version 1.7.1 to 1.125.0, it defaults to PayByTraffic. It is only "PayByBandwidth" when instance_charge_type is PrePaid.

ipAddress String

The elastic ip address

isp String

The line type of the Elastic IP instance. Default to BGP. Other type of the isp need to open a whitelist.

logProject String
logStore String
name String

It has been deprecated from version 1.126.0 and using new attribute address_name instead.

Deprecated:

Field 'name' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'address_name' instead.

netmode String
paymentType String

The billing method of the EIP. Valid values: Subscription and PayAsYouGo. Default value is PayAsYouGo.

period Integer

The duration that you will buy the resource, in month. It is valid when instance_charge_type is PrePaid. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console. NOTE: The attribute period is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running pulumi up will not effect the resource.

publicIpAddressPoolId String
resourceGroupId String

The Id of resource group which the eip belongs.

securityProtectionTypes List<String>
status String

The EIP current status.

tags Map<String,Object>

A mapping of tags to assign to the resource.

activityId string
addressName string

The name of the EIP instance. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://.

autoPay boolean
bandwidth string

Maximum bandwidth to the elastic public network, measured in Mbps (Mega bit per second). If this value is not specified, then automatically sets it to 5 Mbps.

deletionProtection boolean

Whether enable the deletion protection or not. Default value: false.

  • true: Enable deletion protection.
  • false: Disable deletion protection.
description string

Description of the EIP instance, This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null.

highDefinitionMonitorLogStatus string
instanceChargeType string

(It has been deprecated from version 1.126.0 and using new attribute payment_type instead) Elastic IP instance charge type. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid".

Deprecated:

Field 'instance_charge_type' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead.

internetChargeType string

Internet charge type of the EIP, Valid values are PayByBandwidth, PayByTraffic. Default to PayByBandwidth. NOTE: From version 1.7.1 to 1.125.0, it defaults to PayByTraffic. It is only "PayByBandwidth" when instance_charge_type is PrePaid.

ipAddress string

The elastic ip address

isp string

The line type of the Elastic IP instance. Default to BGP. Other type of the isp need to open a whitelist.

logProject string
logStore string
name string

It has been deprecated from version 1.126.0 and using new attribute address_name instead.

Deprecated:

Field 'name' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'address_name' instead.

netmode string
paymentType string

The billing method of the EIP. Valid values: Subscription and PayAsYouGo. Default value is PayAsYouGo.

period number

The duration that you will buy the resource, in month. It is valid when instance_charge_type is PrePaid. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console. NOTE: The attribute period is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running pulumi up will not effect the resource.

publicIpAddressPoolId string
resourceGroupId string

The Id of resource group which the eip belongs.

securityProtectionTypes string[]
status string

The EIP current status.

tags {[key: string]: any}

A mapping of tags to assign to the resource.

activity_id str
address_name str

The name of the EIP instance. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://.

auto_pay bool
bandwidth str

Maximum bandwidth to the elastic public network, measured in Mbps (Mega bit per second). If this value is not specified, then automatically sets it to 5 Mbps.

deletion_protection bool

Whether enable the deletion protection or not. Default value: false.

  • true: Enable deletion protection.
  • false: Disable deletion protection.
description str

Description of the EIP instance, This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null.

high_definition_monitor_log_status str
instance_charge_type str

(It has been deprecated from version 1.126.0 and using new attribute payment_type instead) Elastic IP instance charge type. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid".

Deprecated:

Field 'instance_charge_type' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead.

internet_charge_type str

Internet charge type of the EIP, Valid values are PayByBandwidth, PayByTraffic. Default to PayByBandwidth. NOTE: From version 1.7.1 to 1.125.0, it defaults to PayByTraffic. It is only "PayByBandwidth" when instance_charge_type is PrePaid.

ip_address str

The elastic ip address

isp str

The line type of the Elastic IP instance. Default to BGP. Other type of the isp need to open a whitelist.

log_project str
log_store str
name str

It has been deprecated from version 1.126.0 and using new attribute address_name instead.

Deprecated:

Field 'name' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'address_name' instead.

netmode str
payment_type str

The billing method of the EIP. Valid values: Subscription and PayAsYouGo. Default value is PayAsYouGo.

period int

The duration that you will buy the resource, in month. It is valid when instance_charge_type is PrePaid. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console. NOTE: The attribute period is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running pulumi up will not effect the resource.

public_ip_address_pool_id str
resource_group_id str

The Id of resource group which the eip belongs.

security_protection_types Sequence[str]
status str

The EIP current status.

tags Mapping[str, Any]

A mapping of tags to assign to the resource.

activityId String
addressName String

The name of the EIP instance. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://.

autoPay Boolean
bandwidth String

Maximum bandwidth to the elastic public network, measured in Mbps (Mega bit per second). If this value is not specified, then automatically sets it to 5 Mbps.

deletionProtection Boolean

Whether enable the deletion protection or not. Default value: false.

  • true: Enable deletion protection.
  • false: Disable deletion protection.
description String

Description of the EIP instance, This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null.

highDefinitionMonitorLogStatus String
instanceChargeType String

(It has been deprecated from version 1.126.0 and using new attribute payment_type instead) Elastic IP instance charge type. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid".

Deprecated:

Field 'instance_charge_type' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'payment_type' instead.

internetChargeType String

Internet charge type of the EIP, Valid values are PayByBandwidth, PayByTraffic. Default to PayByBandwidth. NOTE: From version 1.7.1 to 1.125.0, it defaults to PayByTraffic. It is only "PayByBandwidth" when instance_charge_type is PrePaid.

ipAddress String

The elastic ip address

isp String

The line type of the Elastic IP instance. Default to BGP. Other type of the isp need to open a whitelist.

logProject String
logStore String
name String

It has been deprecated from version 1.126.0 and using new attribute address_name instead.

Deprecated:

Field 'name' has been deprecated from provider version 1.126.0 and it will be remove in the future version. Please use the new attribute 'address_name' instead.

netmode String
paymentType String

The billing method of the EIP. Valid values: Subscription and PayAsYouGo. Default value is PayAsYouGo.

period Number

The duration that you will buy the resource, in month. It is valid when instance_charge_type is PrePaid. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console. NOTE: The attribute period is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running pulumi up will not effect the resource.

publicIpAddressPoolId String
resourceGroupId String

The Id of resource group which the eip belongs.

securityProtectionTypes List<String>
status String

The EIP current status.

tags Map<Any>

A mapping of tags to assign to the resource.

Import

Elastic IP address can be imported using the id, e.g.

 $ pulumi import alicloud:ecs/eip:Eip example eip-abc12345678

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.