This topic provides a brief summary of the Service Level Objective (SLO) endpoints and HTTP methods in the Tanzu Service Mesh Rest API.
GNS SLO API Endpoints Reference
HTTP Method |
Endpoint |
Description |
---|---|---|
PUT |
v1alpha1/global-namespaces/{gnsId}/service-level-objectives/{sloId} |
Create and update a GNS-scoped SLO by specifying |
GET |
v1alpha1/global-namespaces/{gnsId}/service-level-objectives/{sloId} |
Retrieve a list of existing GNS-scoped SLOs, including the configuration of each SLO by specifying the |
DELETE |
v1alpha1/global-namespaces/{gnsId}/service-level-objectives/{sloId} |
Delete a GNS-scoped SLO by specifying the |
POST |
v1alpha1/global-namespaces/{gnsId}/service-level-objectives |
Create a GNS-scoped SLO by providing the |
GET |
v1alpha1/global-namespaces/{gnsId}/service-level-objectives |
Retrieve the list of all existing SLO policies within a global namespace by providing the |
Org SLO API Endpoints Reference
This table provides a brief summary of the org-scoped SLO endpoints and HTTP methods in the Tanzu Service Mesh Rest API.
HTTP Method |
Endpoint |
Description |
---|---|---|
POST |
v1alpha1/service-level-objective |
Create an SLO by specifying the metric against which to measure the performance of the service (for example, 99th percentile latency) and by defining one or multiple service level indicators (SLIs) within the SLO. |
GET |
v1alpha1/service-level-objectives |
Retrieve a list of existing SLOs, including the configuration of each SLO. |
GET |
v1alpha1/service-level-objectives/{id} |
Retrieve the configuration of a specified SLO. Replace |
PUT |
v1alpha1/service-level-objectives/{id} |
Edit the configuration of a specified SLO, including its SLIs. Replace |
DELETE |
v1alpha1/service-level-objectives/{id} |
Delete an SLO. Replace |