List Security Groups.
Lists security groups. When visibility is set to public, lists public security groups. Public security groups are objects maintained by Exoscale which contain source addresses for relevant services hosted by Exoscale. They can be used a source in ingress rules and as a destination in egress rules.
Query parameters
-
visibility string
Values are
private
orpublic
.
GET
/security-group
curl \
-X GET https://api-ch-gva-2.exoscale.com/v2/security-group
Response examples (200)
{
"security-groups": [
{
"id": "string",
"name": "string",
"description": "string",
"external-sources": [
"string"
]
}
]
}