1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. rocketmq
  5. QosCar
Alibaba Cloud v3.44.0 published on Thursday, Sep 28, 2023 by Pulumi

alicloud.rocketmq.QosCar

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.44.0 published on Thursday, Sep 28, 2023 by Pulumi

    Provides a Sag qos car resource. You need to create a QoS car to set priorities, rate limits, and quintuple rules for different messages.

    For information about Sag Qos Car and how to use it, see What is Qos Car.

    NOTE: Available since v1.60.0.

    NOTE: Only the following regions support. [cn-shanghai, cn-shanghai-finance-1, cn-hongkong, ap-southeast-1, ap-southeast-2, ap-southeast-3, ap-southeast-5, ap-northeast-1, eu-central-1]

    Example Usage

    Basic Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var name = config.Get("name") ?? "tf_example";
        var defaultQos = new AliCloud.RocketMQ.Qos("defaultQos");
    
        var defaultQosCar = new AliCloud.RocketMQ.QosCar("defaultQosCar", new()
        {
            QosId = defaultQos.Id,
            Description = name,
            Priority = 1,
            LimitType = "Absolute",
            MinBandwidthAbs = 10,
            MaxBandwidthAbs = 20,
            MinBandwidthPercent = 10,
            MaxBandwidthPercent = 20,
            PercentSourceType = "InternetUpBandwidth",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/rocketmq"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		name := "tf_example"
    		if param := cfg.Get("name"); param != "" {
    			name = param
    		}
    		defaultQos, err := rocketmq.NewQos(ctx, "defaultQos", nil)
    		if err != nil {
    			return err
    		}
    		_, err = rocketmq.NewQosCar(ctx, "defaultQosCar", &rocketmq.QosCarArgs{
    			QosId:               defaultQos.ID(),
    			Description:         pulumi.String(name),
    			Priority:            pulumi.Int(1),
    			LimitType:           pulumi.String("Absolute"),
    			MinBandwidthAbs:     pulumi.Int(10),
    			MaxBandwidthAbs:     pulumi.Int(20),
    			MinBandwidthPercent: pulumi.Int(10),
    			MaxBandwidthPercent: pulumi.Int(20),
    			PercentSourceType:   pulumi.String("InternetUpBandwidth"),
    		})
    		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.rocketmq.Qos;
    import com.pulumi.alicloud.rocketmq.QosCar;
    import com.pulumi.alicloud.rocketmq.QosCarArgs;
    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("tf_example");
            var defaultQos = new Qos("defaultQos");
    
            var defaultQosCar = new QosCar("defaultQosCar", QosCarArgs.builder()        
                .qosId(defaultQos.id())
                .description(name)
                .priority("1")
                .limitType("Absolute")
                .minBandwidthAbs("10")
                .maxBandwidthAbs("20")
                .minBandwidthPercent("10")
                .maxBandwidthPercent("20")
                .percentSourceType("InternetUpBandwidth")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "tf_example"
    default_qos = alicloud.rocketmq.Qos("defaultQos")
    default_qos_car = alicloud.rocketmq.QosCar("defaultQosCar",
        qos_id=default_qos.id,
        description=name,
        priority=1,
        limit_type="Absolute",
        min_bandwidth_abs=10,
        max_bandwidth_abs=20,
        min_bandwidth_percent=10,
        max_bandwidth_percent=20,
        percent_source_type="InternetUpBandwidth")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const config = new pulumi.Config();
    const name = config.get("name") || "tf_example";
    const defaultQos = new alicloud.rocketmq.Qos("defaultQos", {});
    const defaultQosCar = new alicloud.rocketmq.QosCar("defaultQosCar", {
        qosId: defaultQos.id,
        description: name,
        priority: 1,
        limitType: "Absolute",
        minBandwidthAbs: 10,
        maxBandwidthAbs: 20,
        minBandwidthPercent: 10,
        maxBandwidthPercent: 20,
        percentSourceType: "InternetUpBandwidth",
    });
    
    configuration:
      name:
        type: string
        default: tf_example
    resources:
      defaultQos:
        type: alicloud:rocketmq:Qos
      defaultQosCar:
        type: alicloud:rocketmq:QosCar
        properties:
          qosId: ${defaultQos.id}
          description: ${name}
          priority: '1'
          limitType: Absolute
          minBandwidthAbs: '10'
          maxBandwidthAbs: '20'
          minBandwidthPercent: '10'
          maxBandwidthPercent: '20'
          percentSourceType: InternetUpBandwidth
    

    Create QosCar Resource

    new QosCar(name: string, args: QosCarArgs, opts?: CustomResourceOptions);
    @overload
    def QosCar(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               description: Optional[str] = None,
               limit_type: Optional[str] = None,
               max_bandwidth_abs: Optional[int] = None,
               max_bandwidth_percent: Optional[int] = None,
               min_bandwidth_abs: Optional[int] = None,
               min_bandwidth_percent: Optional[int] = None,
               name: Optional[str] = None,
               percent_source_type: Optional[str] = None,
               priority: Optional[int] = None,
               qos_id: Optional[str] = None)
    @overload
    def QosCar(resource_name: str,
               args: QosCarArgs,
               opts: Optional[ResourceOptions] = None)
    func NewQosCar(ctx *Context, name string, args QosCarArgs, opts ...ResourceOption) (*QosCar, error)
    public QosCar(string name, QosCarArgs args, CustomResourceOptions? opts = null)
    public QosCar(String name, QosCarArgs args)
    public QosCar(String name, QosCarArgs args, CustomResourceOptions options)
    
    type: alicloud:rocketmq:QosCar
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args QosCarArgs
    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 QosCarArgs
    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 QosCarArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args QosCarArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args QosCarArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    LimitType string

    The speed limiting method. Valid values: Absolute, Percent.

    Priority int

    The priority of the specified stream.

    QosId string

    The instance ID of the QoS.

    Description string

    The description of the QoS speed limiting rule.

    MaxBandwidthAbs int

    The maximum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType is Absolute.

    MaxBandwidthPercent int

    The maximum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated Smart Access Gateway (SAG) instance.This parameter is required when the value of the LimitType parameter is Percent.

    MinBandwidthAbs int

    The minimum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType parameter is Absolute.

    MinBandwidthPercent int

    The minimum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated SAG instance.This parameter is required when the value of the LimitType parameter is Percent.

    Name string

    The name of the QoS speed limiting rule..

    PercentSourceType string

    The bandwidth type when the speed is limited based on percentage. Valid values: CcnBandwidth, InternetUpBandwidth.The default value is InternetUpBandwidth.

    LimitType string

    The speed limiting method. Valid values: Absolute, Percent.

    Priority int

    The priority of the specified stream.

    QosId string

    The instance ID of the QoS.

    Description string

    The description of the QoS speed limiting rule.

    MaxBandwidthAbs int

    The maximum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType is Absolute.

    MaxBandwidthPercent int

    The maximum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated Smart Access Gateway (SAG) instance.This parameter is required when the value of the LimitType parameter is Percent.

    MinBandwidthAbs int

    The minimum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType parameter is Absolute.

    MinBandwidthPercent int

    The minimum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated SAG instance.This parameter is required when the value of the LimitType parameter is Percent.

    Name string

    The name of the QoS speed limiting rule..

    PercentSourceType string

    The bandwidth type when the speed is limited based on percentage. Valid values: CcnBandwidth, InternetUpBandwidth.The default value is InternetUpBandwidth.

    limitType String

    The speed limiting method. Valid values: Absolute, Percent.

    priority Integer

    The priority of the specified stream.

    qosId String

    The instance ID of the QoS.

    description String

    The description of the QoS speed limiting rule.

    maxBandwidthAbs Integer

    The maximum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType is Absolute.

    maxBandwidthPercent Integer

    The maximum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated Smart Access Gateway (SAG) instance.This parameter is required when the value of the LimitType parameter is Percent.

    minBandwidthAbs Integer

    The minimum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType parameter is Absolute.

    minBandwidthPercent Integer

    The minimum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated SAG instance.This parameter is required when the value of the LimitType parameter is Percent.

    name String

    The name of the QoS speed limiting rule..

    percentSourceType String

    The bandwidth type when the speed is limited based on percentage. Valid values: CcnBandwidth, InternetUpBandwidth.The default value is InternetUpBandwidth.

    limitType string

    The speed limiting method. Valid values: Absolute, Percent.

    priority number

    The priority of the specified stream.

    qosId string

    The instance ID of the QoS.

    description string

    The description of the QoS speed limiting rule.

    maxBandwidthAbs number

    The maximum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType is Absolute.

    maxBandwidthPercent number

    The maximum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated Smart Access Gateway (SAG) instance.This parameter is required when the value of the LimitType parameter is Percent.

    minBandwidthAbs number

    The minimum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType parameter is Absolute.

    minBandwidthPercent number

    The minimum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated SAG instance.This parameter is required when the value of the LimitType parameter is Percent.

    name string

    The name of the QoS speed limiting rule..

    percentSourceType string

    The bandwidth type when the speed is limited based on percentage. Valid values: CcnBandwidth, InternetUpBandwidth.The default value is InternetUpBandwidth.

    limit_type str

    The speed limiting method. Valid values: Absolute, Percent.

    priority int

    The priority of the specified stream.

    qos_id str

    The instance ID of the QoS.

    description str

    The description of the QoS speed limiting rule.

    max_bandwidth_abs int

    The maximum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType is Absolute.

    max_bandwidth_percent int

    The maximum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated Smart Access Gateway (SAG) instance.This parameter is required when the value of the LimitType parameter is Percent.

    min_bandwidth_abs int

    The minimum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType parameter is Absolute.

    min_bandwidth_percent int

    The minimum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated SAG instance.This parameter is required when the value of the LimitType parameter is Percent.

    name str

    The name of the QoS speed limiting rule..

    percent_source_type str

    The bandwidth type when the speed is limited based on percentage. Valid values: CcnBandwidth, InternetUpBandwidth.The default value is InternetUpBandwidth.

    limitType String

    The speed limiting method. Valid values: Absolute, Percent.

    priority Number

    The priority of the specified stream.

    qosId String

    The instance ID of the QoS.

    description String

    The description of the QoS speed limiting rule.

    maxBandwidthAbs Number

    The maximum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType is Absolute.

    maxBandwidthPercent Number

    The maximum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated Smart Access Gateway (SAG) instance.This parameter is required when the value of the LimitType parameter is Percent.

    minBandwidthAbs Number

    The minimum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType parameter is Absolute.

    minBandwidthPercent Number

    The minimum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated SAG instance.This parameter is required when the value of the LimitType parameter is Percent.

    name String

    The name of the QoS speed limiting rule..

    percentSourceType String

    The bandwidth type when the speed is limited based on percentage. Valid values: CcnBandwidth, InternetUpBandwidth.The default value is InternetUpBandwidth.

    Outputs

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

    Id string

    The provider-assigned unique ID for this managed resource.

    Id string

    The provider-assigned unique ID for this managed resource.

    id String

    The provider-assigned unique ID for this managed resource.

    id string

    The provider-assigned unique ID for this managed resource.

    id str

    The provider-assigned unique ID for this managed resource.

    id String

    The provider-assigned unique ID for this managed resource.

    Look up Existing QosCar Resource

    Get an existing QosCar 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?: QosCarState, opts?: CustomResourceOptions): QosCar
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            limit_type: Optional[str] = None,
            max_bandwidth_abs: Optional[int] = None,
            max_bandwidth_percent: Optional[int] = None,
            min_bandwidth_abs: Optional[int] = None,
            min_bandwidth_percent: Optional[int] = None,
            name: Optional[str] = None,
            percent_source_type: Optional[str] = None,
            priority: Optional[int] = None,
            qos_id: Optional[str] = None) -> QosCar
    func GetQosCar(ctx *Context, name string, id IDInput, state *QosCarState, opts ...ResourceOption) (*QosCar, error)
    public static QosCar Get(string name, Input<string> id, QosCarState? state, CustomResourceOptions? opts = null)
    public static QosCar get(String name, Output<String> id, QosCarState 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:
    Description string

    The description of the QoS speed limiting rule.

    LimitType string

    The speed limiting method. Valid values: Absolute, Percent.

    MaxBandwidthAbs int

    The maximum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType is Absolute.

    MaxBandwidthPercent int

    The maximum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated Smart Access Gateway (SAG) instance.This parameter is required when the value of the LimitType parameter is Percent.

    MinBandwidthAbs int

    The minimum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType parameter is Absolute.

    MinBandwidthPercent int

    The minimum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated SAG instance.This parameter is required when the value of the LimitType parameter is Percent.

    Name string

    The name of the QoS speed limiting rule..

    PercentSourceType string

    The bandwidth type when the speed is limited based on percentage. Valid values: CcnBandwidth, InternetUpBandwidth.The default value is InternetUpBandwidth.

    Priority int

    The priority of the specified stream.

    QosId string

    The instance ID of the QoS.

    Description string

    The description of the QoS speed limiting rule.

    LimitType string

    The speed limiting method. Valid values: Absolute, Percent.

    MaxBandwidthAbs int

    The maximum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType is Absolute.

    MaxBandwidthPercent int

    The maximum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated Smart Access Gateway (SAG) instance.This parameter is required when the value of the LimitType parameter is Percent.

    MinBandwidthAbs int

    The minimum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType parameter is Absolute.

    MinBandwidthPercent int

    The minimum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated SAG instance.This parameter is required when the value of the LimitType parameter is Percent.

    Name string

    The name of the QoS speed limiting rule..

    PercentSourceType string

    The bandwidth type when the speed is limited based on percentage. Valid values: CcnBandwidth, InternetUpBandwidth.The default value is InternetUpBandwidth.

    Priority int

    The priority of the specified stream.

    QosId string

    The instance ID of the QoS.

    description String

    The description of the QoS speed limiting rule.

    limitType String

    The speed limiting method. Valid values: Absolute, Percent.

    maxBandwidthAbs Integer

    The maximum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType is Absolute.

    maxBandwidthPercent Integer

    The maximum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated Smart Access Gateway (SAG) instance.This parameter is required when the value of the LimitType parameter is Percent.

    minBandwidthAbs Integer

    The minimum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType parameter is Absolute.

    minBandwidthPercent Integer

    The minimum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated SAG instance.This parameter is required when the value of the LimitType parameter is Percent.

    name String

    The name of the QoS speed limiting rule..

    percentSourceType String

    The bandwidth type when the speed is limited based on percentage. Valid values: CcnBandwidth, InternetUpBandwidth.The default value is InternetUpBandwidth.

    priority Integer

    The priority of the specified stream.

    qosId String

    The instance ID of the QoS.

    description string

    The description of the QoS speed limiting rule.

    limitType string

    The speed limiting method. Valid values: Absolute, Percent.

    maxBandwidthAbs number

    The maximum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType is Absolute.

    maxBandwidthPercent number

    The maximum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated Smart Access Gateway (SAG) instance.This parameter is required when the value of the LimitType parameter is Percent.

    minBandwidthAbs number

    The minimum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType parameter is Absolute.

    minBandwidthPercent number

    The minimum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated SAG instance.This parameter is required when the value of the LimitType parameter is Percent.

    name string

    The name of the QoS speed limiting rule..

    percentSourceType string

    The bandwidth type when the speed is limited based on percentage. Valid values: CcnBandwidth, InternetUpBandwidth.The default value is InternetUpBandwidth.

    priority number

    The priority of the specified stream.

    qosId string

    The instance ID of the QoS.

    description str

    The description of the QoS speed limiting rule.

    limit_type str

    The speed limiting method. Valid values: Absolute, Percent.

    max_bandwidth_abs int

    The maximum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType is Absolute.

    max_bandwidth_percent int

    The maximum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated Smart Access Gateway (SAG) instance.This parameter is required when the value of the LimitType parameter is Percent.

    min_bandwidth_abs int

    The minimum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType parameter is Absolute.

    min_bandwidth_percent int

    The minimum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated SAG instance.This parameter is required when the value of the LimitType parameter is Percent.

    name str

    The name of the QoS speed limiting rule..

    percent_source_type str

    The bandwidth type when the speed is limited based on percentage. Valid values: CcnBandwidth, InternetUpBandwidth.The default value is InternetUpBandwidth.

    priority int

    The priority of the specified stream.

    qos_id str

    The instance ID of the QoS.

    description String

    The description of the QoS speed limiting rule.

    limitType String

    The speed limiting method. Valid values: Absolute, Percent.

    maxBandwidthAbs Number

    The maximum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType is Absolute.

    maxBandwidthPercent Number

    The maximum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated Smart Access Gateway (SAG) instance.This parameter is required when the value of the LimitType parameter is Percent.

    minBandwidthAbs Number

    The minimum bandwidth allowed for the stream specified in the quintuple rule. This parameter is required when the value of the LimitType parameter is Absolute.

    minBandwidthPercent Number

    The minimum bandwidth percentage allowed for the stream specified in the quintuple rule. It is based on the maximum upstream bandwidth you set for the associated SAG instance.This parameter is required when the value of the LimitType parameter is Percent.

    name String

    The name of the QoS speed limiting rule..

    percentSourceType String

    The bandwidth type when the speed is limited based on percentage. Valid values: CcnBandwidth, InternetUpBandwidth.The default value is InternetUpBandwidth.

    priority Number

    The priority of the specified stream.

    qosId String

    The instance ID of the QoS.

    Import

    The Sag Qos Car can be imported using the id, e.g.

     $ pulumi import alicloud:rocketmq/qosCar:QosCar example qos-abc123456:qoscar-abc123456
    

    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.44.0 published on Thursday, Sep 28, 2023 by Pulumi