[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy

Get Group Tags

Description

Get tags used to define conditions inside a Group. Also includes tags inside nested groups.

Request

Request

URL

URL


get
https://nsxmanager.your.domain/policy/api/v1/infra/domains/{domain-id}/groups/{group-id}/tags
Copy

Path Parameters

Path Parameters

string
domain-id Required

Domain id


string
group-id Required

Group Id


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns GroupTagsList of type(s) application/json
results Required

Collection of tags used in a policy group listed per member type

Errors

Errors

ApiError
400

Bad Request


ApiError
403

Forbidden


404

Not Found


ApiError
412

Precondition Failed


ApiError
500

Internal Server Error


ApiError
503

Service Unavailable

Code Samples

Code Samples

PowerCLI Client SDK Example

Invoke-GetGroupTags -domainId "MydomainId" -groupId "MygroupId"

cURL Command

curl https://nsxmanager.your.domain/policy/api/v1/infra/domains/{domain-id}/groups/{group-id}/tags
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-vmw-doc-operation: get-group-tags
x-vmw-nsx-module: PolicyGroupRealization


[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy
Feedback

Was this page helpful?