Package org.openstack4j.api.networking
Interface NeutronResourceTagService
-
- All Superinterfaces:
RestService
- All Known Implementing Classes:
NeutronResourceTagServiceImpl
public interface NeutronResourceTagService extends RestService
- Author:
- bboyHan
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActionResponseaddSingle(Resource resource, String resourceId, String tag)Add tag to the resource.ActionResponsecheck(Resource resource, String resourceId, String tag)Confirms a given tag is set on the resource.ActionResponsedelete(Resource resource, String resourceId, String tag)Delete tag from the resource.ActionResponsedeleteAll(Resource resource, String resourceId)Remove all tags from the resourceNeutronResourceTaglist(Resource resource, String resourceId)Obtains the (Neutron) resource tags for a resource.NeutronResourceTagreplace(Resource resource, String resourceId, NeutronResourceTag tags)reset all tags from the resource
-
-
-
Method Detail
-
check
ActionResponse check(Resource resource, String resourceId, String tag)
Confirms a given tag is set on the resource.- Parameters:
resource- resource typeresourceId- resource idtag- tag- Returns:
- the ActionResponse
-
list
NeutronResourceTag list(Resource resource, String resourceId)
Obtains the (Neutron) resource tags for a resource.- Parameters:
resource- resource typeresourceId- resource id- Returns:
- the NeutronResourceTag
-
addSingle
ActionResponse addSingle(Resource resource, String resourceId, String tag)
Add tag to the resource.- Parameters:
resourceId- resource idtag- tag- Returns:
- the ActionResponse
-
replace
NeutronResourceTag replace(Resource resource, String resourceId, NeutronResourceTag tags)
reset all tags from the resource- Parameters:
resourceId- resource idtags- tags- Returns:
- the NeutronResourceTag
-
delete
ActionResponse delete(Resource resource, String resourceId, String tag)
Delete tag from the resource.- Parameters:
resourceId- resource idtag- tag- Returns:
- the ActionResponse
-
deleteAll
ActionResponse deleteAll(Resource resource, String resourceId)
Remove all tags from the resource- Parameters:
resourceId- resource id- Returns:
- the ActionResponse
-
-