1. Packages
  2. Alicloud Provider
  3. API Docs
  4. amqp
  5. Instance
Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi

alicloud.amqp.Instance

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi

    Import

    Amqp Instance can be imported using the id, e.g.

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

    Create Instance Resource

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

    Constructor syntax

    new Instance(name: string, args: InstanceArgs, opts?: CustomResourceOptions);
    @overload
    def Instance(resource_name: str,
                 args: InstanceArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Instance(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 payment_type: Optional[str] = None,
                 period: Optional[int] = None,
                 max_connections: Optional[int] = None,
                 queue_capacity: Optional[str] = None,
                 renewal_duration: Optional[int] = None,
                 max_tps: Optional[str] = None,
                 modify_type: Optional[str] = None,
                 instance_name: Optional[str] = None,
                 auto_renew: Optional[bool] = None,
                 tracing_storage_time: Optional[int] = None,
                 instance_type: Optional[str] = None,
                 max_eip_tps: Optional[str] = None,
                 renewal_duration_unit: Optional[str] = None,
                 renewal_status: Optional[str] = None,
                 serverless_charge_type: Optional[str] = None,
                 storage_size: Optional[str] = None,
                 support_eip: Optional[bool] = None,
                 support_tracing: Optional[bool] = None,
                 period_cycle: Optional[str] = None)
    func NewInstance(ctx *Context, name string, args InstanceArgs, opts ...ResourceOption) (*Instance, error)
    public Instance(string name, InstanceArgs args, CustomResourceOptions? opts = null)
    public Instance(String name, InstanceArgs args)
    public Instance(String name, InstanceArgs args, CustomResourceOptions options)
    
    type: alicloud:amqp:Instance
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args InstanceArgs
    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 InstanceArgs
    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 InstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InstanceArgs
    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 alicloudInstanceResource = new AliCloud.Amqp.Instance("alicloudInstanceResource", new()
    {
        PaymentType = "string",
        Period = 0,
        MaxConnections = 0,
        QueueCapacity = "string",
        RenewalDuration = 0,
        MaxTps = "string",
        ModifyType = "string",
        InstanceName = "string",
        AutoRenew = false,
        TracingStorageTime = 0,
        InstanceType = "string",
        MaxEipTps = "string",
        RenewalDurationUnit = "string",
        RenewalStatus = "string",
        ServerlessChargeType = "string",
        StorageSize = "string",
        SupportEip = false,
        SupportTracing = false,
        PeriodCycle = "string",
    });
    
    example, err := amqp.NewInstance(ctx, "alicloudInstanceResource", &amqp.InstanceArgs{
    	PaymentType:          pulumi.String("string"),
    	Period:               pulumi.Int(0),
    	MaxConnections:       pulumi.Int(0),
    	QueueCapacity:        pulumi.String("string"),
    	RenewalDuration:      pulumi.Int(0),
    	MaxTps:               pulumi.String("string"),
    	ModifyType:           pulumi.String("string"),
    	InstanceName:         pulumi.String("string"),
    	AutoRenew:            pulumi.Bool(false),
    	TracingStorageTime:   pulumi.Int(0),
    	InstanceType:         pulumi.String("string"),
    	MaxEipTps:            pulumi.String("string"),
    	RenewalDurationUnit:  pulumi.String("string"),
    	RenewalStatus:        pulumi.String("string"),
    	ServerlessChargeType: pulumi.String("string"),
    	StorageSize:          pulumi.String("string"),
    	SupportEip:           pulumi.Bool(false),
    	SupportTracing:       pulumi.Bool(false),
    	PeriodCycle:          pulumi.String("string"),
    })
    
    var alicloudInstanceResource = new Instance("alicloudInstanceResource", InstanceArgs.builder()
        .paymentType("string")
        .period(0)
        .maxConnections(0)
        .queueCapacity("string")
        .renewalDuration(0)
        .maxTps("string")
        .modifyType("string")
        .instanceName("string")
        .autoRenew(false)
        .tracingStorageTime(0)
        .instanceType("string")
        .maxEipTps("string")
        .renewalDurationUnit("string")
        .renewalStatus("string")
        .serverlessChargeType("string")
        .storageSize("string")
        .supportEip(false)
        .supportTracing(false)
        .periodCycle("string")
        .build());
    
    alicloud_instance_resource = alicloud.amqp.Instance("alicloudInstanceResource",
        payment_type="string",
        period=0,
        max_connections=0,
        queue_capacity="string",
        renewal_duration=0,
        max_tps="string",
        modify_type="string",
        instance_name="string",
        auto_renew=False,
        tracing_storage_time=0,
        instance_type="string",
        max_eip_tps="string",
        renewal_duration_unit="string",
        renewal_status="string",
        serverless_charge_type="string",
        storage_size="string",
        support_eip=False,
        support_tracing=False,
        period_cycle="string")
    
    const alicloudInstanceResource = new alicloud.amqp.Instance("alicloudInstanceResource", {
        paymentType: "string",
        period: 0,
        maxConnections: 0,
        queueCapacity: "string",
        renewalDuration: 0,
        maxTps: "string",
        modifyType: "string",
        instanceName: "string",
        autoRenew: false,
        tracingStorageTime: 0,
        instanceType: "string",
        maxEipTps: "string",
        renewalDurationUnit: "string",
        renewalStatus: "string",
        serverlessChargeType: "string",
        storageSize: "string",
        supportEip: false,
        supportTracing: false,
        periodCycle: "string",
    });
    
    type: alicloud:amqp:Instance
    properties:
        autoRenew: false
        instanceName: string
        instanceType: string
        maxConnections: 0
        maxEipTps: string
        maxTps: string
        modifyType: string
        paymentType: string
        period: 0
        periodCycle: string
        queueCapacity: string
        renewalDuration: 0
        renewalDurationUnit: string
        renewalStatus: string
        serverlessChargeType: string
        storageSize: string
        supportEip: false
        supportTracing: false
        tracingStorageTime: 0
    

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

    PaymentType string
    The Payment type. Valid value: Subscription: prepaid. PayAsYouGo: Post-paid.
    AutoRenew bool
    Renewal method. Automatic renewal: true; Manual renewal: false. When RenewalStatus has a value, the value of RenewalStatus shall prevail.
    InstanceName string
    The instance name.
    InstanceType string
    Instance type. Valid values are as follows: professional: professional Edition enterprise: enterprise Edition vip: Platinum Edition.
    MaxConnections int
    The maximum number of connections, according to the value given on the purchase page of the cloud message queue RabbitMQ version console.
    MaxEipTps string
    Peak TPS traffic of the public network, which must be a multiple of 128, unit: times per second.
    MaxTps string
    Configure the private network TPS traffic peak, please set the value according to the cloud message queue RabbitMQ version of the console purchase page given.
    ModifyType string
    Type of instance lifting and lowering:

    • Upgrade: Upgrade
    • Downgrade: Downgrading.
    Period int
    Prepayment cycle, unit: periodCycle. This parameter is valid when PaymentType is set to Subscription.
    PeriodCycle string
    Prepaid cycle units. Value: Month. Year: Year.
    QueueCapacity string
    Configure the maximum number of queues. The value range is as follows: Professional version:[50,1000], minimum modification step size is 5 Enterprise Edition:[200,6000], minimum modification step size is 100 Platinum version:[10000,80000], minimum modification step size is 100.
    RenewalDuration int
    The number of automatic renewal cycles.
    RenewalDurationUnit string
    Auto-Renewal Cycle Unit Values Include: Month: Month. Year: Years.
    RenewalStatus string
    The renewal status. Value: AutoRenewal: automatic renewal. ManualRenewal: manual renewal. NotRenewal: no renewal.
    ServerlessChargeType string
    The billing type of the serverless instance. Value: onDemand.
    StorageSize string
    Configure the message storage space. Unit: GB. The value is as follows: Professional Edition and Enterprise Edition: Fixed to 0. Description A value of 0 indicates that the Professional Edition and Enterprise Edition instances do not charge storage fees, but do not have storage space. Platinum version example: m × 100, where the value range of m is [7,28].
    SupportEip bool
    Whether to support public network.
    SupportTracing bool
    Whether to activate the message trace function. The values are as follows: true: Enable message trace function false: message trace function is not enabled Description The Platinum Edition instance provides the 15-day message trace function free of charge. The trace function can only be enabled and the trace storage duration can only be set to 15 days. For instances of other specifications, you can enable or disable the trace function.
    TracingStorageTime int
    Configure the storage duration of message traces. Unit: Days. The value is as follows: 3:3 days 7:7 days 15:15 days This parameter is valid when SupportTracing is true.
    PaymentType string
    The Payment type. Valid value: Subscription: prepaid. PayAsYouGo: Post-paid.
    AutoRenew bool
    Renewal method. Automatic renewal: true; Manual renewal: false. When RenewalStatus has a value, the value of RenewalStatus shall prevail.
    InstanceName string
    The instance name.
    InstanceType string
    Instance type. Valid values are as follows: professional: professional Edition enterprise: enterprise Edition vip: Platinum Edition.
    MaxConnections int
    The maximum number of connections, according to the value given on the purchase page of the cloud message queue RabbitMQ version console.
    MaxEipTps string
    Peak TPS traffic of the public network, which must be a multiple of 128, unit: times per second.
    MaxTps string
    Configure the private network TPS traffic peak, please set the value according to the cloud message queue RabbitMQ version of the console purchase page given.
    ModifyType string
    Type of instance lifting and lowering:

    • Upgrade: Upgrade
    • Downgrade: Downgrading.
    Period int
    Prepayment cycle, unit: periodCycle. This parameter is valid when PaymentType is set to Subscription.
    PeriodCycle string
    Prepaid cycle units. Value: Month. Year: Year.
    QueueCapacity string
    Configure the maximum number of queues. The value range is as follows: Professional version:[50,1000], minimum modification step size is 5 Enterprise Edition:[200,6000], minimum modification step size is 100 Platinum version:[10000,80000], minimum modification step size is 100.
    RenewalDuration int
    The number of automatic renewal cycles.
    RenewalDurationUnit string
    Auto-Renewal Cycle Unit Values Include: Month: Month. Year: Years.
    RenewalStatus string
    The renewal status. Value: AutoRenewal: automatic renewal. ManualRenewal: manual renewal. NotRenewal: no renewal.
    ServerlessChargeType string
    The billing type of the serverless instance. Value: onDemand.
    StorageSize string
    Configure the message storage space. Unit: GB. The value is as follows: Professional Edition and Enterprise Edition: Fixed to 0. Description A value of 0 indicates that the Professional Edition and Enterprise Edition instances do not charge storage fees, but do not have storage space. Platinum version example: m × 100, where the value range of m is [7,28].
    SupportEip bool
    Whether to support public network.
    SupportTracing bool
    Whether to activate the message trace function. The values are as follows: true: Enable message trace function false: message trace function is not enabled Description The Platinum Edition instance provides the 15-day message trace function free of charge. The trace function can only be enabled and the trace storage duration can only be set to 15 days. For instances of other specifications, you can enable or disable the trace function.
    TracingStorageTime int
    Configure the storage duration of message traces. Unit: Days. The value is as follows: 3:3 days 7:7 days 15:15 days This parameter is valid when SupportTracing is true.
    paymentType String
    The Payment type. Valid value: Subscription: prepaid. PayAsYouGo: Post-paid.
    autoRenew Boolean
    Renewal method. Automatic renewal: true; Manual renewal: false. When RenewalStatus has a value, the value of RenewalStatus shall prevail.
    instanceName String
    The instance name.
    instanceType String
    Instance type. Valid values are as follows: professional: professional Edition enterprise: enterprise Edition vip: Platinum Edition.
    maxConnections Integer
    The maximum number of connections, according to the value given on the purchase page of the cloud message queue RabbitMQ version console.
    maxEipTps String
    Peak TPS traffic of the public network, which must be a multiple of 128, unit: times per second.
    maxTps String
    Configure the private network TPS traffic peak, please set the value according to the cloud message queue RabbitMQ version of the console purchase page given.
    modifyType String
    Type of instance lifting and lowering:

    • Upgrade: Upgrade
    • Downgrade: Downgrading.
    period Integer
    Prepayment cycle, unit: periodCycle. This parameter is valid when PaymentType is set to Subscription.
    periodCycle String
    Prepaid cycle units. Value: Month. Year: Year.
    queueCapacity String
    Configure the maximum number of queues. The value range is as follows: Professional version:[50,1000], minimum modification step size is 5 Enterprise Edition:[200,6000], minimum modification step size is 100 Platinum version:[10000,80000], minimum modification step size is 100.
    renewalDuration Integer
    The number of automatic renewal cycles.
    renewalDurationUnit String
    Auto-Renewal Cycle Unit Values Include: Month: Month. Year: Years.
    renewalStatus String
    The renewal status. Value: AutoRenewal: automatic renewal. ManualRenewal: manual renewal. NotRenewal: no renewal.
    serverlessChargeType String
    The billing type of the serverless instance. Value: onDemand.
    storageSize String
    Configure the message storage space. Unit: GB. The value is as follows: Professional Edition and Enterprise Edition: Fixed to 0. Description A value of 0 indicates that the Professional Edition and Enterprise Edition instances do not charge storage fees, but do not have storage space. Platinum version example: m × 100, where the value range of m is [7,28].
    supportEip Boolean
    Whether to support public network.
    supportTracing Boolean
    Whether to activate the message trace function. The values are as follows: true: Enable message trace function false: message trace function is not enabled Description The Platinum Edition instance provides the 15-day message trace function free of charge. The trace function can only be enabled and the trace storage duration can only be set to 15 days. For instances of other specifications, you can enable or disable the trace function.
    tracingStorageTime Integer
    Configure the storage duration of message traces. Unit: Days. The value is as follows: 3:3 days 7:7 days 15:15 days This parameter is valid when SupportTracing is true.
    paymentType string
    The Payment type. Valid value: Subscription: prepaid. PayAsYouGo: Post-paid.
    autoRenew boolean
    Renewal method. Automatic renewal: true; Manual renewal: false. When RenewalStatus has a value, the value of RenewalStatus shall prevail.
    instanceName string
    The instance name.
    instanceType string
    Instance type. Valid values are as follows: professional: professional Edition enterprise: enterprise Edition vip: Platinum Edition.
    maxConnections number
    The maximum number of connections, according to the value given on the purchase page of the cloud message queue RabbitMQ version console.
    maxEipTps string
    Peak TPS traffic of the public network, which must be a multiple of 128, unit: times per second.
    maxTps string
    Configure the private network TPS traffic peak, please set the value according to the cloud message queue RabbitMQ version of the console purchase page given.
    modifyType string
    Type of instance lifting and lowering:

    • Upgrade: Upgrade
    • Downgrade: Downgrading.
    period number
    Prepayment cycle, unit: periodCycle. This parameter is valid when PaymentType is set to Subscription.
    periodCycle string
    Prepaid cycle units. Value: Month. Year: Year.
    queueCapacity string
    Configure the maximum number of queues. The value range is as follows: Professional version:[50,1000], minimum modification step size is 5 Enterprise Edition:[200,6000], minimum modification step size is 100 Platinum version:[10000,80000], minimum modification step size is 100.
    renewalDuration number
    The number of automatic renewal cycles.
    renewalDurationUnit string
    Auto-Renewal Cycle Unit Values Include: Month: Month. Year: Years.
    renewalStatus string
    The renewal status. Value: AutoRenewal: automatic renewal. ManualRenewal: manual renewal. NotRenewal: no renewal.
    serverlessChargeType string
    The billing type of the serverless instance. Value: onDemand.
    storageSize string
    Configure the message storage space. Unit: GB. The value is as follows: Professional Edition and Enterprise Edition: Fixed to 0. Description A value of 0 indicates that the Professional Edition and Enterprise Edition instances do not charge storage fees, but do not have storage space. Platinum version example: m × 100, where the value range of m is [7,28].
    supportEip boolean
    Whether to support public network.
    supportTracing boolean
    Whether to activate the message trace function. The values are as follows: true: Enable message trace function false: message trace function is not enabled Description The Platinum Edition instance provides the 15-day message trace function free of charge. The trace function can only be enabled and the trace storage duration can only be set to 15 days. For instances of other specifications, you can enable or disable the trace function.
    tracingStorageTime number
    Configure the storage duration of message traces. Unit: Days. The value is as follows: 3:3 days 7:7 days 15:15 days This parameter is valid when SupportTracing is true.
    payment_type str
    The Payment type. Valid value: Subscription: prepaid. PayAsYouGo: Post-paid.
    auto_renew bool
    Renewal method. Automatic renewal: true; Manual renewal: false. When RenewalStatus has a value, the value of RenewalStatus shall prevail.
    instance_name str
    The instance name.
    instance_type str
    Instance type. Valid values are as follows: professional: professional Edition enterprise: enterprise Edition vip: Platinum Edition.
    max_connections int
    The maximum number of connections, according to the value given on the purchase page of the cloud message queue RabbitMQ version console.
    max_eip_tps str
    Peak TPS traffic of the public network, which must be a multiple of 128, unit: times per second.
    max_tps str
    Configure the private network TPS traffic peak, please set the value according to the cloud message queue RabbitMQ version of the console purchase page given.
    modify_type str
    Type of instance lifting and lowering:

    • Upgrade: Upgrade
    • Downgrade: Downgrading.
    period int
    Prepayment cycle, unit: periodCycle. This parameter is valid when PaymentType is set to Subscription.
    period_cycle str
    Prepaid cycle units. Value: Month. Year: Year.
    queue_capacity str
    Configure the maximum number of queues. The value range is as follows: Professional version:[50,1000], minimum modification step size is 5 Enterprise Edition:[200,6000], minimum modification step size is 100 Platinum version:[10000,80000], minimum modification step size is 100.
    renewal_duration int
    The number of automatic renewal cycles.
    renewal_duration_unit str
    Auto-Renewal Cycle Unit Values Include: Month: Month. Year: Years.
    renewal_status str
    The renewal status. Value: AutoRenewal: automatic renewal. ManualRenewal: manual renewal. NotRenewal: no renewal.
    serverless_charge_type str
    The billing type of the serverless instance. Value: onDemand.
    storage_size str
    Configure the message storage space. Unit: GB. The value is as follows: Professional Edition and Enterprise Edition: Fixed to 0. Description A value of 0 indicates that the Professional Edition and Enterprise Edition instances do not charge storage fees, but do not have storage space. Platinum version example: m × 100, where the value range of m is [7,28].
    support_eip bool
    Whether to support public network.
    support_tracing bool
    Whether to activate the message trace function. The values are as follows: true: Enable message trace function false: message trace function is not enabled Description The Platinum Edition instance provides the 15-day message trace function free of charge. The trace function can only be enabled and the trace storage duration can only be set to 15 days. For instances of other specifications, you can enable or disable the trace function.
    tracing_storage_time int
    Configure the storage duration of message traces. Unit: Days. The value is as follows: 3:3 days 7:7 days 15:15 days This parameter is valid when SupportTracing is true.
    paymentType String
    The Payment type. Valid value: Subscription: prepaid. PayAsYouGo: Post-paid.
    autoRenew Boolean
    Renewal method. Automatic renewal: true; Manual renewal: false. When RenewalStatus has a value, the value of RenewalStatus shall prevail.
    instanceName String
    The instance name.
    instanceType String
    Instance type. Valid values are as follows: professional: professional Edition enterprise: enterprise Edition vip: Platinum Edition.
    maxConnections Number
    The maximum number of connections, according to the value given on the purchase page of the cloud message queue RabbitMQ version console.
    maxEipTps String
    Peak TPS traffic of the public network, which must be a multiple of 128, unit: times per second.
    maxTps String
    Configure the private network TPS traffic peak, please set the value according to the cloud message queue RabbitMQ version of the console purchase page given.
    modifyType String
    Type of instance lifting and lowering:

    • Upgrade: Upgrade
    • Downgrade: Downgrading.
    period Number
    Prepayment cycle, unit: periodCycle. This parameter is valid when PaymentType is set to Subscription.
    periodCycle String
    Prepaid cycle units. Value: Month. Year: Year.
    queueCapacity String
    Configure the maximum number of queues. The value range is as follows: Professional version:[50,1000], minimum modification step size is 5 Enterprise Edition:[200,6000], minimum modification step size is 100 Platinum version:[10000,80000], minimum modification step size is 100.
    renewalDuration Number
    The number of automatic renewal cycles.
    renewalDurationUnit String
    Auto-Renewal Cycle Unit Values Include: Month: Month. Year: Years.
    renewalStatus String
    The renewal status. Value: AutoRenewal: automatic renewal. ManualRenewal: manual renewal. NotRenewal: no renewal.
    serverlessChargeType String
    The billing type of the serverless instance. Value: onDemand.
    storageSize String
    Configure the message storage space. Unit: GB. The value is as follows: Professional Edition and Enterprise Edition: Fixed to 0. Description A value of 0 indicates that the Professional Edition and Enterprise Edition instances do not charge storage fees, but do not have storage space. Platinum version example: m × 100, where the value range of m is [7,28].
    supportEip Boolean
    Whether to support public network.
    supportTracing Boolean
    Whether to activate the message trace function. The values are as follows: true: Enable message trace function false: message trace function is not enabled Description The Platinum Edition instance provides the 15-day message trace function free of charge. The trace function can only be enabled and the trace storage duration can only be set to 15 days. For instances of other specifications, you can enable or disable the trace function.
    tracingStorageTime Number
    Configure the storage duration of message traces. Unit: Days. The value is as follows: 3:3 days 7:7 days 15:15 days This parameter is valid when SupportTracing is true.

    Outputs

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

    CreateTime int
    OrderCreateTime.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of the resource.
    CreateTime int
    OrderCreateTime.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of the resource.
    createTime Integer
    OrderCreateTime.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of the resource.
    createTime number
    OrderCreateTime.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    The status of the resource.
    create_time int
    OrderCreateTime.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    The status of the resource.
    createTime Number
    OrderCreateTime.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of the resource.

    Look up Existing Instance Resource

    Get an existing Instance 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?: InstanceState, opts?: CustomResourceOptions): Instance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auto_renew: Optional[bool] = None,
            create_time: Optional[int] = None,
            instance_name: Optional[str] = None,
            instance_type: Optional[str] = None,
            max_connections: Optional[int] = None,
            max_eip_tps: Optional[str] = None,
            max_tps: Optional[str] = None,
            modify_type: Optional[str] = None,
            payment_type: Optional[str] = None,
            period: Optional[int] = None,
            period_cycle: Optional[str] = None,
            queue_capacity: Optional[str] = None,
            renewal_duration: Optional[int] = None,
            renewal_duration_unit: Optional[str] = None,
            renewal_status: Optional[str] = None,
            serverless_charge_type: Optional[str] = None,
            status: Optional[str] = None,
            storage_size: Optional[str] = None,
            support_eip: Optional[bool] = None,
            support_tracing: Optional[bool] = None,
            tracing_storage_time: Optional[int] = None) -> Instance
    func GetInstance(ctx *Context, name string, id IDInput, state *InstanceState, opts ...ResourceOption) (*Instance, error)
    public static Instance Get(string name, Input<string> id, InstanceState? state, CustomResourceOptions? opts = null)
    public static Instance get(String name, Output<String> id, InstanceState 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:
    AutoRenew bool
    Renewal method. Automatic renewal: true; Manual renewal: false. When RenewalStatus has a value, the value of RenewalStatus shall prevail.
    CreateTime int
    OrderCreateTime.
    InstanceName string
    The instance name.
    InstanceType string
    Instance type. Valid values are as follows: professional: professional Edition enterprise: enterprise Edition vip: Platinum Edition.
    MaxConnections int
    The maximum number of connections, according to the value given on the purchase page of the cloud message queue RabbitMQ version console.
    MaxEipTps string
    Peak TPS traffic of the public network, which must be a multiple of 128, unit: times per second.
    MaxTps string
    Configure the private network TPS traffic peak, please set the value according to the cloud message queue RabbitMQ version of the console purchase page given.
    ModifyType string
    Type of instance lifting and lowering:

    • Upgrade: Upgrade
    • Downgrade: Downgrading.
    PaymentType string
    The Payment type. Valid value: Subscription: prepaid. PayAsYouGo: Post-paid.
    Period int
    Prepayment cycle, unit: periodCycle. This parameter is valid when PaymentType is set to Subscription.
    PeriodCycle string
    Prepaid cycle units. Value: Month. Year: Year.
    QueueCapacity string
    Configure the maximum number of queues. The value range is as follows: Professional version:[50,1000], minimum modification step size is 5 Enterprise Edition:[200,6000], minimum modification step size is 100 Platinum version:[10000,80000], minimum modification step size is 100.
    RenewalDuration int
    The number of automatic renewal cycles.
    RenewalDurationUnit string
    Auto-Renewal Cycle Unit Values Include: Month: Month. Year: Years.
    RenewalStatus string
    The renewal status. Value: AutoRenewal: automatic renewal. ManualRenewal: manual renewal. NotRenewal: no renewal.
    ServerlessChargeType string
    The billing type of the serverless instance. Value: onDemand.
    Status string
    The status of the resource.
    StorageSize string
    Configure the message storage space. Unit: GB. The value is as follows: Professional Edition and Enterprise Edition: Fixed to 0. Description A value of 0 indicates that the Professional Edition and Enterprise Edition instances do not charge storage fees, but do not have storage space. Platinum version example: m × 100, where the value range of m is [7,28].
    SupportEip bool
    Whether to support public network.
    SupportTracing bool
    Whether to activate the message trace function. The values are as follows: true: Enable message trace function false: message trace function is not enabled Description The Platinum Edition instance provides the 15-day message trace function free of charge. The trace function can only be enabled and the trace storage duration can only be set to 15 days. For instances of other specifications, you can enable or disable the trace function.
    TracingStorageTime int
    Configure the storage duration of message traces. Unit: Days. The value is as follows: 3:3 days 7:7 days 15:15 days This parameter is valid when SupportTracing is true.
    AutoRenew bool
    Renewal method. Automatic renewal: true; Manual renewal: false. When RenewalStatus has a value, the value of RenewalStatus shall prevail.
    CreateTime int
    OrderCreateTime.
    InstanceName string
    The instance name.
    InstanceType string
    Instance type. Valid values are as follows: professional: professional Edition enterprise: enterprise Edition vip: Platinum Edition.
    MaxConnections int
    The maximum number of connections, according to the value given on the purchase page of the cloud message queue RabbitMQ version console.
    MaxEipTps string
    Peak TPS traffic of the public network, which must be a multiple of 128, unit: times per second.
    MaxTps string
    Configure the private network TPS traffic peak, please set the value according to the cloud message queue RabbitMQ version of the console purchase page given.
    ModifyType string
    Type of instance lifting and lowering:

    • Upgrade: Upgrade
    • Downgrade: Downgrading.
    PaymentType string
    The Payment type. Valid value: Subscription: prepaid. PayAsYouGo: Post-paid.
    Period int
    Prepayment cycle, unit: periodCycle. This parameter is valid when PaymentType is set to Subscription.
    PeriodCycle string
    Prepaid cycle units. Value: Month. Year: Year.
    QueueCapacity string
    Configure the maximum number of queues. The value range is as follows: Professional version:[50,1000], minimum modification step size is 5 Enterprise Edition:[200,6000], minimum modification step size is 100 Platinum version:[10000,80000], minimum modification step size is 100.
    RenewalDuration int
    The number of automatic renewal cycles.
    RenewalDurationUnit string
    Auto-Renewal Cycle Unit Values Include: Month: Month. Year: Years.
    RenewalStatus string
    The renewal status. Value: AutoRenewal: automatic renewal. ManualRenewal: manual renewal. NotRenewal: no renewal.
    ServerlessChargeType string
    The billing type of the serverless instance. Value: onDemand.
    Status string
    The status of the resource.
    StorageSize string
    Configure the message storage space. Unit: GB. The value is as follows: Professional Edition and Enterprise Edition: Fixed to 0. Description A value of 0 indicates that the Professional Edition and Enterprise Edition instances do not charge storage fees, but do not have storage space. Platinum version example: m × 100, where the value range of m is [7,28].
    SupportEip bool
    Whether to support public network.
    SupportTracing bool
    Whether to activate the message trace function. The values are as follows: true: Enable message trace function false: message trace function is not enabled Description The Platinum Edition instance provides the 15-day message trace function free of charge. The trace function can only be enabled and the trace storage duration can only be set to 15 days. For instances of other specifications, you can enable or disable the trace function.
    TracingStorageTime int
    Configure the storage duration of message traces. Unit: Days. The value is as follows: 3:3 days 7:7 days 15:15 days This parameter is valid when SupportTracing is true.
    autoRenew Boolean
    Renewal method. Automatic renewal: true; Manual renewal: false. When RenewalStatus has a value, the value of RenewalStatus shall prevail.
    createTime Integer
    OrderCreateTime.
    instanceName String
    The instance name.
    instanceType String
    Instance type. Valid values are as follows: professional: professional Edition enterprise: enterprise Edition vip: Platinum Edition.
    maxConnections Integer
    The maximum number of connections, according to the value given on the purchase page of the cloud message queue RabbitMQ version console.
    maxEipTps String
    Peak TPS traffic of the public network, which must be a multiple of 128, unit: times per second.
    maxTps String
    Configure the private network TPS traffic peak, please set the value according to the cloud message queue RabbitMQ version of the console purchase page given.
    modifyType String
    Type of instance lifting and lowering:

    • Upgrade: Upgrade
    • Downgrade: Downgrading.
    paymentType String
    The Payment type. Valid value: Subscription: prepaid. PayAsYouGo: Post-paid.
    period Integer
    Prepayment cycle, unit: periodCycle. This parameter is valid when PaymentType is set to Subscription.
    periodCycle String
    Prepaid cycle units. Value: Month. Year: Year.
    queueCapacity String
    Configure the maximum number of queues. The value range is as follows: Professional version:[50,1000], minimum modification step size is 5 Enterprise Edition:[200,6000], minimum modification step size is 100 Platinum version:[10000,80000], minimum modification step size is 100.
    renewalDuration Integer
    The number of automatic renewal cycles.
    renewalDurationUnit String
    Auto-Renewal Cycle Unit Values Include: Month: Month. Year: Years.
    renewalStatus String
    The renewal status. Value: AutoRenewal: automatic renewal. ManualRenewal: manual renewal. NotRenewal: no renewal.
    serverlessChargeType String
    The billing type of the serverless instance. Value: onDemand.
    status String
    The status of the resource.
    storageSize String
    Configure the message storage space. Unit: GB. The value is as follows: Professional Edition and Enterprise Edition: Fixed to 0. Description A value of 0 indicates that the Professional Edition and Enterprise Edition instances do not charge storage fees, but do not have storage space. Platinum version example: m × 100, where the value range of m is [7,28].
    supportEip Boolean
    Whether to support public network.
    supportTracing Boolean
    Whether to activate the message trace function. The values are as follows: true: Enable message trace function false: message trace function is not enabled Description The Platinum Edition instance provides the 15-day message trace function free of charge. The trace function can only be enabled and the trace storage duration can only be set to 15 days. For instances of other specifications, you can enable or disable the trace function.
    tracingStorageTime Integer
    Configure the storage duration of message traces. Unit: Days. The value is as follows: 3:3 days 7:7 days 15:15 days This parameter is valid when SupportTracing is true.
    autoRenew boolean
    Renewal method. Automatic renewal: true; Manual renewal: false. When RenewalStatus has a value, the value of RenewalStatus shall prevail.
    createTime number
    OrderCreateTime.
    instanceName string
    The instance name.
    instanceType string
    Instance type. Valid values are as follows: professional: professional Edition enterprise: enterprise Edition vip: Platinum Edition.
    maxConnections number
    The maximum number of connections, according to the value given on the purchase page of the cloud message queue RabbitMQ version console.
    maxEipTps string
    Peak TPS traffic of the public network, which must be a multiple of 128, unit: times per second.
    maxTps string
    Configure the private network TPS traffic peak, please set the value according to the cloud message queue RabbitMQ version of the console purchase page given.
    modifyType string
    Type of instance lifting and lowering:

    • Upgrade: Upgrade
    • Downgrade: Downgrading.
    paymentType string
    The Payment type. Valid value: Subscription: prepaid. PayAsYouGo: Post-paid.
    period number
    Prepayment cycle, unit: periodCycle. This parameter is valid when PaymentType is set to Subscription.
    periodCycle string
    Prepaid cycle units. Value: Month. Year: Year.
    queueCapacity string
    Configure the maximum number of queues. The value range is as follows: Professional version:[50,1000], minimum modification step size is 5 Enterprise Edition:[200,6000], minimum modification step size is 100 Platinum version:[10000,80000], minimum modification step size is 100.
    renewalDuration number
    The number of automatic renewal cycles.
    renewalDurationUnit string
    Auto-Renewal Cycle Unit Values Include: Month: Month. Year: Years.
    renewalStatus string
    The renewal status. Value: AutoRenewal: automatic renewal. ManualRenewal: manual renewal. NotRenewal: no renewal.
    serverlessChargeType string
    The billing type of the serverless instance. Value: onDemand.
    status string
    The status of the resource.
    storageSize string
    Configure the message storage space. Unit: GB. The value is as follows: Professional Edition and Enterprise Edition: Fixed to 0. Description A value of 0 indicates that the Professional Edition and Enterprise Edition instances do not charge storage fees, but do not have storage space. Platinum version example: m × 100, where the value range of m is [7,28].
    supportEip boolean
    Whether to support public network.
    supportTracing boolean
    Whether to activate the message trace function. The values are as follows: true: Enable message trace function false: message trace function is not enabled Description The Platinum Edition instance provides the 15-day message trace function free of charge. The trace function can only be enabled and the trace storage duration can only be set to 15 days. For instances of other specifications, you can enable or disable the trace function.
    tracingStorageTime number
    Configure the storage duration of message traces. Unit: Days. The value is as follows: 3:3 days 7:7 days 15:15 days This parameter is valid when SupportTracing is true.
    auto_renew bool
    Renewal method. Automatic renewal: true; Manual renewal: false. When RenewalStatus has a value, the value of RenewalStatus shall prevail.
    create_time int
    OrderCreateTime.
    instance_name str
    The instance name.
    instance_type str
    Instance type. Valid values are as follows: professional: professional Edition enterprise: enterprise Edition vip: Platinum Edition.
    max_connections int
    The maximum number of connections, according to the value given on the purchase page of the cloud message queue RabbitMQ version console.
    max_eip_tps str
    Peak TPS traffic of the public network, which must be a multiple of 128, unit: times per second.
    max_tps str
    Configure the private network TPS traffic peak, please set the value according to the cloud message queue RabbitMQ version of the console purchase page given.
    modify_type str
    Type of instance lifting and lowering:

    • Upgrade: Upgrade
    • Downgrade: Downgrading.
    payment_type str
    The Payment type. Valid value: Subscription: prepaid. PayAsYouGo: Post-paid.
    period int
    Prepayment cycle, unit: periodCycle. This parameter is valid when PaymentType is set to Subscription.
    period_cycle str
    Prepaid cycle units. Value: Month. Year: Year.
    queue_capacity str
    Configure the maximum number of queues. The value range is as follows: Professional version:[50,1000], minimum modification step size is 5 Enterprise Edition:[200,6000], minimum modification step size is 100 Platinum version:[10000,80000], minimum modification step size is 100.
    renewal_duration int
    The number of automatic renewal cycles.
    renewal_duration_unit str
    Auto-Renewal Cycle Unit Values Include: Month: Month. Year: Years.
    renewal_status str
    The renewal status. Value: AutoRenewal: automatic renewal. ManualRenewal: manual renewal. NotRenewal: no renewal.
    serverless_charge_type str
    The billing type of the serverless instance. Value: onDemand.
    status str
    The status of the resource.
    storage_size str
    Configure the message storage space. Unit: GB. The value is as follows: Professional Edition and Enterprise Edition: Fixed to 0. Description A value of 0 indicates that the Professional Edition and Enterprise Edition instances do not charge storage fees, but do not have storage space. Platinum version example: m × 100, where the value range of m is [7,28].
    support_eip bool
    Whether to support public network.
    support_tracing bool
    Whether to activate the message trace function. The values are as follows: true: Enable message trace function false: message trace function is not enabled Description The Platinum Edition instance provides the 15-day message trace function free of charge. The trace function can only be enabled and the trace storage duration can only be set to 15 days. For instances of other specifications, you can enable or disable the trace function.
    tracing_storage_time int
    Configure the storage duration of message traces. Unit: Days. The value is as follows: 3:3 days 7:7 days 15:15 days This parameter is valid when SupportTracing is true.
    autoRenew Boolean
    Renewal method. Automatic renewal: true; Manual renewal: false. When RenewalStatus has a value, the value of RenewalStatus shall prevail.
    createTime Number
    OrderCreateTime.
    instanceName String
    The instance name.
    instanceType String
    Instance type. Valid values are as follows: professional: professional Edition enterprise: enterprise Edition vip: Platinum Edition.
    maxConnections Number
    The maximum number of connections, according to the value given on the purchase page of the cloud message queue RabbitMQ version console.
    maxEipTps String
    Peak TPS traffic of the public network, which must be a multiple of 128, unit: times per second.
    maxTps String
    Configure the private network TPS traffic peak, please set the value according to the cloud message queue RabbitMQ version of the console purchase page given.
    modifyType String
    Type of instance lifting and lowering:

    • Upgrade: Upgrade
    • Downgrade: Downgrading.
    paymentType String
    The Payment type. Valid value: Subscription: prepaid. PayAsYouGo: Post-paid.
    period Number
    Prepayment cycle, unit: periodCycle. This parameter is valid when PaymentType is set to Subscription.
    periodCycle String
    Prepaid cycle units. Value: Month. Year: Year.
    queueCapacity String
    Configure the maximum number of queues. The value range is as follows: Professional version:[50,1000], minimum modification step size is 5 Enterprise Edition:[200,6000], minimum modification step size is 100 Platinum version:[10000,80000], minimum modification step size is 100.
    renewalDuration Number
    The number of automatic renewal cycles.
    renewalDurationUnit String
    Auto-Renewal Cycle Unit Values Include: Month: Month. Year: Years.
    renewalStatus String
    The renewal status. Value: AutoRenewal: automatic renewal. ManualRenewal: manual renewal. NotRenewal: no renewal.
    serverlessChargeType String
    The billing type of the serverless instance. Value: onDemand.
    status String
    The status of the resource.
    storageSize String
    Configure the message storage space. Unit: GB. The value is as follows: Professional Edition and Enterprise Edition: Fixed to 0. Description A value of 0 indicates that the Professional Edition and Enterprise Edition instances do not charge storage fees, but do not have storage space. Platinum version example: m × 100, where the value range of m is [7,28].
    supportEip Boolean
    Whether to support public network.
    supportTracing Boolean
    Whether to activate the message trace function. The values are as follows: true: Enable message trace function false: message trace function is not enabled Description The Platinum Edition instance provides the 15-day message trace function free of charge. The trace function can only be enabled and the trace storage duration can only be set to 15 days. For instances of other specifications, you can enable or disable the trace function.
    tracingStorageTime Number
    Configure the storage duration of message traces. Unit: Days. The value is as follows: 3:3 days 7:7 days 15:15 days This parameter is valid when SupportTracing is true.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi