@Generated(value="OracleSDKGenerator", comments="API Version: 20181001") public interface AutoScaling extends AutoCloseable
Modifier and Type | Method and Description |
---|---|
ChangeAutoScalingConfigurationCompartmentResponse |
changeAutoScalingConfigurationCompartment(ChangeAutoScalingConfigurationCompartmentRequest request)
Moves an autoscaling configuration into a different compartment within the same tenancy.
|
CreateAutoScalingConfigurationResponse |
createAutoScalingConfiguration(CreateAutoScalingConfigurationRequest request)
Creates an autoscaling configuration.
|
CreateAutoScalingPolicyResponse |
createAutoScalingPolicy(CreateAutoScalingPolicyRequest request)
Creates an autoscaling policy for the specified autoscaling configuration.
|
DeleteAutoScalingConfigurationResponse |
deleteAutoScalingConfiguration(DeleteAutoScalingConfigurationRequest request)
Deletes an autoscaling configuration.
|
DeleteAutoScalingPolicyResponse |
deleteAutoScalingPolicy(DeleteAutoScalingPolicyRequest request)
Deletes an autoscaling policy for the specified autoscaling configuration.
|
GetAutoScalingConfigurationResponse |
getAutoScalingConfiguration(GetAutoScalingConfigurationRequest request)
Gets information about the specified autoscaling configuration.
|
GetAutoScalingPolicyResponse |
getAutoScalingPolicy(GetAutoScalingPolicyRequest request)
Gets information about the specified autoscaling policy in the specified autoscaling configuration.
|
AutoScalingPaginators |
getPaginators()
Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.
|
ListAutoScalingConfigurationsResponse |
listAutoScalingConfigurations(ListAutoScalingConfigurationsRequest request)
Lists autoscaling configurations in the specifed compartment.
|
ListAutoScalingPoliciesResponse |
listAutoScalingPolicies(ListAutoScalingPoliciesRequest request)
Lists the autoscaling policies in the specified autoscaling configuration.
|
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’).
|
UpdateAutoScalingConfigurationResponse |
updateAutoScalingConfiguration(UpdateAutoScalingConfigurationRequest request)
Updates certain fields on the specified autoscaling configuration, such as the name, the cooldown period, and whether the autoscaling configuration is enabled.
|
UpdateAutoScalingPolicyResponse |
updateAutoScalingPolicy(UpdateAutoScalingPolicyRequest request)
Updates an autoscaling policy in the specified autoscaling configuration.
|
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.ChangeAutoScalingConfigurationCompartmentResponse changeAutoScalingConfigurationCompartment(ChangeAutoScalingConfigurationCompartmentRequest request)
Moves an autoscaling 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 autoscaling configuration to a different compartment, associated resources such as instance pools are not moved.
request
- The request object containing the details to sendBmcException
- when an error occurs.CreateAutoScalingConfigurationResponse createAutoScalingConfiguration(CreateAutoScalingConfigurationRequest request)
Creates an autoscaling configuration.
request
- The request object containing the details to sendBmcException
- when an error occurs.CreateAutoScalingPolicyResponse createAutoScalingPolicy(CreateAutoScalingPolicyRequest request)
Creates an autoscaling policy for the specified autoscaling configuration.
request
- The request object containing the details to sendBmcException
- when an error occurs.DeleteAutoScalingConfigurationResponse deleteAutoScalingConfiguration(DeleteAutoScalingConfigurationRequest request)
Deletes an autoscaling configuration.
request
- The request object containing the details to sendBmcException
- when an error occurs.DeleteAutoScalingPolicyResponse deleteAutoScalingPolicy(DeleteAutoScalingPolicyRequest request)
Deletes an autoscaling policy for the specified autoscaling configuration.
request
- The request object containing the details to sendBmcException
- when an error occurs.GetAutoScalingConfigurationResponse getAutoScalingConfiguration(GetAutoScalingConfigurationRequest request)
Gets information about the specified autoscaling configuration.
request
- The request object containing the details to sendBmcException
- when an error occurs.GetAutoScalingPolicyResponse getAutoScalingPolicy(GetAutoScalingPolicyRequest request)
Gets information about the specified autoscaling policy in the specified autoscaling configuration.
request
- The request object containing the details to sendBmcException
- when an error occurs.ListAutoScalingConfigurationsResponse listAutoScalingConfigurations(ListAutoScalingConfigurationsRequest request)
Lists autoscaling configurations in the specifed compartment.
request
- The request object containing the details to sendBmcException
- when an error occurs.ListAutoScalingPoliciesResponse listAutoScalingPolicies(ListAutoScalingPoliciesRequest request)
Lists the autoscaling policies in the specified autoscaling configuration.
request
- The request object containing the details to sendBmcException
- when an error occurs.UpdateAutoScalingConfigurationResponse updateAutoScalingConfiguration(UpdateAutoScalingConfigurationRequest request)
Updates certain fields on the specified autoscaling configuration, such as the name, the cooldown period, and whether the autoscaling configuration is enabled.
request
- The request object containing the details to sendBmcException
- when an error occurs.UpdateAutoScalingPolicyResponse updateAutoScalingPolicy(UpdateAutoScalingPolicyRequest request)
Updates an autoscaling policy in the specified autoscaling configuration.
request
- The request object containing the details to sendBmcException
- when an error occurs.AutoScalingPaginators 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–2020. All rights reserved.