@Generated(value="OracleSDKGenerator", comments="API Version: 20190801") public interface OsManagement extends AutoCloseable
close
void setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
endpoint
- The endpoint of the service.void setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).
Note, this will call setEndpoint
after resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.
region
- The region of the service.void setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).
Note, this will first try to map the region ID to a known Region and call setRegion
.
If no known Region could be determined, it will create an endpoint based on the default endpoint format (Region.formatDefaultRegionEndpoint(Service, String)
and then call setEndpoint
.
regionId
- The public region ID.AddPackagesToSoftwareSourceResponse addPackagesToSoftwareSource(AddPackagesToSoftwareSourceRequest request)
Adds a given list of Software Packages to a specific Software Source.
request
- The request object containing the details to sendBmcException
- when an error occurs.AttachChildSoftwareSourceToManagedInstanceResponse attachChildSoftwareSourceToManagedInstance(AttachChildSoftwareSourceToManagedInstanceRequest request)
Adds a child software source to a managed instance. After the software source has been added, then packages from that software source can be installed on the managed instance.
request
- The request object containing the details to sendBmcException
- when an error occurs.AttachManagedInstanceToManagedInstanceGroupResponse attachManagedInstanceToManagedInstanceGroup(AttachManagedInstanceToManagedInstanceGroupRequest request)
Adds a Managed Instance to a Managed Instance Group. After the Managed Instance has been added, then operations can be performed on the Managed Instance Group which will then apply to all Managed Instances in the group.
request
- The request object containing the details to sendBmcException
- when an error occurs.AttachParentSoftwareSourceToManagedInstanceResponse attachParentSoftwareSourceToManagedInstance(AttachParentSoftwareSourceToManagedInstanceRequest request)
Adds a parent software source to a managed instance. After the software source has been added, then packages from that software source can be installed on the managed instance. Software sources that have this software source as a parent will be able to be added to this managed instance.
request
- The request object containing the details to sendBmcException
- when an error occurs.ChangeManagedInstanceGroupCompartmentResponse changeManagedInstanceGroupCompartment(ChangeManagedInstanceGroupCompartmentRequest request)
Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.
request
- The request object containing the details to sendBmcException
- when an error occurs.ChangeScheduledJobCompartmentResponse changeScheduledJobCompartment(ChangeScheduledJobCompartmentRequest request)
Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.
request
- The request object containing the details to sendBmcException
- when an error occurs.ChangeSoftwareSourceCompartmentResponse changeSoftwareSourceCompartment(ChangeSoftwareSourceCompartmentRequest request)
Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.
request
- The request object containing the details to sendBmcException
- when an error occurs.CreateManagedInstanceGroupResponse createManagedInstanceGroup(CreateManagedInstanceGroupRequest request)
Creates a new Managed Instance Group on the management system. This will not contain any managed instances after it is first created, and they must be added later.
request
- The request object containing the details to sendBmcException
- when an error occurs.CreateScheduledJobResponse createScheduledJob(CreateScheduledJobRequest request)
Creates a new Scheduled Job to perform a specific package operation on a set of managed instances or managed instance groups. Can be created as a one-time execution in the future, or as a recurring execution that repeats on a defined interval.
request
- The request object containing the details to sendBmcException
- when an error occurs.CreateSoftwareSourceResponse createSoftwareSource(CreateSoftwareSourceRequest request)
Creates a new custom Software Source on the management system. This will not contain any packages after it is first created, and they must be added later.
request
- The request object containing the details to sendBmcException
- when an error occurs.DeleteManagedInstanceGroupResponse deleteManagedInstanceGroup(DeleteManagedInstanceGroupRequest request)
Deletes a Managed Instance Group from the management system
request
- The request object containing the details to sendBmcException
- when an error occurs.DeleteScheduledJobResponse deleteScheduledJob(DeleteScheduledJobRequest request)
Cancels an existing Scheduled Job on the management system
request
- The request object containing the details to sendBmcException
- when an error occurs.DeleteSoftwareSourceResponse deleteSoftwareSource(DeleteSoftwareSourceRequest request)
Deletes a custom Software Source on the management system
request
- The request object containing the details to sendBmcException
- when an error occurs.DetachChildSoftwareSourceFromManagedInstanceResponse detachChildSoftwareSourceFromManagedInstance(DetachChildSoftwareSourceFromManagedInstanceRequest request)
Removes a child software source from a managed instance. Packages will no longer be able to be installed from these software sources.
request
- The request object containing the details to sendBmcException
- when an error occurs.DetachManagedInstanceFromManagedInstanceGroupResponse detachManagedInstanceFromManagedInstanceGroup(DetachManagedInstanceFromManagedInstanceGroupRequest request)
Removes a Managed Instance from a Managed Instance Group.
request
- The request object containing the details to sendBmcException
- when an error occurs.DetachParentSoftwareSourceFromManagedInstanceResponse detachParentSoftwareSourceFromManagedInstance(DetachParentSoftwareSourceFromManagedInstanceRequest request)
Removes a software source from a managed instance. All child software sources will also be removed from the managed instance. Packages will no longer be able to be installed from these software sources.
request
- The request object containing the details to sendBmcException
- when an error occurs.GetErratumResponse getErratum(GetErratumRequest request)
Returns a specific erratum.
request
- The request object containing the details to sendBmcException
- when an error occurs.GetManagedInstanceResponse getManagedInstance(GetManagedInstanceRequest request)
Returns a specific Managed Instance.
request
- The request object containing the details to sendBmcException
- when an error occurs.GetManagedInstanceGroupResponse getManagedInstanceGroup(GetManagedInstanceGroupRequest request)
Returns a specific Managed Instance Group.
request
- The request object containing the details to sendBmcException
- when an error occurs.GetScheduledJobResponse getScheduledJob(GetScheduledJobRequest request)
Gets the detailed information for the Scheduled Job with the given ID.
request
- The request object containing the details to sendBmcException
- when an error occurs.GetSoftwarePackageResponse getSoftwarePackage(GetSoftwarePackageRequest request)
Returns a specific Software Package.
request
- The request object containing the details to sendBmcException
- when an error occurs.GetSoftwareSourceResponse getSoftwareSource(GetSoftwareSourceRequest request)
Returns a specific Software Source.
request
- The request object containing the details to sendBmcException
- when an error occurs.GetWindowsUpdateResponse getWindowsUpdate(GetWindowsUpdateRequest request)
Returns a Windows Update object.
request
- The request object containing the details to sendBmcException
- when an error occurs.GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
Gets the detailed information for the work request with the given ID.
request
- The request object containing the details to sendBmcException
- when an error occurs.InstallAllPackageUpdatesOnManagedInstanceResponse installAllPackageUpdatesOnManagedInstance(InstallAllPackageUpdatesOnManagedInstanceRequest request)
Install all of the available package updates for the managed instance.
request
- The request object containing the details to sendBmcException
- when an error occurs.InstallAllWindowsUpdatesOnManagedInstanceResponse installAllWindowsUpdatesOnManagedInstance(InstallAllWindowsUpdatesOnManagedInstanceRequest request)
Install all of the available Windows updates for the managed instance.
request
- The request object containing the details to sendBmcException
- when an error occurs.InstallPackageOnManagedInstanceResponse installPackageOnManagedInstance(InstallPackageOnManagedInstanceRequest request)
Installs a package on a managed instance.
request
- The request object containing the details to sendBmcException
- when an error occurs.InstallPackageUpdateOnManagedInstanceResponse installPackageUpdateOnManagedInstance(InstallPackageUpdateOnManagedInstanceRequest request)
Updates a package on a managed instance.
request
- The request object containing the details to sendBmcException
- when an error occurs.InstallWindowsUpdateOnManagedInstanceResponse installWindowsUpdateOnManagedInstance(InstallWindowsUpdateOnManagedInstanceRequest request)
Installs a Windows update on a managed instance.
request
- The request object containing the details to sendBmcException
- when an error occurs.ListAvailablePackagesForManagedInstanceResponse listAvailablePackagesForManagedInstance(ListAvailablePackagesForManagedInstanceRequest request)
Returns a list of packages available for install on the Managed Instance.
request
- The request object containing the details to sendBmcException
- when an error occurs.ListAvailableSoftwareSourcesForManagedInstanceResponse listAvailableSoftwareSourcesForManagedInstance(ListAvailableSoftwareSourcesForManagedInstanceRequest request)
Returns a list of available software sources for a Managed Instance.
request
- The request object containing the details to sendBmcException
- when an error occurs.ListAvailableUpdatesForManagedInstanceResponse listAvailableUpdatesForManagedInstance(ListAvailableUpdatesForManagedInstanceRequest request)
Returns a list of available updates for a Managed Instance.
request
- The request object containing the details to sendBmcException
- when an error occurs.ListAvailableWindowsUpdatesForManagedInstanceResponse listAvailableWindowsUpdatesForManagedInstance(ListAvailableWindowsUpdatesForManagedInstanceRequest request)
Returns a list of available Windows updates for a Managed Instance. This is only applicable to Windows instances.
request
- The request object containing the details to sendBmcException
- when an error occurs.ListManagedInstanceGroupsResponse listManagedInstanceGroups(ListManagedInstanceGroupsRequest request)
Returns a list of all Managed Instance Groups.
request
- The request object containing the details to sendBmcException
- when an error occurs.ListManagedInstancesResponse listManagedInstances(ListManagedInstancesRequest request)
Returns a list of all Managed Instances.
request
- The request object containing the details to sendBmcException
- when an error occurs.ListPackagesInstalledOnManagedInstanceResponse listPackagesInstalledOnManagedInstance(ListPackagesInstalledOnManagedInstanceRequest request)
Returns a list of installed packages on the Managed Instance.
request
- The request object containing the details to sendBmcException
- when an error occurs.ListScheduledJobsResponse listScheduledJobs(ListScheduledJobsRequest request)
Returns a list of all of the currently active Scheduled Jobs in the system
request
- The request object containing the details to sendBmcException
- when an error occurs.ListSoftwareSourcePackagesResponse listSoftwareSourcePackages(ListSoftwareSourcePackagesRequest request)
Lists Software Packages in a Software Source
request
- The request object containing the details to sendBmcException
- when an error occurs.ListSoftwareSourcesResponse listSoftwareSources(ListSoftwareSourcesRequest request)
Returns a list of all Software Sources.
request
- The request object containing the details to sendBmcException
- when an error occurs.ListUpcomingScheduledJobsResponse listUpcomingScheduledJobs(ListUpcomingScheduledJobsRequest request)
Returns a list of all of the Scheduled Jobs whose next execution time is at or before the specified time.
request
- The request object containing the details to sendBmcException
- when an error occurs.ListWindowsUpdatesResponse listWindowsUpdates(ListWindowsUpdatesRequest request)
Returns a list of Windows Updates.
request
- The request object containing the details to sendBmcException
- when an error occurs.ListWindowsUpdatesInstalledOnManagedInstanceResponse listWindowsUpdatesInstalledOnManagedInstance(ListWindowsUpdatesInstalledOnManagedInstanceRequest request)
Returns a list of installed Windows updates for a Managed Instance. This is only applicable to Windows instances.
request
- The request object containing the details to sendBmcException
- when an error occurs.ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Gets the errors for the work request with the given ID.
request
- The request object containing the details to sendBmcException
- when an error occurs.ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
Lists the log entries for the work request with the given ID.
request
- The request object containing the details to sendBmcException
- when an error occurs.ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
Lists the work requests in a compartment.
request
- The request object containing the details to sendBmcException
- when an error occurs.RemovePackageFromManagedInstanceResponse removePackageFromManagedInstance(RemovePackageFromManagedInstanceRequest request)
Removes an installed package from a managed instance.
request
- The request object containing the details to sendBmcException
- when an error occurs.RemovePackagesFromSoftwareSourceResponse removePackagesFromSoftwareSource(RemovePackagesFromSoftwareSourceRequest request)
Removes a given list of Software Packages from a specific Software Source.
request
- The request object containing the details to sendBmcException
- when an error occurs.RunScheduledJobNowResponse runScheduledJobNow(RunScheduledJobNowRequest request)
This will trigger an already created Scheduled Job to being executing immediately instead of waiting for its next regularly scheduled time.
request
- The request object containing the details to sendBmcException
- when an error occurs.SearchSoftwarePackagesResponse searchSoftwarePackages(SearchSoftwarePackagesRequest request)
Searches all of the available Software Sources and returns any/all Software Packages matching the search criteria.
request
- The request object containing the details to sendBmcException
- when an error occurs.SkipNextScheduledJobExecutionResponse skipNextScheduledJobExecution(SkipNextScheduledJobExecutionRequest request)
This will force an already created Scheduled Job to skip its next regularly scheduled execution
request
- The request object containing the details to sendBmcException
- when an error occurs.UpdateManagedInstanceGroupResponse updateManagedInstanceGroup(UpdateManagedInstanceGroupRequest request)
Updates a specific Managed Instance Group.
request
- The request object containing the details to sendBmcException
- when an error occurs.UpdateScheduledJobResponse updateScheduledJob(UpdateScheduledJobRequest request)
Updates an existing Scheduled Job on the management system.
request
- The request object containing the details to sendBmcException
- when an error occurs.UpdateSoftwareSourceResponse updateSoftwareSource(UpdateSoftwareSourceRequest request)
Updates an existing custom Software Source on the management system.
request
- The request object containing the details to sendBmcException
- when an error occurs.OsManagementWaiters getWaiters()
Gets the pre-configured waiters available for resources for this service.
OsManagementPaginators getPaginators()
Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data. These paginators provide an Iterable
interface so that service responses, or resources/records, can be iterated through without having to manually deal with pagination and page tokens.
Copyright © 2016–2020. All rights reserved.