@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public interface ComputeManagement extends AutoCloseable
Use the Core Services API to manage resources such as virtual cloud networks (VCNs), compute instances, and block storage volumes. For more information, see the console documentation for the Networking, Compute, and Block Volume services. The required permissions are documented in the Details for the Core Services article.
This service client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER for all the operations by default if no circuit breaker configuration is defined by the user.
Modifier and Type | Method and Description |
---|---|
AttachInstancePoolInstanceResponse |
attachInstancePoolInstance(AttachInstancePoolInstanceRequest request)
Attaches an instance to an instance pool.
|
AttachLoadBalancerResponse |
attachLoadBalancer(AttachLoadBalancerRequest request)
Attach a load balancer to the instance pool.
|
ChangeClusterNetworkCompartmentResponse |
changeClusterNetworkCompartment(ChangeClusterNetworkCompartmentRequest request)
Moves a cluster network with instance
pools
into a different compartment within the same tenancy.
|
ChangeInstanceConfigurationCompartmentResponse |
changeInstanceConfigurationCompartment(ChangeInstanceConfigurationCompartmentRequest request)
Moves an instance configuration into a different compartment within the same tenancy.
|
ChangeInstancePoolCompartmentResponse |
changeInstancePoolCompartment(ChangeInstancePoolCompartmentRequest request)
Moves an instance pool into a different compartment within the same tenancy.
|
CreateClusterNetworkResponse |
createClusterNetwork(CreateClusterNetworkRequest request)
Creates a cluster network with instance
pools.
|
CreateInstanceConfigurationResponse |
createInstanceConfiguration(CreateInstanceConfigurationRequest request)
Creates an instance configuration.
|
CreateInstancePoolResponse |
createInstancePool(CreateInstancePoolRequest request)
Creates an instance pool.
|
DeleteInstanceConfigurationResponse |
deleteInstanceConfiguration(DeleteInstanceConfigurationRequest request)
Deletes an instance configuration.
|
DetachInstancePoolInstanceResponse |
detachInstancePoolInstance(DetachInstancePoolInstanceRequest request)
Detaches an instance from an instance pool.
|
DetachLoadBalancerResponse |
detachLoadBalancer(DetachLoadBalancerRequest request)
Detach a load balancer from the instance pool.
|
GetClusterNetworkResponse |
getClusterNetwork(GetClusterNetworkRequest request)
Gets information about a cluster network with instance
pools.
|
String |
getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
|
GetInstanceConfigurationResponse |
getInstanceConfiguration(GetInstanceConfigurationRequest request)
Gets the specified instance configuration
|
GetInstancePoolResponse |
getInstancePool(GetInstancePoolRequest request)
Gets the specified instance pool
|
GetInstancePoolInstanceResponse |
getInstancePoolInstance(GetInstancePoolInstanceRequest request)
Gets information about an instance that belongs to an instance pool.
|
GetInstancePoolLoadBalancerAttachmentResponse |
getInstancePoolLoadBalancerAttachment(GetInstancePoolLoadBalancerAttachmentRequest request)
Gets information about a load balancer that is attached to 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()
Deprecated.
use
newWaiters(WorkRequest) instead. Otherwise, a default one will be
provided that does not support operations that rely on the WorkRequestClient for
polling. An IllegalStateException will be thrown for such operations. |
LaunchInstanceConfigurationResponse |
launchInstanceConfiguration(LaunchInstanceConfigurationRequest request)
Creates an instance from an instance configuration.
|
ListClusterNetworkInstancesResponse |
listClusterNetworkInstances(ListClusterNetworkInstancesRequest request)
Lists the instances in a cluster network with instance
pools.
|
ListClusterNetworksResponse |
listClusterNetworks(ListClusterNetworksRequest request)
Lists the cluster networks with instance
pools
in the specified compartment.
|
ListInstanceConfigurationsResponse |
listInstanceConfigurations(ListInstanceConfigurationsRequest request)
Lists the instance configurations in the specified 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.
|
ComputeManagementWaiters |
newWaiters(WorkRequest workRequestClient)
Creates a new
ComputeManagementWaiters for resources for this service. |
void |
refreshClient()
Rebuilds the client from scratch.
|
ResetInstancePoolResponse |
resetInstancePool(ResetInstancePoolRequest request)
Performs the reset (immediate 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.
|
SoftstopInstancePoolResponse |
softstopInstancePool(SoftstopInstancePoolRequest request)
Performs the softstop (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 (immediate power off) action on the specified instance pool, which performs
the action on all the instances in the pool.
|
TerminateClusterNetworkResponse |
terminateClusterNetwork(TerminateClusterNetworkRequest request)
Deletes (terminates) a cluster network with instance
pools.
|
TerminateInstancePoolResponse |
terminateInstancePool(TerminateInstancePoolRequest request)
Terminate the specified instance pool.
|
UpdateClusterNetworkResponse |
updateClusterNetwork(UpdateClusterNetworkRequest request)
Updates a cluster network with instance
pools.
|
UpdateInstanceConfigurationResponse |
updateInstanceConfiguration(UpdateInstanceConfigurationRequest request)
Updates the free-form tags, defined tags, and display name of an instance configuration.
|
UpdateInstancePoolResponse |
updateInstancePool(UpdateInstancePoolRequest request)
Update the specified instance pool.
|
void |
useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)
Determines whether realm specific endpoint should be used or not.
|
close
void refreshClient()
Rebuilds the client from scratch. Useful to refresh certificates.
void setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
endpoint
- The endpoint of the service.String getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
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.void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)
Determines whether realm specific endpoint should be used or not. Set realmSpecificEndpointTemplateEnabled to “true” if the user wants to enable use of realm specific endpoint template, otherwise set it to “false”
realmSpecificEndpointTemplateEnabled
- flag to enable the use of realm specific endpoint
templateAttachInstancePoolInstanceResponse attachInstancePoolInstance(AttachInstancePoolInstanceRequest request)
Attaches an instance to an instance pool. For information about the prerequisites that an instance must meet before you can attach it to a pool, see Attaching an Instance to an Instance Pool.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation will not retry by default, users
can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
enable retries for it. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use AttachInstancePoolInstance API.
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. This operation will not retry by default, users
can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
enable retries for it. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use AttachLoadBalancer API.
ChangeClusterNetworkCompartmentResponse changeClusterNetworkCompartment(ChangeClusterNetworkCompartmentRequest request)
Moves a cluster network with instance pools into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.
When you move a cluster network to a different compartment, associated resources such as the instances in the cluster network, boot volumes, and VNICs are not moved.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation will not retry by default, users
can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
enable retries for it. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use ChangeClusterNetworkCompartment API.
ChangeInstanceConfigurationCompartmentResponse changeInstanceConfigurationCompartment(ChangeInstanceConfigurationCompartmentRequest request)
Moves an instance configuration into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.
When you move an instance configuration to a different compartment, associated resources such as instance pools are not moved.
*Important:** Most of the properties for an existing instance configuration, including the compartment, cannot be modified after you create the instance configuration. Although you can move an instance configuration to a different compartment, you will not be able to use the instance configuration to manage instance pools in the new compartment. If you want to update an instance configuration to point to a different compartment, you should instead create a new instance configuration in the target compartment using [CreateInstanceConfiguration](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/20160918/InstanceConfiguration/CreateInstanceConfiguration).
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation will not retry by default, users
can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
enable retries for it. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use ChangeInstanceConfigurationCompartment API.
ChangeInstancePoolCompartmentResponse changeInstancePoolCompartment(ChangeInstancePoolCompartmentRequest request)
Moves an instance pool into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.
When you move an instance pool to a different compartment, associated resources such as the instances in the pool, boot volumes, VNICs, and autoscaling configurations are not moved.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation will not retry by default, users
can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
enable retries for it. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use ChangeInstancePoolCompartment API.
CreateClusterNetworkResponse createClusterNetwork(CreateClusterNetworkRequest request)
Creates a cluster network with instance pools. A cluster network is a group of high performance computing (HPC), GPU, or optimized bare metal instances that are connected with an ultra low-latency remote direct memory access (RDMA) network. Cluster networks with instance pools use instance pools to manage groups of identical instances.
Use cluster networks with instance pools when you want predictable capacity for a specific number of identical instances that are managed as a group.
If you want to manage instances in the RDMA network independently of each other or use
different types of instances in the network group, create a compute cluster by using the
createComputeCluster
operation.
To determine whether capacity is available for a specific shape before you create a
cluster network, use the createComputeCapacityReport
operation.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation will not retry by default, users
can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
enable retries for it. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use CreateClusterNetwork API.
CreateInstanceConfigurationResponse createInstanceConfiguration(CreateInstanceConfigurationRequest request)
Creates an instance configuration. An instance configuration is a template that defines the settings to use when creating Compute instances.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation will not retry by default, users
can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
enable retries for it. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use CreateInstanceConfiguration API.
CreateInstancePoolResponse createInstancePool(CreateInstancePoolRequest request)
Creates an instance pool.
To determine whether capacity is available for a specific shape before you create an
instance pool, use the createComputeCapacityReport
operation.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation will not retry by default, users
can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
enable retries for it. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use CreateInstancePool API.
DeleteInstanceConfigurationResponse deleteInstanceConfiguration(DeleteInstanceConfigurationRequest request)
Deletes an instance configuration.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation will not retry by default, users
can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
enable retries for it. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use DeleteInstanceConfiguration API.
DetachInstancePoolInstanceResponse detachInstancePoolInstance(DetachInstancePoolInstanceRequest request)
Detaches an instance from an instance pool.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation will not retry by default, users
can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
enable retries for it. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use DetachInstancePoolInstance API.
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. This operation will not retry by default, users
can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
enable retries for it. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use DetachLoadBalancer API.
GetClusterNetworkResponse getClusterNetwork(GetClusterNetworkRequest request)
Gets information about a cluster network with instance pools.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation will not retry by default, users
can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
enable retries for it. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use GetClusterNetwork API.
GetInstanceConfigurationResponse getInstanceConfiguration(GetInstanceConfigurationRequest request)
Gets the specified instance configuration
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation will not retry by default, users
can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
enable retries for it. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use GetInstanceConfiguration API.
GetInstancePoolResponse getInstancePool(GetInstancePoolRequest request)
Gets the specified instance pool
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation will not retry by default, users
can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
enable retries for it. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use GetInstancePool API.
GetInstancePoolInstanceResponse getInstancePoolInstance(GetInstancePoolInstanceRequest request)
Gets information about an instance that belongs to an instance pool.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation will not retry by default, users
can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
enable retries for it. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use GetInstancePoolInstance API.
GetInstancePoolLoadBalancerAttachmentResponse getInstancePoolLoadBalancerAttachment(GetInstancePoolLoadBalancerAttachmentRequest request)
Gets information about a load balancer that is attached to the specified instance pool.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation will not retry by default, users
can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
enable retries for it. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use GetInstancePoolLoadBalancerAttachment API.
LaunchInstanceConfigurationResponse launchInstanceConfiguration(LaunchInstanceConfigurationRequest request)
Creates an instance from an instance configuration.
If the instance configuration does not include all of the parameters that are required to
create an instance, such as the availability domain and subnet ID, you must provide these
parameters when you create an instance from the instance configuration. For more information,
see the InstanceConfiguration
resource.
To determine whether capacity is available for a specific shape before you create an
instance, use the createComputeCapacityReport
operation.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation will not retry by default, users
can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
enable retries for it. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use LaunchInstanceConfiguration API.
ListClusterNetworkInstancesResponse listClusterNetworkInstances(ListClusterNetworkInstancesRequest request)
Lists the instances in a cluster network with instance pools.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation will not retry by default, users
can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
enable retries for it. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use ListClusterNetworkInstances API.
ListClusterNetworksResponse listClusterNetworks(ListClusterNetworksRequest request)
Lists the cluster networks with instance pools in the specified compartment.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation will not retry by default, users
can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
enable retries for it. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use ListClusterNetworks API.
ListInstanceConfigurationsResponse listInstanceConfigurations(ListInstanceConfigurationsRequest request)
Lists the instance configurations in the specified compartment.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation will not retry by default, users
can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
enable retries for it. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use ListInstanceConfigurations API.
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. This operation will not retry by default, users
can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
enable retries for it. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use ListInstancePoolInstances API.
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. This operation will not retry by default, users
can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
enable retries for it. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use ListInstancePools API.
ResetInstancePoolResponse resetInstancePool(ResetInstancePoolRequest request)
Performs the reset (immediate 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. This operation will not retry by default, users
can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
enable retries for it. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use ResetInstancePool API.
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.
Softreset gracefully reboots the instances by sending a shutdown command to the operating systems. After waiting 15 minutes for the OS to shut down, the instances are powered off and then powered back on.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation will not retry by default, users
can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
enable retries for it. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use SoftresetInstancePool API.
SoftstopInstancePoolResponse softstopInstancePool(SoftstopInstancePoolRequest request)
Performs the softstop (ACPI shutdown and power on) action on the specified instance pool, which performs the action on all the instances in the pool.
Softstop gracefully reboots the instances by sending a shutdown command to the operating systems. After waiting 15 minutes for the OS to shutdown, the instances are powered off and then powered back on.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation will not retry by default, users
can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
enable retries for it. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use SoftstopInstancePool API.
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. This operation will not retry by default, users
can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
enable retries for it. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use StartInstancePool API.
StopInstancePoolResponse stopInstancePool(StopInstancePoolRequest request)
Performs the stop (immediate 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. This operation will not retry by default, users
can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
enable retries for it. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use StopInstancePool API.
TerminateClusterNetworkResponse terminateClusterNetwork(TerminateClusterNetworkRequest request)
Deletes (terminates) a cluster network with instance pools.
When you delete a cluster network, all of its resources are permanently deleted, including associated instances and instance pools.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation will not retry by default, users
can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
enable retries for it. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use TerminateClusterNetwork API.
TerminateInstancePoolResponse terminateInstancePool(TerminateInstancePoolRequest request)
Terminate the specified instance pool.
*Warning:** When you delete an instance pool, the resources that were created by the pool are permanently deleted, including associated instances, attached boot volumes, and block volumes.
If an autoscaling configuration applies to the instance pool, the autoscaling configuration will be deleted asynchronously after the pool is deleted. You can also manually delete the autoscaling configuration using the `DeleteAutoScalingConfiguration` operation in the Autoscaling API.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation will not retry by default, users
can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
enable retries for it. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use TerminateInstancePool API.
UpdateClusterNetworkResponse updateClusterNetwork(UpdateClusterNetworkRequest request)
Updates a cluster network with instance pools. The OCID of the cluster network remains the same.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation will not retry by default, users
can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
enable retries for it. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use UpdateClusterNetwork API.
UpdateInstanceConfigurationResponse updateInstanceConfiguration(UpdateInstanceConfigurationRequest request)
Updates the free-form tags, defined tags, and display name of an instance configuration.
request
- The request object containing the details to sendBmcException
- when an error occurs. This operation will not retry by default, users
can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
enable retries for it. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use UpdateInstanceConfiguration API.
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. This operation will not retry by default, users
can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to
enable retries for it. The specifics of the default retry strategy are described here
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
Example: Click here to see how to use UpdateInstancePool API.
@Deprecated ComputeManagementWaiters getWaiters()
newWaiters(WorkRequest)
instead. Otherwise, a default one will be
provided that does not support operations that rely on the WorkRequestClient
for
polling. An IllegalStateException
will be thrown for such operations.Gets the pre-configured waiters available for resources for this service.
ComputeManagementWaiters newWaiters(WorkRequest workRequestClient)
Creates a new ComputeManagementWaiters
for resources for this service.
workRequestClient
- The work request service client used to query for work request
statusComputeManagementPaginators 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–2024. All rights reserved.