|
AssociationProperty value
|
Description
|
Corresponding AssociationPropertyMetadata
|
|
ALIYUN::CEN::Instance::CenId
|
Queries Cloud Enterprise Network (CEN) instances under the current Alibaba Cloud account.
|
Sample code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"ResourceGroupId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::ResourceGroup::ResourceGroupId"
},
"CenId": {
"Type": "String",
"AssociationProperty": "ALIYUN::CEN::Instance::CenId",
"AssociationPropertyMetadata": {
"ResourceGroupId": "${ResourceGroupId}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
ResourceGroupId:
Type: String
AssociationProperty: ALIYUN::ECS::ResourceGroup::ResourceGroupId
CenId:
Type: String
AssociationProperty: ALIYUN::CEN::Instance::CenId
AssociationPropertyMetadata:
ResourceGroupId: ${ResourceGroupId}
|
|
ALIYUN::CEN::TransitRouter::TransitRouterId
|
Queries transit router instances under a CEN instance.
|
Sample code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"ResourceGroupId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::ResourceGroup::ResourceGroupId"
},
"CenId": {
"Type": "String",
"AssociationProperty": "ALIYUN::CEN::Instance::CenId",
"AssociationPropertyMetadata": {
"ResourceGroupId": "${ResourceGroupId}"
}
},
"TransitRouterId": {
"Type": "String",
"AssociationProperty": "ALIYUN::CEN::TransitRouter::TransitRouterId",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}",
"CenId": "${CenId}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
ResourceGroupId:
Type: String
AssociationProperty: ALIYUN::ECS::ResourceGroup::ResourceGroupId
CenId:
Type: String
AssociationProperty: ALIYUN::CEN::Instance::CenId
AssociationPropertyMetadata:
ResourceGroupId: ${ResourceGroupId}
TransitRouterId:
Type: String
AssociationProperty: ALIYUN::CEN::TransitRouter::TransitRouterId
AssociationPropertyMetadata:
RegionId: ${RegionId}
CenId: ${CenId}
|