CLI Command Reference
Product Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying Cloud Service Types | hcloud BSSINTL ListServiceTypes | This API is used to query cloud service types on the partner sales platform. | |
| Querying Resource Types | hcloud BSSINTL ListResourceTypes | This API is used to query the resource types on the partner sales platform. | |
| Querying Resources by Cloud Service Type | hcloud BSSINTL ListServiceResources | This API is used to query the resource type code and name by associated cloud service on the partner sales platform and to query the price of a pay-per-use or yearly/monthly product. | |
| Querying Usage Types | hcloud BSSINTL ListUsageTypes | This API is used to query resource usage types on the partner sales platform. | |
| Querying Measurement Units | hcloud BSSINTL ListMeasureUnits | This API is used to query the resource usage, measurement unit for the duration and amount of a yearly/monthly resource, as well as the measurement unit type on the partner sales platform. | |
| Querying the Measurement Unit Number System | hcloud BSSINTL ListConversions | This API is used to query the measurement unit number system on the partner sales platform. | |
| Querying Resource Specifications of a Cloud Service Type | hcloud BSSINTL ListResourceSpecs | This API is used to query resource specifications of a cloud service type on the partner sales platform. | |
| Querying the Price of a Pay-per-Use Product | hcloud BSSINTL ListOnDemandResourceRatings | This API is used to query the price of a pay-per-use product by criteria on the partner sales platform. | |
| Querying Prices of Yearly/Monthly Products | hcloud BSSINTL ListRateOnPeriodDetail | This API is used to query prices of yearly/monthly products for new subscriptions on the partner sales platform. | |
| Querying the Renewal Price of a Yearly/Monthly Resource | hcloud BSSINTL ListRenewRateOnPeriod | This API is used to query the renewal price of a yearly/monthly resource by criteria on the partner sales platform. |
Customer Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Verifying Customer Registration Information | hcloud BSSINTL CheckUserIdentity | This API is used to check whether the account name and mobile number or email address entered by the customer can be used for registration. | |
| Sending a Verification Code | hcloud BSSINTL SendVerificationMessageCode | This API is used to send a verification code to the email address entered during registration. | |
| Creating a Customer | hcloud BSSINTL CreateSubCustomer | This API is used to create a Huawei Cloud account for a customer when the customer creates an account on the partner sales platform, and bind the customer account to the Huawei Cloud account. In addition, the Huawei Cloud account is bound to the partner account. | |
| Requesting an Individual Real-Name Authentication | hcloud BSSINTL CreatePersonalRealnameAuth | This API is used to submit an individual real-name authentication application. | |
| Requesting an Enterprise Real-Name Authentication | hcloud BSSINTL CreateEnterpriseRealnameAuthentication | This API is used to submit an enterprise real-name authentication application. | |
| Requesting a Real-Name Authentication Change | hcloud BSSINTL ChangeEnterpriseRealnameAuthentication | This API is used to submit a real-name authentication change application. | |
| Querying the Real-Name Authentication Review Result | hcloud BSSINTL ShowRealnameAuthenticationReviewResult | If the response to a real-name authentication application or real-name authentication change application indicates that manual review is required, this API can be used to query the review result. | |
| Querying Customers | hcloud BSSINTL ListSubCustomers | This API is used to query your customers. | |
| Unfreezing a Customer Account | hcloud BSSINTL UnfreezeSubCustomers | This API is used to unfreeze an account of a customer associated in the Reseller model. |
Reseller Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying Resellers | hcloud BSSINTL ListIndirectPartners | A Huawei Cloud distributor can query the list of its associated Huawei Cloud resellers. |
Credit Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying Consumption Quota | hcloud BSSINTL ShowPartnerConsumptionQuota | This API is used to query the consumption quota. |
Transaction Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying the Budget of a Customer | hcloud BSSINTL ShowSubCustomerBudget | This API is used to query the budget of a customer to determine whether to adjust the budget. | |
| Batch Querying Customer Budgets | hcloud BSSINTL ListSubCustomerBudget | This API is used to batch query budgets of multiple customers to decide whether to adjust budgets for customers based on the query results. | |
| Setting a Customer Budget | hcloud BSSINTL UpdateSubCustomerBudget | This API is used to set or adjust a customer's budget. | |
| Querying Customer Budget Adjustment Records | hcloud BSSINTL ListSubCustomerBudgetRecords | This API is used to query customer budget adjustment records. | |
| Querying Coupons | hcloud BSSINTL ListSubCustomerCoupons | This API is used to query partners' coupon information. | |
| Querying Orders | hcloud BSSINTL ListCustomerOrders | After a customer purchases yearly/monthly resources, it can query the orders in different statuses, such as in the pending approval, processing, canceled, completed, and pending payment statuses. | |
| Querying Order Details | hcloud BSSINTL ShowCustomerOrderDetails | This API is used to view order details on the partner sales platform. | |
| Paying Yearly/Monthly Product Orders | hcloud BSSINTL PayOrders | This API is used to pay yearly/monthly product orders in the pending payment status. | |
| Canceling Orders in the Pending Payment Status | hcloud BSSINTL CancelCustomerOrder | This API is used to cancel orders in the pending payment status. | |
| Querying Refunds for Orders | hcloud BSSINTL ShowRefundOrderDetails | A partner can query the resource type and order of the refund amount of an unsubscription or specification downgrade order on the partner sales platform. | |
| Querying Yearly/Monthly Resources | hcloud BSSINTL ListPayPerUseCustomerResources | This API is used to query one or all yearly/monthly resources on the partner sales platform. | |
| Renewing Subscription to Yearly/Monthly Resources | hcloud BSSINTL RenewalResources | This API is used to renew subscription to yearly/monthly resources on the partner sales platform. | |
| Unsubscribing from Yearly/Monthly Resources | hcloud BSSINTL CancelResourcesSubscription | If a customer has subscribed to a yearly/monthly resource, the customer can use this API to unsubscribe from the resource, including the renewed part and currently used part. The customer cannot use the resources after unsubscription. | |
| Enabling Automatic Renewal for Yearly/Monthly Resources | hcloud BSSINTL AutoRenewalResources | This API is used to enable automatic renewal for long-term yearly/monthly resources to prevent the resources from being deleted when they are expired. | |
| Disabling Automatic Renewal for Yearly/Monthly Resources | hcloud BSSINTL CancelAutoRenewalResources | A customer can disable automatic subscription renewal when needed. After disabling this function, the customer needs to manually renew the subscription to the resources before they expire. | |
| Enabling/Canceling the Change from Yearly/Monthly to Pay-per-Use upon Expiration | hcloud BSSINTL UpdatePeriodToOnDemand | A customer can change the billing mode of resources from yearly/monthly to pay-per-use after the resources expire. The pay-per-use mode takes effect upon a yearly/monthly expiration. | |
| Querying Resource Packages | hcloud BSSINTL ListFreeResourceInfos | This API is used to query resource packages on the partner sales platform. | |
| Querying Resource Package Usage | hcloud BSSINTL ListFreeResourceUsages | This API is used to query the resource package usage by resource on the partner sales platform. | |
| Querying Details of Resource Usage | hcloud BSSINTL ListFreeResourcesUsageRecords | This API is used to query the resource package usage details on the partner sales platform. | |
| Querying Customer's Pay-Per-Use Resources | hcloud BSSINTL ListCustomerOnDemandResources | A partner can query the pay-per-use resources that have been provisioned for customers associated with the partner in the Reseller model. |
Bill Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying Monthly Bills | hcloud BSSINTL ListPostpaidBillSum | This API is used to query monthly bills that cover amount due, expenditures, refunds, and adjustments. |
Invoice Management
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying Invoices | hcloud BSSINTL ListInvoices | This API is used to query the invoice list. |
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot