Package org.jclouds.cloudstack.features
Interface GlobalDomainApi
-
- All Superinterfaces:
DomainDomainApi
public interface GlobalDomainApi extends DomainDomainApi
Provides synchronous access to CloudStack Domain features available to Global Admin users.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Domain
createDomain(String name, CreateDomainOptions... options)
Create new Domainvoid
deleteDomainAndAttachedResources(String id)
Delete domain and cleanup all attached resourcesvoid
deleteOnlyDomain(String id)
Delete domain (without deleting attached resources)Domain
updateDomain(String domainId, UpdateDomainOptions... options)
Update a domain-
Methods inherited from interface org.jclouds.cloudstack.features.DomainDomainApi
getDomainById, listDomainChildren, listDomains
-
-
-
-
Method Detail
-
createDomain
@Named("createDomain") @GET @Consumes("application/json") Domain createDomain(@QueryParam("name") String name, CreateDomainOptions... options)
Create new Domain- Parameters:
name
- domain nameoptions
- optional arguments- Returns:
- domain instance
-
updateDomain
@Named("updateDomain") @GET @Consumes("application/json") Domain updateDomain(@QueryParam("id") String domainId, UpdateDomainOptions... options)
Update a domain- Parameters:
domainId
- the ID of the domainoptions
- optional arguments- Returns:
- domain instance
-
deleteOnlyDomain
@Named("deleteDomain") @GET void deleteOnlyDomain(@QueryParam("id") String id)
Delete domain (without deleting attached resources)- Parameters:
id
- the domain ID
-
deleteDomainAndAttachedResources
@Named("deleteDomain") @GET void deleteDomainAndAttachedResources(@QueryParam("id") String id)
Delete domain and cleanup all attached resources- Parameters:
id
- the domain ID
-
-