ALIYUN::SAG::QoS crie uma política de qualidade de serviço (QoS) para uma instância do Smart Access Gateway (SAG).
Sintaxe
{
"Type": "ALIYUN::SAG::Qos",
"Properties": {
"QosName": String,
"QosDescription": String
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatória |
Editável |
Descrição |
Restrição |
|
QosName |
String |
Sim |
Sim |
Nome da política de QoS. |
O nome deve ter de 2 a 100 caracteres e pode conter letras, dígitos, pontos (.), sublinhados (_) e hifens (-). Deve começar com uma letra. |
|
QosDescription |
String |
Não |
Sim |
Descrição da política de QoS. |
A descrição deve ter de 1 a 512 caracteres e pode conter letras, dígitos, sublinhados (_) e hifens (-). Deve começar com uma letra. |
Valores de retorno
Fn::GetAtt
QosId: ID da política de QoS.
Exemplos
Formato JSON
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"QosName": {
"Type": "String",
"Description": "The name of the QoS policy.\nThe name must be 2 to 100 characters in length and can contain letters, digits, periods\n(.), underscores (_), and hyphens (-). It must start with a letter."
},
"QosDescription": {
"Type": "String",
"Description": "The description of the QoS policy.\nThe description must be 1 to 512 characters in length and can contain letters, digits,\nunderscores (_), and hyphens (-). It must start with a letter."
}
},
"Resources": {
"Qos": {
"Type": "ALIYUN::SAG::Qos",
"Properties": {
"QosName": {
"Ref": "QosName"
},
"QosDescription": {
"Ref": "QosDescription"
}
}
}
},
"Outputs": {
"QosId": {
"Description": "The ID of the QoS policy.",
"Value": {
"Fn::GetAtt": [
"Qos",
"QosId"
]
}
}
}
}