Todos os produtos
Search
Central de documentação

Resource Orchestration Service:ALIYUN::VPC::PublicIpAddressPool

Última atualização: Jun 27, 2026

Cria um pool de endereços IP.

Sintaxe

{
  "Type": "ALIYUN::VPC::PublicIpAddressPool",
  "Properties": {
    "BizType": String,
    "Description": String,
    "Isp": String,
    "Name": String,
    "ResourceGroupId": String,
    "SecurityProtectionTypes": List,
    "Tags": List,
    "Zones": List
  }
}

Propriedades

Propriedade

Tipo

Obrigatório

Editável

Descrição

Restrição

BizType

String

Não

Não

Tipo de serviço do pool de endereços IP.

Valores válidos:

  • CloudBox: Cloud Box. Disponível apenas para usuários do Cloud Box.

  • Default (padrão): tipo geral.

Description

String

Não

Sim

Descrição do pool de endereços IP.

A descrição pode ter até 256 caracteres e não pode começar com http:// ou https://.

Isp

String

Não

Não

Tipo de linha.

Valores válidos se a conta estiver na lista de permissões de largura de banda multi-ISP:

  • BGP (padrão): BGP (Multi-ISP).

  • BGP_PRO: BGP (Multi-ISP) Pro.

Para mais informações sobre BGP (Multi-ISP) e BGP (Multi-ISP) Pro, consulte O que é um EIP?

  • Valores válidos se a conta estiver na lista de permissões de largura de banda single-ISP:

    • ChinaTelecom: China Telecom.

    • ChinaUnicom: China Unicom.

    • ChinaMobile: China Mobile.

    • ChinaTelecom_L2: China Telecom L2.

    • ChinaUnicom_L2: China Unicom L2.

    • ChinaMobile_L2: China Mobile L2.

  • Valor válido para serviços implantados na região China East 1 Finance: BGP_FinanceCloud. Especifique esta propriedade obrigatoriamente nesse cenário.

Name

String

Não

Sim

Nome do pool de endereços IP.

Nenhuma.

ResourceGroupId

String

Não

Sim

ID do grupo de recursos ao qual o pool de endereços IP pertence.

Nenhuma.

SecurityProtectionTypes

List

Não

Não

Edição do Anti-DDoS.

  • Se deixar esta propriedade vazia, o sistema usa o Anti-DDoS Origin Basic.

  • Ao especificar AntiDDoS_Enhanced, o sistema usa o Anti-DDoS Proxy.

Tags

List

Não

Não

Tags para adicionar ao pool de endereços IP.

Para mais informações, consulte Propriedades de Tags.

Zones

List

Não

Não

Zona do pool de endereços IP.

Obrigatório quando BizType for CloudBox. Especifique apenas uma zona.

Sintaxe de Tags

"Tags": [
  {
    "Value": String,
    "Key": String
  }
]

Propriedades de Tags

Propriedade

Tipo

Obrigatório

Editável

Descrição

Restrição

Key

String

Sim

Não

Chave da tag.

A chave deve ter de 1 a 128 caracteres e não pode conter http:// ou https://. Não pode começar com aliyun ou acs:.

Value

String

Não

Não

Valor da tag.

O valor pode ter até 128 caracteres e não pode conter http:// ou https://. Não pode começar com aliyun ou acs:.

Valores de retorno

Fn::GetAtt

PublicIpAddressPoolId: ID do pool de endereços IP.

Exemplos

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  Isp:
    Type: String
    Description:
      en: |-
        The line type. Valid values:
        BGP (default): BGP (Multi-ISP) lines. All regions support BGP (Multi-ISP) EIPs.
        BGP_PRO: BGP (Multi-ISP) Pro lines. 
        Only the following regions support BGP (Multi-ISP) Pro lines: 
        China (Hong Kong), Singapore, Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok).
        For more information about BGP (Multi-ISP) and BGP (Multi-ISP) Pro, see EIP line types.
        If you are allowed to use single-ISP bandwidth, you can also choose one of the following values:
        ChinaTelecom: China Telecom
        ChinaUnicom: China Unicom
        ChinaMobile: China Mobile
        ChinaTelecom_L2: China Telecom L2
        ChinaUnicom_L2: China Unicom L2
        ChinaMobile_L2: China Mobile L2
        If your services are deployed in China East 1 Finance, you must set this parameter to BGP_FinanceCloud.
    AllowedValues:
      - BGP
      - BGP_PRO
      - RunShellScript
      - ChinaTelecom
      - ChinaUnicom
      - ChinaMobile
      - ChinaTelecom_L2
      - ChinaUnicom_L2
      - ChinaMobile_L2
      - BGP_FinanceCloud
    Required: false
  SecurityProtectionTypes:
    AssociationPropertyMetadata:
      Parameter:
        Type: String
        AllowedValues:
          - AntiDDoS_Enhanced
        Required: false
    AssociationProperty: List[Parameter]
    Type: Json
    Description:
      en: |-
        Safety protection level.
        When configured as empty, the default is DDOS protection (basic version).
        When configured as Antiddos_enhanced, it means DDOS protection (enhanced version).
    Required: false
    MinLength: 1
    MaxLength: 100
  BizType:
    Type: String
    Description:
      en: |-
        The business type of IP address pool.Value:
        Cloudbox: Cloud Box.Cloud box users support to select this type.
        Default (default): default, indicating non -special types.
    AllowedValues:
      - CloudBox
    Required: false
  Name:
    Type: String
    Description:
      en: |-
        The name of the address pool instance.
        The length is 0-128 characters, and you cannot start with http: // or https: //.
    Required: false
