Load Balancer

Add a new origin to an origin group

Changed on
post/loadbalancer/{loadBalancerId}/origingroup/{originGroupId}/origin

Request

Path parameters

loadBalancerIdinteger required
originGroupIdinteger required

Request body

Namestring nullable

The name of the origin

Weightinteger nullable

The weight of the origin used for weighted load balancing

Enabledboolean nullable

Whether traffic should route to this origin

OriginType0 | 1 | 2 | 3

0 = Standard 1 = Storage Zone 2 = Edge Script 3 = Magic Container

EdgeScriptIdinteger nullable

The ID of the Edge Script to use as the origin - required when using the EdgeScript origin type

StorageZoneIdinteger nullable

The ID of the Storage Zone to use as the origin - required when using the Storage origin type

Response

The newly created origin

Idinteger

The unique ID of the origin

Namestring nullable

The name of the origin

Weightinteger

The weight of the origin used for weighted load balancing

Enabledboolean

Whether traffic should route to this origin

HealthStatus0 | 1

0 = Healthy 1 = Degraded

OriginType0 | 1 | 2 | 3

0 = Standard 1 = Storage Zone 2 = Edge Script 3 = Magic Container

EdgeScriptIdinteger nullable

The ID of the Edge Script when using this origin type

StorageZoneIdinteger nullable

The ID of the Storage Zone when using this origin type

Changes

    • info

      the security scope ScopedApiKey was added to the endpoint's security scheme AccessKey

    • info

      the security scope ScopedApiKey was added to the endpoint's security scheme bearer

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status