All Products
Search
Document Center

Resource Orchestration Service:DATASOURCE::Eipanycast::AnycastEipAddress

更新時間:Oct 08, 2024

DATASOURCE::Eipanycast::AnycastEipAddress is used to query the information about an Anycast elastic IP address (Anycast EIP).

Syntax

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

Properties

Property

Type

Required

Editable

Description

Constraint

AnycastId

String

Yes

Yes

The ID of the Anycast EIP.

None.

RefreshOptions

String

No

Yes

The refresh policy for data source resources when the stack is updated.

Valid values:

  • Never (default): does not refresh data source resources when the stack is updated.

  • Always: refreshes data source resources when the stack is updated.

Return values

Fn::GetAtt

  • Status: the state of the Anycast EIP.

  • AnycastEipAddressName: the name of the Anycast EIP.

  • ServiceLocation: the access point location of the Anycast EIP.

  • AnycastId: the ID of the Anycast EIP.

  • Bandwidth: the maximum bandwidth of the Anycast EIP. Unit: Mbit/s.

  • CreateTime: the time when the Anycast EIP was created.

  • PaymentType: the billing method of the Anycast EIP.

  • IpAddress: the IP of the Anycast EIP.

  • Bid: the BID of the account to which the Anycast EIP belongs.

  • Tags: the information about the tags.

  • AliUid: the ID of the account to which the Anycast EIP belongs.

  • InternetChargeType: the metering method of the Anycast EIP.

Examples

  • YAML format

    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 format

    {
      "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"
            ]
          }
        }
      }
    }