public class ResourceController
extends com.ibm.cloud.sdk.core.service.BaseService
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_SERVICE_NAME |
static String |
DEFAULT_SERVICE_URL |
| Constructor and Description |
|---|
ResourceController(String serviceName,
com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Constructs an instance of the `ResourceController` client.
|
| Modifier and Type | Method and Description |
|---|---|
com.ibm.cloud.sdk.core.http.ServiceCall<ResourceAlias> |
createResourceAlias(CreateResourceAliasOptions createResourceAliasOptions)
Create a new resource alias.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ResourceBinding> |
createResourceBinding(CreateResourceBindingOptions createResourceBindingOptions)
Create a new resource binding.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ResourceInstance> |
createResourceInstance(CreateResourceInstanceOptions createResourceInstanceOptions)
Create (provision) a new resource instance.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ResourceKey> |
createResourceKey(CreateResourceKeyOptions createResourceKeyOptions)
Create a new resource key.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Void> |
deleteResourceAlias(DeleteResourceAliasOptions deleteResourceAliasOptions)
Delete a resource alias.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Void> |
deleteResourceBinding(DeleteResourceBindingOptions deleteResourceBindingOptions)
Delete a resource binding.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Void> |
deleteResourceInstance(DeleteResourceInstanceOptions deleteResourceInstanceOptions)
Delete a resource instance.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Void> |
deleteResourceKey(DeleteResourceKeyOptions deleteResourceKeyOptions)
Delete a resource key by ID.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ResourceAlias> |
getResourceAlias(GetResourceAliasOptions getResourceAliasOptions)
Get a resource alias.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ResourceBinding> |
getResourceBinding(GetResourceBindingOptions getResourceBindingOptions)
Get a resource binding.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ResourceInstance> |
getResourceInstance(GetResourceInstanceOptions getResourceInstanceOptions)
Get a resource instance.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ResourceKey> |
getResourceKey(GetResourceKeyOptions getResourceKeyOptions)
Get resource key by ID.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ReclamationsList> |
listReclamations()
Get a list of all reclamations.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ReclamationsList> |
listReclamations(ListReclamationsOptions listReclamationsOptions)
Get a list of all reclamations.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ResourceAliasesList> |
listResourceAliases()
Get a list of all resource aliases.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ResourceAliasesList> |
listResourceAliases(ListResourceAliasesOptions listResourceAliasesOptions)
Get a list of all resource aliases.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ResourceBindingsList> |
listResourceBindings()
Get a list of all resource bindings.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ResourceBindingsList> |
listResourceBindings(ListResourceBindingsOptions listResourceBindingsOptions)
Get a list of all resource bindings.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ResourceInstancesList> |
listResourceInstances()
Get a list of all resource instances.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ResourceInstancesList> |
listResourceInstances(ListResourceInstancesOptions listResourceInstancesOptions)
Get a list of all resource instances.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ResourceKeysList> |
listResourceKeys()
Get a list of all of the resource keys.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ResourceKeysList> |
listResourceKeys(ListResourceKeysOptions listResourceKeysOptions)
Get a list of all of the resource keys.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ResourceInstance> |
lockResourceInstance(LockResourceInstanceOptions lockResourceInstanceOptions)
Lock a resource instance.
|
static ResourceController |
newInstance()
Class method which constructs an instance of the `ResourceController` client.
|
static ResourceController |
newInstance(String serviceName)
Class method which constructs an instance of the `ResourceController` client.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Reclamation> |
runReclamationAction(RunReclamationActionOptions runReclamationActionOptions)
Perform a reclamation action.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ResourceInstance> |
unlockResourceInstance(UnlockResourceInstanceOptions unlockResourceInstanceOptions)
Unlock a resource instance.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ResourceAlias> |
updateResourceAlias(UpdateResourceAliasOptions updateResourceAliasOptions)
Update a resource alias.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ResourceBinding> |
updateResourceBinding(UpdateResourceBindingOptions updateResourceBindingOptions)
Update a resource binding.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ResourceInstance> |
updateResourceInstance(UpdateResourceInstanceOptions updateResourceInstanceOptions)
Update a resource instance.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ResourceKey> |
updateResourceKey(UpdateResourceKeyOptions updateResourceKeyOptions)
Update a resource key.
|
public static final String DEFAULT_SERVICE_NAME
public static final String DEFAULT_SERVICE_URL
public ResourceController(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 ResourceController newInstance()
public static ResourceController newInstance(String serviceName)
serviceName - the service name to be used when configuring the client instancepublic com.ibm.cloud.sdk.core.http.ServiceCall<ResourceInstancesList> listResourceInstances(ListResourceInstancesOptions listResourceInstancesOptions)
listResourceInstancesOptions - the ListResourceInstancesOptions containing the options for the callServiceCall with a result of type ResourceInstancesListpublic com.ibm.cloud.sdk.core.http.ServiceCall<ResourceInstancesList> listResourceInstances()
ServiceCall with a result of type ResourceInstancesListpublic com.ibm.cloud.sdk.core.http.ServiceCall<ResourceInstance> createResourceInstance(CreateResourceInstanceOptions createResourceInstanceOptions)
createResourceInstanceOptions - the CreateResourceInstanceOptions containing the options for the callServiceCall with a result of type ResourceInstancepublic com.ibm.cloud.sdk.core.http.ServiceCall<ResourceInstance> getResourceInstance(GetResourceInstanceOptions getResourceInstanceOptions)
getResourceInstanceOptions - the GetResourceInstanceOptions containing the options for the callServiceCall with a result of type ResourceInstancepublic com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteResourceInstance(DeleteResourceInstanceOptions deleteResourceInstanceOptions)
deleteResourceInstanceOptions - the DeleteResourceInstanceOptions containing the options for the callServiceCall with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<ResourceInstance> updateResourceInstance(UpdateResourceInstanceOptions updateResourceInstanceOptions)
updateResourceInstanceOptions - the UpdateResourceInstanceOptions containing the options for the callServiceCall with a result of type ResourceInstancepublic com.ibm.cloud.sdk.core.http.ServiceCall<ResourceInstance> lockResourceInstance(LockResourceInstanceOptions lockResourceInstanceOptions)
lockResourceInstanceOptions - the LockResourceInstanceOptions containing the options for the callServiceCall with a result of type ResourceInstancepublic com.ibm.cloud.sdk.core.http.ServiceCall<ResourceInstance> unlockResourceInstance(UnlockResourceInstanceOptions unlockResourceInstanceOptions)
unlockResourceInstanceOptions - the UnlockResourceInstanceOptions containing the options for the callServiceCall with a result of type ResourceInstancepublic com.ibm.cloud.sdk.core.http.ServiceCall<ResourceKeysList> listResourceKeys(ListResourceKeysOptions listResourceKeysOptions)
listResourceKeysOptions - the ListResourceKeysOptions containing the options for the callServiceCall with a result of type ResourceKeysListpublic com.ibm.cloud.sdk.core.http.ServiceCall<ResourceKeysList> listResourceKeys()
ServiceCall with a result of type ResourceKeysListpublic com.ibm.cloud.sdk.core.http.ServiceCall<ResourceKey> createResourceKey(CreateResourceKeyOptions createResourceKeyOptions)
createResourceKeyOptions - the CreateResourceKeyOptions containing the options for the callServiceCall with a result of type ResourceKeypublic com.ibm.cloud.sdk.core.http.ServiceCall<ResourceKey> getResourceKey(GetResourceKeyOptions getResourceKeyOptions)
getResourceKeyOptions - the GetResourceKeyOptions containing the options for the callServiceCall with a result of type ResourceKeypublic com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteResourceKey(DeleteResourceKeyOptions deleteResourceKeyOptions)
deleteResourceKeyOptions - the DeleteResourceKeyOptions containing the options for the callServiceCall with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<ResourceKey> updateResourceKey(UpdateResourceKeyOptions updateResourceKeyOptions)
updateResourceKeyOptions - the UpdateResourceKeyOptions containing the options for the callServiceCall with a result of type ResourceKeypublic com.ibm.cloud.sdk.core.http.ServiceCall<ResourceBindingsList> listResourceBindings(ListResourceBindingsOptions listResourceBindingsOptions)
listResourceBindingsOptions - the ListResourceBindingsOptions containing the options for the callServiceCall with a result of type ResourceBindingsListpublic com.ibm.cloud.sdk.core.http.ServiceCall<ResourceBindingsList> listResourceBindings()
ServiceCall with a result of type ResourceBindingsListpublic com.ibm.cloud.sdk.core.http.ServiceCall<ResourceBinding> createResourceBinding(CreateResourceBindingOptions createResourceBindingOptions)
createResourceBindingOptions - the CreateResourceBindingOptions containing the options for the callServiceCall with a result of type ResourceBindingpublic com.ibm.cloud.sdk.core.http.ServiceCall<ResourceBinding> getResourceBinding(GetResourceBindingOptions getResourceBindingOptions)
getResourceBindingOptions - the GetResourceBindingOptions containing the options for the callServiceCall with a result of type ResourceBindingpublic com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteResourceBinding(DeleteResourceBindingOptions deleteResourceBindingOptions)
deleteResourceBindingOptions - the DeleteResourceBindingOptions containing the options for the callServiceCall with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<ResourceBinding> updateResourceBinding(UpdateResourceBindingOptions updateResourceBindingOptions)
updateResourceBindingOptions - the UpdateResourceBindingOptions containing the options for the callServiceCall with a result of type ResourceBindingpublic com.ibm.cloud.sdk.core.http.ServiceCall<ResourceAliasesList> listResourceAliases(ListResourceAliasesOptions listResourceAliasesOptions)
listResourceAliasesOptions - the ListResourceAliasesOptions containing the options for the callServiceCall with a result of type ResourceAliasesListpublic com.ibm.cloud.sdk.core.http.ServiceCall<ResourceAliasesList> listResourceAliases()
ServiceCall with a result of type ResourceAliasesListpublic com.ibm.cloud.sdk.core.http.ServiceCall<ResourceAlias> createResourceAlias(CreateResourceAliasOptions createResourceAliasOptions)
createResourceAliasOptions - the CreateResourceAliasOptions containing the options for the callServiceCall with a result of type ResourceAliaspublic com.ibm.cloud.sdk.core.http.ServiceCall<ResourceAlias> getResourceAlias(GetResourceAliasOptions getResourceAliasOptions)
getResourceAliasOptions - the GetResourceAliasOptions containing the options for the callServiceCall with a result of type ResourceAliaspublic com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteResourceAlias(DeleteResourceAliasOptions deleteResourceAliasOptions)
deleteResourceAliasOptions - the DeleteResourceAliasOptions containing the options for the callServiceCall with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<ResourceAlias> updateResourceAlias(UpdateResourceAliasOptions updateResourceAliasOptions)
updateResourceAliasOptions - the UpdateResourceAliasOptions containing the options for the callServiceCall with a result of type ResourceAliaspublic com.ibm.cloud.sdk.core.http.ServiceCall<ReclamationsList> listReclamations(ListReclamationsOptions listReclamationsOptions)
listReclamationsOptions - the ListReclamationsOptions containing the options for the callServiceCall with a result of type ReclamationsListpublic com.ibm.cloud.sdk.core.http.ServiceCall<ReclamationsList> listReclamations()
ServiceCall with a result of type ReclamationsListpublic com.ibm.cloud.sdk.core.http.ServiceCall<Reclamation> runReclamationAction(RunReclamationActionOptions runReclamationActionOptions)
runReclamationActionOptions - the RunReclamationActionOptions containing the options for the callServiceCall with a result of type ReclamationCopyright © 2021 IBM Cloud Platform Services. All rights reserved.