org.jclouds.cloudstack.features
Interface DomainAccountClient

All Superinterfaces:
AccountClient
All Known Subinterfaces:
GlobalAccountClient

public interface DomainAccountClient
extends AccountClient

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

Author:
Adrian Cole
See Also:

Method Summary
 AsyncCreateResponse disableAccount(String accountName, long domainId, boolean onlyLock)
          Disable or lock an account
 Account enableAccount(String accountName, long domainId)
          Enable an account
 
Methods inherited from interface org.jclouds.cloudstack.features.AccountClient
getAccount, listAccounts
 

Method Detail

enableAccount

Account enableAccount(String accountName,
                      long domainId)
Enable an account

Parameters:
accountName - the account name you are enabling
domainId - the domain ID

disableAccount

AsyncCreateResponse disableAccount(String accountName,
                                   long domainId,
                                   boolean onlyLock)
Disable or lock an account

Parameters:
accountName - the account name you are disabling
domainId - the domain ID
onlyLock - only lock if true disable otherwise


Copyright © 2009-2012 jclouds. All Rights Reserved.