Interface CapacityManagement
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
CapacityManagementClient
@Generated(value="OracleSDKGenerator", comments="API Version: 20231107") public interface CapacityManagement extends AutoCloseable
OCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available.For more information, see OCI Control Center. This service client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER for all the operations by default if no circuit breaker configuration is defined by the user.
-
-
Method Summary
-
Methods inherited from interface java.lang.AutoCloseable
close
-
-
-
-
Method Detail
-
refreshClient
void refreshClient()
Rebuilds the client from scratch.Useful to refresh certificates.
-
setEndpoint
void setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).- Parameters:
endpoint
- The endpoint of the service.
-
getEndpoint
String getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
-
setRegion
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.- Parameters:
region
- The region of the service.
-
setRegion
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 callsetEndpoint
.- Parameters:
regionId
- The public region ID.
-
useRealmSpecificEndpointTemplate
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”
- Parameters:
realmSpecificEndpointTemplateEnabled
- flag to enable the use of realm specific endpoint template
-
createOccAvailabilityCatalog
CreateOccAvailabilityCatalogResponse createOccAvailabilityCatalog(CreateOccAvailabilityCatalogRequest request)
Create availability catalog- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/CreateOccAvailabilityCatalogExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateOccAvailabilityCatalog API.
-
createOccCapacityRequest
CreateOccCapacityRequestResponse createOccCapacityRequest(CreateOccCapacityRequestRequest request)
Create Capacity Request.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/CreateOccCapacityRequestExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateOccCapacityRequest API.
-
createOccCustomer
CreateOccCustomerResponse createOccCustomer(CreateOccCustomerRequest request)
Create customer.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/CreateOccCustomerExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateOccCustomer API.
-
createOccCustomerGroup
CreateOccCustomerGroupResponse createOccCustomerGroup(CreateOccCustomerGroupRequest request)
Create customer group.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/CreateOccCustomerGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateOccCustomerGroup API.
-
deleteOccAvailabilityCatalog
DeleteOccAvailabilityCatalogResponse deleteOccAvailabilityCatalog(DeleteOccAvailabilityCatalogRequest request)
Deletes the availability catalog resource.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/DeleteOccAvailabilityCatalogExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteOccAvailabilityCatalog API.
-
deleteOccCapacityRequest
DeleteOccCapacityRequestResponse deleteOccCapacityRequest(DeleteOccCapacityRequestRequest request)
Deletes the capacity request resource.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/DeleteOccCapacityRequestExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteOccCapacityRequest API.
-
deleteOccCustomer
DeleteOccCustomerResponse deleteOccCustomer(DeleteOccCustomerRequest request)
Deletes the customer resource.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/DeleteOccCustomerExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteOccCustomer API.
-
deleteOccCustomerGroup
DeleteOccCustomerGroupResponse deleteOccCustomerGroup(DeleteOccCustomerGroupRequest request)
Deletes the customer group resource.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/DeleteOccCustomerGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteOccCustomerGroup API.
-
getOccAvailabilityCatalog
GetOccAvailabilityCatalogResponse getOccAvailabilityCatalog(GetOccAvailabilityCatalogRequest request)
Get details about availability catalog.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/GetOccAvailabilityCatalogExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetOccAvailabilityCatalog API.
-
getOccAvailabilityCatalogContent
GetOccAvailabilityCatalogContentResponse getOccAvailabilityCatalogContent(GetOccAvailabilityCatalogContentRequest request)
Returns the binary contents of the availability catalog.Can be saved as a csv file.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/GetOccAvailabilityCatalogContentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetOccAvailabilityCatalogContent API.
-
getOccCapacityRequest
GetOccCapacityRequestResponse getOccCapacityRequest(GetOccCapacityRequestRequest request)
Get details about the capacity request.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/GetOccCapacityRequestExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetOccCapacityRequest API.
-
getOccCustomerGroup
GetOccCustomerGroupResponse getOccCustomerGroup(GetOccCustomerGroupRequest request)
Gets information about the specified customer group.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/GetOccCustomerGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetOccCustomerGroup API.
-
listInternalNamespaceOccOverviews
ListInternalNamespaceOccOverviewsResponse listInternalNamespaceOccOverviews(ListInternalNamespaceOccOverviewsRequest request)
Lists an overview of all resources in that namespace in a given time interval.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/ListInternalNamespaceOccOverviewsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListInternalNamespaceOccOverviews API.
-
listInternalOccHandoverResourceBlockDetails
ListInternalOccHandoverResourceBlockDetailsResponse listInternalOccHandoverResourceBlockDetails(ListInternalOccHandoverResourceBlockDetailsRequest request)
List details about a given occHandoverResourceBlock.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/ListInternalOccHandoverResourceBlockDetailsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListInternalOccHandoverResourceBlockDetails API.
-
listInternalOccHandoverResourceBlocks
ListInternalOccHandoverResourceBlocksResponse listInternalOccHandoverResourceBlocks(ListInternalOccHandoverResourceBlocksRequest request)
List Occ Handover Resource blocks.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/ListInternalOccHandoverResourceBlocksExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListInternalOccHandoverResourceBlocks API.
-
listOccAvailabilities
ListOccAvailabilitiesResponse listOccAvailabilities(ListOccAvailabilitiesRequest request)
Lists availabilities for a particular availability catalog.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/ListOccAvailabilitiesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListOccAvailabilities API.
-
listOccAvailabilityCatalogs
ListOccAvailabilityCatalogsResponse listOccAvailabilityCatalogs(ListOccAvailabilityCatalogsRequest request)
Lists all availability catalogs.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/ListOccAvailabilityCatalogsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListOccAvailabilityCatalogs API.
-
listOccAvailabilityCatalogsInternal
ListOccAvailabilityCatalogsInternalResponse listOccAvailabilityCatalogsInternal(ListOccAvailabilityCatalogsInternalRequest request)
An internal api to list availability catalogs.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/ListOccAvailabilityCatalogsInternalExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListOccAvailabilityCatalogsInternal API.
-
listOccCapacityRequests
ListOccCapacityRequestsResponse listOccCapacityRequests(ListOccCapacityRequestsRequest request)
Lists all capacity requests.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/ListOccCapacityRequestsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListOccCapacityRequests API.
-
listOccCapacityRequestsInternal
ListOccCapacityRequestsInternalResponse listOccCapacityRequestsInternal(ListOccCapacityRequestsInternalRequest request)
An internal api to list all capacity requests.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/ListOccCapacityRequestsInternalExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListOccCapacityRequestsInternal API.
-
listOccCustomerGroups
ListOccCustomerGroupsResponse listOccCustomerGroups(ListOccCustomerGroupsRequest request)
Lists all the customer groups.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/ListOccCustomerGroupsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListOccCustomerGroups API.
-
listOccHandoverResourceBlockDetails
ListOccHandoverResourceBlockDetailsResponse listOccHandoverResourceBlockDetails(ListOccHandoverResourceBlockDetailsRequest request)
List details about a given occHandoverResourceBlock.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/ListOccHandoverResourceBlockDetailsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListOccHandoverResourceBlockDetails API.
-
listOccHandoverResourceBlocks
ListOccHandoverResourceBlocksResponse listOccHandoverResourceBlocks(ListOccHandoverResourceBlocksRequest request)
List Occ Handover Resource blocks.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/ListOccHandoverResourceBlocksExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListOccHandoverResourceBlocks API.
-
listOccOverviews
ListOccOverviewsResponse listOccOverviews(ListOccOverviewsRequest request)
Lists an overview of all resources in that namespace in a given time interval.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/ListOccOverviewsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListOccOverviews API.
-
patchInternalOccCapacityRequest
PatchInternalOccCapacityRequestResponse patchInternalOccCapacityRequest(PatchInternalOccCapacityRequestRequest request)
Updates the OccCapacityRequest by evaluating a sequence of instructions.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/PatchInternalOccCapacityRequestExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use PatchInternalOccCapacityRequest API.
-
patchOccCapacityRequest
PatchOccCapacityRequestResponse patchOccCapacityRequest(PatchOccCapacityRequestRequest request)
Updates the OccCapacityRequest by evaluating a sequence of instructions.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/PatchOccCapacityRequestExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use PatchOccCapacityRequest API.
-
publishOccAvailabilityCatalog
PublishOccAvailabilityCatalogResponse publishOccAvailabilityCatalog(PublishOccAvailabilityCatalogRequest request)
Publishes the version of availability catalog specified by the operator.This makes that catalog version visible to customers.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/PublishOccAvailabilityCatalogExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use PublishOccAvailabilityCatalog API.
-
updateInternalOccCapacityRequest
UpdateInternalOccCapacityRequestResponse updateInternalOccCapacityRequest(UpdateInternalOccCapacityRequestRequest request)
The internal api to update the capacity request.This api will be used by operators for updating the capacity request to either completed, resubmitted or rejected.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/UpdateInternalOccCapacityRequestExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateInternalOccCapacityRequest API.
-
updateOccAvailabilityCatalog
UpdateOccAvailabilityCatalogResponse updateOccAvailabilityCatalog(UpdateOccAvailabilityCatalogRequest request)
The request to update the availability catalog.Currently only freeform tags can be updated via this api.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/UpdateOccAvailabilityCatalogExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateOccAvailabilityCatalog API.
-
updateOccCapacityRequest
UpdateOccCapacityRequestResponse updateOccCapacityRequest(UpdateOccCapacityRequestRequest request)
The request to update the capacity request.The user can perform actions like closing a partially completed request so that it doesn’t go ahead for full completion.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/UpdateOccCapacityRequestExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateOccCapacityRequest API.
-
updateOccCustomer
UpdateOccCustomerResponse updateOccCustomer(UpdateOccCustomerRequest request)
The request to update the customer.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/UpdateOccCustomerExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateOccCustomer API.
-
updateOccCustomerGroup
UpdateOccCustomerGroupResponse updateOccCustomerGroup(UpdateOccCustomerGroupRequest request)
The request to update the customer group.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/capacitymanagement/UpdateOccCustomerGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateOccCustomerGroup API.
-
getWaiters
CapacityManagementWaiters getWaiters()
Gets the pre-configured waiters available for resources for this service.- Returns:
- The service waiters.
-
getPaginators
CapacityManagementPaginators 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.- Returns:
- The service paginators.
-
-