|
Valor de AssociationProperty
|
Descripción
|
AssociationPropertyMetadata correspondiente
|
|
ALIYUN::CEN::Instance::CenId
|
Consulta las instancias de Cloud Enterprise Network (CEN) de la cuenta actual de Alibaba Cloud.
|
Código de ejemplo
Ejemplo en JSON: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"ResourceGroupId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::ResourceGroup::ResourceGroupId"
},
"CenId": {
"Type": "String",
"AssociationProperty": "ALIYUN::CEN::Instance::CenId",
"AssociationPropertyMetadata": {
"ResourceGroupId": "${ResourceGroupId}"
}
}
}
}
Ejemplo en yaml: 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
|
Consulta las instancias de transit router de una instancia de CEN.
|
Código de ejemplo
Ejemplo en JSON: {
"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}"
}
}
}
}
Ejemplo en yaml: 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}
|