Class ManagementAgentClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseSyncClient
-
- com.oracle.bmc.managementagent.ManagementAgentClient
-
- All Implemented Interfaces:
ManagementAgent,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20200202") public class ManagementAgentClient extends BaseSyncClient implements ManagementAgent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManagementAgentClient.BuilderBuilder class for this client.
-
Field Summary
Fields Modifier and Type Field Description StringclientCommonLibraryVersionCompatible SDK version, provided by the codegen.Optional<String>minimumClientCommonLibraryVersionFromClientMinimum compatible SDK version, maybe provided by the codegen.static ServiceSERVICEService instance for ManagementAgent.
-
Constructor Summary
Constructors Constructor Description ManagementAgentClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.ManagementAgentClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.ManagementAgentClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.ManagementAgentClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.ManagementAgentClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)Deprecated.Use thebuilderinstead.ManagementAgentClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.ManagementAgentClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.ManagementAgentClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagementAgentClient.Builderbuilder()Create a builder for this client.voidclose()CreateDataSourceResponsecreateDataSource(CreateDataSourceRequest request)Datasource creation request to given Management Agent.CreateManagementAgentInstallKeyResponsecreateManagementAgentInstallKey(CreateManagementAgentInstallKeyRequest request)User creates a new install key as part of this API.CreateNamedCredentialResponsecreateNamedCredential(CreateNamedCredentialRequest request)Named credential creation request to given Management Agent.DeleteDataSourceResponsedeleteDataSource(DeleteDataSourceRequest request)Datasource delete request to given Management Agent.DeleteManagementAgentResponsedeleteManagementAgent(DeleteManagementAgentRequest request)Deletes a Management Agent resource by identifierDeleteManagementAgentInstallKeyResponsedeleteManagementAgentInstallKey(DeleteManagementAgentInstallKeyRequest request)Deletes a Management Agent install Key resource by identifierDeleteNamedCredentialResponsedeleteNamedCredential(DeleteNamedCredentialRequest request)Named credential delete request to sent to associated Management Agent.DeleteWorkRequestResponsedeleteWorkRequest(DeleteWorkRequestRequest request)Cancel the work request with the given ID.DeployPluginsResponsedeployPlugins(DeployPluginsRequest request)Deploys Plugins to a given list of agentIds.voidenableDualStackEndpoints(boolean enableDualStackEndpoints)This method should be used to enable or disable the use of dual-stack endpoints.GetAutoUpgradableConfigResponsegetAutoUpgradableConfig(GetAutoUpgradableConfigRequest request)Get the AutoUpgradable configuration for all agents in a tenancy.StringgetClientCommonLibraryVersion()GetDataSourceResponsegetDataSource(GetDataSourceRequest request)Get Datasource details for given Id and given Management Agent.protected ClientConfiguratorgetDefaultConfigurator()StringgetEndpoint()Get the endpoint of the client.GetManagementAgentResponsegetManagementAgent(GetManagementAgentRequest request)Gets complete details of the inventory of a given agent idGetManagementAgentInstallKeyResponsegetManagementAgentInstallKey(GetManagementAgentInstallKeyRequest request)Gets complete details of the Agent install Key for a given key idGetManagementAgentInstallKeyContentResponsegetManagementAgentInstallKeyContent(GetManagementAgentInstallKeyContentRequest request)Returns a file with Management Agent install Key in itOptional<String>getMinimumClientCommonLibraryVersionFromClient()GetNamedCredentialResponsegetNamedCredential(GetNamedCredentialRequest request)Get Named credential details for given Id and given Management Agent.GetNamedCredentialsMetadatumResponsegetNamedCredentialsMetadatum(GetNamedCredentialsMetadatumRequest request)Return the Metadata definition for Named Credentials supported by Management Agent.Map<String,Boolean>getOptionsMap()Return an immutable snapshot representing the current options set for this client.ManagementAgentPaginatorsgetPaginators()Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.StringgetResolvedEndpoint(Map<String,Object> requiredParametersMap)Returns the endpoint after filling in the current options, as determined byBaseClient.getOptionsMap(), and then filling in the required parameters in requiredParametersMap into the placeholders in the endpoint.ManagementAgentWaitersgetWaiters()Gets the pre-configured waiters available for resources for this service.GetWorkRequestResponsegetWorkRequest(GetWorkRequestRequest request)Gets the status of the work request with the given ID.ListAvailabilityHistoriesResponselistAvailabilityHistories(ListAvailabilityHistoriesRequest request)Lists the availability history records of Management AgentListDataSourcesResponselistDataSources(ListDataSourcesRequest request)A list of Management Agent Data Sources for the given Management Agent Id.ListManagementAgentImagesResponselistManagementAgentImages(ListManagementAgentImagesRequest request)Get supported agent image informationListManagementAgentInstallKeysResponselistManagementAgentInstallKeys(ListManagementAgentInstallKeysRequest request)Returns a list of Management Agent installed Keys.ListManagementAgentPluginsResponselistManagementAgentPlugins(ListManagementAgentPluginsRequest request)Returns a list of managementAgentPlugins.ListManagementAgentsResponselistManagementAgents(ListManagementAgentsRequest request)Returns a list of Management Agents.ListNamedCredentialsResponselistNamedCredentials(ListNamedCredentialsRequest request)A list of Management Agent Data Sources for the given Management Agent Id.ListWorkRequestErrorsResponselistWorkRequestErrors(ListWorkRequestErrorsRequest request)Return a (paginated) list of errors for a given work request.ListWorkRequestLogsResponselistWorkRequestLogs(ListWorkRequestLogsRequest request)Return a (paginated) list of logs for a given work request.ListWorkRequestsResponselistWorkRequests(ListWorkRequestsRequest request)Lists the work requests in a compartment.voidrefreshClient()Rebuild the backingHttpClient.SetAutoUpgradableConfigResponsesetAutoUpgradableConfig(SetAutoUpgradableConfigRequest request)Sets the AutoUpgradable configuration for all agents in a tenancy.voidsetEndpoint(String endpoint)voidsetRegion(Region region)Sets the region to call (ex, Region.US_PHOENIX_1).voidsetRegion(String regionId)Sets the region to call (ex, ‘us-phoenix-1’).SummarizeManagementAgentCountsResponsesummarizeManagementAgentCounts(SummarizeManagementAgentCountsRequest request)Gets count of the inventory of agents for a given compartment id, group by, and isPluginDeployed parameters.SummarizeManagementAgentPluginCountsResponsesummarizeManagementAgentPluginCounts(SummarizeManagementAgentPluginCountsRequest request)Gets count of the inventory of management agent plugins for a given compartment id and group by parameter.UpdateDataSourceResponseupdateDataSource(UpdateDataSourceRequest request)Datasource update request to given Management Agent.UpdateManagementAgentResponseupdateManagementAgent(UpdateManagementAgentRequest request)API to update the console managed properties of the Management Agent.UpdateManagementAgentInstallKeyResponseupdateManagementAgentInstallKey(UpdateManagementAgentInstallKeyRequest request)API to update the modifiable properties of the Management Agent install key.UpdateNamedCredentialResponseupdateNamedCredential(UpdateNamedCredentialRequest request)Named credential update request to given Management Agent.voiduseRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)This method should be used to enable or disable the use of realm-specific endpoint template.-
Methods inherited from class com.oracle.bmc.http.internal.BaseSyncClient
clientCall
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.AutoCloseable
close
-
Methods inherited from interface com.oracle.bmc.managementagent.ManagementAgent
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
ManagementAgentClient
@Deprecated public ManagementAgentClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeManagementAgentClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
-
ManagementAgentClient
@Deprecated public ManagementAgentClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeManagementAgentClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configuration
-
ManagementAgentClient
@Deprecated public ManagementAgentClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeManagementAgentClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
ManagementAgentClient
@Deprecated public ManagementAgentClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeManagementAgentClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactory
-
ManagementAgentClient
@Deprecated public ManagementAgentClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeManagementAgentClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfigurators
-
ManagementAgentClient
@Deprecated public ManagementAgentClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeManagementAgentClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)
-
ManagementAgentClient
@Deprecated public ManagementAgentClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeManagementAgentClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)signingStrategyRequestSignerFactories-ClientBuilderBase.signingStrategyRequestSignerFactories
-
ManagementAgentClient
@Deprecated public ManagementAgentClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeManagementAgentClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)signingStrategyRequestSignerFactories-ClientBuilderBase.signingStrategyRequestSignerFactoriesexecutorService-ManagementAgentClient.Builder.executorService
-
-
Method Detail
-
builder
public static ManagementAgentClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface:ManagementAgentSets the region to call (ex, Region.US_PHOENIX_1).Note, this will call
setEndpointafter resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.- Specified by:
setRegionin interfaceManagementAgent- Parameters:
region- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:ManagementAgentSets 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.- Specified by:
setRegionin interfaceManagementAgent- Parameters:
regionId- The public region ID.
-
createDataSource
public CreateDataSourceResponse createDataSource(CreateDataSourceRequest request)
Description copied from interface:ManagementAgentDatasource creation request to given Management Agent.- Specified by:
createDataSourcein interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createManagementAgentInstallKey
public CreateManagementAgentInstallKeyResponse createManagementAgentInstallKey(CreateManagementAgentInstallKeyRequest request)
Description copied from interface:ManagementAgentUser creates a new install key as part of this API.- Specified by:
createManagementAgentInstallKeyin interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createNamedCredential
public CreateNamedCredentialResponse createNamedCredential(CreateNamedCredentialRequest request)
Description copied from interface:ManagementAgentNamed credential creation request to given Management Agent.- Specified by:
createNamedCredentialin interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteDataSource
public DeleteDataSourceResponse deleteDataSource(DeleteDataSourceRequest request)
Description copied from interface:ManagementAgentDatasource delete request to given Management Agent.- Specified by:
deleteDataSourcein interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteManagementAgent
public DeleteManagementAgentResponse deleteManagementAgent(DeleteManagementAgentRequest request)
Description copied from interface:ManagementAgentDeletes a Management Agent resource by identifier- Specified by:
deleteManagementAgentin interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteManagementAgentInstallKey
public DeleteManagementAgentInstallKeyResponse deleteManagementAgentInstallKey(DeleteManagementAgentInstallKeyRequest request)
Description copied from interface:ManagementAgentDeletes a Management Agent install Key resource by identifier- Specified by:
deleteManagementAgentInstallKeyin interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteNamedCredential
public DeleteNamedCredentialResponse deleteNamedCredential(DeleteNamedCredentialRequest request)
Description copied from interface:ManagementAgentNamed credential delete request to sent to associated Management Agent.- Specified by:
deleteNamedCredentialin interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteWorkRequest
public DeleteWorkRequestResponse deleteWorkRequest(DeleteWorkRequestRequest request)
Description copied from interface:ManagementAgentCancel the work request with the given ID.- Specified by:
deleteWorkRequestin interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deployPlugins
public DeployPluginsResponse deployPlugins(DeployPluginsRequest request)
Description copied from interface:ManagementAgentDeploys Plugins to a given list of agentIds.- Specified by:
deployPluginsin interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getAutoUpgradableConfig
public GetAutoUpgradableConfigResponse getAutoUpgradableConfig(GetAutoUpgradableConfigRequest request)
Description copied from interface:ManagementAgentGet the AutoUpgradable configuration for all agents in a tenancy.The supplied compartmentId must be a tenancy root.
- Specified by:
getAutoUpgradableConfigin interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getDataSource
public GetDataSourceResponse getDataSource(GetDataSourceRequest request)
Description copied from interface:ManagementAgentGet Datasource details for given Id and given Management Agent.- Specified by:
getDataSourcein interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getManagementAgent
public GetManagementAgentResponse getManagementAgent(GetManagementAgentRequest request)
Description copied from interface:ManagementAgentGets complete details of the inventory of a given agent id- Specified by:
getManagementAgentin interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getManagementAgentInstallKey
public GetManagementAgentInstallKeyResponse getManagementAgentInstallKey(GetManagementAgentInstallKeyRequest request)
Description copied from interface:ManagementAgentGets complete details of the Agent install Key for a given key id- Specified by:
getManagementAgentInstallKeyin interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getManagementAgentInstallKeyContent
public GetManagementAgentInstallKeyContentResponse getManagementAgentInstallKeyContent(GetManagementAgentInstallKeyContentRequest request)
Description copied from interface:ManagementAgentReturns a file with Management Agent install Key in it- Specified by:
getManagementAgentInstallKeyContentin interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getNamedCredential
public GetNamedCredentialResponse getNamedCredential(GetNamedCredentialRequest request)
Description copied from interface:ManagementAgentGet Named credential details for given Id and given Management Agent.- Specified by:
getNamedCredentialin interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getNamedCredentialsMetadatum
public GetNamedCredentialsMetadatumResponse getNamedCredentialsMetadatum(GetNamedCredentialsMetadatumRequest request)
Description copied from interface:ManagementAgentReturn the Metadata definition for Named Credentials supported by Management Agent.- Specified by:
getNamedCredentialsMetadatumin interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWorkRequest
public GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
Description copied from interface:ManagementAgentGets the status of the work request with the given ID.- Specified by:
getWorkRequestin interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listAvailabilityHistories
public ListAvailabilityHistoriesResponse listAvailabilityHistories(ListAvailabilityHistoriesRequest request)
Description copied from interface:ManagementAgentLists the availability history records of Management Agent- Specified by:
listAvailabilityHistoriesin interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listDataSources
public ListDataSourcesResponse listDataSources(ListDataSourcesRequest request)
Description copied from interface:ManagementAgentA list of Management Agent Data Sources for the given Management Agent Id.- Specified by:
listDataSourcesin interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listManagementAgentImages
public ListManagementAgentImagesResponse listManagementAgentImages(ListManagementAgentImagesRequest request)
Description copied from interface:ManagementAgentGet supported agent image information- Specified by:
listManagementAgentImagesin interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listManagementAgentInstallKeys
public ListManagementAgentInstallKeysResponse listManagementAgentInstallKeys(ListManagementAgentInstallKeysRequest request)
Description copied from interface:ManagementAgentReturns a list of Management Agent installed Keys.- Specified by:
listManagementAgentInstallKeysin interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listManagementAgentPlugins
public ListManagementAgentPluginsResponse listManagementAgentPlugins(ListManagementAgentPluginsRequest request)
Description copied from interface:ManagementAgentReturns a list of managementAgentPlugins.- Specified by:
listManagementAgentPluginsin interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listManagementAgents
public ListManagementAgentsResponse listManagementAgents(ListManagementAgentsRequest request)
Description copied from interface:ManagementAgentReturns a list of Management Agents.If no explicit page size limit is specified, it will default to 1000 when compartmentIdInSubtree is true and 5000 otherwise. The response is limited to maximum 1000 records when compartmentIdInSubtree is true.
- Specified by:
listManagementAgentsin interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listNamedCredentials
public ListNamedCredentialsResponse listNamedCredentials(ListNamedCredentialsRequest request)
Description copied from interface:ManagementAgentA list of Management Agent Data Sources for the given Management Agent Id.- Specified by:
listNamedCredentialsin interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequestErrors
public ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Description copied from interface:ManagementAgentReturn a (paginated) list of errors for a given work request.- Specified by:
listWorkRequestErrorsin interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequestLogs
public ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
Description copied from interface:ManagementAgentReturn a (paginated) list of logs for a given work request.- Specified by:
listWorkRequestLogsin interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequests
public ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
Description copied from interface:ManagementAgentLists the work requests in a compartment.- Specified by:
listWorkRequestsin interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
setAutoUpgradableConfig
public SetAutoUpgradableConfigResponse setAutoUpgradableConfig(SetAutoUpgradableConfigRequest request)
Description copied from interface:ManagementAgentSets the AutoUpgradable configuration for all agents in a tenancy.The supplied compartmentId must be a tenancy root.
- Specified by:
setAutoUpgradableConfigin interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
summarizeManagementAgentCounts
public SummarizeManagementAgentCountsResponse summarizeManagementAgentCounts(SummarizeManagementAgentCountsRequest request)
Description copied from interface:ManagementAgentGets count of the inventory of agents for a given compartment id, group by, and isPluginDeployed parameters.Supported groupBy parameters: availabilityStatus, platformType, version
- Specified by:
summarizeManagementAgentCountsin interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
summarizeManagementAgentPluginCounts
public SummarizeManagementAgentPluginCountsResponse summarizeManagementAgentPluginCounts(SummarizeManagementAgentPluginCountsRequest request)
Description copied from interface:ManagementAgentGets count of the inventory of management agent plugins for a given compartment id and group by parameter.Supported groupBy parameter: pluginName
- Specified by:
summarizeManagementAgentPluginCountsin interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateDataSource
public UpdateDataSourceResponse updateDataSource(UpdateDataSourceRequest request)
Description copied from interface:ManagementAgentDatasource update request to given Management Agent.- Specified by:
updateDataSourcein interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateManagementAgent
public UpdateManagementAgentResponse updateManagementAgent(UpdateManagementAgentRequest request)
Description copied from interface:ManagementAgentAPI to update the console managed properties of the Management Agent.- Specified by:
updateManagementAgentin interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateManagementAgentInstallKey
public UpdateManagementAgentInstallKeyResponse updateManagementAgentInstallKey(UpdateManagementAgentInstallKeyRequest request)
Description copied from interface:ManagementAgentAPI to update the modifiable properties of the Management Agent install key.- Specified by:
updateManagementAgentInstallKeyin interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateNamedCredential
public UpdateNamedCredentialResponse updateNamedCredential(UpdateNamedCredentialRequest request)
Description copied from interface:ManagementAgentNamed credential update request to given Management Agent.- Specified by:
updateNamedCredentialin interfaceManagementAgent- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWaiters
public ManagementAgentWaiters getWaiters()
Description copied from interface:ManagementAgentGets the pre-configured waiters available for resources for this service.- Specified by:
getWaitersin interfaceManagementAgent- Returns:
- The service waiters.
-
getPaginators
public ManagementAgentPaginators getPaginators()
Description copied from interface:ManagementAgentGets the pre-configured paginators available for list operations in this service which may return multiple pages of data.These paginators provide an
Iterableinterface so that service responses, or resources/records, can be iterated through without having to manually deal with pagination and page tokens.- Specified by:
getPaginatorsin interfaceManagementAgent- Returns:
- The service paginators.
-
getDefaultConfigurator
protected ClientConfigurator getDefaultConfigurator()
-
enableDualStackEndpoints
public void enableDualStackEndpoints(boolean enableDualStackEndpoints)
This method should be used to enable or disable the use of dual-stack endpoints.The default value is false i.e. dual-stack endpoints are disabled by default.
- Parameters:
enableDualStackEndpoints- This flag can be set to true or false to enable or disable the use of dual-stack endpoints respectively
-
getOptionsMap
public Map<String,Boolean> getOptionsMap()
Return an immutable snapshot representing the current options set for this client.- Returns:
- immutable snapshot representing the current options set for this client
-
getResolvedEndpoint
public String getResolvedEndpoint(Map<String,Object> requiredParametersMap)
Returns the endpoint after filling in the current options, as determined byBaseClient.getOptionsMap(), and then filling in the required parameters in requiredParametersMap into the placeholders in the endpoint.- Parameters:
requiredParametersMap- the map from required parameter name to their values- Returns:
- resolved endpoint, with all options and placeholders filled in
-
useRealmSpecificEndpointTemplate
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
This method should be used to enable or disable the use of realm-specific endpoint template.The default value is null. To enable the use of endpoint template defined for the realm in use, set the flag to true To disable the use of endpoint template defined for the realm in use, set the flag to false
- Parameters:
useOfRealmSpecificEndpointTemplateEnabled- This flag can be set to true or false to enable or disable the use of realm-specific endpoint template respectively
-
setEndpoint
public final void setEndpoint(String endpoint)
-
getEndpoint
public final String getEndpoint()
Get the endpoint of the client.Note that the endpoint may be parameterized and contain placeholders and options. The region subdomain and realm domain will have been properly replaced already if the endpoint was selected using a
Region.Examples of endpoints this may return:
- Unparameterized endpoints
https://identity.us-phoenix-1.oci.oraclecloud.com https://identity.us-ashburn-1.oci.oraclecloud.com https://test-namespace.objectstorage.us-ashburn-1.oci.customer-oci.com - Parameterized endpoints with placeholders
https://{namespaceName+Dot}objectstorage.us-phoenix-1.oci.customer-oci.com https://{namespaceName+Dot}objectstorage.us-ashburn-1.oci.customer-oci.com - Parameterized endpoints with options
https://{dualStack?ds.:}identity.us-phoenix-1.oci.oraclecloud.com https://{dualStack?ds.:}identity.us-ashburn-1.oci.oraclecloud.com - Parameterized endpoints with placeholders and options
https://{namespaceName+Dot}{dualStack?ds.:}objectstorage.us-phoenix-1.oci.customer-oci.com https://{namespaceName+Dot}{dualStack?ds.:}objectstorage.us-ashburn-1.oci.customer-oci.com
To get the actual endpoint for a parameterized request, you can use
BaseClient.getResolvedEndpoint(Map)orParameterizedEndpointUtil.getEndpointWithPopulatedServiceParameters(String, Map, Map).- Returns:
- the endpoint being used by the client
- Unparameterized endpoints
-
refreshClient
public final void refreshClient()
Rebuild the backingHttpClient.This will call
ClientConfigurators again, and can be used to e.g. refresh the SSL certificate.
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable
-
getClientCommonLibraryVersion
public String getClientCommonLibraryVersion()
-
-