Eip Segment Address Args
Provides a EIP Segment Address resource. For information about EIP Segment Address and how to use it, see What is Segment Address.
NOTE: Available since v1.207.0.
Example Usage
Basic Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.ecs.EipSegmentAddress;
import com.pulumi.alicloud.ecs.EipSegmentAddressArgs;
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) {
final var config = ctx.config();
final var name = config.get("name").orElse("terraform-example");
var default_ = new EipSegmentAddress("default", EipSegmentAddressArgs.builder()
.bandwidth("5")
.eipMask("28")
.internetChargeType("PayByBandwidth")
.isp("BGP")
.netmode("public")
.build());
}
}
Import
EIP Segment Address can be imported using the id, e.g.
$ pulumi import alicloud:ecs/eipSegmentAddress:EipSegmentAddress example <id>
Constructors
Functions
Properties
The peak bandwidth of the EIP. Unit: Mbps. When the value of instancargetype is PostPaid and the value of InternetChargeType is PayByBandwidth, the range of Bandwidth is 1 to 500. If the value of instancargetype is PostPaid and the value of InternetChargeType is PayByTraffic, the range of Bandwidth is 1 to 200. When instancargetype is set to PrePaid, the range of Bandwidth is 1 to 1000. The default value is 5 Mbps.
Mask of consecutive EIPs. Value:28: For a single call, the system will allocate 16 consecutive EIPs.27: For a single call, the system will allocate 32 consecutive EIPs.26: For a single call, the system will allocate 64 consecutive EIPs.25: For a single call, the system will allocate 128 consecutive EIPs.24: For a single call, the system will allocate 256 consecutive EIPs.