Get Group Members
/serviceapi/entityModel/uds/groups/{groupName}/members
Retrieves the members of a tag-based group.
Request
- application/json
-
groupName: string
the group name
-
limit(optional): integer(int32)
the number of entries in the result to be returend in one REST callDefault Value:
2000
-
offset(optional): integer(int32)
the offset into the result list when doing a query with limitDefault Value:
0
Response
- application/json
200 Response
object
-
count:
integer(int32)
The number of items in the list
-
hasMore:
boolean
Default Value:
false
Indicates if there are more items -
items:
array items
The items
-
nextLink(optional):
string
The link to get the next chunk of items (if paging)
-
previousLink(optional):
string
The link to the previous chunk of items (if paging)
-
totalCount(optional):
integer(int32)
The total number of items (if paging)
array
-
Array of:
object UdsManageableEntity
This model describes an entity managed by Oracle Management Cloud. An entity is defined by its name and type. It can have a different display name than the entity name. The display name is used in the GUI to display the entity. There can be associations to other entities and an entity can be tagged by a key/value pair.
object
This model describes an entity managed by Oracle Management Cloud. An entity is defined by its name and type. It can have a different display name than the entity name. The display name is used in the GUI to display the entity. There can be associations to other entities and an entity can be tagged by a key/value pair.
-
associations(optional):
array associations
The associated entities
-
entityDisplayName(optional):
string
The entity display nameExample:
My Entity Name
-
entityName:
string
The entity nameExample:
my_entity_name
-
entityType:
string
The entity typeExample:
my_entity_type
-
properties(optional):
object properties
Additional Properties Allowed: additionalPropertiesThe properties assigned to the entity
-
tags(optional):
object tags
Additional Properties Allowed: additionalPropertiesThe tags assigned to the entity
-
typeDisplayName(optional):
string
The entity type display nameExample:
My Entity Type
array
-
Array of:
object UdsAssociation
This model describes an association between two or more entities. An entity can have associations to other entities which are called associates.
object
object
This model describes an association between two or more entities. An entity can have associations to other entities which are called associates.
-
entityName:
string
The entity name of the associateExample:
MyLinuxHost
-
entityType:
string
The entity type of the associateExample:
omc_host_linux
-
tags:
object tags
Additional Properties Allowed: additionalPropertiesThe association tags
Examples
Get all the members of Group MyMarketingEntities:
curl -u ${OMC_USERNAME}:${PASSWORD} -X GET "https://serverurl/serviceapi/entityModel/uds/groups/MyMarketingEntities/members"
Result might look like
{ "count": 2, "items": [ { "entityType": "MyHostType", "entityName": "MyHostBosMarketing", "entityDisplayName": "MyHostBosMarketing", "tags": { "loc": "bos", "org": "marketing" }, "typeDisplayName": "MyHostType" }, { "entityType": "MyHostType", "entityName": "MyHostSfoMarketing", "entityDisplayName": "MyHostSfoMarketing", "tags": { "loc": "sfo", "org": "marketing" }, "typeDisplayName": "MyHostType" } ] }Back to Top