@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public interface ComputeManagement extends AutoCloseable
Modifier and Type | Method and Description |
---|---|
AttachLoadBalancerResponse |
attachLoadBalancer(AttachLoadBalancerRequest request)
Attach a load balancer to the instance pool.
|
CreateInstanceConfigurationResponse |
createInstanceConfiguration(CreateInstanceConfigurationRequest request)
Creates an instance configuration
|
CreateInstancePoolResponse |
createInstancePool(CreateInstancePoolRequest request)
Create an instance pool.
|
DeleteInstanceConfigurationResponse |
deleteInstanceConfiguration(DeleteInstanceConfigurationRequest request)
Deletes an instance configuration.
|
DetachLoadBalancerResponse |
detachLoadBalancer(DetachLoadBalancerRequest request)
Detach a load balancer from the instance pool.
|
GetInstanceConfigurationResponse |
getInstanceConfiguration(GetInstanceConfigurationRequest request)
Gets the specified instance configuration
|
GetInstancePoolResponse |
getInstancePool(GetInstancePoolRequest request)
Gets the specified instance pool
|
ComputeManagementPaginators |
getPaginators()
Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.
|
ComputeManagementWaiters |
getWaiters()
Gets the pre-configured waiters available for resources for this service.
|
LaunchInstanceConfigurationResponse |
launchInstanceConfiguration(LaunchInstanceConfigurationRequest request)
Launch an instance from an instance configuration
|
ListInstanceConfigurationsResponse |
listInstanceConfigurations(ListInstanceConfigurationsRequest request)
Lists the available instanceConfigurations in the specific compartment.
|
ListInstancePoolInstancesResponse |
listInstancePoolInstances(ListInstancePoolInstancesRequest request)
List the instances in the specified instance pool.
|
ListInstancePoolsResponse |
listInstancePools(ListInstancePoolsRequest request)
Lists the instance pools in the specified compartment.
|
ResetInstancePoolResponse |
resetInstancePool(ResetInstancePoolRequest request)
Performs the reset (power off and power on) action on the specified instance pool, which performs the action on all the instances in the pool.
|
void |
setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
|
void |
setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).
|
void |
setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).
|
SoftresetInstancePoolResponse |
softresetInstancePool(SoftresetInstancePoolRequest request)
Performs the softreset (ACPI shutdown and power on) action on the specified instance pool, which performs the action on all the instances in the pool.
|
StartInstancePoolResponse |
startInstancePool(StartInstancePoolRequest request)
Performs the start (power on) action on the specified instance pool, which performs the action on all the instances in the pool.
|
StopInstancePoolResponse |
stopInstancePool(StopInstancePoolRequest request)
Performs the stop (power off) action on the specified instance pool, which performs the action on all the instances in the pool.
|
TerminateInstancePoolResponse |
terminateInstancePool(TerminateInstancePoolRequest request)
Terminate the specified instance pool.
|
UpdateInstanceConfigurationResponse |
updateInstanceConfiguration(UpdateInstanceConfigurationRequest request)
Updates the freeFormTags, definedTags, and display name of an instance configuration.
|
UpdateInstancePoolResponse |
updateInstancePool(UpdateInstancePoolRequest request)
Update the specified instance pool.
|
close
void setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
endpoint
- The endpoint of the service.void setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).
Note, this will call setEndpoint
after resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.
region
- The region of the service.void setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).
Note, this will first try to map the region ID to a known Region and call setRegion
.
If no known Region could be determined, it will create an endpoint based on the default endpoint format (Region.formatDefaultRegionEndpoint(Service, String)
and then call setEndpoint
.
regionId
- The public region ID.AttachLoadBalancerResponse attachLoadBalancer(AttachLoadBalancerRequest request)
Attach a load balancer to the instance pool.
request
- The request object containing the details to sendBmcException
- when an error occurs.CreateInstanceConfigurationResponse createInstanceConfiguration(CreateInstanceConfigurationRequest request)
Creates an instance configuration
request
- The request object containing the details to sendBmcException
- when an error occurs.CreateInstancePoolResponse createInstancePool(CreateInstancePoolRequest request)
Create an instance pool.
request
- The request object containing the details to sendBmcException
- when an error occurs.DeleteInstanceConfigurationResponse deleteInstanceConfiguration(DeleteInstanceConfigurationRequest request)
Deletes an instance configuration.
request
- The request object containing the details to sendBmcException
- when an error occurs.DetachLoadBalancerResponse detachLoadBalancer(DetachLoadBalancerRequest request)
Detach a load balancer from the instance pool.
request
- The request object containing the details to sendBmcException
- when an error occurs.GetInstanceConfigurationResponse getInstanceConfiguration(GetInstanceConfigurationRequest request)
Gets the specified instance configuration
request
- The request object containing the details to sendBmcException
- when an error occurs.GetInstancePoolResponse getInstancePool(GetInstancePoolRequest request)
Gets the specified instance pool
request
- The request object containing the details to sendBmcException
- when an error occurs.LaunchInstanceConfigurationResponse launchInstanceConfiguration(LaunchInstanceConfigurationRequest request)
Launch an instance from an instance configuration
request
- The request object containing the details to sendBmcException
- when an error occurs.ListInstanceConfigurationsResponse listInstanceConfigurations(ListInstanceConfigurationsRequest request)
Lists the available instanceConfigurations in the specific compartment.
request
- The request object containing the details to sendBmcException
- when an error occurs.ListInstancePoolInstancesResponse listInstancePoolInstances(ListInstancePoolInstancesRequest request)
List the instances in the specified instance pool.
request
- The request object containing the details to sendBmcException
- when an error occurs.ListInstancePoolsResponse listInstancePools(ListInstancePoolsRequest request)
Lists the instance pools in the specified compartment.
request
- The request object containing the details to sendBmcException
- when an error occurs.ResetInstancePoolResponse resetInstancePool(ResetInstancePoolRequest request)
Performs the reset (power off and power on) action on the specified instance pool, which performs the action on all the instances in the pool.
request
- The request object containing the details to sendBmcException
- when an error occurs.SoftresetInstancePoolResponse softresetInstancePool(SoftresetInstancePoolRequest request)
Performs the softreset (ACPI shutdown and power on) action on the specified instance pool, which performs the action on all the instances in the pool.
request
- The request object containing the details to sendBmcException
- when an error occurs.StartInstancePoolResponse startInstancePool(StartInstancePoolRequest request)
Performs the start (power on) action on the specified instance pool, which performs the action on all the instances in the pool.
request
- The request object containing the details to sendBmcException
- when an error occurs.StopInstancePoolResponse stopInstancePool(StopInstancePoolRequest request)
Performs the stop (power off) action on the specified instance pool, which performs the action on all the instances in the pool.
request
- The request object containing the details to sendBmcException
- when an error occurs.TerminateInstancePoolResponse terminateInstancePool(TerminateInstancePoolRequest request)
Terminate the specified instance pool.
request
- The request object containing the details to sendBmcException
- when an error occurs.UpdateInstanceConfigurationResponse updateInstanceConfiguration(UpdateInstanceConfigurationRequest request)
Updates the freeFormTags, definedTags, and display name of an instance configuration.
request
- The request object containing the details to sendBmcException
- when an error occurs.UpdateInstancePoolResponse updateInstancePool(UpdateInstancePoolRequest request)
Update the specified instance pool. The OCID of the instance pool remains the same.
request
- The request object containing the details to sendBmcException
- when an error occurs.ComputeManagementWaiters getWaiters()
Gets the pre-configured waiters available for resources for this service.
ComputeManagementPaginators getPaginators()
Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data. These paginators provide an Iterable
interface so that service responses, or resources/records, can be iterated through without having to manually deal with pagination and page tokens.
Copyright © 2016–2019. All rights reserved.