[{"label":"Latest (v36.3)","version":"latest"},{"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

Update Service Engine Group Assignment

Description

Update a Load Balancer Service Engine Group Assignment. Updates are not allowed if the associated Load Balancer Service Engine Group has reservation type ‘DEDICATED’.

Request

Request

URL

URL


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

Path Parameters

Path Parameters

string
assignmentId Required

Request Body

Request Body

LoadBalancerServiceEngineGroupAssignment of type(s) application/json Required
{
	"gatewayRef": {},
	"serviceEngineGroupRef": {}
}
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 PUT -H "Content-Type: application/json" -d '{"gatewayOrgRef":{"id":"string","name":"string"},"gatewayOwnerRef":{"id":"string","name":"string"},"gatewayRef":{"id":"string","name":"string"},"id":"urn:vcloud:serviceEngineGroupAssignment:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","maxVirtualServices":0,"minVirtualServices":0,"numDeployedVirtualServices":0,"serviceEngineGroupRef":{"id":"string","name":"string"}}' https://{api_host}/cloudapi/1.0.0/loadBalancer/serviceEngineGroups/assignments/{assignmentId}


[{"label":"Latest (v36.3)","version":"latest"},{"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
Feedback

Was this page helpful?