Class EipArgs
Inherited Members
Namespace: Pulumi.AliCloud.Ecs
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class EipArgs : ResourceArgs
Constructors
View SourceEipArgs()
Declaration
public EipArgs()
Properties
View SourceBandwidth
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.
Declaration
public Input<int> Bandwidth { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Description
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.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
InstanceChargeType
Elastic IP instance charge type. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid".
Declaration
public Input<string> InstanceChargeType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
InternetChargeType
Internet charge type of the EIP, Valid values are PayByBandwidth, PayByTraffic. Default to PayByBandwidth. From version 1.7.1, default to PayByTraffic. It is only PayByBandwidth when instance_charge_type is PrePaid.
Declaration
public Input<string> InternetChargeType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Isp
The line type of the Elastic IP instance. Default to BGP. Other type of the isp need to open a whitelist.
Declaration
public Input<string> Isp { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
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://.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Period
The duration that you will buy the resource, in month. It is valid when instance_charge_type is PrePaid.
Default to 1. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console.
Declaration
public Input<int> Period { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
ResourceGroupId
The Id of resource group which the eip belongs.
Declaration
public Input<string> ResourceGroupId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Tags
A mapping of tags to assign to the resource.
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |