Associa uma política de qualidade de serviço (QoS) a uma instância do Smart Access Gateway (SAG).
Sintaxe
{
"Type": "ALIYUN::SAG::QosAssociation",
"Properties": {
"QosId": String,
"SmartAGId": String
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatória |
Editável |
Descrição |
Restrição |
|
QosId |
String |
Sim |
Não |
O ID da política de QoS. |
Para obter mais informações sobre políticas de QoS, consulte O que é uma política de QoS?. |
|
SmartAGId |
String |
Sim |
Não |
O ID da instância SAG a associar à política de QoS. |
Nenhuma. |
Valores de retorno
Fn::GetAtt
QosId: o ID da política de QoS.
SmartAGId: o ID da instância SAG associada à política de QoS.
Exemplos
Formato JSON
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"QosId": {
"Type": "String",
"Description": "The instance ID of the QoS policy."
},
"SmartAGId": {
"Type": "String",
"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": {
"Description": "The ID of the QoS policy.",
"Value": {
"Fn::GetAtt": [
"QosAssociation",
"QosId"
]
}
},
"SmartAGId": {
"Description": "The ID of the SAG instance to which the QoS policy is to be applied.",
"Value": {
"Fn::GetAtt": [
"QosAssociation",
"SmartAGId"
]
}
}
}
}