@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.
|
ChangeClusterNetworkCompartmentResponse |
changeClusterNetworkCompartment(ChangeClusterNetworkCompartmentRequest request)
Change the compartment of a cluster network.
|
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)
Create a cluster network.
|
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.
|
GetClusterNetworkResponse |
getClusterNetwork(GetClusterNetworkRequest request)
Gets the specified cluster network
|
GetInstanceConfigurationResponse |
getInstanceConfiguration(GetInstanceConfigurationRequest request)
Gets the specified instance configuration
|
GetInstancePoolResponse |
getInstancePool(GetInstancePoolRequest request)
Gets the specified 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)
Launches an instance from an instance configuration.
|
ListClusterNetworkInstancesResponse |
listClusterNetworkInstances(ListClusterNetworkInstancesRequest request)
List the instances in the specified cluster network.
|
ListClusterNetworksResponse |
listClusterNetworks(ListClusterNetworksRequest request)
Lists the cluster networks 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. |
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.
|
TerminateClusterNetworkResponse |
terminateClusterNetwork(TerminateClusterNetworkRequest request)
Terminate the specified cluster network.
|
TerminateInstancePoolResponse |
terminateInstancePool(TerminateInstancePoolRequest request)
Terminate the specified instance pool.
|
UpdateClusterNetworkResponse |
updateClusterNetwork(UpdateClusterNetworkRequest request)
Update the specified cluster network.
|
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.
|
closevoid 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.ChangeClusterNetworkCompartmentResponse changeClusterNetworkCompartment(ChangeClusterNetworkCompartmentRequest request)
Change the compartment of a cluster network.
request - The request object containing the details to sendBmcException - when an error occurs.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.
request - The request object containing the details to sendBmcException - when an error occurs.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.CreateClusterNetworkResponse createClusterNetwork(CreateClusterNetworkRequest request)
Create a cluster network.
request - The request object containing the details to sendBmcException - when an error occurs.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.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.GetClusterNetworkResponse getClusterNetwork(GetClusterNetworkRequest request)
Gets the specified cluster network
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.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.LaunchInstanceConfigurationResponse launchInstanceConfiguration(LaunchInstanceConfigurationRequest request)
Launches an instance from an instance configuration.
If the instance configuration does not include all of the parameters that are required to launch an instance, such as the availability domain and subnet ID, you must provide these parameters when you launch an instance from the instance configuration. For more information, see the InstanceConfiguration resource.
request - The request object containing the details to sendBmcException - when an error occurs.ListClusterNetworkInstancesResponse listClusterNetworkInstances(ListClusterNetworkInstancesRequest request)
List the instances in the specified cluster network.
request - The request object containing the details to sendBmcException - when an error occurs.ListClusterNetworksResponse listClusterNetworks(ListClusterNetworksRequest request)
Lists the cluster networks in the specified compartment.
request - The request object containing the details to sendBmcException - when an error occurs.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.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.TerminateClusterNetworkResponse terminateClusterNetwork(TerminateClusterNetworkRequest request)
Terminate the specified cluster network.
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.UpdateClusterNetworkResponse updateClusterNetwork(UpdateClusterNetworkRequest request)
Update the specified cluster network. The OCID of the cluster network remains the same.
request - The request object containing the details to sendBmcException - when an error occurs.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.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.@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–2019. All rights reserved.