org.jclouds.cloudstack.features
Interface DomainAccountApi

All Superinterfaces:
AccountApi
All Known Subinterfaces:
GlobalAccountApi

public interface DomainAccountApi
extends AccountApi

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

See Also:

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

Method Detail

enableAccount

@Named(value="enableAccount")
Account enableAccount(String accountName,
                            String domainId)
Enable an account

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

disableAccount

@Named(value="disableAccount")
AsyncCreateResponse disableAccount(String accountName,
                                         String 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-2014 The Apache Software Foundation. All Rights Reserved.