All Products
Search
Document Center

Platform For AI:CreateResource

Last Updated:Aug 18, 2025

Adds information about a cluster.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

eflo:CreateResource

create

*Resource

acs:eflo:{#regionId}:{#accountId}:resource/*

None None

Request parameters

Parameter

Type

Required

Description

Example

ClusterName

string

Yes

The name of the cluster.

tre-1

ClusterDesc

string

No

The description of the cluster.

cluster1

ClusterId

string

Yes

The ID of the cluster.

ehpc-sh-fj71c0ycfw

MachineTypes

object

Yes

The machine types.

MemoryInfo

string

No

The memory information.

32x 64GB DDR4 4800 Memory

Type

string

No

The type.

Private

BondNum

integer

No

The number of network bonds.

5

NodeCount

integer

No

The number of nodes.

1

CpuInfo

string

Yes

The CPU information.

2x Intel Saphhire Rapid 8469C 48C CPU

NetworkInfo

string

No

The network information.

1x 200Gbps Dual Port BF3 DPU for VPC\\n4x 200Gbps Dual Port EIC

GpuInfo

string

Yes

The GPU information.

8x NVIDIA SXM4 80GB A100 GPU

DiskInfo

string

No

The disk information.

2x 480GB SATA SSD \n 4x 3.84TB NVMe SSD

NetworkMode

string

No

The network mode.

2

Name

string

No

The instance type name.

efg1.nvga1n

UserAccessParam

object

Yes

The user authorization parameters.

AccessId

string

Yes

The user ID.

dev

AccessKey

string

Yes

The user key.

test

WorkspaceId

string

Yes

The workspace ID.

1245688643

Endpoint

string

Yes

The endpoint.

test

Response parameters

Parameter

Type

Description

Example

object

The resource object.

Data

integer

The data returned.

[]

RequestId

string

The request ID.

5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB

TotalCount

integer

The total number of entries.

0

Examples

Success response

JSON format

{
  "Data": 0,
  "RequestId": "5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB",
  "TotalCount": 0
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.