Todos os produtos
Search
Central de documentação

Resource Orchestration Service:ALIYUN::SAG::SerialNumberBinding

Última atualização: Jun 27, 2026

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: sage62x021922****.

SmartAGId

String

Sim

Não

ID da instância SAG.

Exemplo: sag-r79m060r6oy55******.

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"
        ]
      }
    }
  }
}