@Generated(value="OracleSDKGenerator", comments="API Version: 20220509") public interface OcbAgentSvc extends AutoCloseable
API for Oracle Cloud Bridge service. This service client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER for all the operations by default if no circuit breaker configuration is defined by the user.
Modifier and Type | Method and Description |
---|---|
AddAgentDependencyResponse |
addAgentDependency(AddAgentDependencyRequest request)
Add a dependency to the environment.
|
ChangeAgentCompartmentResponse |
changeAgentCompartment(ChangeAgentCompartmentRequest request)
Moves an Agent resource from one compartment identifier to another.
|
ChangeAgentDependencyCompartmentResponse |
changeAgentDependencyCompartment(ChangeAgentDependencyCompartmentRequest request)
Moves a AgentDependency resource from one compartment identifier to another.
|
ChangeEnvironmentCompartmentResponse |
changeEnvironmentCompartment(ChangeEnvironmentCompartmentRequest request)
Moves a source environment resource from one compartment identifier to another.
|
CreateAgentResponse |
createAgent(CreateAgentRequest request)
Creates an Agent.
|
CreateAgentDependencyResponse |
createAgentDependency(CreateAgentDependencyRequest request)
Creates an AgentDependency.
|
CreateEnvironmentResponse |
createEnvironment(CreateEnvironmentRequest request)
Creates a source environment.
|
DeleteAgentResponse |
deleteAgent(DeleteAgentRequest request)
Deletes an Agent resource identified by an identifier.
|
DeleteAgentDependencyResponse |
deleteAgentDependency(DeleteAgentDependencyRequest request)
Deletes the AgentDependency resource based on an identifier.
|
DeleteEnvironmentResponse |
deleteEnvironment(DeleteEnvironmentRequest request)
Deletes a the source environment resource identified by an identifier.
|
GetAgentResponse |
getAgent(GetAgentRequest request)
Gets an Agent by identifier.
|
GetAgentDependencyResponse |
getAgentDependency(GetAgentDependencyRequest request)
Gets an AgentDependency by identifier.
|
String |
getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
|
GetEnvironmentResponse |
getEnvironment(GetEnvironmentRequest request)
Gets a source environment by identifier.
|
OcbAgentSvcPaginators |
getPaginators()
Gets the pre-configured paginators available for list operations in this service which may
return multiple pages of data.
|
GetPluginResponse |
getPlugin(GetPluginRequest request)
Gets a plugin by identifier.
|
OcbAgentSvcWaiters |
getWaiters()
Gets the pre-configured waiters available for resources for this service.
|
ListAgentDependenciesResponse |
listAgentDependencies(ListAgentDependenciesRequest request)
Returns a list of AgentDependencies such as AgentDependencyCollection.
|
ListAgentsResponse |
listAgents(ListAgentsRequest request)
Returns a list of Agents.
|
ListApplianceImagesResponse |
listApplianceImages(ListApplianceImagesRequest request)
Returns a list of Appliance Images.
|
ListEnvironmentsResponse |
listEnvironments(ListEnvironmentsRequest request)
Returns a list of source environments.
|
void |
refreshClient()
Rebuilds the client from scratch.
|
RemoveAgentDependencyResponse |
removeAgentDependency(RemoveAgentDependencyRequest request)
Adds a dependency to the source environment.
|
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’).
|
UpdateAgentResponse |
updateAgent(UpdateAgentRequest request)
Updates the Agent.
|
UpdateAgentDependencyResponse |
updateAgentDependency(UpdateAgentDependencyRequest request)
Updates the AgentDependency.
|
UpdateEnvironmentResponse |
updateEnvironment(UpdateEnvironmentRequest request)
Updates the source environment.
|
UpdatePluginResponse |
updatePlugin(UpdatePluginRequest request)
Updates the plugin.
|
void |
useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)
Determines whether realm specific endpoint should be used or not.
|
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 service.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
templateAddAgentDependencyResponse addAgentDependency(AddAgentDependencyRequest request)
Add a dependency to the environment. When provided, If-Match is checked against ETag values of the resource.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use AddAgentDependency API.
ChangeAgentCompartmentResponse changeAgentCompartment(ChangeAgentCompartmentRequest request)
Moves an Agent resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use ChangeAgentCompartment API.
ChangeAgentDependencyCompartmentResponse changeAgentDependencyCompartment(ChangeAgentDependencyCompartmentRequest request)
Moves a AgentDependency resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use ChangeAgentDependencyCompartment API.
ChangeEnvironmentCompartmentResponse changeEnvironmentCompartment(ChangeEnvironmentCompartmentRequest request)
Moves a source environment resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use ChangeEnvironmentCompartment API.
CreateAgentResponse createAgent(CreateAgentRequest request)
Creates an Agent.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use CreateAgent API.
CreateAgentDependencyResponse createAgentDependency(CreateAgentDependencyRequest request)
Creates an AgentDependency.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use CreateAgentDependency API.
CreateEnvironmentResponse createEnvironment(CreateEnvironmentRequest request)
Creates a source environment.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use CreateEnvironment API.
DeleteAgentResponse deleteAgent(DeleteAgentRequest request)
Deletes an Agent resource identified by an identifier.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use DeleteAgent API.
DeleteAgentDependencyResponse deleteAgentDependency(DeleteAgentDependencyRequest request)
Deletes the AgentDependency resource based on an identifier.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use DeleteAgentDependency API.
DeleteEnvironmentResponse deleteEnvironment(DeleteEnvironmentRequest request)
Deletes a the source environment resource identified by an identifier.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use DeleteEnvironment API.
GetAgentResponse getAgent(GetAgentRequest request)
Gets an Agent by identifier.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use GetAgent API.
GetAgentDependencyResponse getAgentDependency(GetAgentDependencyRequest request)
Gets an AgentDependency by identifier.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use GetAgentDependency API.
GetEnvironmentResponse getEnvironment(GetEnvironmentRequest request)
Gets a source environment by identifier.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use GetEnvironment API.
GetPluginResponse getPlugin(GetPluginRequest request)
Gets a plugin by identifier.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use GetPlugin API.
ListAgentDependenciesResponse listAgentDependencies(ListAgentDependenciesRequest request)
Returns a list of AgentDependencies such as AgentDependencyCollection.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use ListAgentDependencies API.
ListAgentsResponse listAgents(ListAgentsRequest request)
Returns a list of Agents.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use ListAgents API.
ListApplianceImagesResponse listApplianceImages(ListApplianceImagesRequest request)
Returns a list of Appliance Images.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use ListApplianceImages API.
ListEnvironmentsResponse listEnvironments(ListEnvironmentsRequest request)
Returns a list of source environments.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use ListEnvironments API.
RemoveAgentDependencyResponse removeAgentDependency(RemoveAgentDependencyRequest request)
Adds a dependency to the source environment. When provided, If-Match is checked against ETag values of the resource.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use RemoveAgentDependency API.
UpdateAgentResponse updateAgent(UpdateAgentRequest request)
Updates the Agent.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use UpdateAgent API.
UpdateAgentDependencyResponse updateAgentDependency(UpdateAgentDependencyRequest request)
Updates the AgentDependency.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use UpdateAgentDependency API.
UpdateEnvironmentResponse updateEnvironment(UpdateEnvironmentRequest request)
Updates the source environment.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use UpdateEnvironment API.
UpdatePluginResponse updatePlugin(UpdatePluginRequest request)
Updates the plugin.
request
- The request object containing the details to sendBmcException
- 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_Retries
Example: Click here to see how to use UpdatePlugin API.
OcbAgentSvcWaiters getWaiters()
Gets the pre-configured waiters available for resources for this service.
OcbAgentSvcPaginators 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–2024. All rights reserved.