Associa um dispositivo Smart Access Gateway (SAG) a uma instância SAG.
Sintaxe
{
"Type": "ALIYUN::SAG::SerialNumberBinding",
"Properties": {
"SerialNumber": String,
"SmartAGId": String
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatória |
Editável |
Descrição |
Restrição |
|
SerialNumber |
String |
Sim |
Não |
Número de série (SN) do dispositivo SAG. |
Exemplo: |
|
SmartAGId |
String |
Sim |
Não |
ID da instância SAG. |
Exemplo: |
Valores de retorno
Fn::GetAtt
SmartAGId: ID da instância SAG.
Exemplos
Formato JSON
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"SerialNumber": {
"Type": "String",
"Description": "The serial number (SN) of the SAG device.",
"Default": "sage62x021922****"
},
"SmartAGId": {
"Type": "String",
"Description": "The ID of the SAG instance.",
"Default": "sag-r79m060r6oy55******"
}
},
"Resources": {
"SerialNumberBinding": {
"Type": "ALIYUN::SAG::SerialNumberBinding",
"Properties": {
"SerialNumber": {
"Ref": "SerialNumber"
},
"SmartAGId": {
"Ref": "SmartAGId"
}
}
}
},
"Outputs": {
"SmartAGId": {
"Description": "The ID of the SAG instance.",
"Value": {
"Fn::GetAtt": [
"SerialNumberBinding",
"SmartAGId"
]
}
}
}
}