Creates a Smart Access Gateway (SAG) app instance.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The ID of the region where you want to create the SAG app instance. | cn-shanghai |
Period | integer | Yes | The subscription duration of the SAG app instance. Unit: months. Valid values: 1 to 9, 12, 24, and 36. | 12 |
AutoPay | boolean | Yes | Specifies whether to automatically complete the payment of the order. Valid values:
If you set the parameter to false, go to Billing Management to complete the payment after you call this operation. The instance is created only after you complete the payment. | false |
ChargeType | string | Yes | The billing method of the SAG app instance. Set the value to PREPAY. This value indicates that the SAG app instance is a subscription resource. | PREPAY |
UserCount | integer | Yes | The maximum number of client accounts that can be created on the SAG app instance. | 5 |
DataPlan | long | Yes | The size of the free data plan that is allocated to each client account per month. Unit: GB. Valid value: 5. Note
This value specifies that a free data plan of 5 GB is allocated to each client account per month.
| 5 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "24675405-74DF-4C94-82C6-B749580C498E",
"OrderId": "203000000000000",
"SmartAGId": "sag-gnhe6sywtare5******",
"ResourceGroupId": "rg-acfm2iu4fnc****"
}
Error codes
For a list of error codes, visit the Service error codes.