public interface GlobalDomainApi extends DomainDomainApi
Modifier and Type | Method and Description |
---|---|
Domain |
createDomain(String name,
CreateDomainOptions... options)
Create new Domain
|
void |
deleteDomainAndAttachedResources(String id)
Delete domain and cleanup all attached resources
|
void |
deleteOnlyDomain(String id)
Delete domain (without deleting attached resources)
|
Domain |
updateDomain(String domainId,
UpdateDomainOptions... options)
Update a domain
|
getDomainById, listDomainChildren, listDomains
@Named(value="createDomain") @GET @Consumes(value="application/json") Domain createDomain(@QueryParam(value="name") String name, CreateDomainOptions... options)
name
- domain nameoptions
- optional arguments@Named(value="updateDomain") @GET @Consumes(value="application/json") Domain updateDomain(@QueryParam(value="id") String domainId, UpdateDomainOptions... options)
domainId
- the ID of the domainoptions
- optional arguments@Named(value="deleteDomain") @GET void deleteOnlyDomain(@QueryParam(value="id") String id)
id
- the domain ID@Named(value="deleteDomain") @GET void deleteDomainAndAttachedResources(@QueryParam(value="id") String id)
id
- the domain IDCopyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.