ALIYUN::SAG::QosAssociation digunakan untuk mengaitkan kebijakan quality of service (QoS) dengan instance Smart Access Gateway (SAG).
Sintaks
{
"Type": "ALIYUN::SAG::QosAssociation",
"Properties": {
"QosId": String,
"SmartAGId": String
}
}Properti
| Properti | Tipe | Diperlukan | Dapat Diedit | Deskripsi | Kendala |
| QosId | String | Ya | Tidak | ID dari kebijakan QoS. | Untuk informasi lebih lanjut tentang kebijakan QoS, lihat Apa itu kebijakan QoS?. |
| SmartAGId | String | Ya | Tidak | Instance SAG yang ingin Anda kaitkan dengan kebijakan QoS. | Tidak ada. |
Nilai Pengembalian
Fn::GetAtt
- QosId: ID dari kebijakan QoS.
- SmartAGId: Instance SAG yang dikaitkan dengan kebijakan QoS.
Contoh
JSON format
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"QosId": {
"Type": "String",
"Description": "ID instance dari kebijakan QoS."
},
"SmartAGId": {
"Type": "String",
"Description": "ID instance SAG tempat kebijakan QoS akan diterapkan."
}
},
"Resources": {
"QosAssociation": {
"Type": "ALIYUN::SAG::QosAssociation",
"Properties": {
"QosId": {
"Ref": "QosId"
},
"SmartAGId": {
"Ref": "SmartAGId"
}
}
}
},
"Outputs": {
"QosId": {
"Description": "ID dari kebijakan QoS.",
"Value": {
"Fn::GetAtt": [
"QosAssociation",
"QosId"
]
}
},
"SmartAGId": {
"Description": "ID instance SAG tempat kebijakan QoS akan diterapkan.",
"Value": {
"Fn::GetAtt": [
"QosAssociation",
"SmartAGId"
]
}
}
}
}