Customer Operation Capabilities
| Details
  • Registering a Customer (Partner)
    • CheckUserIdentity
    • CreateSubCustomer
    • SendVerificationMessageCode
  • Managing Customers (Partner)
    • FreezeSubCustomers
    • ListSubCustomers
    • UnfreezeSubCustomers
  • Real-Name Authentication (Partner)
    • ChangeEnterpriseRealnameAuthentication
    • CreateEnterpriseRealnameAuthentication
    • CreatePersonalRealnameAuth
    • ShowRealnameAuthenticationReviewResult
  • Managing Coupons (Public)
    • ListSubCustomerCoupons
  • Managing Customer Budgets (Partner)
    • ListSubCustomerBudget
    • ShowSubCustomerBudget
    • UpdateSubCustomerBudget
  • Managing Accounts (Customer)
    • ShowCustomerAccountBalances
  • Purchasing a Cloud Service (Public)
    • ListFreeResourceUsages
    • ListOnDemandResourceRatings
    • ListRateOnPeriodDetail
    • ListRenewRateOnPeriod
  • Managing Yearly/Monthly Orders (Public)
    • ListCustomerOrders
    • ShowCustomerOrderDetails
    • ShowRefundOrderDetails
  • Managing Yearly/Monthly Orders (Customer)
    • AutoRenewalResources
    • CancelAutoRenewalResources
    • CancelCustomerOrder
    • CancelResourcesSubscription
    • ListOrderDiscounts
    • ListPayPerUseCustomerResources
    • PayOrders
    • RenewalResources
    • UpdatePeriodToOnDemand
  • Managing Pay-Per-Use Resources (Partner)
    • ListCustomerOnDemandResources
  • Managing Bills (Partner)
    • ListPostpaidBillSum
  • Managing Bills (Customer)
    • ListCustomerselfResourceRecordDetails
    • ListCustomerselfResourceRecords
    • ListMonthlyExpenditures
  • Managing Enterprise Projects (Customer)
    • CreateEnterpriseProjectAuth
  • Managing Enterprise Accounts (Customer)
    • ListEnterpriseSubCustomers
  • Managing Products (Public)
    • ListConversions
    • ListMeasureUnits
    • ListResourceTypes
    • ListServiceResources
    • ListServiceTypes
    • ListUsageTypes
  • Managing Resource Packages (Customer)
    • ListFreeResourceInfos
    • ListFreeResourcesUsageRecords
  • Managing Huawei Cloud Resellers (Partner)
    • ListIndirectPartners
  • Cost Management (Customer)
    • ListCosts
  • Managing Credits(Partner)
    • ShowPartnerConsumptionQuota
  • Managing Invoices (Public)
    • ListInvoices

AutoRenewalResources

POST
https://bss-intl.myhuaweicloud.com/v2/orders/subscriptions/resources/autorenew/{resource_id}
Advanced
Required parameters only
Default
Encrypt sensitive parameters
*
Region
Headers
*
Authorization
Parameters
*
resource_id
API Description

A customer can use this API to enable automatic subscription renewal for its long-term yearly/monthly resources to prevent the resources from being deleted when they are expired.

Customers can follow the instructions described in Enabling Auto-Renewal to enable automatic subscription renewal for yearly/monthly resources in Billing Center.

NOTE:

  • The customer can enable automatic subscription renewal only after the customer successfully pays its yearly/monthly resource order.
  • For details about the yearly/monthly products supporting automatic subscription renewal, see Auto-Renewal Rules.
  • After you enable automatic subscription renewal, the fee will be deducted at 03:00 7 days before the product expiration date. Ensure that your budget is sufficient. If the first attempt to deduct the fee fails due to the insufficient budget, the system will continue the attempts at 03:00 every day until the fee is deducted successfully, or will retain the product resources till the last allowed day.
  • The renewed period is the same as the original resource subscription period.
Constraints

This API can be invoked only by the customer AK/SK or token.

URL
POST  https://bss-intl.myhuaweicloud.com/v2/orders/subscriptions/resources/autorenew/{resource_id}
Request Parameters
NameTypeINMandatoryDescription
X-Auth-Token
stringheader Yes

Call with customer token

resource_id
stringpath Yes

Resource ID.You can obtain the resource ID by invoking the API described in Querying Customer's Yearly/Monthly Resources.

Response Parameters
Status code: 204

Parameter Name: The default value is returned. No content:no content

Status code: 400

CBC.0100:Parameter error. CBC.99003012:The resource ID does not exist. CBC.99003602:Automatic renewal is not supported for expired or frozen resources.

Example Request
Example 1
"POST https://bss-intl.myhuaweicloud.com/v2/orders/subscriptions/resources/autorenew/eb1cac79-773b-414b-8915-6c3eed8ddf24"
SDK
Click Customer Operation Capabilities (BSSINTL) SDK to download the SDK in your programming language or view the SDK documentation. To learn how to install an SDK and perform authentication, read Usage.
Error Code

Outline

API Description
Constraints
URL
Request Parameters
Response Parameters
Example Request
SDK
Error Code