Create Virtual Service
Create a new Virtual Service for a specific Edge Gateway.
Request
URI
POST
https://{api_host}/cloudapi/1.0.0/loadBalancer/virtualServices
COPY
Request Body
EdgeLoadBalancerVirtualService
of type(s)
application/json
Optional
{
"status": {},
"id": "string",
"name": "string",
"description": "string",
"enabled": false,
"virtualIpAddress": "string",
"ipv6VirtualIpAddress": "string",
"loadBalancerPoolRef": {
"name": "string",
"id": "string"
},
"gatewayRef": {
"name": "string",
"id": "string"
},
"serviceEngineGroupRef": {
"name": "string",
"id": "string"
},
"certificateRef": {
"name": "string",
"id": "string"
},
"servicePorts": [
{
"tcpUdpProfile": {
"name": "string",
"type": "string",
"systemDefined": false
},
"portStart": 0,
"portEnd": 0,
"sslEnabled": false
}
],
"healthStatus": "string",
"healthMessage": "string",
"detailedHealthMessage": "string",
"transparentModeEnabled": false,
"nonCriticalLoggingEnabled": false,
"applicationProfile": {
"name": "string",
"type": "string",
"systemDefined": false
}
}
Responses
202
The request have been accepted and the task to monitor the request is in the Location header.
Operation doesn't return any data structure
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"applicationProfile:"object"}' https://{api_host}/cloudapi/1.0.0/loadBalancer/virtualServices
Availability
Added in 35.0
Edge Gateway Load Balancer Virtual Services Operations
GET
Get Virtual Service Summaries For Gateway
POST
Create Virtual Service