public interface NeutronResourceTagService extends RestService
| Modifier and Type | Method and Description |
|---|---|
ActionResponse |
addSingle(Resource resource,
String resourceId,
String tag)
Add tag to the resource.
|
ActionResponse |
check(Resource resource,
String resourceId,
String tag)
Confirms a given tag is set on the resource.
|
ActionResponse |
delete(Resource resource,
String resourceId,
String tag)
Delete tag from the resource.
|
ActionResponse |
deleteAll(Resource resource,
String resourceId)
Remove all tags from the resource
|
NeutronResourceTag |
list(Resource resource,
String resourceId)
Obtains the (Neutron) resource tags for a resource.
|
NeutronResourceTag |
replace(Resource resource,
String resourceId,
NeutronResourceTag tags)
reset all tags from the resource
|
ActionResponse check(Resource resource, String resourceId, String tag)
resource - resource typeresourceId - resource idtag - tagNeutronResourceTag list(Resource resource, String resourceId)
resource - resource typeresourceId - resource idActionResponse addSingle(Resource resource, String resourceId, String tag)
resourceId - resource idtag - tagNeutronResourceTag replace(Resource resource, String resourceId, NeutronResourceTag tags)
resourceId - resource idtags - tagsActionResponse delete(Resource resource, String resourceId, String tag)
resourceId - resource idtag - tagActionResponse deleteAll(Resource resource, String resourceId)
resourceId - resource idCopyright © 2021. All rights reserved.