すべてのプロダクト
Search
ドキュメントセンター

Resource Orchestration Service:ALIYUN::SAG::SerialNumberBinding

最終更新日:Jan 16, 2025

ALIYUN::SAG::SerialNumberBinding は、Smart Access Gateway(SAG)デバイスを SAG インスタンスに関連付けるために使用されます。

構文

{
  "Type": "ALIYUN::SAG::SerialNumberBinding",
  "Properties": {
    "SerialNumber": String,
    "SmartAGId": String
  }
}

プロパティ

プロパティタイプ必須編集可能説明制約
SerialNumberStringYesNoSAG デバイスのシリアル番号(SN)。例: sage62x021922****
SmartAGIdStringYesNoSAG インスタンスの ID。例: sag-r79m060r6oy55******

戻り値

Fn::GetAtt

SmartAGId: SAG インスタンスの ID。

JSON 形式

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "SerialNumber": {
      "Type": "String",
      "Description": "SAG デバイスのシリアル番号(SN)。", // The serial number (SN) of the SAG device.
      "Default": "sage62x021922****"
    },
    "SmartAGId": {
      "Type": "String",
      "Description": "SAG インスタンスの ID。", // 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": "SAG インスタンスの ID。", // The ID of the SAG instance.
      "Value": {
        "Fn::GetAtt": [
          "SerialNumberBinding",
          "SmartAGId"
        ]
      }
    }
  }
}