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.

See Also:

Method Summary
 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
 
Methods inherited from interface org.jclouds.cloudstack.features.DomainDomainApi
getDomainById, listDomainChildren, listDomains
 

Method Detail

createDomain

@Named(value="createDomain")
Domain createDomain(String name,
                          CreateDomainOptions... options)
Create new Domain

Parameters:
name - domain name
options - optional arguments
Returns:
domain instance

updateDomain

@Named(value="updateDomain")
Domain updateDomain(String domainId,
                          UpdateDomainOptions... options)
Update a domain

Parameters:
domainId - the ID of the domain
options - optional arguments
Returns:
domain instance

deleteOnlyDomain

@Named(value="deleteDomain")
void deleteOnlyDomain(String id)
Delete domain (without deleting attached resources)

Parameters:
id - the domain ID

deleteDomainAndAttachedResources

@Named(value="deleteDomain")
void deleteDomainAndAttachedResources(String id)
Delete domain and cleanup all attached resources

Parameters:
id - the domain ID


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.