Get Segment Profile Templates
Retrieves all the Segment Profile Templates available to the user.
Request
URI
GET
https://{api_host}/cloudapi/1.0.0/segmentProfileTemplates
COPY
Query Parameters
string
filter
Optional
Filter for a query. FIQL format.
string
sortAsc
Optional
Field to use for ascending sort
string
sortDesc
Optional
Field to use for descending sort
integer
page
Required
Constraints:
minimum: 1
default: 1
Page to fetch, zero offset.
integer
pageSize
Required
Constraints:
minimum: 0
maximum: 128
default: 25
Results per page to fetch.
Responses
200
Returns
SegmentProfileTemplates
of type(s)
application/json;version=39.1
This response body class contains all of the following:
InlineSegmentProfileTemplates0 ,
InlineSegmentProfileTemplates1
{
"resultTotal": 0,
"pageCount": 0,
"page": 0,
"pageSize": 0,
"associations": [
{
"entityId": "string",
"associationId": "string"
}
],
"values": [
{
"id": "string",
"name": "string",
"description": "string",
"sourceNsxTManagerRef": {
"name": "string",
"id": "string"
},
"qosProfile": {
"id": "2a4ba9ad-e8d5-409c-8cae-c06910cd9b47",
"name": "string",
"type": "string"
},
"macDiscoveryProfile": {
"id": "2a4ba9ad-e8d5-409c-8cae-c06910cd9b47",
"name": "string",
"type": "string"
},
"ipDiscoveryProfile": {
"id": "2a4ba9ad-e8d5-409c-8cae-c06910cd9b47",
"name": "string",
"type": "string"
},
"segmentSecurityProfile": {
"id": "2a4ba9ad-e8d5-409c-8cae-c06910cd9b47",
"name": "string",
"type": "string"
},
"spoofGuardProfile": {
"id": "2a4ba9ad-e8d5-409c-8cae-c06910cd9b47",
"name": "string",
"type": "string"
},
"lastModified": "string"
}
]
}
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/cloudapi/1.0.0/segmentProfileTemplates?page=value&pageSize=v
Availability
Added in 36.2
Segment Profile Templates Operations
GET
Get Segment Profile Templates
POST
Create Segment Profile Template
GET
Get Segment Profile Template
PUT
Update Segment Profile Template
DELETE
Delete Segment Profile Template
POST
Sync Segment Profile Template
GET
Get Global Default Segment Profile Templates
PUT
Update Global Default Segment Profile Templates