DescribeFrInstances
Queries resource plan instances.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
bss:DescribeFrInstance |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Group |
string |
No |
The resource dimension to query. Valid values:
|
cu |
| Status |
string |
No |
The resource status. Valid values:
|
valid |
| PageNum |
integer |
No |
The current page number. |
1 |
| PageSize |
integer |
No |
The number of entries per page. |
20 |
| StartTime |
integer |
No |
The start time. The value is a UNIX timestamp in milliseconds. |
1678939035000 |
| EndTime |
integer |
No |
The end time. The value is a UNIX timestamp in milliseconds. |
1710604800000 |
| InstanceId |
string |
No |
The instance name. |
alb_cubag******* |
| ProductCode |
string |
No |
The product code. |
slb |
| CommodityCode |
string |
No |
The commodity code. |
slb_albcubag_dp_cn |
| TemplateCode |
string |
No |
The template code. |
slb_albcubag******* |
| Spec |
string |
No |
The specification. |
* |
| CapacityType |
string |
No |
The capacity type. Valid values:
|
deadlineAcc |
| CycleType |
string |
No |
The cycle type. |
dynamicMonth |
| SortField |
string |
No |
The sort field. Valid values:
|
startTime |
| SortRule |
string |
No |
The sorting rule. Valid values:
|
asc |
| EcIdAccountIds |
array<object> |
No |
The list of enterprises and accounts. If this parameter is left empty, the current account is queried. |
|
|
object |
No |
The list of enterprises and accounts. If this parameter is left empty, the current account is queried. |
||
| AccountIds |
array |
No |
The list of accounts to access. If this parameter is left empty, all accounts under the current entity ID are selected. |
|
|
integer |
No |
The member account ID. |
1990699401005016 |
|
| EcId |
string |
Yes |
The enterprise entity ID. |
1004064243473974 |
| Nbid |
string |
No |
The primary marketplace ID. If this parameter is left empty, the marketplace ID of the current user is used by default. |
2684202000018 |
| InstanceTag |
string |
No |
The tag value of the resource plan instance. |
FR-*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
BssApiPageResult |
||
| CurrentPage |
integer |
The current page number. |
1 |
| Data |
array<object> |
The data list. |
|
|
array<object> |
The returned data. |
||
| AccountId |
integer |
The account ID. |
1990699401005016 |
| AccountName |
string |
The account name. |
icloudtest |
| AutoPurchase |
object |
The auto-purchase information. |
|
| AlreadyAutoPurchase |
boolean |
Indicates whether auto-purchase is already applied. |
|
| SettingAutoPurchase |
boolean |
Indicates whether auto-purchase is configured. |
|
| SupportAutoPurchase |
boolean |
Indicates whether auto-purchase is supported. |
|
| CapacitiyTypeName |
string |
The capacity type name. |
Total decreasing type |
| CapacityType |
object |
The capacity type. |
|
| Code |
string |
The property code. |
deadlineAcc |
| Name |
string |
The property name. |
Total decreasing type |
| CapacityTypeCode |
string |
The capacity type code. |
deadlineAcc |
| Commodity |
object |
The commodity. |
|
| Code |
string |
The property code. |
slb_albcubag_dp_cn |
| Name |
string |
The property name. |
ALB resource plan |
| CommodityCode |
string |
The commodity code. |
pts |
| CommodityName |
string |
The commodity name. |
Performance testing |
| CurrCapacityBaseUnit |
string |
The current capacity base unit. |
CU |
| CurrCapacityBaseValue |
string |
The current capacity base value. |
1000.000000 |
| CurrCapacityViewUnit |
string |
The current capacity display unit. |
CU |
| CurrCapacityViewValue |
string |
The current capacity display value. |
1000.000000 |
| CycleType |
object |
The commitment period. |
|
| Code |
string |
The commitment period code. |
hour |
| Name |
string |
The commitment period name. |
Hour |
| CycleTypeCode |
string |
The commitment period code. |
hour |
| CycleTypeName |
string |
The commitment period name. |
Hour |
| DeductRegions |
array<object> |
The list of deductible regions. |
|
|
object |
|||
| Code |
string |
The code of the deductible region. |
cn-beijing |
| Name |
string |
The deductible region. |
Beijing |
| EnableDeductRule |
boolean |
Indicates whether the deduction rule is enabled. |
|
| EnableExchange |
boolean |
Indicates whether exchange is supported. |
false |
| EnableRenew |
boolean |
Indicates whether renewal is supported. |
false |
| EnableUpgrade |
boolean |
Indicates whether upgrade is supported. |
false |
| EndTime |
integer |
The expiration time. This value is a UNIX timestamp in milliseconds. |
1710604800000 |
| ExchangeCommodityCode |
string |
The commodity code for exchange. |
null |
| InitCapacityBaseUnit |
string |
The initial capacity base unit. |
CU |
| InitCapacityBaseValue |
string |
The initial capacity base value. |
1000.000000 |
| InitCapacityViewUnit |
string |
The initial capacity display unit. |
CU |
| InitCapacityViewValue |
string |
The initial capacity display value. |
1000.000000 |
| InstanceId |
string |
The instance name. |
alb_cubag******* |
| PeriodCapacityViewUnit |
string |
The period capacity display unit. |
CU |
| PeriodCapacityViewValue |
string |
The period capacity display value. |
1000.000000 |
| PeriodTime |
string |
The period time unit, such as hour. |
hour |
| Product |
object |
The product. |
|
| Code |
string |
The property code. |
slb |
| Name |
string |
The property name. |
Server Load Balancer |
| ProductCode |
string |
The product code. |
pts |
| ProductName |
string |
The product name. |
Performance testing |
| PurchaseTime |
integer |
The purchase time. This value is a UNIX timestamp in milliseconds. |
1678939036000 |
| Region |
string |
The region. |
cn-qingdao |
| RegionName |
string |
The region name. |
cn-qingdao |
| Spec |
string |
The specification. |
1000CU |
| StartTime |
integer |
The effective period. This value is a UNIX timestamp in milliseconds. |
1678939035000 |
| Status |
object |
The resource status. |
|
| Code |
string |
The property code. |
valid |
| Name |
string |
The property name. |
Valid |
| StatusCode |
string |
The resource status code. |
valid |
| StatusName |
string |
The resource status name. |
Valid |
| Template |
object |
The template. |
|
| Code |
string |
The property code. |
alb_cubag******* |
| Name |
string |
The property name. |
Chinese mainland region |
| TemplateCode |
string |
The template code. |
FPT_armsappbag_deadlineAcc_bj |
| TemplateName |
string |
The template name. |
new_test |
| periodCapacityBaseUnit |
string |
The base unit of the period capacity. |
CU |
| periodCapacityBaseValue |
string |
The base value of the period capacity. |
1000.000000 |
| PageSize |
integer |
The number of entries per page. |
20 |
| RequestId |
string |
The request ID. |
6000EE23-274B-4E07-A697-FF2E999520A4 |
| TotalCount |
integer |
The total number of records. |
1 |
Examples
Success response
JSON format
{
"CurrentPage": 1,
"Data": [
{
"AccountId": 1990699401005016,
"AccountName": "icloudtest",
"AutoPurchase": {
"AlreadyAutoPurchase": false,
"SettingAutoPurchase": false,
"SupportAutoPurchase": false
},
"CapacitiyTypeName": "Decreasing total capacity",
"CapacityType": {
"Code": "deadlineAcc",
"Name": "Decreasing total capacity"
},
"CapacityTypeCode": "deadlineAcc",
"Commodity": {
"Code": "slb_albcubag_dp_cn",
"Name": "ALB resource plan"
},
"CommodityCode": "pts",
"CommodityName": "Performance testing",
"CurrCapacityBaseUnit": "CU",
"CurrCapacityBaseValue": "1000.000000",
"CurrCapacityViewUnit": "CU",
"CurrCapacityViewValue": "1000.000000",
"CycleType": {
"Code": "hour",
"Name": "Hour"
},
"CycleTypeCode": "hour",
"CycleTypeName": "Hour",
"DeductRegions": [
{
"Code": "cn-beijing",
"Name": "Beijing"
}
],
"EnableDeductRule": false,
"EnableExchange": false,
"EnableRenew": false,
"EnableUpgrade": false,
"EndTime": 1710604800000,
"ExchangeCommodityCode": "null",
"InitCapacityBaseUnit": "CU",
"InitCapacityBaseValue": "1000.000000",
"InitCapacityViewUnit": "CU",
"InitCapacityViewValue": "1000.000000",
"InstanceId": "alb_cubag*******",
"PeriodCapacityViewUnit": "CU",
"PeriodCapacityViewValue": "1000.000000",
"PeriodTime": "hour",
"Product": {
"Code": "slb",
"Name": "Server Load Balancer"
},
"ProductCode": "pts",
"ProductName": "Performance testing",
"PurchaseTime": 1678939036000,
"Region": "*",
"RegionName": "cn-qingdao",
"Spec": "*",
"StartTime": 1678939035000,
"Status": {
"Code": "valid",
"Name": "Valid"
},
"StatusCode": "valid",
"StatusName": "Valid",
"Template": {
"Code": "alb_cubag*******",
"Name": "Chinese mainland"
},
"TemplateCode": "FPT_armsappbag_deadlineAcc_bj",
"TemplateName": "new_test",
"periodCapacityBaseUnit": "CU",
"periodCapacityBaseValue": "1000.000000"
}
],
"PageSize": 20,
"RequestId": "6000EE23-274B-4E07-A697-FF2E999520A4",
"TotalCount": 1
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParameter | The specified request lacks essential parameters. | |
| 400 | NotAuthorized | You are not authorized to call the API operation. Please check whether RAM user has the permission or check whether ownerId and callerId have been given the appropriate permission. | |
| 500 | InternalError | The request processing has failed due to some unknown error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.