POST
Attach a workload to a VPC

Authorizations

Authorization
string
header
required

Bearer token for authentication. Format: 'Bearer {token}'

Headers

X-Workspace-Id
string

Workspace ID (uses default workspace if not provided)

Path Parameters

uuid
string
required

VPC UUID

Body

application/json

Attach a workload to a VPC

subnet_uuid
string
required

UUID of the subnet to join

attachable_type
enum<string>
required

Kind of workload: App, Service or Addon

Available options:
App,
Service,
Addon
attachable_uuid
string
required

UUID of the workload

Response

Attach a workload to a VPC

Api_V1_Entities_VpcAttachment model

uuid
string
required

Unique attachment identifier

status
string
required

Current status (pending, active, failed, detaching)

attachable_type
string
required

Kind of workload attached (App, Service, Addon)

attachable_uuid
string
required

UUID of the attached workload

workload_name
string
required

Name the daemon uses to find the workload

subnet_name
string
required

Subnet the workload joined

fqdn
string
required

Name this workload answers to inside the VPC. Absent for a cronjob, whose pods are transient, and it points at a pod address rather than a fixed one.

created_at
string<date-time>
required

Creation timestamp