ves-io-schema-service_policy_set-API-List
On This Page:
Examples of listing servicepolicyset
Usecase:
List service-policy-set
Request using vesctl:
vesctl configuration list service_policy_set --namespace documentation
vesctl yaml response:
items:
- annotations: {}
labels: {}
name: service-policy-set-1
namespace: documentation
statusSet: []
tenant: acmecorp
uid: e833f2b2-fdb7-471d-91da-9be3e0da5349
Request using curl:
curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build318584715_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/documentation/service_policy_sets'
curl response
HTTP/1.1 200 OK
Content-Length: 453
Content-Type: application/json
Date: Wed, 31 Mar 2021 08:29:58 GMT
Vary: Accept-Encoding
{
"items": [
{
"tenant": "acmecorp",
"namespace": "documentation",
"name": "service-policy-set-1",
"uid": "e833f2b2-fdb7-471d-91da-9be3e0da5349",
"description": "",
"disabled": false,
"labels": {
},
"annotations": {
},
"owner_view": null,
"metadata": null,
"system_metadata": null,
"object": null,
"get_spec": null,
"status_set": [
]
}
]
}