DATASOURCE::CEN::CenBandwidthPackages is used to query the information about Cloud Enterprise Network (CEN) bandwidth plans within the logon account.
Syntax
{
"Type": "DATASOURCE::CEN::CenBandwidthPackages",
"Properties": {
"IsOrKey": Boolean,
"Filter": List,
"IncludeReservationData": Boolean,
"RefreshOptions": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
IsOrKey | Boolean | No | Yes | Specifies whether the OR logic operator is applied to the filters. | Valid values:
|
Filter | List | No | Yes | The filters. | For more information, see Filter properties. |
IncludeReservationData | Boolean | No | Yes | Specifies whether to include renewal data. | Valid values:
|
RefreshOptions | String | No | Yes | The refresh policy for data source resources when the stack is updated. | Valid values:
|
Filter syntax
"Filter": [
{
"Value": List,
"Key": String
}
]
Filter properties
Property | Type | Required | Editable | Description | Constraint |
Value | List | No | No | The value of the filter. You can specify filter values based on filter keys. | You can specify multiple filter values for a filter key. The logical operator among filter values is OR. Bandwidth plans that meet one of the filter values are returned. |
Key | String | Yes | No | The key of the filter. | Valid values:
|
Return values (Fn::GetAtt)
CenBandwidthPackages: details of the bandwidth plans.
CenBandwidthPackageIds: the IDs of the bandwidth plans.
Property | Type | Description | Constraint |
CenBandwidthPackageIds | List | The IDs of the bandwidth plans. | None. |
CenBandwidthPackages | List | Details of the bandwidth plans. | None. |
ReservationActiveTime | String | The expiration time of the temporary upgrade. | None. |
CenBandwidthPackageId | String | The ID of the bandwidth plan. | None. |
Status | String | Indicates whether the bandwidth plan is associated with a CEN instance. | Valid values:
|
CreationTime | String | The time when the bandwidth plan was created. | The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mmZ format. |
ReservationOrderType | String | The type of the configuration change during renewal. | Valid values:
|
BandwidthPackageChargeType | String | The billing method of the bandwidth plan. | None. |
ReservationInternetChargeType | String | The billing method after the configuration change. | None. |
GeographicRegionAId | String | The ID of the area that is queried. | Valid values:
|
Bandwidth | Number | The maximum bandwidth of the bandwidth plan. | None. |
Description | String | The description of the bandwidth plan. | None. |
ExpiredTime | String | The expiration time of the bandwidth plan. | The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mmZ format. |
ReservationBandwidth | String | The bandwidth to which the bandwidth plan is restored when the temporary upgrade ends. | None. |
GeographicSpanId | String | The ID of the connected area. | None. |
GeographicRegionBId | String | The ID of another area used in the cross-region connection for the bandwidth plan. | Valid values:
|
IsCrossBorder | Boolean | Indicates whether the bandwidth plan is a cross-border bandwidth plan. | Valid values:
|
BusinessStatus | String | The state of the bandwidth plan. | Valid values:
|
Name | String | The name of the bandwidth plan. | None. |
HasReservationData | String | Indicates whether renewal data is included. | Valid values:
Note The system returns true for this property when the IncludeReservationData property is set to true and specific orders have not taken effect. |
CenIds | List | The IDs of the CEN instances that are associated with the bandwidth plan. | Example:
|
OrginInterRegionBandwidthLimits | Map | Details of the cross-region connection. | Example:
|
Examples
JSON
format
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"IncludeReservationData": {
"Type": "Boolean",
"Description": "Specifies whether to include renewal data.",
"AllowedValues": [
"True",
"true",
"False",
"false"
]
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::CEN::CenBandwidthPackages",
"Properties": {
"IncludeReservationData": {
"Ref": "IncludeReservationData"
}
}
}
},
"Outputs": {
"CenBandwidthPackages": {
"Description": "The information about CenBandwidthPackages.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"CenBandwidthPackages"
]
}
},
"CenBandwidthPackageIds": {
"Description": "The list of The Cen bandwidth ids.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"CenBandwidthPackageIds"
]
}
}
}
}
YAML
format
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
IncludeReservationData:
Type: Boolean
Description: Specifies whether to include renewal data.
AllowedValues:
- 'True'
- 'true'
- 'False'
- 'false'
Resources:
ExtensionDataSource:
Type: DATASOURCE::CEN::CenBandwidthPackages
Properties:
IncludeReservationData:
Ref: IncludeReservationData
Outputs:
CenBandwidthPackages:
Description: The information about CenBandwidthPackages.
Value:
Fn::GetAtt:
- ExtensionDataSource
- CenBandwidthPackages
CenBandwidthPackageIds:
Description: The list of The Cen bandwidth ids.
Value:
Fn::GetAtt:
- ExtensionDataSource
- CenBandwidthPackageIds