public class EnterpriseManagement
extends com.ibm.cloud.sdk.core.service.BaseService
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_SERVICE_NAME |
static java.lang.String |
DEFAULT_SERVICE_URL |
| Constructor and Description |
|---|
EnterpriseManagement(java.lang.String serviceName,
com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Constructs an instance of the `EnterpriseManagement` client.
|
| Modifier and Type | Method and Description |
|---|---|
com.ibm.cloud.sdk.core.http.ServiceCall<CreateAccountResponse> |
createAccount(CreateAccountOptions createAccountOptions)
Create a new account in an enterprise.
|
com.ibm.cloud.sdk.core.http.ServiceCall<CreateAccountGroupResponse> |
createAccountGroup(CreateAccountGroupOptions createAccountGroupOptions)
Create an account group.
|
com.ibm.cloud.sdk.core.http.ServiceCall<CreateEnterpriseResponse> |
createEnterprise(CreateEnterpriseOptions createEnterpriseOptions)
Create an enterprise.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Account> |
getAccount(GetAccountOptions getAccountOptions)
Get account by ID.
|
com.ibm.cloud.sdk.core.http.ServiceCall<AccountGroup> |
getAccountGroup(GetAccountGroupOptions getAccountGroupOptions)
Get account group by ID.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Enterprise> |
getEnterprise(GetEnterpriseOptions getEnterpriseOptions)
Get enterprise by ID.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
importAccountToEnterprise(ImportAccountToEnterpriseOptions importAccountToEnterpriseOptions)
Import an account into an enterprise.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ListAccountGroupsResponse> |
listAccountGroups()
List account groups.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ListAccountGroupsResponse> |
listAccountGroups(ListAccountGroupsOptions listAccountGroupsOptions)
List account groups.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ListAccountsResponse> |
listAccounts()
List accounts.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ListAccountsResponse> |
listAccounts(ListAccountsOptions listAccountsOptions)
List accounts.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ListEnterprisesResponse> |
listEnterprises()
List enterprises.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ListEnterprisesResponse> |
listEnterprises(ListEnterprisesOptions listEnterprisesOptions)
List enterprises.
|
static EnterpriseManagement |
newInstance()
Class method which constructs an instance of the `EnterpriseManagement` client.
|
static EnterpriseManagement |
newInstance(java.lang.String serviceName)
Class method which constructs an instance of the `EnterpriseManagement` client.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
updateAccount(UpdateAccountOptions updateAccountOptions)
Move an account within the enterprise.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
updateAccountGroup(UpdateAccountGroupOptions updateAccountGroupOptions)
Update an account group.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
updateEnterprise(UpdateEnterpriseOptions updateEnterpriseOptions)
Update an enterprise.
|
configureClient, configureService, constructServiceUrl, constructServiceURL, disableRetries, enableGzipCompression, enableRetries, getAuthenticator, getClient, getEndPoint, getName, getServiceUrl, isJsonMimeType, isJsonPatchMimeType, setClient, setDefaultHeaders, setEndPoint, setServiceUrl, toStringpublic static final java.lang.String DEFAULT_SERVICE_NAME
public static final java.lang.String DEFAULT_SERVICE_URL
public EnterpriseManagement(java.lang.String serviceName,
com.ibm.cloud.sdk.core.security.Authenticator authenticator)
serviceName - the service name to be used when configuring the client instanceauthenticator - the Authenticator instance to be configured for this clientpublic static EnterpriseManagement newInstance()
public static EnterpriseManagement newInstance(java.lang.String serviceName)
serviceName - the service name to be used when configuring the client instancepublic com.ibm.cloud.sdk.core.http.ServiceCall<CreateEnterpriseResponse> createEnterprise(CreateEnterpriseOptions createEnterpriseOptions)
createEnterpriseOptions - the CreateEnterpriseOptions containing the options for the callServiceCall with a result of type CreateEnterpriseResponsepublic com.ibm.cloud.sdk.core.http.ServiceCall<ListEnterprisesResponse> listEnterprises(ListEnterprisesOptions listEnterprisesOptions)
listEnterprisesOptions - the ListEnterprisesOptions containing the options for the callServiceCall with a result of type ListEnterprisesResponsepublic com.ibm.cloud.sdk.core.http.ServiceCall<ListEnterprisesResponse> listEnterprises()
ServiceCall with a result of type ListEnterprisesResponsepublic com.ibm.cloud.sdk.core.http.ServiceCall<Enterprise> getEnterprise(GetEnterpriseOptions getEnterpriseOptions)
getEnterpriseOptions - the GetEnterpriseOptions containing the options for the callServiceCall with a result of type Enterprisepublic com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> updateEnterprise(UpdateEnterpriseOptions updateEnterpriseOptions)
updateEnterpriseOptions - the UpdateEnterpriseOptions containing the options for the callServiceCall with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> importAccountToEnterprise(ImportAccountToEnterpriseOptions importAccountToEnterpriseOptions)
importAccountToEnterpriseOptions - the ImportAccountToEnterpriseOptions containing the options for the callServiceCall with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<CreateAccountResponse> createAccount(CreateAccountOptions createAccountOptions)
createAccountOptions - the CreateAccountOptions containing the options for the callServiceCall with a result of type CreateAccountResponsepublic com.ibm.cloud.sdk.core.http.ServiceCall<ListAccountsResponse> listAccounts(ListAccountsOptions listAccountsOptions)
listAccountsOptions - the ListAccountsOptions containing the options for the callServiceCall with a result of type ListAccountsResponsepublic com.ibm.cloud.sdk.core.http.ServiceCall<ListAccountsResponse> listAccounts()
ServiceCall with a result of type ListAccountsResponsepublic com.ibm.cloud.sdk.core.http.ServiceCall<Account> getAccount(GetAccountOptions getAccountOptions)
getAccountOptions - the GetAccountOptions containing the options for the callServiceCall with a result of type Accountpublic com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> updateAccount(UpdateAccountOptions updateAccountOptions)
updateAccountOptions - the UpdateAccountOptions containing the options for the callServiceCall with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<CreateAccountGroupResponse> createAccountGroup(CreateAccountGroupOptions createAccountGroupOptions)
createAccountGroupOptions - the CreateAccountGroupOptions containing the options for the callServiceCall with a result of type CreateAccountGroupResponsepublic com.ibm.cloud.sdk.core.http.ServiceCall<ListAccountGroupsResponse> listAccountGroups(ListAccountGroupsOptions listAccountGroupsOptions)
listAccountGroupsOptions - the ListAccountGroupsOptions containing the options for the callServiceCall with a result of type ListAccountGroupsResponsepublic com.ibm.cloud.sdk.core.http.ServiceCall<ListAccountGroupsResponse> listAccountGroups()
ServiceCall with a result of type ListAccountGroupsResponsepublic com.ibm.cloud.sdk.core.http.ServiceCall<AccountGroup> getAccountGroup(GetAccountGroupOptions getAccountGroupOptions)
getAccountGroupOptions - the GetAccountGroupOptions containing the options for the callServiceCall with a result of type AccountGrouppublic com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> updateAccountGroup(UpdateAccountGroupOptions updateAccountGroupOptions)
updateAccountGroupOptions - the UpdateAccountGroupOptions containing the options for the callServiceCall with a void resultCopyright © 2022 IBM Cloud Platform Services. All rights reserved.