Create an MSE registration and configuration center instance
Operation description
Please ensure that you fully understand the billing method and pricing of the MSE (Microservice Engine) product before using this interface.
Debugging
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:
- For mandatory resource types, indicate with a prefix of * .
- 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.
Operation | Access level | Resource type | Condition key | Associated operation |
---|
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
mse:CreateCluster | create | *Cluster acs:mse:{#regionId}:{#accountId}:instance/* |
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
PubNetworkFlow | string | No | Valid when Value range: 0~5000. | 0 |
PubSlbSpecificationdeprecated | string | No | No longer in use | slb.s1.small |
DiskTypedeprecated | string | No | No longer in use | alicloud-disk-ssd |
VpcId | string | No | VPC ID. | vpc-bp1t50e045b5g7i3p**** |
NetType | string | Yes | Network type, with the following values:
| privatenet |
VSwitchId | string | No | Switch ID. | vsw-bp17opt4v18sto39k**** |
InstanceCount | integer | Yes | Number of instance nodes, with a range limit of 1 to 9. [Professional Edition]
[Developer Edition]
[Serverless Edition] Ignore this parameter. | 3 |
ClusterSpecification | string | Yes | Engine specifications, with the following values: [Professional Edition]
[Developer Edition]
[Serverless Edition] Ignore this parameter, or you can fill in | MSE_SC_2_4_60_c |
ClusterVersion | string | Yes | Cluster version, with the following values: [Professional Edition]
[Developer Edition]
[Serverless Edition]
| NACOS_2_0_0 |
ClusterType | string | Yes | Cluster type, including ZooKeeper, Nacos-Ans. | Nacos-Ans |
Region | string | Yes | The region where the cluster is located, including but not limited to the following regions:
| cn-hangzhou |
PrivateSlbSpecificationdeprecated | string | No | No longer in use | slb.s1.small |
ConnectionType | string | No | Network access type, | slb |
RequestPars | string | No | Extended request parameters, in JSON format. | {} |
MseVersion | string | No | Required unless under special circumstances, with the following values:
Enumeration Value:
| mse_pro |
InstanceName | string | No | Custom instance name | tanshuyingtest001 |
ResourceGroupId | string | No | Resource group ID. For more details about the resource group, see Basic Information of Resource Group. | rg-aekzcqmoay3dlyq |
Tag | array<object> | No | List of tags to be added. Contains up to 20 items. | |
object | No | Tag. | ||
Key | string | No | Tag key. | env |
Value | string | No | Tag value. | prd |
ChargeType | string | No | Billing method, including PREPAY (Subscription) and POSTPAY (Pay-As-You-Go). This parameter is ignored for the Serverless edition. Enumeration Value:
| POSTPAY |
SecurityGroupType | string | No | Valid when Enumeration Value:
| enterprise |
EipEnabled | boolean | No | Valid when Enumeration Value:
| |
AcceptLanguage | string | No | The language type of the returned information:
| zh |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "dc63-465d-8ef5-20dc18af****",
"Message": "The request is successfully processed.\n",
"InstanceId": "mse-cn-st21ri2****",
"ErrorCode": "mse-100-000",
"OrderId": "20574710974****",
"Success": true
}
Error codes
HTTP status code | Error code | Error message | Description |
---|
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | IllegalRequest | Invalid request:%s | Invalid request: %s |
400 | InvalidParameter | Parameter error:%s | Request parameter error: %s |
403 | NoPermission | You are not authorized to perform this operation:%s | You do not have the permission to use this interface:%s |
404 | NotFound | Not found:%s | The resource does not exist:%s |
500 | InternalError | Console error. Try again later:%s | Console error. Try again later: %s |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
Change time | Summary of changes | Operation |
---|---|---|
2023-08-29 | The request parameters of the API has changed | View Change Details |
2023-05-09 | The request parameters of the API has changed | View Change Details |
2022-08-11 | The request parameters of the API has changed | View Change Details |