All Products
Document Center

Virtual Private Cloud:CreatePhysicalConnectionOccupancyOrder

Last Updated:Jun 18, 2024

Creates an order for resource usage fees.

Operation description

Note You can call this operation only when the Express Connect circuit is in the Complete state.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
  • All Resources

Request parameters


The region ID of the Express Connect circuit.

You can call the DescribeRegions operation to query the most recent region list.


The ID of the Express Connect circuit.


The subscription duration.

  • If PricingCycle is set to Month, set Period to a value from 1 to 9.
  • If PricingCycle is set to Year, set Period to a value from 1 to 5.

The billing method. Set the value to

PrePaid, which specifies the subscription billing method. If you choose this billing method, make sure that your Alibaba Cloud account supports balance payments or credit payments.


Specifies whether to enable automatic payments. Valid values:

  • true: yes Make sure that you have a sufficient balance in your account. Otherwise, your order becomes invalid and is automatically canceled.
  • false: disables automatic payment. This is the default value.

The billing cycle of the subscription. Valid values:

  • Month (default)
  • Year

The client token that is used to ensure the idempotence of the request.

You can use the client to generate the token, but you must make sure that the token is unique among different requests.


Response parameters


The request ID.


The details.


The ID of the order that is placed.



Sample success responses


  "RequestId": "9B9300FE-11E2-4E3B-949C-BED3B44DD26D",
  "Data": {
    "OrderId": "50187055895****"

Error codes

HTTP status codeError codeError messageDescription
400IAbs.InvalidStatus.ValueNotSupportedstatus is not supported.The status is invalid.
400InvalidPrice.NotFoundPricing plan result not found.The Price parameter is set to an invalid value.
400InvalidPhysicalConnectionChargeType.MalformedSpecified Physical Connection ChargeType is not valid.The InstanceChargeType parameter is set to an invalid value.
400InvalidPhysicalConnectionPeriod.MalformedSpecified Physical Connection Period is not valid.The Period parameter is set to an invalid value.
400InvalidPhysicalConnectionPricingCycle.MalformedSpecified Physical Connection PricingCycle is not valid.-
400Forbidden.NotAllowedInStateThe request does not allow in this state.The operation cannot be performed when the Express Connect circuit in the current state.
400INSTANCE.STATUS.NOT.ALLOWInstance status not allowThe instance in the current state does not support the operation.
400Abs.InstanceNotExistThe specified instance does not exist.The specified instance does not exist.
404InvalidRegionId.NotFoundThe RegionId provided does not exist in our records.The RegionId parameter is set to an invalid value. Specify a valid value and try again.
404InvalidPhysicalConnectionId.NotFoundThe PhysicalConnectionId provided does not exist in our records.The Express Connect circuit does not exist.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-12-21The Error code has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    Error Codes 400 change
    delete Error Codes: 404
2023-09-11API Description Update. The Error code has changedsee changesets
Change itemChange content
API DescriptionAPI Description Update.
Error CodesThe Error code has changed.
    delete Error Codes: 400
    delete Error Codes: 404