TargetGroupsApi
All URIs are relative to https://api.ionos.com/cloudapi/v6
Method
HTTP request
Description
DELETE /targetgroups/{targetGroupId}
Delete a Target Group by ID
GET /targetgroups/{targetGroupId}
targetGroupsDelete
targetGroupsDelete(targetGroupId, opts)
Delete a Target Group by ID
Deletes the target group specified by its ID.
nil (empty response body)
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: Not defined
targetgroupsFindByTargetGroupId
targetgroupsFindByTargetGroupId(targetGroupId, opts)
Get a Target Group by ID
Retrieves the properties of the target group specified by its ID.
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: Not defined
targetgroupsGet
targetgroupsGet(opts)
Get Target Groups
Lists target groups. A target group is a set of one or more registered targets. You must specify an IP address, a port number, and a weight for each target. Any object with an IP address in your VDC can be a target, for example, a VM, another load balancer, etc. You can register a target with multiple target groups.
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: Not defined
targetgroupsPatch
targetgroupsPatch(targetGroupId, targetGroupProperties, opts)
Partially Modify a Target Group by ID
Updates the properties of the target group specified by its ID.
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: Not defined
targetgroupsPost
targetgroupsPost(targetGroup, opts)
Create a Target Group
Creates a target group.
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: application/json
targetgroupsPut
targetgroupsPut(targetGroupId, targetGroup, opts)
Modify a Target Group by ID
Modifies the properties of the target group specified by its ID.
Basic Authentication, Token Authentication
HTTP request headers
Content-Type: application/json