Resources:
  PublicIpAddressPool:
    Type: ALIYUN::VPC::PublicIpAddressPool
    Properties:
      Isp:
        Ref: Isp
      SecurityProtectionTypes:
        Ref: SecurityProtectionTypes
      BizType:
        Ref: BizType
      Name:
        Ref: Name
Outputs:
  PublicIpAddressPoolId:
    Description: Example ID of the IP address pool.
    Value:
      Fn::GetAtt:
        - PublicIpAddressPool
        - PublicIpAddressPoolId
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "Isp": {
      "Type": "String",
      "Description": {
        "en": "The line type. Valid values:\nBGP (default): BGP (Multi-ISP) lines. All regions support BGP (Multi-ISP) EIPs.\nBGP_PRO: BGP (Multi-ISP) Pro lines. \nOnly the following regions support BGP (Multi-ISP) Pro lines: \nChina (Hong Kong(China)), Singapore, Malaysia (Kuala Lumpur), Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok).\nFor more information about BGP (Multi-ISP) and BGP (Multi-ISP) Pro, see EIP line types.\nIf you are allowed to use single-ISP bandwidth, you can also choose one of the following values:\nChinaTelecom: China Telecom\nChinaUnicom: China Unicom\nChinaMobile: China Mobile\nChinaTelecom_L2: China Telecom L2\nChinaUnicom_L2: China Unicom L2\nChinaMobile_L2: China Mobile L2\nIf your services are deployed in China East 1 Finance, you must set this parameter to BGP_FinanceCloud."
      },
      "AllowedValues": [
        "BGP",
        "BGP_PRO",
        "RunShellScript",
        "ChinaTelecom",
        "ChinaUnicom",
        "ChinaMobile",
        "ChinaTelecom_L2",
        "ChinaUnicom_L2",
        "ChinaMobile_L2",
        "BGP_FinanceCloud"
      ],
      "Required": false
    },
    "SecurityProtectionTypes": {
      "AssociationPropertyMetadata": {
        "Parameter": {
          "Type": "String",
          "AllowedValues": [
            "AntiDDoS_Enhanced"
          ],
          "Required": false
        }
      },
      "AssociationProperty": "List[Parameter]",
      "Type": "Json",
      "Description": {
        "en": "Safety protection level.\nWhen configured as empty, the default is DDOS protection (basic version).\nWhen configured as Antiddos_enhanced, it means DDOS protection (enhanced version)."
      },
      "Required": false,
      "MinLength": 1,
      "MaxLength": 100
    },
    "BizType": {
      "Type": "String",
      "Description": {
        "en": "The business type of IP address pool.Value:\nCloudbox: Cloud Box.Cloud box users support to select this type.\nDefault (default): default, indicating non -special types."
      },
      "AllowedValues": [
        "CloudBox"
      ],
      "Required": false
    },
    "Name": {
      "Type": "String",
      "Description": {
        "en": "The name of the address pool instance.\nThe length is 0-128 characters, and you cannot start with http: // or https: //."
      },
      "Required": false
    }
  },
  "Resources": {
    "PublicIpAddressPool": {
      "Type": "ALIYUN::VPC::PublicIpAddressPool",
      "Properties": {
        "Isp": {
          "Ref": "Isp"
        },
        "SecurityProtectionTypes": {
          "Ref": "SecurityProtectionTypes"
        },
        "BizType": {
          "Ref": "BizType"
        },
        "Name": {
          "Ref": "Name"
        }
      }
    }
  },
  "Outputs": {
    "PublicIpAddressPoolId": {
      "Description": "Example ID of the IP address pool.",
      "Value": {
        "Fn::GetAtt": [
          "PublicIpAddressPool",
          "PublicIpAddressPoolId"
        ]
      }
    }
  }
}