Package org.openstack4j.api.identity.v3
Interface RegionService
-
- All Superinterfaces:
RestService
- All Known Implementing Classes:
RegionServiceImpl
public interface RegionService extends RestService
Identity V3 Region operations
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Regioncreate(String regionId, String description, String parentRegionId)Create a new regionRegioncreate(Region region)Create a new regionActionResponsedelete(String regionId)Delete a region specified by idRegionget(String regionId)Get details for a region specified by idList<? extends Region>list()List regionsRegionupdate(Region region)Update a region
-
-
-
Method Detail
-
create
Region create(Region region)
Create a new region- Parameters:
region- the region- Returns:
- the newly created region
-
create
Region create(String regionId, String description, String parentRegionId)
Create a new region- Parameters:
regionId- the user-defined region iddescription- the description of the regionparentRegionId- the region id of the parent region- Returns:
- the newly created region
-
get
Region get(String regionId)
Get details for a region specified by id- Parameters:
regionId- the region id- Returns:
- the region
-
update
Region update(Region region)
Update a region- Parameters:
region- the region set to update- Returns:
- the updated region
-
delete
ActionResponse delete(String regionId)
Delete a region specified by id- Parameters:
regionId- the id of the region- Returns:
- the ActionResponse
-
-