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:
|
AnycastId | String | Yes | No | Anycast EIP'nin ID değeridir. | None. |
AssociationMode | String | No | No | İlişkilendirme modudur. | Geçerli değerler:
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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"
]
}
}
}
}