ALIYUN::SAG::QosAssociation は、Smart Access Gateway(SAG)インスタンスに Quality of Service(QoS)ポリシーを関連付けるために使用されます。
構文
{
"Type": "ALIYUN::SAG::QosAssociation",
"Properties": {
"QosId": String,
"SmartAGId": String
}
}プロパティ
| プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
| QosId | String | Yes | No | QoS ポリシーの ID。 | QoS ポリシーの詳細については、QoS ポリシーとは をご参照ください。 |
| SmartAGId | String | Yes | No | QoS ポリシーを関連付ける 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"
]
}
}
}
}