DATASOURCE::CEN::TransitRouters is used to query the transit routers of a Cloud Enterprise Network (CEN) instance.
Syntax
{
"Type": "DATASOURCE::CEN::TransitRouters",
"Properties": {
"CenId": String,
"RegionId": String,
"TransitRouterId": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
---|---|---|---|---|---|
CenId | String | Yes | Yes | The ID of the CEN instance. | None |
RegionId | String | No | Yes | The ID of the region where the transit router is deployed. | You can call the DescribeRegions operation to query the region ID. |
TransitRouterId | String | No | Yes | The ID of the transit router. | None |
Return values (Fn::GetAtt)
- TransitRouterIds: the IDs of the transit routers.
- TransitRouters: the details of the transit routers.
Property | Type | Description | Constraint |
---|---|---|---|
TransitRouterIds | List | The IDs of the transit routers. | None. |
TransitRouters | List | The details of the transit routers. | None. |
AliUid | String | The ID of the Alibaba Cloud account to which the CEN instance belongs. | None. |
CenId | String | The ID of the CEN instance. | None. |
CreationTime | String | The time when the transit router was created. | The time follows the ISO8601 standard in the YYYY-MM-DDThh:mmZ format. The time is displayed in Coordinated Universal Time (UTC). |
RegionId | String | The ID of the region where the transit router is deployed. | None. |
Status | String | The state of the transit router. | Valid values:
|
TransitRouterDescription | String | The description of the transit router. | None. |
TransitRouterName | String | The name of the transit router. | None. |
Type | String | The type of the transit router. | Valid values:
|
TransitRouterId | String | The ID of the transit router. | None. |
Examples
-
JSON
format{ "ROSTemplateFormatVersion": "2015-09-01", "Parameters": { "CenId": { "Type": "String", "Description": "The ID of the CEN instance." } }, "Resources": { "ExtensionDataSource": { "Type": "DATASOURCE::CEN::TransitRouters", "Properties": { "CenId": { "Ref": "CenId" } } } }, "Outputs": { "TransitRouterIds": { "Description": "The list of TransitRouter IDs.", "Value": { "Fn::GetAtt": [ "ExtensionDataSource", "TransitRouterIds" ] } }, "TransitRouters": { "Description": "The list of TransitRouters.", "Value": { "Fn::GetAtt": [ "ExtensionDataSource", "TransitRouters" ] } } } }