Call the CreateFlowProjectClusterSetting to create a project cluster.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes CreateFlowProjectClusterSetting

The operation that you want to perform. For API requests using the HTTP or HTTPS URL, this parameter is required. Set the value to CreateFlowProjectClusterSetting.

ClusterId String Yes C- DCEE11B49C8F****

The ID of the HPC cluster.

ProjectId String Yes FP-ED2F3E844FE3****

The ID of the project.

RegionId String Yes cn-hangzhou

The region ID of the instance.

DefaultUser String No hadoop

Default linux the user who submitted the submission. The default value is hadoop.

DefaultQueue String No default

The default queue to which jobs are submitted. Default.

UserList.N RepeatList No hadoop

The whitelist of Linux users who can submit jobs.

QueueList.N RepeatList No queue1

The whitelist of queues to which jobs can be submitted.

HostList.N RepeatList No emr-header-1.cluster-12345

The whitelist of submission machines, which supports only. Gateway and Master machine.

Response parameters

Parameter Type Example Description
Data Boolean true

Indicates whether the call was successful.

RequestId String 0AD9FF20-F585-4E0A-870D-B8A8F884CCE6

The ID of the request.

Examples

Sample request

http(s)://[Endpoint]/? Action=CreateFlowProjectClusterSetting
&ClusterId=C-DCEE11B49C8F****
&ProjectId=FP-ED2F3E844FE3****
&RegionId=cn-hangzhou
&<Common request parameters>

Sample success responses

XML format

<CreateFlowProjectClusterSettingResponse>
  <RequestId>ECC2D0D1-B6D5-468D-B698-30E8805EB574</RequestId>
      <Data>true</Data>
</CreateFlowProjectClusterSettingResponse>

JSON format

{
  "RequestId":"ECC2D0D1-B6D5-468D-B698-30E8805EB574",
  "Data":true
}

Error codes

For a list of error codes, visit the API Error Center.