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

Resource Orchestration Service:ALIYUN::PVTZ::ZoneVpcBinder

最終更新日:Jan 16, 2025

ALIYUN::PVTZ::ZoneVpcBinder は、プライベートゾーンを仮想プライベートクラウド ( VPC ) にバインドしたり、プライベートゾーンを VPC からバインド解除したりするために使用されます。

構文

{
  "Type": "ALIYUN::PVTZ::ZoneVpcBinder",
  "Properties": {
    "Vpcs": List,
    "ZoneId": String
  }
}

プロパティ

プロパティタイプ必須編集可能説明制約
VpcsListYesYesVPC のリスト。最大 10 個の VPC を指定できます。

詳細については、Vpcs プロパティをご参照ください。

ZoneIdStringYesNoプライベートゾーンの ID 。なし

Vpcs 構文

"Vpcs": [
  {
    "VpcId": String,
    "RegionId": String
  }
]

Vpcs プロパティ

プロパティタイプ必須編集可能説明制約
VpcIdStringYesNoVPC の ID 。なし
RegionIdStringYesNoVPC のリージョン ID 。なし

レスポンスパラメーター

Fn::GetAtt

  • ZoneId: プライベートゾーンの ID 。
  • Vpcs: プライベートゾーンがバインドされている VPC 。

  • YAML 形式

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      VpcId:
        Type: String
        AssociationProperty: ALIYUN::ECS::VPC::VPCId
      ZoneId:
        Type: String
        Description: PVTZ Zone Id
    Resources:
      ZoneVpcBinder:
        Type: ALIYUN::PVTZ::ZoneVpcBinder
        Properties:
          Vpcs:
            - VpcId:
                Ref: VpcId
              RegionId:
                Ref: ALIYUN::Region
          ZoneId:
            Ref: ZoneId
    Outputs: {}
  • JSON 形式

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
        "VpcId": {
          "Type": "String",
          "AssociationProperty": "ALIYUN::ECS::VPC::VPCId"
        },
        "ZoneId": {
          "Type": "String",
          "Description": "PVTZ Zone Id"
        }
      },
      "Resources": {
        "ZoneVpcBinder": {
          "Type": "ALIYUN::PVTZ::ZoneVpcBinder",
          "Properties": {
            "Vpcs": [
              {
                "VpcId": {
                  "Ref": "VpcId"
                },
                "RegionId": {
                  "Ref": "ALIYUN::Region"
                }
              }
            ],
            "ZoneId": {
              "Ref": "ZoneId"
            }
          }
        }
      },
      "Outputs": {
      }
    }

その他の例については、PVTZ.json および PVTZ.yml をご参照ください。これらの例では、ALIYUN::PVTZ::Zone、ALIYUN::PVTZ::ZoneRecord、および ALIYUN::PVTZ::ZoneVpcBinder リソースタイプが使用されています。