Instance

Provides a RabbitMQ (AMQP) Instance resource. For information about RabbitMQ (AMQP) Instance and how to use it, see What is Instance.

NOTE: Available in v1.128.0+. NOTE: The AMQP Instance is not support to be purchase automatically in the international site.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.amqp.Instance;
import com.pulumi.alicloud.amqp.InstanceArgs;
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 professional = new Instance("professional", InstanceArgs.builder()
.instanceType("professional")
.maxEipTps(128)
.maxTps(1000)
.paymentType("Subscription")
.period(1)
.queueCapacity(50)
.supportEip(true)
.build());
var vip = new Instance("vip", InstanceArgs.builder()
.instanceType("vip")
.maxEipTps(128)
.maxTps(5000)
.paymentType("Subscription")
.period(1)
.queueCapacity(50)
.storageSize(700)
.supportEip(true)
.build());
}
}

Import

RabbitMQ (AMQP) Instance can be imported using the id, e.g.

$ pulumi import alicloud:amqp/instance:Instance example <id>

Properties

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val instanceName: Output<String>

The instance name.

Link copied to clipboard
val instanceType: Output<String>

The Instance Type. Valid values: professional, enterprise, vip.

Link copied to clipboard
val logistics: Output<String>?
Link copied to clipboard
val maxEipTps: Output<String>?

The max eip tps. It is valid when support_eip is true. The valid value is 128, 45000 with the step size 128.

Link copied to clipboard
val maxTps: Output<String>

The peak TPS traffic. The smallest valid value is 1000 and the largest value is 100,000.

Link copied to clipboard
val modifyType: Output<String>?

The modify type. Valid values: Downgrade, Upgrade. It is required when updating other attributes.

Link copied to clipboard
val paymentType: Output<String>

The payment type. Valid values: Subscription.

Link copied to clipboard
val period: Output<Int>?

The period. Valid values: 1, 12, 2, 24, 3, 6.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val queueCapacity: Output<String>

The queue capacity. The smallest value is 50 and the step size 5.

Link copied to clipboard
val renewalDuration: Output<Int>?

RenewalDuration. Valid values: 1, 12, 2, 3, 6.

Link copied to clipboard

Auto-Renewal Cycle Unit Values Include: Month: Month. Year: Years. Valid values: Month, Year.

Link copied to clipboard
val renewalStatus: Output<String>

Whether to renew an instance automatically or not. Default to "ManualRenewal".

Link copied to clipboard
val status: Output<String>

The status of the resource.

Link copied to clipboard
val storageSize: Output<String>?

The storage size. It is valid when instance_type is vip.

Link copied to clipboard
val supportEip: Output<Boolean>

Whether to support EIP.

Link copied to clipboard
val urn: Output<String>