org.jclouds.cloudstack.features
Interface GlobalDomainClient

All Superinterfaces:
DomainDomainClient

public interface GlobalDomainClient
extends DomainDomainClient

Provides synchronous access to CloudStack Domain features available to Global Admin users.

Author:
Andrei Savu
See Also:

Method Summary
 Domain createDomain(String name, CreateDomainOptions... options)
          Create new Domain
 Void deleteDomainAndAttachedResources(long id)
          Delete domain and cleanup all attached resources
 Void deleteOnlyDomain(long id)
          Delete domain (without deleting attached resources)
 Domain updateDomain(long domainId, UpdateDomainOptions... options)
          Update a domain
 
Methods inherited from interface org.jclouds.cloudstack.features.DomainDomainClient
getDomainById, listDomainChildren, listDomains
 

Method Detail

createDomain

Domain createDomain(String name,
                    CreateDomainOptions... options)
Create new Domain

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

updateDomain

Domain updateDomain(long domainId,
                    UpdateDomainOptions... options)
Update a domain

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

deleteOnlyDomain

Void deleteOnlyDomain(long id)
Delete domain (without deleting attached resources)

Parameters:
id - the domain ID

deleteDomainAndAttachedResources

Void deleteDomainAndAttachedResources(long id)
Delete domain and cleanup all attached resources

Parameters:
id - the domain ID


Copyright © 2009-2012 jclouds. All Rights Reserved.