Todos os produtos
Search
Central de documentação

Resource Orchestration Service:DATASOURCE::Eipanycast::AnycastEipAddress

Última atualização: Jun 27, 2026

Consulta informações de um endereço IP elástico Anycast (Anycast EIP) específico.

Sintaxe

{
  "Type": "DATASOURCE::Eipanycast::AnycastEipAddress",
  "Properties": {
    "AnycastId": String,
    "RefreshOptions": String
  }
}

Propriedades

Propriedade

Tipo

Obrigatório

Editável

Descrição

Restrição

AnycastId

String

Sim

Sim

ID do Anycast EIP.

Nenhuma.

RefreshOptions

String

Não

Sim

Política de atualização dos recursos da source de dados durante atualizações da pilha.

Valores válidos:

  • Never (padrão): não atualiza os recursos da source de dados durante as atualizações da pilha.

  • Always: atualiza os recursos da source de dados durante as atualizações da pilha.

Valores de retorno

Fn::GetAtt

  • Status: status do Anycast EIP.

  • AnycastEipAddressName: nome do Anycast EIP.

  • ServiceLocation: área de acesso do Anycast EIP.

  • AnycastId: ID do Anycast EIP.

  • Bandwidth: largura de banda máxima do Anycast EIP. Unidade: Mbit/s.

  • CreateTime: hora de criação do Anycast EIP.

  • PaymentType: método de faturamento do Anycast EIP.

  • IpAddress: endereço IP do Anycast EIP.

  • Bid: BID da conta à qual o Anycast EIP pertence.

  • Tags: tags do Anycast EIP.

  • AliUid: ID da conta à qual o Anycast EIP pertence.

  • InternetChargeType: método de medição do Anycast EIP.

Exemplos

  • YAML formato

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      AnycastId:
        Type: String
        Description:
          en: The ID of the Anycast EIP.
        Required: true
    Resources:
      ExtensionDataSource:
        Type: DATASOURCE::Eipanycast::AnycastEipAddress
        Properties:
          AnycastId:
            Ref: AnycastId
    Outputs:
      Status:
        Description: |-
          The status of the Anycast EIP. Valid values:
          * Associating
          * Unassociating
          * Allocated
          * Associated
          * Modifying
          * Releasing
          * Released
        Value:
          Fn::GetAtt:
            - ExtensionDataSource
            - Status
      AnycastEipAddressName:
        Description: The name of the Anycast EIP.
        Value:
          Fn::GetAtt:
            - ExtensionDataSource
            - AnycastEipAddressName
      ServiceLocation:
        Description: The access area of the Anycast EIP. Only international may be returned, which indicates the areas outside the Chinese mainland.
        Value:
          Fn::GetAtt:
            - ExtensionDataSource
            - ServiceLocation
      AnycastId:
        Description: The ID of the Anycast EIP.
        Value:
          Fn::GetAtt:
            - ExtensionDataSource
            - AnycastId
      Bandwidth:
        Description: 'The maximum bandwidth of the Anycast EIP. Unit: Mbit/s.'
        Value:
          Fn::GetAtt:
            - ExtensionDataSource
            - Bandwidth
      CreateTime:
        Description: The point in time at which the Anycast EIP was created. The time follows the ISO8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
        Value:
          Fn::GetAtt:
            - ExtensionDataSource
            - CreateTime
      PaymentType:
        Description: The billing method of the Anycast EIP.
        Value:
          Fn::GetAtt:
            - ExtensionDataSource
            - PaymentType
      IpAddress:
        Description: The IP address of the Anycast EIP.
        Value:
          Fn::GetAtt:
            - ExtensionDataSource
            - IpAddress
      Bid:
        Description: The BID of the account to which the Anycast EIP belongs.
        Value:
          Fn::GetAtt:
            - ExtensionDataSource
            - Bid
      Tags:
        Description: The tags of the EIP.
        Value:
          Fn::GetAtt:
            - ExtensionDataSource
            - Tags
      AliUid:
        Description: The ID of the account to which the Anycast EIP belongs.
        Value:
          Fn::GetAtt:
            - ExtensionDataSource
            - AliUid
      InternetChargeType:
        Description: The billing method of the Anycast EIP. Only PostPaid may be returned, which indicates the pay-as-you-go billing method.
        Value:
          Fn::GetAtt:
            - ExtensionDataSource
            - InternetChargeType
  • JSON formato

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
        "AnycastId": {
          "Type": "String",
          "Description": {
            "en": "The ID of the Anycast EIP."
          },
          "Required": true
        }
      },
      "Resources": {
        "ExtensionDataSource": {
          "Type": "DATASOURCE::Eipanycast::AnycastEipAddress",
          "Properties": {
            "AnycastId": {
              "Ref": "AnycastId"
            }
          }
        }
      },
      "Outputs": {
        "Status": {
          "Description": "The status of the Anycast EIP. Valid values:\n* Associating\n* Unassociating\n* Allocated\n* Associated\n* Modifying\n* Releasing\n* Released",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionDataSource",
              "Status"
            ]
          }
        },
        "AnycastEipAddressName": {
          "Description": "The name of the Anycast EIP.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionDataSource",
              "AnycastEipAddressName"
            ]
          }
        },
        "ServiceLocation": {
          "Description": "The access area of the Anycast EIP. Only international may be returned, which indicates the areas outside the Chinese mainland.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionDataSource",
              "ServiceLocation"
            ]
          }
        },
        "AnycastId": {
          "Description": "The ID of the Anycast EIP.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionDataSource",
              "AnycastId"
            ]
          }
        },
        "Bandwidth": {
          "Description": "The maximum bandwidth of the Anycast EIP. Unit: Mbit/s.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionDataSource",
              "Bandwidth"
            ]
          }
        },
        "CreateTime": {
          "Description": "The point in time at which the Anycast EIP was created. The time follows the ISO8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionDataSource",
              "CreateTime"
            ]
          }
        },
        "PaymentType": {
          "Description": "The billing method of the Anycast EIP.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionDataSource",
              "PaymentType"
            ]
          }
        },
        "IpAddress": {
          "Description": "The IP address of the Anycast EIP.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionDataSource",
              "IpAddress"
            ]
          }
        },
        "Bid": {
          "Description": "The BID of the account to which the Anycast EIP belongs.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionDataSource",
              "Bid"
            ]
          }
        },
        "Tags": {
          "Description": "The tags of the EIP.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionDataSource",
              "Tags"
            ]
          }
        },
        "AliUid": {
          "Description": "The ID of the account to which the Anycast EIP belongs.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionDataSource",
              "AliUid"
            ]
          }
        },
        "InternetChargeType": {
          "Description": "The billing method of the Anycast EIP. Only PostPaid may be returned, which indicates the pay-as-you-go billing method.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionDataSource",
              "InternetChargeType"
            ]
          }
        }
      }
    }