Creates a master instance in Alibaba Cloud Distributed Cloud Container Platform (ACK One).
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:
- 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.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
adcp:CreateHubCluster | Write |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The ID of the region. You can call the DescribeRegions operation to query available regions. | cn-beijing |
VpcId | string | Yes | The ID of the virtual private cloud (VPC) to which the master instance belongs. You can call the DescribeVpcs operation to query available VPCs. | vpc-f8zin0jscsr84s96tg*** |
ApiServerPublicEip | boolean | No | Specifies whether to expose the API server to the Internet. Valid values:
| true |
Name | string | No | The name of the master instance. | ack-demo |
VSwitches | string | Yes | The ID of the vSwitch. | ["vsw-2zeaijsas4zkzz81xm***"] |
AuditLogEnabled | boolean | No | Specifies whether to enable the audit log feature. Valid values:
| false |
IsEnterpriseSecurityGroup | boolean | No | Specifies whether to use an advanced security group. | false |
Profile | string | No | The type of scenario for which the master instance is suitable. Valid values:
Default value: | Default |
ArgoServerEnabled | boolean | No | Specifies whether to enable the workflow instance UI. This parameter takes effect only if Profile is set to XFlow. Valid values:
| true |
WorkflowScheduleMode | string | No | The scheduling mode of the workflow. This parameter takes effect only if Profile is set to XFlow. Valid values:
| cost-optimized |
PriceLimit | string | No | The limit on the prices of containers in the workflow. This parameter takes effect only if the WorkflowScheduleMode parameter is set to cost-optimized. | 0.08 |
ResourceGroupID | string | No | The Resource Group ID. | rg-1exm6tg2h48*** |
Tag | array | No | The tags. You can specify at most 20 tags in each call. | |
Tag | No | The list of tags. |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "62F5AA2B-A2C9-5135-BCE2-C2167099****",
"ClusterId": "c09946603cd764dac96135f51d1ba****",
"TaskId": "T-62523eda841eca071400****"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||
---|---|---|---|---|---|---|
2024-05-13 | The request parameters of the API has changed | see changesets | ||||
| ||||||
2024-04-16 | The request parameters of the API has changed | see changesets | ||||
| ||||||
2024-03-27 | The internal configuration of the API is changed, but the call is not affected | see changesets | ||||
| ||||||
2023-10-18 | API Description Update | see changesets | ||||
| ||||||
2021-12-31 | Add Operation | see changesets |