Package org.ovirt.engine.sdk4.services
Interface AssignedTagsService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
AssignedTagsServiceImpl
public interface AssignedTagsService extends Service
A service to manage collection of assignment of tags to specific entities in system.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
AssignedTagsService.AddRequest
Assign tag to specific entity in the system.static interface
AssignedTagsService.AddResponse
Assign tag to specific entity in the system.static interface
AssignedTagsService.ListRequest
List all tags assigned to the specific entity.static interface
AssignedTagsService.ListResponse
List all tags assigned to the specific entity.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssignedTagsService.AddRequest
add()
Assign tag to specific entity in the system.AssignedTagsService.ListRequest
list()
List all tags assigned to the specific entity.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.AssignedTagService
tagService(String id)
Reference to the service that manages assignment of specific tag.
-
-
-
Method Detail
-
add
AssignedTagsService.AddRequest add()
Assign tag to specific entity in the system. For example to assign tag `mytag` to virtual machine with the id `123` send a request like this: .... POST /ovirt-engine/api/vms/123/tags .... With a request body like this: [source,xml] ----mytag
-
list
AssignedTagsService.ListRequest list()
List all tags assigned to the specific entity. For example to list all the tags of the virtual machine with id `123` send a request like this: .... GET /ovirt-engine/api/vms/123/tags .... [source,xml] ----mytag mytag
-
tagService
AssignedTagService tagService(String id)
Reference to the service that manages assignment of specific tag.
-
-