Tüm Ürünler
Search
Belge Merkezi

Resource Orchestration Service:ALIYUN::VPC::AnycastEIPAssociation

Son Güncelleme:Oct 05, 2026

ALIYUN::VPC::AnycastEIPAssociation kaynağı, bir bölgedeki cloud kaynağını Anycast elastik IP adresi (Anycast EIP) ile ilişkilendirmek için kullanılır.

Syntax

{
  "Type": "ALIYUN::VPC::AnycastEIPAssociation",
  "Properties": {
    "BindInstanceId": String,
    "BindInstanceRegionId": String,
    "BindInstanceType": String,
    "AnycastId": String,
    "AssociationMode": String,
    "PrivateIpAddress": String,
    "PopLocations": List
  }
}

Properties

Property

Type

Required

Editable

Description

Constraint

BindInstanceId

String

Yes

No

Anycast EIP ile ilişkilendirmek istediğiniz cloud kaynağının ID değeridir.

None.

BindInstanceRegionId

String

Yes

No

Anycast EIP ile ilişkilendirmek istediğiniz cloud kaynağının bölge ID değeridir.

None.

BindInstanceType

String

Yes

No

Anycast EIP ile ilişkilendirmek istediğiniz cloud kaynağının türüdür.

Değeri SlbInstance olarak ayarlayın. SlbInstance değeri, dahili yönlü Server Load Balancer (SLB) örneğini belirtir.

Anycast EIP'leri yalnızca aşağıdaki bölgelerde bulunan SLB örnekleriyle ilişkilendirebilirsiniz:

  • cn-hongkong: China (Hong Kong).

  • eu-west-1: UK (London).

  • eu-central-1: Germany (Frankfurt).

  • us-east-1: US (Virginia).

  • us-west-1: US (Silicon Valley).

  • ap-southeast-1: Singapore.

  • ap-southeast-3: Malaysia (Kuala Lumpur).

  • ap-northeast-1: Japan (Tokyo).

AnycastId

String

Yes

No

Anycast EIP'nin ID değeridir.

None.

AssociationMode

String

No

No

İlişkilendirme modudur.

Geçerli değerler:

  • Default: varsayılan mod. Bu değeri kullanırsanız cloud kaynağı varsayılan kaynak sunucu olarak işlev görür.

  • Normal: standart mod. Bu değeri kullanırsanız cloud kaynağı standart kaynak sunucu olarak işlev görür.

PrivateIpAddress

String

No

No

Anycast EIP ile ilişkilendirmek istediğiniz elastik ağ arabiriminin (ENI) ikincil özel IP adresidir.

Bu özellik yalnızca BindInstanceType NetworkInterface olarak ayarlandığında döndürülebilir.

PopLocations

List

No

No

Anycast EIP'yi cloud kaynağıyla ilişkilendirdiğinizde ilişkili erişim alanlarındaki erişim noktalarıdır.

Daha fazla bilgi için bu konunun "PopLocations özelliği" bölümüne bakın.

PopLocations syntax

"PopLocations": [
  {
    "PopLocation": String
  }
]  

PopLocations property


Property


Type


Required


Editable


Description


Constraint


PopLocation


String


Yes


No


Anycast EIP'yi cloud kaynağıyla ilişkilendirdiğinizde ilişkili erişim alanlarındaki erişim noktasıdır.


None.

Return values

Fn::GetAtt

  • BindInstanceId: Anycast EIP ile ilişkilendirilen cloud kaynağının ID değeridir.

  • BindInstanceRegionId: Anycast EIP ile ilişkilendirilen cloud kaynağının bölge ID değeridir.

  • BindInstanceType: Anycast EIP ile ilişkilendirilen cloud kaynağının türüdür.

  • AnycastId: Anycast EIP'nin ID değeridir.

Examples

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  AnycastId:
    Description: Anycast EIP instance ID.
    Type: String
  BindInstanceId:
    Description: The ID of the cloud resource instance to be bound.
    Type: String
  BindInstanceRegionId:
    Description: The region ID of the cloud resource instance to be bound.
    Type: String
  BindInstanceType:
    Description: 'The cloud resource instance type to be bound. Valid value: SlbInstance,
      SLB instance of private network type.'
    Type: String
Resources:
  AnycastEIPAssociation:
    Properties:
      AnycastId:
        Ref: AnycastId
      BindInstanceId:
        Ref: BindInstanceId
      BindInstanceRegionId:
        Ref: BindInstanceRegionId
      BindInstanceType:
        Ref: BindInstanceType
    Type: ALIYUN::VPC::AnycastEIPAssociation
Outputs:
  AnycastId:
    Description: Anycast EIP instance ID.
    Value:
      Fn::GetAtt:
      - AnycastEIPAssociation
      - AnycastId
  BindInstanceId:
    Description: The ID of the cloud resource instance to be bound.
    Value:
      Fn::GetAtt:
      - AnycastEIPAssociation
      - BindInstanceId
  BindInstanceRegionId:
    Description: The region ID of the cloud resource instance to be bound.
    Value:
      Fn::GetAtt:
      - AnycastEIPAssociation
      - BindInstanceRegionId
  BindInstanceType:
    Description: The cloud resource instance type to be bound.
    Value:
      Fn::GetAtt:
      - AnycastEIPAssociation
      - BindInstanceType
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "BindInstanceId": {
      "Type": "String",
      "Description": "The ID of the cloud resource instance to be bound."
    },
    "BindInstanceRegionId": {
      "Type": "String",
      "Description": "The region ID of the cloud resource instance to be bound."
    },
    "BindInstanceType": {
      "Type": "String",
      "Description": "The cloud resource instance type to be bound. Valid value: SlbInstance, SLB instance of private network type."
    },
    "AnycastId": {
      "Type": "String",
      "Description": "Anycast EIP instance ID."
    }
  },
  "Resources": {
    "AnycastEIPAssociation": {
      "Type": "ALIYUN::VPC::AnycastEIPAssociation",
      "Properties": {
        "BindInstanceId": {
          "Ref": "BindInstanceId"
        },
        "BindInstanceRegionId": {
          "Ref": "BindInstanceRegionId"
        },
        "BindInstanceType": {
          "Ref": "BindInstanceType"
        },
        "AnycastId": {
          "Ref": "AnycastId"
        }
      }
    }
  },
  "Outputs": {
    "BindInstanceId": {
      "Description": "The ID of the cloud resource instance to be bound.",
      "Value": {
        "Fn::GetAtt": [
          "AnycastEIPAssociation",
          "BindInstanceId"
        ]
      }
    },
    "BindInstanceRegionId": {
      "Description": "The region ID of the cloud resource instance to be bound.",
      "Value": {
        "Fn::GetAtt": [
          "AnycastEIPAssociation",
          "BindInstanceRegionId"
        ]
      }
    },
    "BindInstanceType": {
      "Description": "The cloud resource instance type to be bound.",
      "Value": {
        "Fn::GetAtt": [
          "AnycastEIPAssociation",
          "BindInstanceType"
        ]
      }
    },
    "AnycastId": {
      "Description": "Anycast EIP instance ID.",
      "Value": {
        "Fn::GetAtt": [
          "AnycastEIPAssociation",
          "AnycastId"
        ]
      }
    }
  }
}