Package com.mypurecloud.sdk.v2.api
Class InfrastructureAsCodeApiAsync
java.lang.Object
com.mypurecloud.sdk.v2.api.InfrastructureAsCodeApiAsync
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInfrastructureascodeAcceleratorAsync(GetInfrastructureascodeAcceleratorRequest request, AsyncApiCallback<AcceleratorSpecification> callback) Get information about an accelerator Get the complete metadata specification for an accelerator, including requirements and parameters.getInfrastructureascodeAcceleratorAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<AcceleratorSpecification>> callback) Get information about an accelerator Get the complete metadata specification for an accelerator, including requirements and parameters.getInfrastructureascodeAcceleratorsAsync(GetInfrastructureascodeAcceleratorsRequest request, AsyncApiCallback<AcceleratorList> callback) Get a list of available accelerators Search for accelerators that can be run.getInfrastructureascodeAcceleratorsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<AcceleratorList>> callback) Get a list of available accelerators Search for accelerators that can be run.getInfrastructureascodeJobAsync(GetInfrastructureascodeJobRequest request, AsyncApiCallback<InfrastructureascodeJob> callback) Get job status and results Get the execution status of a submitted job, optionally including results and error details.getInfrastructureascodeJobAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<InfrastructureascodeJob>> callback) Get job status and results Get the execution status of a submitted job, optionally including results and error details.getInfrastructureascodeJobsAsync(GetInfrastructureascodeJobsRequest request, AsyncApiCallback<InfrastructureascodeJob> callback) Get job history Get a history of submitted jobs, optionally including error messages.getInfrastructureascodeJobsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<InfrastructureascodeJob>> callback) Get job history Get a history of submitted jobs, optionally including error messages.postInfrastructureascodeJobsAsync(PostInfrastructureascodeJobsRequest request, AsyncApiCallback<InfrastructureascodeJob> callback) Create a Job Create and submit a job for remote execution or see job planning results.postInfrastructureascodeJobsAsync(ApiRequest<AcceleratorInput> request, AsyncApiCallback<ApiResponse<InfrastructureascodeJob>> callback) Create a Job Create and submit a job for remote execution or see job planning results.
-
Constructor Details
-
InfrastructureAsCodeApiAsync
public InfrastructureAsCodeApiAsync() -
InfrastructureAsCodeApiAsync
-
-
Method Details
-
getInfrastructureascodeAcceleratorAsync
public Future<AcceleratorSpecification> getInfrastructureascodeAcceleratorAsync(GetInfrastructureascodeAcceleratorRequest request, AsyncApiCallback<AcceleratorSpecification> callback) Get information about an accelerator Get the complete metadata specification for an accelerator, including requirements and parameters.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getInfrastructureascodeAcceleratorAsync
public Future<ApiResponse<AcceleratorSpecification>> getInfrastructureascodeAcceleratorAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<AcceleratorSpecification>> callback) Get information about an accelerator Get the complete metadata specification for an accelerator, including requirements and parameters.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getInfrastructureascodeAcceleratorsAsync
public Future<AcceleratorList> getInfrastructureascodeAcceleratorsAsync(GetInfrastructureascodeAcceleratorsRequest request, AsyncApiCallback<AcceleratorList> callback) Get a list of available accelerators Search for accelerators that can be run.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getInfrastructureascodeAcceleratorsAsync
public Future<ApiResponse<AcceleratorList>> getInfrastructureascodeAcceleratorsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<AcceleratorList>> callback) Get a list of available accelerators Search for accelerators that can be run.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getInfrastructureascodeJobAsync
public Future<InfrastructureascodeJob> getInfrastructureascodeJobAsync(GetInfrastructureascodeJobRequest request, AsyncApiCallback<InfrastructureascodeJob> callback) Get job status and results Get the execution status of a submitted job, optionally including results and error details.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getInfrastructureascodeJobAsync
public Future<ApiResponse<InfrastructureascodeJob>> getInfrastructureascodeJobAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<InfrastructureascodeJob>> callback) Get job status and results Get the execution status of a submitted job, optionally including results and error details.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getInfrastructureascodeJobsAsync
public Future<InfrastructureascodeJob> getInfrastructureascodeJobsAsync(GetInfrastructureascodeJobsRequest request, AsyncApiCallback<InfrastructureascodeJob> callback) Get job history Get a history of submitted jobs, optionally including error messages.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getInfrastructureascodeJobsAsync
public Future<ApiResponse<InfrastructureascodeJob>> getInfrastructureascodeJobsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<InfrastructureascodeJob>> callback) Get job history Get a history of submitted jobs, optionally including error messages.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postInfrastructureascodeJobsAsync
public Future<InfrastructureascodeJob> postInfrastructureascodeJobsAsync(PostInfrastructureascodeJobsRequest request, AsyncApiCallback<InfrastructureascodeJob> callback) Create a Job Create and submit a job for remote execution or see job planning results.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postInfrastructureascodeJobsAsync
public Future<ApiResponse<InfrastructureascodeJob>> postInfrastructureascodeJobsAsync(ApiRequest<AcceleratorInput> request, AsyncApiCallback<ApiResponse<InfrastructureascodeJob>> callback) Create a Job Create and submit a job for remote execution or see job planning results.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-