alicloud.rocketmq.QosCar
Explore with Pulumi AI
Provides a Sag Qos Car resource.
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-3
,ap-southeast-5
,ap-northeast-1
,eu-central-1
]
Example Usage
Basic Usage
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 _default = new alicloud.rocketmq.Qos("default", {name: name});
const defaultQosCar = new alicloud.rocketmq.QosCar("default", {
qosId: _default.id,
name: name,
description: name,
priority: 1,
limitType: "Absolute",
minBandwidthAbs: 10,
maxBandwidthAbs: 20,
percentSourceType: "InternetUpBandwidth",
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "tf_example"
default = alicloud.rocketmq.Qos("default", name=name)
default_qos_car = alicloud.rocketmq.QosCar("default",
qos_id=default.id,
name=name,
description=name,
priority=1,
limit_type="Absolute",
min_bandwidth_abs=10,
max_bandwidth_abs=20,
percent_source_type="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
}
_, err := rocketmq.NewQos(ctx, "default", &rocketmq.QosArgs{
Name: pulumi.String(name),
})
if err != nil {
return err
}
_, err = rocketmq.NewQosCar(ctx, "default", &rocketmq.QosCarArgs{
QosId: _default.ID(),
Name: pulumi.String(name),
Description: pulumi.String(name),
Priority: pulumi.Int(1),
LimitType: pulumi.String("Absolute"),
MinBandwidthAbs: pulumi.Int(10),
MaxBandwidthAbs: pulumi.Int(20),
PercentSourceType: pulumi.String("InternetUpBandwidth"),
})
if err != nil {
return err
}
return nil
})
}
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 @default = new AliCloud.RocketMQ.Qos("default", new()
{
Name = name,
});
var defaultQosCar = new AliCloud.RocketMQ.QosCar("default", new()
{
QosId = @default.Id,
Name = name,
Description = name,
Priority = 1,
LimitType = "Absolute",
MinBandwidthAbs = 10,
MaxBandwidthAbs = 20,
PercentSourceType = "InternetUpBandwidth",
});
});
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.QosArgs;
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 default_ = new Qos("default", QosArgs.builder()
.name(name)
.build());
var defaultQosCar = new QosCar("defaultQosCar", QosCarArgs.builder()
.qosId(default_.id())
.name(name)
.description(name)
.priority("1")
.limitType("Absolute")
.minBandwidthAbs("10")
.maxBandwidthAbs("20")
.percentSourceType("InternetUpBandwidth")
.build());
}
}
configuration:
name:
type: string
default: tf_example
resources:
default:
type: alicloud:rocketmq:Qos
properties:
name: ${name}
defaultQosCar:
type: alicloud:rocketmq:QosCar
name: default
properties:
qosId: ${default.id}
name: ${name}
description: ${name}
priority: '1'
limitType: Absolute
minBandwidthAbs: '10'
maxBandwidthAbs: '20'
percentSourceType: InternetUpBandwidth
Create QosCar Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new QosCar(name: string, args: QosCarArgs, opts?: CustomResourceOptions);
@overload
def QosCar(resource_name: str,
args: QosCarArgs,
opts: Optional[ResourceOptions] = None)
@overload
def QosCar(resource_name: str,
opts: Optional[ResourceOptions] = None,
limit_type: Optional[str] = None,
priority: Optional[int] = None,
qos_id: Optional[str] = None,
description: 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)
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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var qosCarResource = new AliCloud.RocketMQ.QosCar("qosCarResource", new()
{
LimitType = "string",
Priority = 0,
QosId = "string",
Description = "string",
MaxBandwidthAbs = 0,
MaxBandwidthPercent = 0,
MinBandwidthAbs = 0,
MinBandwidthPercent = 0,
Name = "string",
PercentSourceType = "string",
});
example, err := rocketmq.NewQosCar(ctx, "qosCarResource", &rocketmq.QosCarArgs{
LimitType: pulumi.String("string"),
Priority: pulumi.Int(0),
QosId: pulumi.String("string"),
Description: pulumi.String("string"),
MaxBandwidthAbs: pulumi.Int(0),
MaxBandwidthPercent: pulumi.Int(0),
MinBandwidthAbs: pulumi.Int(0),
MinBandwidthPercent: pulumi.Int(0),
Name: pulumi.String("string"),
PercentSourceType: pulumi.String("string"),
})
var qosCarResource = new QosCar("qosCarResource", QosCarArgs.builder()
.limitType("string")
.priority(0)
.qosId("string")
.description("string")
.maxBandwidthAbs(0)
.maxBandwidthPercent(0)
.minBandwidthAbs(0)
.minBandwidthPercent(0)
.name("string")
.percentSourceType("string")
.build());
qos_car_resource = alicloud.rocketmq.QosCar("qosCarResource",
limit_type="string",
priority=0,
qos_id="string",
description="string",
max_bandwidth_abs=0,
max_bandwidth_percent=0,
min_bandwidth_abs=0,
min_bandwidth_percent=0,
name="string",
percent_source_type="string")
const qosCarResource = new alicloud.rocketmq.QosCar("qosCarResource", {
limitType: "string",
priority: 0,
qosId: "string",
description: "string",
maxBandwidthAbs: 0,
maxBandwidthPercent: 0,
minBandwidthAbs: 0,
minBandwidthPercent: 0,
name: "string",
percentSourceType: "string",
});
type: alicloud:rocketmq:QosCar
properties:
description: string
limitType: string
maxBandwidthAbs: 0
maxBandwidthPercent: 0
minBandwidthAbs: 0
minBandwidthPercent: 0
name: string
percentSourceType: string
priority: 0
qosId: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The QosCar resource accepts the following input properties:
- Limit
Type string - The speed limiting method. Valid values:
Absolute
,Percent
. - Priority int
- The priority of the specified stream.
- Qos
Id string - The instance ID of the QoS.
- Description string
- The description of the QoS speed limiting rule.
- Max
Bandwidth intAbs - 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 intPercent - 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 intAbs - 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 intPercent - 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..
- Percent
Source stringType - The bandwidth type when the speed is limited based on percentage. Valid values: CcnBandwidth, InternetUpBandwidth.The default value is InternetUpBandwidth.
- Limit
Type string - The speed limiting method. Valid values:
Absolute
,Percent
. - Priority int
- The priority of the specified stream.
- Qos
Id string - The instance ID of the QoS.
- Description string
- The description of the QoS speed limiting rule.
- Max
Bandwidth intAbs - 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 intPercent - 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 intAbs - 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 intPercent - 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..
- Percent
Source stringType - The bandwidth type when the speed is limited based on percentage. Valid values: CcnBandwidth, InternetUpBandwidth.The default value is InternetUpBandwidth.
- limit
Type String - The speed limiting method. Valid values:
Absolute
,Percent
. - priority Integer
- The priority of the specified stream.
- qos
Id String - The instance ID of the QoS.
- description String
- The description of the QoS speed limiting rule.
- max
Bandwidth IntegerAbs - 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 IntegerPercent - 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 IntegerAbs - 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 IntegerPercent - 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..
- percent
Source StringType - The bandwidth type when the speed is limited based on percentage. Valid values: CcnBandwidth, InternetUpBandwidth.The default value is InternetUpBandwidth.
- limit
Type string - The speed limiting method. Valid values:
Absolute
,Percent
. - priority number
- The priority of the specified stream.
- qos
Id string - The instance ID of the QoS.
- description string
- The description of the QoS speed limiting rule.
- max
Bandwidth numberAbs - 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 numberPercent - 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 numberAbs - 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 numberPercent - 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..
- percent
Source stringType - 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_ intabs - 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_ intpercent - 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_ intabs - 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_ intpercent - 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_ strtype - The bandwidth type when the speed is limited based on percentage. Valid values: CcnBandwidth, InternetUpBandwidth.The default value is InternetUpBandwidth.
- limit
Type String - The speed limiting method. Valid values:
Absolute
,Percent
. - priority Number
- The priority of the specified stream.
- qos
Id String - The instance ID of the QoS.
- description String
- The description of the QoS speed limiting rule.
- max
Bandwidth NumberAbs - 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 NumberPercent - 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 NumberAbs - 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 NumberPercent - 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..
- percent
Source StringType - 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.
- Description string
- The description of the QoS speed limiting rule.
- Limit
Type string - The speed limiting method. Valid values:
Absolute
,Percent
. - Max
Bandwidth intAbs - 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 intPercent - 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 intAbs - 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 intPercent - 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..
- Percent
Source stringType - 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 string - The instance ID of the QoS.
- Description string
- The description of the QoS speed limiting rule.
- Limit
Type string - The speed limiting method. Valid values:
Absolute
,Percent
. - Max
Bandwidth intAbs - 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 intPercent - 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 intAbs - 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 intPercent - 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..
- Percent
Source stringType - 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 string - The instance ID of the QoS.
- description String
- The description of the QoS speed limiting rule.
- limit
Type String - The speed limiting method. Valid values:
Absolute
,Percent
. - max
Bandwidth IntegerAbs - 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 IntegerPercent - 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 IntegerAbs - 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 IntegerPercent - 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..
- percent
Source StringType - 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.
- qos
Id String - The instance ID of the QoS.
- description string
- The description of the QoS speed limiting rule.
- limit
Type string - The speed limiting method. Valid values:
Absolute
,Percent
. - max
Bandwidth numberAbs - 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 numberPercent - 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 numberAbs - 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 numberPercent - 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..
- percent
Source stringType - 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.
- qos
Id 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_ intabs - 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_ intpercent - 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_ intabs - 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_ intpercent - 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_ strtype - 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.
- limit
Type String - The speed limiting method. Valid values:
Absolute
,Percent
. - max
Bandwidth NumberAbs - 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 NumberPercent - 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 NumberAbs - 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 NumberPercent - 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..
- percent
Source StringType - 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.
- qos
Id 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_id>:<qos_car_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.