AssociationProperty value | Description | Corresponding AssociationPropertyMetadata |
ALIYUN::SLB::ACL::ACLId | The ID of the SLB access control list (ACL). | Example: Sample code JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"SlbACLId":{
"AssociationProperty":"ALIYUN::SLB::ACL::ACLId",
"Type":"String",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}",
"AddressIPVersion":"${AddressIPVersion}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
SlbACLId:
AssociationProperty: ALIYUN::SLB::ACL::ACLId
Type: String
AssociationPropertyMetadata:
RegionId: ${RegionId}
AddressIPVersion: ${AddressIPVersion}
Example description In this example, the AssociationProperty property of the SlbACLId parameter is set to ALIYUN::SLB::ACL::ACLId. The RegionId property is specified in AssociationPropertyMetadata. This retrieves the SLB ACLs in the current region.
|
ALIYUN::SLB::Instance::InstanceType | The instance type of the SLB instance. | RegionId: The region ID. The default value is the region of the stack. ZoneId: The zone ID. InstanceChargeType: The billing method of the instance. SpotStrategy: The bidding policy for the pay-as-you-go instance.
Example: Sample code JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"ZoneId": {
"Type": "String",
"AssociationProperty": "ZoneId"
},
"InstanceType": {
"Type": "String",
"AssociationProperty": "ALIYUN::SLB::Instance::InstanceType",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}",
"ZoneId": "${ZoneId}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
ZoneId:
Type: String
AssociationProperty: ZoneId
InstanceType:
Type: String
AssociationProperty: ALIYUN::SLB::Instance::InstanceType
AssociationPropertyMetadata:
RegionId: ${RegionId}
ZoneId: ${ZoneId}
Example description In this example, the AssociationProperty property of the InstanceType parameter is set to ALIYUN::SLB::Instance::InstanceType. The RegionId and ZoneId properties are specified in AssociationPropertyMetadata. This retrieves the SLB instance types in the selected zone.
|
ALIYUN::SLB::LoadBalancer::LoadBalancerId | The ID of the SLB instance. | RegionId: The region ID. The default value is the region of the stack. VpcId: The ID of the virtual private cloud (VPC). VSwitchId: The vSwitch ID. NetworkType: The network type of the NAT Gateway. InstanceChargeType: The billing method of the instance. AddressType: The network type. MasterZoneId: The ID of the primary zone for the SLB instance. SlaveZoneId: The ID of the secondary zone for the SLB instance. PayType: The billing method of the SLB instance.
Example: Sample code JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"SlbInstanceId":{
"AssociationProperty":"ALIYUN::SLB::LoadBalancer::LoadBalancerId",
"Type":"String",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
SlbInstanceId:
AssociationProperty: ALIYUN::SLB::LoadBalancer::LoadBalancerId
Type: String
AssociationPropertyMetadata:
RegionId: ${RegionId}
Example description In this example, the AssociationProperty property of the SlbInstanceId parameter is set to ALIYUN::SLB::LoadBalancer::LoadBalancerId. The RegionId property is specified in AssociationPropertyMetadata. This retrieves the SLB instance IDs in the current region.
|
ALIYUN::SLB::LoadBalancer::ZoneId | Queries information about SLB zones. | Sample code JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"SLBZoneId": {
"Type": "String",
"AssociationProperty": "ALIYUN::SLB::LoadBalancer::ZoneId",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
SLBZoneId:
Type: String
AssociationProperty: ALIYUN::SLB::LoadBalancer::ZoneId
AssociationPropertyMetadata:
RegionId: ${RegionId}
|