Interface GlobalDomainApi

All Superinterfaces:
DomainDomainApi

public interface GlobalDomainApi extends DomainDomainApi
Provides synchronous access to CloudStack Domain features available to Global Admin users.
See Also:
  • Method Details

    • createDomain

      @Named("createDomain") @GET @Consumes("application/json") Domain createDomain(@QueryParam("name") String name, CreateDomainOptions... options)
      Create new Domain
      Parameters:
      name - domain name
      options - 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 domain
      options - 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