Target Nodes

Create a new target node profile

Changed on

Creates a new target node profile with specified instance types, subnets, and resource limits

post/api/target_nodes/profiles

Request

  • The document declares no server URL.
  • Auth
    socaAuth (a scheme the document does not define) and socaToken (a scheme the document does not define)

Headers

X-EDH-USERstring required

SOCA username for authentication

X-EDH-TOKENstring required

Authentication token for the SOCA user

Request body application/x-www-form-urlencoded

profile_namestring required

Name for the new profile

pattern_allowed_instance_typesstring required

Comma-separated list of allowed EC2 instance type patterns

allowed_subnet_idsstring required

Comma-separated list of allowed subnet IDs

max_root_sizestring required

Maximum root disk size in GB

descriptionstring

Profile description (max 500 characters)

Example request

{
  "profile_name": "high-performance-profile",
  "pattern_allowed_instance_types": "m5.*,c5.*",
  "allowed_subnet_ids": "subnet-12345678,subnet-87654321",
  "max_root_size": "100",
  "description": "Profile for high-performance computing workloads"
}

Response

Target node profile created successfully

successboolean
messagestring

Example response

{
  "success": true,
  "message": "high-performance-profile registered successfully in SOCA"
}

Changes

    • info

      the endpoint scheme security socaAuth AND socaToken was added to the API

    • info

      the endpoint scheme security edhAuth AND edhToken was removed from the API

    • info

      the endpoint scheme security edhAuth AND edhToken was added to the API

    • info

      the endpoint scheme security socaAuth AND socaToken was removed from the API