すべてのプロダクト
Search
ドキュメントセンター

Resource Orchestration Service:ALIYUN::SAG::QosCar

最終更新日:Jan 16, 2025

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
  }
}

プロパティ

プロパティタイプ必須編集可能説明制約
MinBandwidthAbsIntegerいいえはい最小帯域幅。LimitType プロパティを Absolute に設定する場合、このプロパティは必須です。
DescriptionStringいいえはいトラフィック調整ルールの説明。なし。
MaxBandwidthPercentIntegerいいえはい最大帯域幅の割合。LimitType プロパティを Percent に設定する場合、このプロパティは必須です。
PriorityIntegerはいはいトラフィック調整ルールの優先度。有効な値:1 ~ 7。

値が小さいほど、優先度が高くなります。

MaxBandwidthAbsIntegerいいえはい最大帯域幅。LimitType プロパティを Absolute に設定する場合、このプロパティは必須です。
QosIdStringはいいいえQoS ポリシーの ID 。QoS ポリシーの詳細については、「QoS ポリシーとは」をご参照ください。
PercentSourceTypeStringいいえはい特定の帯域幅の割合に基づいてトラフィックが調整される場合の帯域幅タイプ。有効な値:
  • CcnBandwidth:クラウド接続ネットワーク ( CCN ) 帯域幅
  • InternetUpBandwidth:インターネットアップストリーム帯域幅
MinBandwidthPercentIntegerいいえはい最小帯域幅の割合。LimitType プロパティを Percent に設定する場合、このプロパティは必須です。
LimitTypeStringはいはいトラフィック調整ルールのタイプ。有効な値:
  • Absolute:特定の帯域幅範囲に基づいてトラフィックを調整します。
  • Percent:特定の帯域幅の割合に基づいてトラフィックを調整します。
NameStringいいえはいトラフィック調整ルールの名前。名前は 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"
        ]
      }
    }
  }
}