ALIYUN::SAG::QosCar は、サービス品質 ( QoS ) ポリシーのトラフィック調整ルールを作成するために使用されます。
構文
{
"Type": "ALIYUN::SAG::QosCar",
"Properties": {
"MinBandwidthAbs": Integer,
"Description": String,
"MaxBandwidthPercent": Integer,
"Priority": Integer,
"MaxBandwidthAbs": Integer,
"QosId": String,
"PercentSourceType": String,
"MinBandwidthPercent": Integer,
"LimitType": String,
"Name": String
}
}プロパティ
| プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
| MinBandwidthAbs | Integer | いいえ | はい | 最小帯域幅。 | LimitType プロパティを Absolute に設定する場合、このプロパティは必須です。 |
| Description | String | いいえ | はい | トラフィック調整ルールの説明。 | なし。 |
| MaxBandwidthPercent | Integer | いいえ | はい | 最大帯域幅の割合。 | LimitType プロパティを Percent に設定する場合、このプロパティは必須です。 |
| Priority | Integer | はい | はい | トラフィック調整ルールの優先度。 | 有効な値:1 ~ 7。 値が小さいほど、優先度が高くなります。 |
| MaxBandwidthAbs | Integer | いいえ | はい | 最大帯域幅。 | LimitType プロパティを Absolute に設定する場合、このプロパティは必須です。 |
| QosId | String | はい | いいえ | QoS ポリシーの ID 。 | QoS ポリシーの詳細については、「QoS ポリシーとは」をご参照ください。 |
| PercentSourceType | String | いいえ | はい | 特定の帯域幅の割合に基づいてトラフィックが調整される場合の帯域幅タイプ。 | 有効な値:
|
| MinBandwidthPercent | Integer | いいえ | はい | 最小帯域幅の割合。 | LimitType プロパティを Percent に設定する場合、このプロパティは必須です。 |
| LimitType | String | はい | はい | トラフィック調整ルールのタイプ。 | 有効な値:
|
| Name | String | いいえ | はい | トラフィック調整ルールの名前。 | 名前は 2 ~ 128 文字の長さで、文字、数字、ピリオド ( . )、アンダースコア ( _ )、およびハイフン ( - ) を使用できます。名前は文字で始める必要があります。 |
戻り値
Fn::GetAtt
QosCarId:QoS ポリシーのトラフィック調整ルールの ID 。
例
JSON 形式
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"MinBandwidthAbs": {
"Type": "Number",
// 最小帯域幅。LimitType が Absolute に設定されている場合、このパラメーターは必須です。
"Description": "The minimum bandwidth. This parameter is required when LimitType is set to Absolute."
},
"Description": {
"Type": "String",
// トラフィック調整ポリシーの説明。
"Description": "The description of the traffic throttling policy."
},
"Priority": {
"Type": "Number",
// トラフィック調整ポリシーの優先度。値が小さいほど優先度が高くなります。ポリシーに同じ優先度が割り当てられている場合、最初に適用されたポリシーが優先されます。有効な値:1 ~ 7。
"Description": "The priority of the traffic throttling policy. A smaller value represents a higher\npriority. If policies are assigned the same priority, the one applied the earliest\nprevails. Valid values: 1 to 7.",
"MinValue": 1,
"MaxValue": 7
},
"MaxBandwidthPercent": {
"Type": "Number",
// SAG インスタンスの最大アップストリーム帯域幅に基づく最大パーセンテージ。\nこのパラメーターは、LimitType が Percent に設定されている場合に必須です。
"Description": "The maximum percentage that is based on the maximum upstream bandwidth of the SAG\ninstance.\nThis parameter is required when LimitType is set to Percent."
},
"MaxBandwidthAbs": {
"Type": "Number",
// 最大帯域幅。LimitType が Absolute に設定されている場合、このパラメーターは必須です。
"Description": "The maximum bandwidth. This parameter is required when LimitType is set to Absolute."
},
"QosId": {
"Type": "String",
// QoS ポリシーの ID 。
"Description": "The ID of the QoS policy."
},
"PercentSourceType": {
"Type": "String",
// ポリシーが指定された帯域幅の割合に基づいてトラフィックを調整する場合、次のオプションを使用できます。\nCcnBandwidth:クラウドエンタープライズネットワーク ( CCN ) 帯域幅。\nInternetUpBandwidth:インターネットアップストリーム帯域幅。
"Description": "If the policy throttles traffic based on a specified bandwidth percentage, the following\noptions are available:\nCcnBandwidth: Cloud Enterprise Network (CCN) bandwidth.\nInternetUpBandwidth: Internet upstream bandwidth.",
"AllowedValues": [
"CcnBandwidth",
"InternetUpBandwidth"
]
},
"MinBandwidthPercent": {
"Type": "Number",
// SAG インスタンスの最大アップストリーム帯域幅に基づく最小パーセンテージ。\nこのパラメーターは、LimitType が Percent に設定されている場合に必須です。
"Description": "The minimum percentage that is based on the maximum upstream bandwidth of the SAG\ninstance.\nThis parameter is required when LimitType is set to Percent."
},
"LimitType": {
"Type": "String",
// トラフィック調整ポリシーのタイプ。有効な値:\nAbsolute:特定の帯域幅範囲でトラフィックを調整します。\nPercent:特定の帯域幅の割合でトラフィックを調整します。
"Description": "The type of the traffic throttling policy. Valid values:\nAbsolute: throttles traffic by a specific bandwidth range.\nPercent: throttles traffic by a specific range of bandwidth percentage.",
"AllowedValues": [
"Absolute",
"Percent"
]
},
"Name": {
"Type": "String",
// トラフィック調整ポリシーの名前。名前は 2 ~ 128 文字の長さで、漢字、英字、数字、ピリオド ( . )、アンダースコア ( _ )、およびハイフン ( - ) を使用できます。
"Description": "The name of the traffic throttling policy. The name must be 2 to 128 characters in\nlength, and can contain Chinese characters, letters, digits, periods (.), underscores\n(_), and hyphens (-)."
}
},
"Resources": {
"QosCar": {
"Type": "ALIYUN::SAG::QosCar",
"Properties": {
"MinBandwidthAbs": {
"Ref": "MinBandwidthAbs"
},
"Description": {
"Ref": "Description"
},
"Priority": {
"Ref": "Priority"
},
"MaxBandwidthPercent": {
"Ref": "MaxBandwidthPercent"
},
"MaxBandwidthAbs": {
"Ref": "MaxBandwidthAbs"
},
"QosId": {
"Ref": "QosId"
},
"PercentSourceType": {
"Ref": "PercentSourceType"
},
"MinBandwidthPercent": {
"Ref": "MinBandwidthPercent"
},
"LimitType": {
"Ref": "LimitType"
},
"Name": {
"Ref": "Name"
}
}
}
},
"Outputs": {
"QosCarId": {
// トラフィック調整ポリシーの ID 。
"Description": "The ID of the traffic throttling policy.",
"Value": {
"Fn::GetAtt": [
"QosCar",
"QosCarId"
]
}
}
}
}