@Generated(value="OracleSDKGenerator", comments="API Version: 20190801") public class OsManagementClient extends Object implements OsManagement
| Modifier and Type | Class and Description |
|---|---|
static class |
OsManagementClient.Builder
Builder class for this client.
|
| Modifier and Type | Field and Description |
|---|---|
static Service |
SERVICE
Service instance for OsManagement.
|
| Modifier | Constructor and Description |
|---|---|
|
OsManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Creates a new service instance using the given authentication provider and client configuration.
|
|
OsManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Creates a new service instance using the given authentication provider and client configuration.
|
|
OsManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Creates a new service instance using the given authentication provider and client configuration.
|
|
OsManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Creates a new service instance using the given authentication provider and client configuration.
|
|
OsManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint,
ExecutorService executorService)
Creates a new service instance using the given authentication provider and client configuration.
|
protected |
OsManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint,
ExecutorService executorService,
RestClientFactoryBuilder restClientFactoryBuilder)
Creates a new service instance using the given authentication provider and client configuration.
|
|
OsManagementClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Creates a new service instance using the given authentication provider.
|
|
OsManagementClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Creates a new service instance using the given authentication provider and client configuration.
|
|
OsManagementClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Creates a new service instance using the given authentication provider and client configuration.
|
public static final Service SERVICE
Service instance for OsManagement.
public OsManagementClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Creates a new service instance using the given authentication provider.
authenticationDetailsProvider - The authentication details provider, required.public OsManagementClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Creates a new service instance using the given authentication provider and client configuration.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.public OsManagementClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.public OsManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.public OsManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.additionalClientConfigurators - Additional client configurators to be run after the primary configurator.public OsManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.additionalClientConfigurators - Additional client configurators to be run after the primary configurator.endpoint - Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider)public OsManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.signingStrategyRequestSignerFactories - The request signer factories for each signing strategy used to create the request signeradditionalClientConfigurators - Additional client configurators to be run after the primary configurator.endpoint - Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider)public OsManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.signingStrategyRequestSignerFactories - The request signer factories for each signing strategy used to create the request signeradditionalClientConfigurators - Additional client configurators to be run after the primary configurator.endpoint - Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider)executorService - ExecutorService used by the client, or null to use the default configured ThreadPoolExecutorprotected OsManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService, RestClientFactoryBuilder restClientFactoryBuilder)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
Use the OsManagementClient.Builder to get access to all these parameters.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.signingStrategyRequestSignerFactories - The request signer factories for each signing strategy used to create the request signeradditionalClientConfigurators - Additional client configurators to be run after the primary configurator.endpoint - Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider)executorService - ExecutorService used by the client, or null to use the default configured ThreadPoolExecutorrestClientFactoryBuilder - the builder for the RestClientFactorypublic static OsManagementClient.Builder builder()
Create a builder for this client.
public void refreshClient()
OsManagementRebuilds the client from scratch. Useful to refresh certificates.
refreshClient in interface OsManagementpublic void setEndpoint(String endpoint)
OsManagementSets the endpoint to call (ex, https://www.example.com).
setEndpoint in interface OsManagementendpoint - The endpoint of the service.public String getEndpoint()
OsManagementGets the set endpoint for REST call (ex, https://www.example.com)
getEndpoint in interface OsManagementpublic void setRegion(Region region)
OsManagementSets 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.
setRegion in interface OsManagementregion - The region of the service.public void setRegion(String regionId)
OsManagementSets 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.
setRegion in interface OsManagementregionId - The public region ID.public void close()
close in interface AutoCloseablepublic AddPackagesToSoftwareSourceResponse addPackagesToSoftwareSource(AddPackagesToSoftwareSourceRequest request)
OsManagementAdds a given list of Software Packages to a specific Software Source.
addPackagesToSoftwareSource in interface OsManagementrequest - The request object containing the details to sendpublic AttachChildSoftwareSourceToManagedInstanceResponse attachChildSoftwareSourceToManagedInstance(AttachChildSoftwareSourceToManagedInstanceRequest request)
OsManagementAdds 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.
attachChildSoftwareSourceToManagedInstance in interface OsManagementrequest - The request object containing the details to sendpublic AttachManagedInstanceToManagedInstanceGroupResponse attachManagedInstanceToManagedInstanceGroup(AttachManagedInstanceToManagedInstanceGroupRequest request)
OsManagementAdds 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.
attachManagedInstanceToManagedInstanceGroup in interface OsManagementrequest - The request object containing the details to sendpublic AttachParentSoftwareSourceToManagedInstanceResponse attachParentSoftwareSourceToManagedInstance(AttachParentSoftwareSourceToManagedInstanceRequest request)
OsManagementAdds 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.
attachParentSoftwareSourceToManagedInstance in interface OsManagementrequest - The request object containing the details to sendpublic ChangeManagedInstanceGroupCompartmentResponse changeManagedInstanceGroupCompartment(ChangeManagedInstanceGroupCompartmentRequest request)
OsManagementMoves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.
changeManagedInstanceGroupCompartment in interface OsManagementrequest - The request object containing the details to sendpublic ChangeScheduledJobCompartmentResponse changeScheduledJobCompartment(ChangeScheduledJobCompartmentRequest request)
OsManagementMoves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.
changeScheduledJobCompartment in interface OsManagementrequest - The request object containing the details to sendpublic ChangeSoftwareSourceCompartmentResponse changeSoftwareSourceCompartment(ChangeSoftwareSourceCompartmentRequest request)
OsManagementMoves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.
changeSoftwareSourceCompartment in interface OsManagementrequest - The request object containing the details to sendpublic CreateManagedInstanceGroupResponse createManagedInstanceGroup(CreateManagedInstanceGroupRequest request)
OsManagementCreates 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.
createManagedInstanceGroup in interface OsManagementrequest - The request object containing the details to sendpublic CreateScheduledJobResponse createScheduledJob(CreateScheduledJobRequest request)
OsManagementCreates 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.
createScheduledJob in interface OsManagementrequest - The request object containing the details to sendpublic CreateSoftwareSourceResponse createSoftwareSource(CreateSoftwareSourceRequest request)
OsManagementCreates 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.
createSoftwareSource in interface OsManagementrequest - The request object containing the details to sendpublic DeleteManagedInstanceGroupResponse deleteManagedInstanceGroup(DeleteManagedInstanceGroupRequest request)
OsManagementDeletes a Managed Instance Group from the management system
deleteManagedInstanceGroup in interface OsManagementrequest - The request object containing the details to sendpublic DeleteScheduledJobResponse deleteScheduledJob(DeleteScheduledJobRequest request)
OsManagementCancels an existing Scheduled Job on the management system
deleteScheduledJob in interface OsManagementrequest - The request object containing the details to sendpublic DeleteSoftwareSourceResponse deleteSoftwareSource(DeleteSoftwareSourceRequest request)
OsManagementDeletes a custom Software Source on the management system
deleteSoftwareSource in interface OsManagementrequest - The request object containing the details to sendpublic DetachChildSoftwareSourceFromManagedInstanceResponse detachChildSoftwareSourceFromManagedInstance(DetachChildSoftwareSourceFromManagedInstanceRequest request)
OsManagementRemoves a child software source from a managed instance. Packages will no longer be able to be installed from these software sources.
detachChildSoftwareSourceFromManagedInstance in interface OsManagementrequest - The request object containing the details to sendpublic DetachManagedInstanceFromManagedInstanceGroupResponse detachManagedInstanceFromManagedInstanceGroup(DetachManagedInstanceFromManagedInstanceGroupRequest request)
OsManagementRemoves a Managed Instance from a Managed Instance Group.
detachManagedInstanceFromManagedInstanceGroup in interface OsManagementrequest - The request object containing the details to sendpublic DetachParentSoftwareSourceFromManagedInstanceResponse detachParentSoftwareSourceFromManagedInstance(DetachParentSoftwareSourceFromManagedInstanceRequest request)
OsManagementRemoves 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.
detachParentSoftwareSourceFromManagedInstance in interface OsManagementrequest - The request object containing the details to sendpublic DisableModuleStreamOnManagedInstanceResponse disableModuleStreamOnManagedInstance(DisableModuleStreamOnManagedInstanceRequest request)
OsManagementDisables 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.
disableModuleStreamOnManagedInstance in interface OsManagementrequest - The request object containing the details to sendpublic EnableModuleStreamOnManagedInstanceResponse enableModuleStreamOnManagedInstance(EnableModuleStreamOnManagedInstanceRequest request)
OsManagementEnables 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.
enableModuleStreamOnManagedInstance in interface OsManagementrequest - The request object containing the details to sendpublic GetErratumResponse getErratum(GetErratumRequest request)
OsManagementReturns a specific erratum.
getErratum in interface OsManagementrequest - The request object containing the details to sendpublic GetManagedInstanceResponse getManagedInstance(GetManagedInstanceRequest request)
OsManagementReturns a specific Managed Instance.
getManagedInstance in interface OsManagementrequest - The request object containing the details to sendpublic GetManagedInstanceGroupResponse getManagedInstanceGroup(GetManagedInstanceGroupRequest request)
OsManagementReturns a specific Managed Instance Group.
getManagedInstanceGroup in interface OsManagementrequest - The request object containing the details to sendpublic GetModuleStreamResponse getModuleStream(GetModuleStreamRequest request)
OsManagementRetrieve a detailed description of a module stream from a software source.
getModuleStream in interface OsManagementrequest - The request object containing the details to sendpublic GetModuleStreamProfileResponse getModuleStreamProfile(GetModuleStreamProfileRequest request)
OsManagementRetrieve a detailed description of a module stream profile from a software source.
getModuleStreamProfile in interface OsManagementrequest - The request object containing the details to sendpublic GetScheduledJobResponse getScheduledJob(GetScheduledJobRequest request)
OsManagementGets the detailed information for the Scheduled Job with the given ID.
getScheduledJob in interface OsManagementrequest - The request object containing the details to sendpublic GetSoftwarePackageResponse getSoftwarePackage(GetSoftwarePackageRequest request)
OsManagementReturns a specific Software Package.
getSoftwarePackage in interface OsManagementrequest - The request object containing the details to sendpublic GetSoftwareSourceResponse getSoftwareSource(GetSoftwareSourceRequest request)
OsManagementReturns a specific Software Source.
getSoftwareSource in interface OsManagementrequest - The request object containing the details to sendpublic GetWindowsUpdateResponse getWindowsUpdate(GetWindowsUpdateRequest request)
OsManagementReturns a Windows Update object.
getWindowsUpdate in interface OsManagementrequest - The request object containing the details to sendpublic GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
OsManagementGets the detailed information for the work request with the given ID.
getWorkRequest in interface OsManagementrequest - The request object containing the details to sendpublic InstallAllPackageUpdatesOnManagedInstanceResponse installAllPackageUpdatesOnManagedInstance(InstallAllPackageUpdatesOnManagedInstanceRequest request)
OsManagementInstall all of the available package updates for the managed instance.
installAllPackageUpdatesOnManagedInstance in interface OsManagementrequest - The request object containing the details to sendpublic InstallAllUpdatesOnManagedInstanceGroupResponse installAllUpdatesOnManagedInstanceGroup(InstallAllUpdatesOnManagedInstanceGroupRequest request)
OsManagementInstall all of the available updates for the Managed Instance Group.
installAllUpdatesOnManagedInstanceGroup in interface OsManagementrequest - The request object containing the details to sendpublic InstallAllWindowsUpdatesOnManagedInstanceResponse installAllWindowsUpdatesOnManagedInstance(InstallAllWindowsUpdatesOnManagedInstanceRequest request)
OsManagementInstall all of the available Windows updates for the managed instance.
installAllWindowsUpdatesOnManagedInstance in interface OsManagementrequest - The request object containing the details to sendpublic InstallModuleStreamProfileOnManagedInstanceResponse installModuleStreamProfileOnManagedInstance(InstallModuleStreamProfileOnManagedInstanceRequest request)
OsManagementInstalls 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.
installModuleStreamProfileOnManagedInstance in interface OsManagementrequest - The request object containing the details to sendpublic InstallPackageOnManagedInstanceResponse installPackageOnManagedInstance(InstallPackageOnManagedInstanceRequest request)
OsManagementInstalls a package on a managed instance.
installPackageOnManagedInstance in interface OsManagementrequest - The request object containing the details to sendpublic InstallPackageUpdateOnManagedInstanceResponse installPackageUpdateOnManagedInstance(InstallPackageUpdateOnManagedInstanceRequest request)
OsManagementUpdates a package on a managed instance.
installPackageUpdateOnManagedInstance in interface OsManagementrequest - The request object containing the details to sendpublic InstallWindowsUpdateOnManagedInstanceResponse installWindowsUpdateOnManagedInstance(InstallWindowsUpdateOnManagedInstanceRequest request)
OsManagementInstalls a Windows update on a managed instance.
installWindowsUpdateOnManagedInstance in interface OsManagementrequest - The request object containing the details to sendpublic ListAvailablePackagesForManagedInstanceResponse listAvailablePackagesForManagedInstance(ListAvailablePackagesForManagedInstanceRequest request)
OsManagementReturns a list of packages available for install on the Managed Instance.
listAvailablePackagesForManagedInstance in interface OsManagementrequest - The request object containing the details to sendpublic ListAvailableSoftwareSourcesForManagedInstanceResponse listAvailableSoftwareSourcesForManagedInstance(ListAvailableSoftwareSourcesForManagedInstanceRequest request)
OsManagementReturns a list of available software sources for a Managed Instance.
listAvailableSoftwareSourcesForManagedInstance in interface OsManagementrequest - The request object containing the details to sendpublic ListAvailableUpdatesForManagedInstanceResponse listAvailableUpdatesForManagedInstance(ListAvailableUpdatesForManagedInstanceRequest request)
OsManagementReturns a list of available updates for a Managed Instance.
listAvailableUpdatesForManagedInstance in interface OsManagementrequest - The request object containing the details to sendpublic ListAvailableWindowsUpdatesForManagedInstanceResponse listAvailableWindowsUpdatesForManagedInstance(ListAvailableWindowsUpdatesForManagedInstanceRequest request)
OsManagementReturns a list of available Windows updates for a Managed Instance. This is only applicable to Windows instances.
listAvailableWindowsUpdatesForManagedInstance in interface OsManagementrequest - The request object containing the details to sendpublic ListErrataResponse listErrata(ListErrataRequest request)
OsManagementReturns a list of all of the currently available Errata in the system
listErrata in interface OsManagementrequest - The request object containing the details to sendpublic ListManagedInstanceErrataResponse listManagedInstanceErrata(ListManagedInstanceErrataRequest request)
OsManagementReturns a list of errata relevant to the Managed Instance.
listManagedInstanceErrata in interface OsManagementrequest - The request object containing the details to sendpublic ListManagedInstanceGroupsResponse listManagedInstanceGroups(ListManagedInstanceGroupsRequest request)
OsManagementReturns a list of all Managed Instance Groups.
listManagedInstanceGroups in interface OsManagementrequest - The request object containing the details to sendpublic ListManagedInstancesResponse listManagedInstances(ListManagedInstancesRequest request)
OsManagementReturns a list of all Managed Instances.
listManagedInstances in interface OsManagementrequest - The request object containing the details to sendpublic ListModuleStreamProfilesResponse listModuleStreamProfiles(ListModuleStreamProfilesRequest request)
OsManagementRetrieve a list of module stream profiles from a software source. Filters may be applied to select a subset of module stream profiles based on the filter criteria.
The \"moduleName\", \"streamName\", and \"profileName\" attributes combine to form a set of filters on the list of module stream profiles. If a \"moduleName\" is provided, only profiles that belong to that module are returned. If both a \"moduleName\" and \"streamName\" are given, only profiles belonging to that module stream are returned. Finally, if all three are given then only the particular profile indicated by the triple is returned. It is not valid to supply a \"streamName\" without a \"moduleName\". It is also not valid to supply a \"profileName\" without a \"streamName\".
listModuleStreamProfiles in interface OsManagementrequest - The request object containing the details to sendpublic ListModuleStreamProfilesOnManagedInstanceResponse listModuleStreamProfilesOnManagedInstance(ListModuleStreamProfilesOnManagedInstanceRequest request)
OsManagementRetrieve a list of module stream profiles, along with a summary of their of their status, from a managed instance. Filters may be applied to select a subset of profiles based on the filter criteria.
The \"moduleName\", \"streamName\", and \"profileName\" attributes combine to form a set of filters on the list of module stream profiles. If a \"modulName\" is provided, only profiles that belong to that module are returned. If both a \"moduleName\" and \"streamName\" are given, only profiles belonging to that module stream are returned. Finally, if all three are given then only the particular profile indicated by the triple is returned. It is not valid to supply a \"streamName\" without a \"moduleName\". It is also not valid to supply a \"profileName\" without a \"streamName\".
The \"status\" attribute filters against the state of a module stream profile. Valid values are \"INSTALLED\" and \"AVAILABLE\". If the attribute is set to \"INSTALLED\", only module stream profiles that are installed are included in the result set. If the attribute is set to \"AVAILABLE\", only module stream profiles that are not installed are included in the result set. If the attribute is not defined, the request is not subject to this filter.
When sorting by display name, the result set is sorted first by module name, then by stream name, and finally by profile name.
listModuleStreamProfilesOnManagedInstance in interface OsManagementrequest - The request object containing the details to sendpublic ListModuleStreamsResponse listModuleStreams(ListModuleStreamsRequest request)
OsManagementRetrieve a list of module streams from a software source. 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 \"
When sorting by display name, the result set is sorted first by
module name, then by stream name.
listModuleStreams in interface OsManagementrequest - The request object containing the details to sendpublic ListModuleStreamsOnManagedInstanceResponse listModuleStreamsOnManagedInstance(ListModuleStreamsOnManagedInstanceRequest request)
OsManagementRetrieve a list of module streams, along with a summary of their status, from a managed instance. 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 \"
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.
listModuleStreamsOnManagedInstance in interface OsManagementrequest - The request object containing the details to sendpublic ListPackagesInstalledOnManagedInstanceResponse listPackagesInstalledOnManagedInstance(ListPackagesInstalledOnManagedInstanceRequest request)
OsManagementReturns a list of installed packages on the Managed Instance.
listPackagesInstalledOnManagedInstance in interface OsManagementrequest - The request object containing the details to sendpublic ListScheduledJobsResponse listScheduledJobs(ListScheduledJobsRequest request)
OsManagementReturns a list of all of the currently active Scheduled Jobs in the system
listScheduledJobs in interface OsManagementrequest - The request object containing the details to sendpublic ListSoftwareSourcePackagesResponse listSoftwareSourcePackages(ListSoftwareSourcePackagesRequest request)
OsManagementLists Software Packages in a Software Source
listSoftwareSourcePackages in interface OsManagementrequest - The request object containing the details to sendpublic ListSoftwareSourcesResponse listSoftwareSources(ListSoftwareSourcesRequest request)
OsManagementReturns a list of all Software Sources.
listSoftwareSources in interface OsManagementrequest - The request object containing the details to sendpublic ListUpcomingScheduledJobsResponse listUpcomingScheduledJobs(ListUpcomingScheduledJobsRequest request)
OsManagementReturns a list of all of the Scheduled Jobs whose next execution time is at or before the specified time.
listUpcomingScheduledJobs in interface OsManagementrequest - The request object containing the details to sendpublic ListWindowsUpdatesResponse listWindowsUpdates(ListWindowsUpdatesRequest request)
OsManagementReturns a list of Windows Updates.
listWindowsUpdates in interface OsManagementrequest - The request object containing the details to sendpublic ListWindowsUpdatesInstalledOnManagedInstanceResponse listWindowsUpdatesInstalledOnManagedInstance(ListWindowsUpdatesInstalledOnManagedInstanceRequest request)
OsManagementReturns a list of installed Windows updates for a Managed Instance. This is only applicable to Windows instances.
listWindowsUpdatesInstalledOnManagedInstance in interface OsManagementrequest - The request object containing the details to sendpublic ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
OsManagementGets the errors for the work request with the given ID.
listWorkRequestErrors in interface OsManagementrequest - The request object containing the details to sendpublic ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
OsManagementLists the log entries for the work request with the given ID.
listWorkRequestLogs in interface OsManagementrequest - The request object containing the details to sendpublic ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
OsManagementLists the work requests in a compartment.
listWorkRequests in interface OsManagementrequest - The request object containing the details to sendpublic ManageModuleStreamsOnManagedInstanceResponse manageModuleStreamsOnManagedInstance(ManageModuleStreamsOnManagedInstanceRequest request)
OsManagementPerform an operation involving modules, streams, and profiles on a managed instance. Each operation may enable or disable an arbitrary amount of module streams, and install or remove an arbitrary number of module stream profiles. When the operation is complete, the state of the modules, streams, and profiles on the managed instance will match the state indicated in the operation.
Each module stream specified in the list of module streams to enable will be in the \"ENABLED\" state upon completion of the operation. If there was already a stream of that module enabled, any work required to switch from the current stream to the new stream is performed implicitly.
Each module stream specified in the list of module streams to disable will be in the \"DISABLED\" state upon completion of the operation. Any profiles that are installed for the module stream will be removed as part of the operation.
Each module stream profile specified in the list of profiles to install will be in the \"INSTALLED\" state upon completion of the operation, indicating that any packages that are part of the profile are installed on the managed instance. If the module stream containing the profile is not enabled, it will be enabled as part of the operation. There is an exception when attempting to install a stream of a profile when another stream of the same module is enabled. It is an error to attempt to install a profile of another module stream, unless enabling the new module stream is explicitly included in this operation.
Each module stream profile specified in the list of profiles to remove will be in the \"AVAILABLE\" state upon completion of the operation. The status of packages within the profile after the operation is complete is defined by the package manager on the managed instance.
Operations that contain one or more elements that are not allowed are rejected.
The result of this request is a WorkRequest object. The returned WorkRequest is the parent of a structure of other WorkRequests. Taken as a whole, this structure indicates the entire set of work to be performed to complete the operation.
This interface can also be used to perform a dry run of the operation rather than committing it to a managed instance. If a dry run is requested, the OS Management Service will evaluate the operation against the current module, stream, and profile state on the managed instance. It will calculate the impact of the operation on all modules, streams, and profiles on the managed instance, including those that are implicitly impacted by the operation.
The WorkRequest resulting from a dry run behaves differently than a WorkRequest resulting from a committable operation. Dry run WorkRequests are always singletons and never have children. The impact of the operation is returned using the log and error facilities of WorkRequests. The impact of operations that are allowed by the OS Management Service are communicated as one or more work request log entries. Operations that are not allowed by the OS Management Service are communicated as one or more work requst error entries. Each entry, for either logs or errors, contains a structured message containing the results of one or more operations.
manageModuleStreamsOnManagedInstance in interface OsManagementrequest - The request object containing the details to sendpublic RemoveModuleStreamProfileFromManagedInstanceResponse removeModuleStreamProfileFromManagedInstance(RemoveModuleStreamProfileFromManagedInstanceRequest request)
OsManagementRemoves 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.
removeModuleStreamProfileFromManagedInstance in interface OsManagementrequest - The request object containing the details to sendpublic RemovePackageFromManagedInstanceResponse removePackageFromManagedInstance(RemovePackageFromManagedInstanceRequest request)
OsManagementRemoves an installed package from a managed instance.
removePackageFromManagedInstance in interface OsManagementrequest - The request object containing the details to sendpublic RemovePackagesFromSoftwareSourceResponse removePackagesFromSoftwareSource(RemovePackagesFromSoftwareSourceRequest request)
OsManagementRemoves a given list of Software Packages from a specific Software Source.
removePackagesFromSoftwareSource in interface OsManagementrequest - The request object containing the details to sendpublic RunScheduledJobNowResponse runScheduledJobNow(RunScheduledJobNowRequest request)
OsManagementThis will trigger an already created Scheduled Job to being executing immediately instead of waiting for its next regularly scheduled time.
runScheduledJobNow in interface OsManagementrequest - The request object containing the details to sendpublic SearchSoftwarePackagesResponse searchSoftwarePackages(SearchSoftwarePackagesRequest request)
OsManagementSearches all of the available Software Sources and returns any/all Software Packages matching the search criteria.
searchSoftwarePackages in interface OsManagementrequest - The request object containing the details to sendpublic SkipNextScheduledJobExecutionResponse skipNextScheduledJobExecution(SkipNextScheduledJobExecutionRequest request)
OsManagementThis will force an already created Scheduled Job to skip its next regularly scheduled execution
skipNextScheduledJobExecution in interface OsManagementrequest - The request object containing the details to sendpublic SwitchModuleStreamOnManagedInstanceResponse switchModuleStreamOnManagedInstance(SwitchModuleStreamOnManagedInstanceRequest request)
OsManagementEnables 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.
switchModuleStreamOnManagedInstance in interface OsManagementrequest - The request object containing the details to sendpublic UpdateManagedInstanceResponse updateManagedInstance(UpdateManagedInstanceRequest request)
OsManagementUpdates a specific Managed Instance.
updateManagedInstance in interface OsManagementrequest - The request object containing the details to sendpublic UpdateManagedInstanceGroupResponse updateManagedInstanceGroup(UpdateManagedInstanceGroupRequest request)
OsManagementUpdates a specific Managed Instance Group.
updateManagedInstanceGroup in interface OsManagementrequest - The request object containing the details to sendpublic UpdateScheduledJobResponse updateScheduledJob(UpdateScheduledJobRequest request)
OsManagementUpdates an existing Scheduled Job on the management system.
updateScheduledJob in interface OsManagementrequest - The request object containing the details to sendpublic UpdateSoftwareSourceResponse updateSoftwareSource(UpdateSoftwareSourceRequest request)
OsManagementUpdates an existing custom Software Source on the management system.
updateSoftwareSource in interface OsManagementrequest - The request object containing the details to sendpublic OsManagementWaiters getWaiters()
OsManagementGets the pre-configured waiters available for resources for this service.
getWaiters in interface OsManagementpublic OsManagementPaginators getPaginators()
OsManagementGets 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.
getPaginators in interface OsManagementCopyright © 2016–2022. All rights reserved.