@Generated(value="OracleSDKGenerator", comments="API Version: 20221208") public interface ComputeCloudAtCustomerAsync extends AutoCloseable
Use the Compute Cloud@Customer API to manage Compute Cloud@Customer infrastructures and upgrade schedules. For more information see Compute Cloud@Customer documentation.
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 serice.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
templateFuture<ChangeCccInfrastructureCompartmentResponse> changeCccInfrastructureCompartment(ChangeCccInfrastructureCompartmentRequest request, AsyncHandler<ChangeCccInfrastructureCompartmentRequest,ChangeCccInfrastructureCompartmentResponse> handler)
Moves a Compute Cloud@Customer infrastructure resource from one compartment to another.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ChangeCccUpgradeScheduleCompartmentResponse> changeCccUpgradeScheduleCompartment(ChangeCccUpgradeScheduleCompartmentRequest request, AsyncHandler<ChangeCccUpgradeScheduleCompartmentRequest,ChangeCccUpgradeScheduleCompartmentResponse> handler)
Moves a Compute Cloud@Customer upgrade schedule from one compartment to another using the specified OCID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateCccInfrastructureResponse> createCccInfrastructure(CreateCccInfrastructureRequest request, AsyncHandler<CreateCccInfrastructureRequest,CreateCccInfrastructureResponse> handler)
Creates a Compute Cloud@Customer infrastructure. Once created, Oracle Services must connect the rack in the data center to this Oracle Cloud Infrastructure resource.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateCccUpgradeScheduleResponse> createCccUpgradeSchedule(CreateCccUpgradeScheduleRequest request, AsyncHandler<CreateCccUpgradeScheduleRequest,CreateCccUpgradeScheduleResponse> handler)
Creates a new Compute Cloud@Customer upgrade schedule.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteCccInfrastructureResponse> deleteCccInfrastructure(DeleteCccInfrastructureRequest request, AsyncHandler<DeleteCccInfrastructureRequest,DeleteCccInfrastructureResponse> handler)
Deletes a Compute Cloud@Customer infrastructure resource specified by the resource OCID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteCccUpgradeScheduleResponse> deleteCccUpgradeSchedule(DeleteCccUpgradeScheduleRequest request, AsyncHandler<DeleteCccUpgradeScheduleRequest,DeleteCccUpgradeScheduleResponse> handler)
Deletes a Compute Cloud@Customer upgrade schedule by the specified OCID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetCccInfrastructureResponse> getCccInfrastructure(GetCccInfrastructureRequest request, AsyncHandler<GetCccInfrastructureRequest,GetCccInfrastructureResponse> handler)
Gets a Compute Cloud@Customer infrastructure using the infrastructure OCID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetCccUpgradeScheduleResponse> getCccUpgradeSchedule(GetCccUpgradeScheduleRequest request, AsyncHandler<GetCccUpgradeScheduleRequest,GetCccUpgradeScheduleResponse> handler)
Gets a Compute Cloud@Customer upgrade schedule by the specified OCID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListCccInfrastructuresResponse> listCccInfrastructures(ListCccInfrastructuresRequest request, AsyncHandler<ListCccInfrastructuresRequest,ListCccInfrastructuresResponse> handler)
Returns a list of Compute Cloud@Customer infrastructures.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListCccUpgradeSchedulesResponse> listCccUpgradeSchedules(ListCccUpgradeSchedulesRequest request, AsyncHandler<ListCccUpgradeSchedulesRequest,ListCccUpgradeSchedulesResponse> handler)
Returns a list of Compute Cloud@Customer upgrade schedules.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateCccInfrastructureResponse> updateCccInfrastructure(UpdateCccInfrastructureRequest request, AsyncHandler<UpdateCccInfrastructureRequest,UpdateCccInfrastructureResponse> handler)
Updates Compute Cloud@Customer infrastructure resource.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateCccUpgradeScheduleResponse> updateCccUpgradeSchedule(UpdateCccUpgradeScheduleRequest request, AsyncHandler<UpdateCccUpgradeScheduleRequest,UpdateCccUpgradeScheduleResponse> handler)
Updates the Compute Cloud@Customer upgrade schedule.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Copyright © 2016–2024. All rights reserved.