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

Resource Orchestration Service:ALIYUN::SAG::QosAssociation

最終更新日:Jan 16, 2025

ALIYUN::SAG::QosAssociation は、Smart Access Gateway(SAG)インスタンスに Quality of Service(QoS)ポリシーを関連付けるために使用されます。

構文

{
  "Type": "ALIYUN::SAG::QosAssociation",
  "Properties": {
    "QosId": String,
    "SmartAGId": String
  }
}

プロパティ

プロパティタイプ必須編集可能説明制約
QosIdStringYesNoQoS ポリシーの ID。QoS ポリシーの詳細については、QoS ポリシーとは をご参照ください。
SmartAGIdStringYesNoQoS ポリシーを関連付ける SAG インスタンス。なし。

戻り値

Fn::GetAtt

  • QosId: QoS ポリシーの ID。
  • SmartAGId: QoS ポリシーに関連付けられている SAG インスタンス。

JSON 形式

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "QosId": {
      "Type": "String",
      // QoS ポリシーのインスタンス ID。
      "Description": "The instance ID of the QoS policy."
    },
    "SmartAGId": {
      "Type": "String",
      // QoS ポリシーを適用する SAG インスタンスの ID。
      "Description": "The ID of the SAG instance to which the QoS policy is to be applied."
    }
  },
  "Resources": {
    "QosAssociation": {
      "Type": "ALIYUN::SAG::QosAssociation",
      "Properties": {
        "QosId": {
          "Ref": "QosId"
        },
        "SmartAGId": {
          "Ref": "SmartAGId"
        }
      }
    }
  },
  "Outputs": {
    "QosId": {
      // QoS ポリシーの ID。
      "Description": "The ID of the QoS policy.",
      "Value": {
        "Fn::GetAtt": [
          "QosAssociation",
          "QosId"
        ]
      }
    },
    "SmartAGId": {
      // QoS ポリシーが適用される SAG インスタンスの ID。
      "Description": "The ID of the SAG instance to which the QoS policy is to be applied.",
      "Value": {
        "Fn::GetAtt": [
          "QosAssociation",
          "SmartAGId"
        ]
      }
    }
  }
}