Interface ManagedInstanceGroup
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
ManagedInstanceGroupClient
@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public interface ManagedInstanceGroup extends AutoCloseable
Use the OS Management Hub API to manage and monitor updates and patches for instances in OCI, your private data center, or 3rd-party clouds.For more information, see Overview of OS Management Hub.
This service client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER for all the operations by default if no circuit breaker configuration is defined by the user.
-
-
Method Summary
-
Methods inherited from interface java.lang.AutoCloseable
close
-
-
-
-
Method Detail
-
refreshClient
void refreshClient()
Rebuilds the client from scratch.Useful to refresh certificates.
-
setEndpoint
void setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).- Parameters:
endpoint
- The endpoint of the service.
-
getEndpoint
String getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
-
setRegion
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.- Parameters:
region
- The region of the service.
-
setRegion
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 callsetEndpoint
.- Parameters:
regionId
- The public region ID.
-
useRealmSpecificEndpointTemplate
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”
- Parameters:
realmSpecificEndpointTemplateEnabled
- flag to enable the use of realm specific endpoint template
-
attachManagedInstancesToManagedInstanceGroup
AttachManagedInstancesToManagedInstanceGroupResponse attachManagedInstancesToManagedInstanceGroup(AttachManagedInstancesToManagedInstanceGroupRequest request)
Adds managed instances to the specified managed instance group.After adding instances to the group, any operation applied to the group will be applied to all instances in the group.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- 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_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/osmanagementhub/AttachManagedInstancesToManagedInstanceGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use AttachManagedInstancesToManagedInstanceGroup API.
-
attachSoftwareSourcesToManagedInstanceGroup
AttachSoftwareSourcesToManagedInstanceGroupResponse attachSoftwareSourcesToManagedInstanceGroup(AttachSoftwareSourcesToManagedInstanceGroupRequest request)
Attaches software sources to the specified managed instance group.The software sources must be compatible with the type of instances in the group.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- 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_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/osmanagementhub/AttachSoftwareSourcesToManagedInstanceGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use AttachSoftwareSourcesToManagedInstanceGroup API.
-
changeManagedInstanceGroupCompartment
ChangeManagedInstanceGroupCompartmentResponse changeManagedInstanceGroupCompartment(ChangeManagedInstanceGroupCompartmentRequest request)
Moves the specified managed instance group to a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- 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_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/osmanagementhub/ChangeManagedInstanceGroupCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeManagedInstanceGroupCompartment API.
-
createManagedInstanceGroup
CreateManagedInstanceGroupResponse createManagedInstanceGroup(CreateManagedInstanceGroupRequest request)
Creates a new managed instance group.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- 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_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/osmanagementhub/CreateManagedInstanceGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateManagedInstanceGroup API.
-
deleteManagedInstanceGroup
DeleteManagedInstanceGroupResponse deleteManagedInstanceGroup(DeleteManagedInstanceGroupRequest request)
Deletes the specified managed instance group.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- 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_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/osmanagementhub/DeleteManagedInstanceGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteManagedInstanceGroup API.
-
detachManagedInstancesFromManagedInstanceGroup
DetachManagedInstancesFromManagedInstanceGroupResponse detachManagedInstancesFromManagedInstanceGroup(DetachManagedInstancesFromManagedInstanceGroupRequest request)
Removes a managed instance from the specified managed instance group.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- 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_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/osmanagementhub/DetachManagedInstancesFromManagedInstanceGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DetachManagedInstancesFromManagedInstanceGroup API.
-
detachSoftwareSourcesFromManagedInstanceGroup
DetachSoftwareSourcesFromManagedInstanceGroupResponse detachSoftwareSourcesFromManagedInstanceGroup(DetachSoftwareSourcesFromManagedInstanceGroupRequest request)
Detaches the specified software sources from a managed instance group.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- 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_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/osmanagementhub/DetachSoftwareSourcesFromManagedInstanceGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DetachSoftwareSourcesFromManagedInstanceGroup API.
-
disableModuleStreamOnManagedInstanceGroup
DisableModuleStreamOnManagedInstanceGroupResponse disableModuleStreamOnManagedInstanceGroup(DisableModuleStreamOnManagedInstanceGroupRequest request)
Disables a module stream on a managed instance group.After the stream is disabled, you can no longer install the profiles contained by the stream. Before removing the stream, you must remove all installed profiles for the stream by using the
removeModuleStreamProfileFromManagedInstanceGroup
operation.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- 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_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/osmanagementhub/DisableModuleStreamOnManagedInstanceGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DisableModuleStreamOnManagedInstanceGroup API.
-
enableModuleStreamOnManagedInstanceGroup
EnableModuleStreamOnManagedInstanceGroupResponse enableModuleStreamOnManagedInstanceGroup(EnableModuleStreamOnManagedInstanceGroupRequest request)
Enables a module stream on a managed instance group.After the stream is enabled, you can install a module stream profile. Enabling a stream that is already enabled will succeed. Enabling a different stream for a module that already has a stream enabled results in an error. Instead, use the
switchModuleStreamOnManagedInstanceGroup
operation.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- 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_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/osmanagementhub/EnableModuleStreamOnManagedInstanceGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use EnableModuleStreamOnManagedInstanceGroup API.
-
getManagedInstanceGroup
GetManagedInstanceGroupResponse getManagedInstanceGroup(GetManagedInstanceGroupRequest request)
Gets information about the specified managed instance group.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- 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_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/osmanagementhub/GetManagedInstanceGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetManagedInstanceGroup API.
-
installModuleStreamProfileOnManagedInstanceGroup
InstallModuleStreamProfileOnManagedInstanceGroupResponse installModuleStreamProfileOnManagedInstanceGroup(InstallModuleStreamProfileOnManagedInstanceGroupRequest request)
Installs a profile for an enabled module stream.If a module stream defines multiple profiles, you can install each one independently.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- 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_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/osmanagementhub/InstallModuleStreamProfileOnManagedInstanceGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use InstallModuleStreamProfileOnManagedInstanceGroup API.
-
installPackagesOnManagedInstanceGroup
InstallPackagesOnManagedInstanceGroupResponse installPackagesOnManagedInstanceGroup(InstallPackagesOnManagedInstanceGroupRequest request)
Installs the specified packages on each managed instance in a managed instance group.The package must be compatible with the instances in the group.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- 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_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/osmanagementhub/InstallPackagesOnManagedInstanceGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use InstallPackagesOnManagedInstanceGroup API.
-
installWindowsUpdatesOnManagedInstanceGroup
InstallWindowsUpdatesOnManagedInstanceGroupResponse installWindowsUpdatesOnManagedInstanceGroup(InstallWindowsUpdatesOnManagedInstanceGroupRequest request)
Installs Windows updates on each managed instance in the managed instance group.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- 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_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/osmanagementhub/InstallWindowsUpdatesOnManagedInstanceGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use InstallWindowsUpdatesOnManagedInstanceGroup API.
-
listManagedInstanceGroupAvailableModules
ListManagedInstanceGroupAvailableModulesResponse listManagedInstanceGroupAvailableModules(ListManagedInstanceGroupAvailableModulesRequest request)
List modules that are available for installation on the specified managed instance group.Filter the list against a variety of criteria including but not limited to module name.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- 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_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/osmanagementhub/ListManagedInstanceGroupAvailableModulesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListManagedInstanceGroupAvailableModules API.
-
listManagedInstanceGroupAvailablePackages
ListManagedInstanceGroupAvailablePackagesResponse listManagedInstanceGroupAvailablePackages(ListManagedInstanceGroupAvailablePackagesRequest request)
Lists available packages on the specified managed instances group.Filter the list against a variety of criteria including but not limited to the package name.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- 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_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/osmanagementhub/ListManagedInstanceGroupAvailablePackagesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListManagedInstanceGroupAvailablePackages API.
-
listManagedInstanceGroupAvailableSoftwareSources
ListManagedInstanceGroupAvailableSoftwareSourcesResponse listManagedInstanceGroupAvailableSoftwareSources(ListManagedInstanceGroupAvailableSoftwareSourcesRequest request)
Lists available software sources for a specified managed instance group.Filter the list against a variety of criteria including but not limited to the software source name. The results list only software sources that have not already been added to the group.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- 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_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/osmanagementhub/ListManagedInstanceGroupAvailableSoftwareSourcesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListManagedInstanceGroupAvailableSoftwareSources API.
-
listManagedInstanceGroupInstalledPackages
ListManagedInstanceGroupInstalledPackagesResponse listManagedInstanceGroupInstalledPackages(ListManagedInstanceGroupInstalledPackagesRequest request)
Lists installed packages on the specified managed instances group.Filter the list against a variety of criteria including but not limited to the package name.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- 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_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/osmanagementhub/ListManagedInstanceGroupInstalledPackagesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListManagedInstanceGroupInstalledPackages API.
-
listManagedInstanceGroupModules
ListManagedInstanceGroupModulesResponse listManagedInstanceGroupModules(ListManagedInstanceGroupModulesRequest request)
Retrieve a list of module streams, along with a summary of their status, from a managed instance group.Filters may be applied to select a subset of module streams based on the filter criteria.
The 'moduleName' attribute filters against the name of a module. It accepts strings of the format \"
\". If this attribute is defined, only streams that belong to the specified module are included in the result set. If it is not defined, the request is not subject to this filter. The \"status\" attribute filters against the state of a module stream. Valid values are \"ENABLED\", \"DISABLED\", and \"ACTIVE\". If the attribute is set to \"ENABLED\", only module streams that are enabled are included in the result set. If the attribute is set to \"DISABLED\", only module streams that are not enabled are included in the result set. If the attribute is set to \"ACTIVE\", only module streams that are active are included in the result set. If the attribute is not defined, the request is not subject to this filter.
When sorting by the display name, the result set is sorted first by the module name and then by the stream name.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- 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_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/osmanagementhub/ListManagedInstanceGroupModulesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListManagedInstanceGroupModules API.
-
listManagedInstanceGroups
ListManagedInstanceGroupsResponse listManagedInstanceGroups(ListManagedInstanceGroupsRequest request)
Lists managed instance groups that match the specified compartment or managed instance group OCID.Filter the list against a variety of criteria including but not limited to name, status, architecture, and OS family.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- 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_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/osmanagementhub/ListManagedInstanceGroupsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListManagedInstanceGroups API.
-
manageModuleStreamsOnManagedInstanceGroup
ManageModuleStreamsOnManagedInstanceGroupResponse manageModuleStreamsOnManagedInstanceGroup(ManageModuleStreamsOnManagedInstanceGroupRequest request)
Enables 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
manageModuleStreamsOnManagedInstanceGroupDetails
for 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.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- 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_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/osmanagementhub/ManageModuleStreamsOnManagedInstanceGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ManageModuleStreamsOnManagedInstanceGroup API.
-
rebootManagedInstanceGroup
RebootManagedInstanceGroupResponse rebootManagedInstanceGroup(RebootManagedInstanceGroupRequest request)
Reboots all managed instances in the specified group.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- 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_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/osmanagementhub/RebootManagedInstanceGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use RebootManagedInstanceGroup API.
-
removeModuleStreamProfileFromManagedInstanceGroup
RemoveModuleStreamProfileFromManagedInstanceGroupResponse removeModuleStreamProfileFromManagedInstanceGroup(RemoveModuleStreamProfileFromManagedInstanceGroupRequest request)
Removes a profile for a module stream that is installed on a managed instance group.Providing the module stream name (without specifying a profile name) removes all profiles that have been installed for the module stream.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- 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_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/osmanagementhub/RemoveModuleStreamProfileFromManagedInstanceGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use RemoveModuleStreamProfileFromManagedInstanceGroup API.
-
removePackagesFromManagedInstanceGroup
RemovePackagesFromManagedInstanceGroupResponse removePackagesFromManagedInstanceGroup(RemovePackagesFromManagedInstanceGroupRequest request)
Removes the specified packages from each managed instance in a managed instance group.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- 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_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/osmanagementhub/RemovePackagesFromManagedInstanceGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use RemovePackagesFromManagedInstanceGroup API.
-
switchModuleStreamOnManagedInstanceGroup
SwitchModuleStreamOnManagedInstanceGroupResponse switchModuleStreamOnManagedInstanceGroup(SwitchModuleStreamOnManagedInstanceGroupRequest request)
Enables 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.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- 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_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/osmanagementhub/SwitchModuleStreamOnManagedInstanceGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use SwitchModuleStreamOnManagedInstanceGroup API.
-
updateAllPackagesOnManagedInstanceGroup
UpdateAllPackagesOnManagedInstanceGroupResponse updateAllPackagesOnManagedInstanceGroup(UpdateAllPackagesOnManagedInstanceGroupRequest request)
Updates all packages on each managed instance in the specified managed instance group.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- 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_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/osmanagementhub/UpdateAllPackagesOnManagedInstanceGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateAllPackagesOnManagedInstanceGroup API.
-
updateManagedInstanceGroup
UpdateManagedInstanceGroupResponse updateManagedInstanceGroup(UpdateManagedInstanceGroupRequest request)
Updates the specified managed instance group’s name, description, and tags.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- 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_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/osmanagementhub/UpdateManagedInstanceGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateManagedInstanceGroup API.
-
getWaiters
ManagedInstanceGroupWaiters getWaiters()
Gets the pre-configured waiters available for resources for this service.- Returns:
- The service waiters.
-
getPaginators
ManagedInstanceGroupPaginators 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.- Returns:
- The service paginators.
-
-