[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director

Create Service Engine Group Assignment

Description

Create a new Load Balancer Service Engine Group Assignment. The assignment links a Load Balancer Service Engine Group with an Edge Gateway to provide load balancing resources to the Edge Gateway.

Request

Request

URL

URL


post
https://{api_host}/cloudapi/1.0.0/loadBalancer/serviceEngineGroups/assignments
Copy

Request Body

Request Body

LoadBalancerServiceEngineGroupAssignment of type(s) application/json Required
{}
serviceEngineGroupRef Required

The associated Load Balancer Service Engine Group.


gatewayRef Required

The associated Edge Gateway.


gatewayOrgRef Optional

The organization of the associated Edge Gateway.


string
id Optional

The identifier of the Load Balancer Service Engine Groups in URN format.


integer as int32
maxVirtualServices Optional

The maximum number of virtual services the Edge Gateway is allowed to use. This is required if the Load Balancer Service Engine Group has reservation type ‘SHARED’. This must be unset if the Load Balancer Service Engine Group has reservation type ‘DEDICATED’.


integer as int32
minVirtualServices Optional

The number of guaranteed virtual services available to the Edge Gateway. This is required if the Load Balancer Service Engine Group has reservation type ‘SHARED’. This must be unset if the Load Balancer Service Engine Group has reservation type ‘DEDICATED’.


integer
numDeployedVirtualServices Optional

The current number of deployed virutal services.


gatewayOwnerRef Optional

The owner of the associated Edge Gateway. This can be a vDC or vDC Group.

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

202 Accepted

The request have been accepted and the task to monitor the request is in the Location header.

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"id":"urn:vcloud:serviceEngineGroupAssignment:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}' https://{api_host}/cloudapi/1.0.0/loadBalancer/serviceEngineGroups/assignments


[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Availability
Added in 35.0
Load Balancer Service Engine Group Assignments Operations
Feedback

Was this page helpful?