Class ManagedInstanceClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseSyncClient
-
- com.oracle.bmc.osmanagementhub.ManagedInstanceClient
-
- All Implemented Interfaces:
ManagedInstance,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public class ManagedInstanceClient extends BaseSyncClient implements ManagedInstance
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManagedInstanceClient.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 ManagedInstance.
-
Constructor Summary
Constructors Constructor Description ManagedInstanceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.ManagedInstanceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.ManagedInstanceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.ManagedInstanceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.ManagedInstanceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.ManagedInstanceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.ManagedInstanceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
-
Method Summary
-
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.osmanagementhub.ManagedInstance
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
ManagedInstanceClient
@Deprecated public ManagedInstanceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeManagedInstanceClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
-
ManagedInstanceClient
@Deprecated public ManagedInstanceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeManagedInstanceClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configuration
-
ManagedInstanceClient
@Deprecated public ManagedInstanceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeManagedInstanceClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
ManagedInstanceClient
@Deprecated public ManagedInstanceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeManagedInstanceClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactory
-
ManagedInstanceClient
@Deprecated public ManagedInstanceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeManagedInstanceClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfigurators
-
ManagedInstanceClient
@Deprecated public ManagedInstanceClient(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 (seeManagedInstanceClient.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)
-
ManagedInstanceClient
@Deprecated public ManagedInstanceClient(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 (seeManagedInstanceClient.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
-
-
Method Detail
-
builder
public static ManagedInstanceClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface:ManagedInstanceSets 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 interfaceManagedInstance- Parameters:
region- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:ManagedInstanceSets 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 interfaceManagedInstance- Parameters:
regionId- The public region ID.
-
associateManagedInstancesWithManagementStation
public AssociateManagedInstancesWithManagementStationResponse associateManagedInstancesWithManagementStation(AssociateManagedInstancesWithManagementStationRequest request)
Description copied from interface:ManagedInstanceAssociates managed instances to the specified management station- Specified by:
associateManagedInstancesWithManagementStationin interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
attachProfileToManagedInstance
public AttachProfileToManagedInstanceResponse attachProfileToManagedInstance(AttachProfileToManagedInstanceRequest request)
Description copied from interface:ManagedInstanceAdds profile to a managed instance.After the profile has been added, the instance can be registered as a managed instance.
- Specified by:
attachProfileToManagedInstancein interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
attachSoftwareSourcesToManagedInstance
public AttachSoftwareSourcesToManagedInstanceResponse attachSoftwareSourcesToManagedInstance(AttachSoftwareSourcesToManagedInstanceRequest request)
Description copied from interface:ManagedInstanceAdds software sources to a managed instance.After the software source has been added, then packages from that software source can be installed on the managed instance.
- Specified by:
attachSoftwareSourcesToManagedInstancein interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteManagedInstance
public DeleteManagedInstanceResponse deleteManagedInstance(DeleteManagedInstanceRequest request)
Description copied from interface:ManagedInstanceUnregisters the specified managed instance from the service.Once unregistered, the service will no longer manage the instance. For Linux instances, yum or DNF repository files will be restored to their state prior to registration.
- Specified by:
deleteManagedInstancein interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
detachProfileFromManagedInstance
public DetachProfileFromManagedInstanceResponse detachProfileFromManagedInstance(DetachProfileFromManagedInstanceRequest request)
Description copied from interface:ManagedInstanceDetaches profile from a managed instance.After the profile has been removed, the instance cannot be registered as a managed instance.
- Specified by:
detachProfileFromManagedInstancein interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
detachSoftwareSourcesFromManagedInstance
public DetachSoftwareSourcesFromManagedInstanceResponse detachSoftwareSourcesFromManagedInstance(DetachSoftwareSourcesFromManagedInstanceRequest request)
Description copied from interface:ManagedInstanceRemoves software sources from a managed instance.Packages will no longer be able to be installed from these software sources.
- Specified by:
detachSoftwareSourcesFromManagedInstancein interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
disableModuleStreamOnManagedInstance
public DisableModuleStreamOnManagedInstanceResponse disableModuleStreamOnManagedInstance(DisableModuleStreamOnManagedInstanceRequest request)
Description copied from interface:ManagedInstanceDisables a module stream on a managed instance.After the stream is disabled, it is no longer possible to install the profiles that are contained by the stream. All installed profiles must be removed prior to disabling a module stream.
- Specified by:
disableModuleStreamOnManagedInstancein interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
enableModuleStreamOnManagedInstance
public EnableModuleStreamOnManagedInstanceResponse enableModuleStreamOnManagedInstance(EnableModuleStreamOnManagedInstanceRequest request)
Description copied from interface:ManagedInstanceEnables a module stream on a managed instance.After the stream is enabled, it is possible to install the profiles that are contained by the stream. Enabling a stream that is already enabled will succeed. Attempting to enable a different stream for a module that already has a stream enabled results in an error.
- Specified by:
enableModuleStreamOnManagedInstancein interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getManagedInstance
public GetManagedInstanceResponse getManagedInstance(GetManagedInstanceRequest request)
Description copied from interface:ManagedInstanceGets information about the specified managed instance.- Specified by:
getManagedInstancein interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWindowsUpdate
public GetWindowsUpdateResponse getWindowsUpdate(GetWindowsUpdateRequest request)
Description copied from interface:ManagedInstanceReturns a Windows Update object.- Specified by:
getWindowsUpdatein interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
installAllWindowsUpdatesOnManagedInstancesInCompartment
public InstallAllWindowsUpdatesOnManagedInstancesInCompartmentResponse installAllWindowsUpdatesOnManagedInstancesInCompartment(InstallAllWindowsUpdatesOnManagedInstancesInCompartmentRequest request)
Description copied from interface:ManagedInstanceInstalls all of the available Windows updates for managed instances in a compartment.This applies only to standalone Windows instances. This will not update instances that belong to a group.
- Specified by:
installAllWindowsUpdatesOnManagedInstancesInCompartmentin interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
installModuleStreamProfileOnManagedInstance
public InstallModuleStreamProfileOnManagedInstanceResponse installModuleStreamProfileOnManagedInstance(InstallModuleStreamProfileOnManagedInstanceRequest request)
Description copied from interface:ManagedInstanceInstalls a profile for an module stream.The stream must be enabled before a profile can be installed. If a module stream defines multiple profiles, each one can be installed independently.
- Specified by:
installModuleStreamProfileOnManagedInstancein interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
installPackagesOnManagedInstance
public InstallPackagesOnManagedInstanceResponse installPackagesOnManagedInstance(InstallPackagesOnManagedInstanceRequest request)
Description copied from interface:ManagedInstanceInstalls packages on a managed instance.- Specified by:
installPackagesOnManagedInstancein interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
installWindowsUpdatesOnManagedInstance
public InstallWindowsUpdatesOnManagedInstanceResponse installWindowsUpdatesOnManagedInstance(InstallWindowsUpdatesOnManagedInstanceRequest request)
Description copied from interface:ManagedInstanceInstalls Windows updates on the specified managed instance.- Specified by:
installWindowsUpdatesOnManagedInstancein interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listManagedInstanceAvailablePackages
public ListManagedInstanceAvailablePackagesResponse listManagedInstanceAvailablePackages(ListManagedInstanceAvailablePackagesRequest request)
Description copied from interface:ManagedInstanceReturns a list of packages that are available for installation on a managed instance.- Specified by:
listManagedInstanceAvailablePackagesin interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listManagedInstanceAvailableSoftwareSources
public ListManagedInstanceAvailableSoftwareSourcesResponse listManagedInstanceAvailableSoftwareSources(ListManagedInstanceAvailableSoftwareSourcesRequest request)
Description copied from interface:ManagedInstanceReturns a list of software sources that can be attached to the specified managed instance.Any software sources already attached to the instance are not included in the list.
- Specified by:
listManagedInstanceAvailableSoftwareSourcesin interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listManagedInstanceAvailableWindowsUpdates
public ListManagedInstanceAvailableWindowsUpdatesResponse listManagedInstanceAvailableWindowsUpdates(ListManagedInstanceAvailableWindowsUpdatesRequest request)
Description copied from interface:ManagedInstanceReturns a list of Windows updates that can be installed on the specified managed instance.- Specified by:
listManagedInstanceAvailableWindowsUpdatesin interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listManagedInstanceErrata
public ListManagedInstanceErrataResponse listManagedInstanceErrata(ListManagedInstanceErrataRequest request)
Description copied from interface:ManagedInstanceReturns a list of applicable errata on the managed instance.- Specified by:
listManagedInstanceErratain interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listManagedInstanceInstalledPackages
public ListManagedInstanceInstalledPackagesResponse listManagedInstanceInstalledPackages(ListManagedInstanceInstalledPackagesRequest request)
Description copied from interface:ManagedInstanceLists the packages that are installed on the managed instance.- Specified by:
listManagedInstanceInstalledPackagesin interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listManagedInstanceInstalledWindowsUpdates
public ListManagedInstanceInstalledWindowsUpdatesResponse listManagedInstanceInstalledWindowsUpdates(ListManagedInstanceInstalledWindowsUpdatesRequest request)
Description copied from interface:ManagedInstanceReturns a list of Windows updates that have been installed on the specified managed instance.- Specified by:
listManagedInstanceInstalledWindowsUpdatesin interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listManagedInstanceModules
public ListManagedInstanceModulesResponse listManagedInstanceModules(ListManagedInstanceModulesRequest request)
Description copied from interface:ManagedInstanceRetrieves a list of modules, along with streams of the modules, from a managed instance.Filters may be applied to select a subset of modules based on the filter criteria.
- Specified by:
listManagedInstanceModulesin interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listManagedInstanceUpdatablePackages
public ListManagedInstanceUpdatablePackagesResponse listManagedInstanceUpdatablePackages(ListManagedInstanceUpdatablePackagesRequest request)
Description copied from interface:ManagedInstanceReturns a list of updatable packages for a managed instance.- Specified by:
listManagedInstanceUpdatablePackagesin interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listManagedInstances
public ListManagedInstancesResponse listManagedInstances(ListManagedInstancesRequest request)
Description copied from interface:ManagedInstanceLists managed instances that match the specified compartment or managed instance OCID.Filter the list against a variety of criteria including but not limited to its name, status, architecture, and OS version.
- Specified by:
listManagedInstancesin interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWindowsUpdates
public ListWindowsUpdatesResponse listWindowsUpdates(ListWindowsUpdatesRequest request)
Description copied from interface:ManagedInstanceLists Windows updates that have been reported to the service.- Specified by:
listWindowsUpdatesin interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
manageModuleStreamsOnManagedInstance
public ManageModuleStreamsOnManagedInstanceResponse manageModuleStreamsOnManagedInstance(ManageModuleStreamsOnManagedInstanceRequest request)
Description copied from interface:ManagedInstanceEnables or disables module streams and installs or removes module stream profiles.Once complete, the state of the modules, streams, and profiles will match the state indicated in the operation. See
manageModuleStreamsOnManagedInstanceDetailsfor more information. You can preform this operation as a dry run. For a dry run, the service evaluates the operation against the current module, stream, and profile state on the managed instance, but does not commit the changes. Instead, the service returns work request log or error entries indicating the impact of the operation.- Specified by:
manageModuleStreamsOnManagedInstancein interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
rebootManagedInstance
public RebootManagedInstanceResponse rebootManagedInstance(RebootManagedInstanceRequest request)
Description copied from interface:ManagedInstanceInitiates a reboot of the specified managed instance.You can also specify the number of minutes the service waits before marking the reboot operation as failed.
- Specified by:
rebootManagedInstancein interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
refreshSoftwareOnManagedInstance
public RefreshSoftwareOnManagedInstanceResponse refreshSoftwareOnManagedInstance(RefreshSoftwareOnManagedInstanceRequest request)
Description copied from interface:ManagedInstanceRefreshes the package or Windows update information on a managed instance with the latest data from the software source.This does not update packages on the instance. It provides the service with the latest package data.
- Specified by:
refreshSoftwareOnManagedInstancein interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
removeModuleStreamProfileFromManagedInstance
public RemoveModuleStreamProfileFromManagedInstanceResponse removeModuleStreamProfileFromManagedInstance(RemoveModuleStreamProfileFromManagedInstanceRequest request)
Description copied from interface:ManagedInstanceRemoves a profile for a module stream that is installed on a managed instance.If a module stream is provided, rather than a fully qualified profile, all profiles that have been installed for the module stream will be removed.
- Specified by:
removeModuleStreamProfileFromManagedInstancein interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
removePackagesFromManagedInstance
public RemovePackagesFromManagedInstanceResponse removePackagesFromManagedInstance(RemovePackagesFromManagedInstanceRequest request)
Description copied from interface:ManagedInstanceRemoves an installed package from a managed instance.- Specified by:
removePackagesFromManagedInstancein interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
switchModuleStreamOnManagedInstance
public SwitchModuleStreamOnManagedInstanceResponse switchModuleStreamOnManagedInstance(SwitchModuleStreamOnManagedInstanceRequest request)
Description copied from interface:ManagedInstanceEnables a new stream for a module that already has a stream enabled.If any profiles or packages from the original module are installed, switching to a new stream will remove the existing packages and install their counterparts in the new stream.
- Specified by:
switchModuleStreamOnManagedInstancein interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateAllPackagesOnManagedInstancesInCompartment
public UpdateAllPackagesOnManagedInstancesInCompartmentResponse updateAllPackagesOnManagedInstancesInCompartment(UpdateAllPackagesOnManagedInstancesInCompartmentRequest request)
Description copied from interface:ManagedInstanceInstall all of the available package updates for all of the managed instances in a compartment.This applies only to standalone non-Windows instances. This will not update instances that belong to a group or lifecycle environment.
- Specified by:
updateAllPackagesOnManagedInstancesInCompartmentin interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateManagedInstance
public UpdateManagedInstanceResponse updateManagedInstance(UpdateManagedInstanceRequest request)
Description copied from interface:ManagedInstanceUpdates the specified managed instance information, such as description, ONS topic, and associated management station.- Specified by:
updateManagedInstancein interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updatePackagesOnManagedInstance
public UpdatePackagesOnManagedInstanceResponse updatePackagesOnManagedInstance(UpdatePackagesOnManagedInstanceRequest request)
Description copied from interface:ManagedInstanceUpdates a package on a managed instance.- Specified by:
updatePackagesOnManagedInstancein interfaceManagedInstance- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getPaginators
public ManagedInstancePaginators getPaginators()
Description copied from interface:ManagedInstanceGets 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 interfaceManagedInstance- Returns:
- The service paginators.
-
getDefaultConfigurator
protected ClientConfigurator getDefaultConfigurator()
-
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
-
populateServiceParametersInEndpoint
public final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
Populate the parameters in the endpoint with its corresponding value and update the base endpoint.The value will be populated iff the parameter in endpoint is a required request path parameter or a required request query parameter. If not, the parameter in the endpoint will be ignored and left blank.
- Parameters:
endpoint- The endpoint template in userequiredParametersMap- Map of parameter name as key and value set in request path or query parameter as value
-
updateBaseEndpoint
public final void updateBaseEndpoint(String endpoint)
This method should be used for parameterized endpoint templates only.This does not include {region} and {secondLevelDomain} parameters.
- Parameters:
endpoint- The updated endpoint to use
-
setEndpoint
public final void setEndpoint(String endpoint)
-
getEndpoint
public final String getEndpoint()
-
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()
-
-