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

Resource Orchestration Service:ALIYUN::ECD::NetworkPackageAssociation

最終更新日:Mar 17, 2025

ALIYUN::ECD::NetworkPackageAssociation は、プレミアム帯域幅プランをオフィスネットワークに関連付けるために使用されます。

構文

{
  "Type": "ALIYUN::ECD::NetworkPackageAssociation",
  "Properties": {
    "NetworkPackageId": String,
    "OfficeSiteId": String
  }
}

プロパティ

プロパティ

タイプ

必須

編集可能

説明

制約

NetworkPackageId

String

はい

いいえ

プレミアム帯域幅プランの ID。

なし。

OfficeSiteId

String

はい

いいえ

オフィスネットワークの ID。

DescribeNetworkPackages 操作を呼び出して、プレミアム帯域幅プランに関連付けられているオフィスネットワークの ID をクエリできます。

戻り値

Fn::GetAtt

  • OfficeSiteId: オフィスネットワークの ID。

  • NetworkPackageId: プレミアム帯域幅プランの ID。

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  OfficeSiteId:
    Type: String
    Description:
      en: The ID of the workspace.
    Required: true
  NetworkPackageId:
    Type: String
    Description:
      en: The ID of the Internet access package.
    Required: true
Resources:
  ExtensionResource:
    Type: ALIYUN::ECD::NetworkPackageAssociation
    Properties:
      OfficeSiteId:
        Ref: OfficeSiteId
      NetworkPackageId:
        Ref: NetworkPackageId
Outputs:
  OfficeSiteId:
    Description: The ID of the workspace.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - OfficeSiteId
  NetworkPackageId:
    Description: The ID of the Internet access package.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - NetworkPackageId
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "OfficeSiteId": {
      "Type": "String",
      "Description": {
        "en": "The ID of the workspace."
      },
      "Required": true
    },
    "NetworkPackageId": {
      "Type": "String",
      "Description": {
        "en": "The ID of the Internet access package."
      },
      "Required": true
    }
  },
  "Resources": {
    "ExtensionResource": {
      "Type": "ALIYUN::ECD::NetworkPackageAssociation",
      "Properties": {
        "OfficeSiteId": {
          "Ref": "OfficeSiteId"
        },
        "NetworkPackageId": {
          "Ref": "NetworkPackageId"
        }
      }
    }
  },
  "Outputs": {
    "OfficeSiteId": {
      "Description": "The ID of the workspace.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "OfficeSiteId"
        ]
      }
    },
    "NetworkPackageId": {
      "Description": "The ID of the Internet access package.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "NetworkPackageId"
        ]
      }
    }
  }
}