Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
oci.Jms.getPluginErrors
Start a Neo task
Explain and create an oci.Jms.getPluginErrors resource
This data source provides the list of Plugin Errors in Oracle Cloud Infrastructure Jms service.
Returns a list of plugin errors that describe all detected errors.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testPluginErrors = oci.Jms.getPluginErrors({
compartmentId: compartmentId,
compartmentIdInSubtree: pluginErrorCompartmentIdInSubtree,
managedInstanceId: testManagedInstance.id,
timeFirstSeenGreaterThanOrEqualTo: pluginErrorTimeFirstSeenGreaterThanOrEqualTo,
timeFirstSeenLessThanOrEqualTo: pluginErrorTimeFirstSeenLessThanOrEqualTo,
timeLastSeenGreaterThanOrEqualTo: pluginErrorTimeLastSeenGreaterThanOrEqualTo,
timeLastSeenLessThanOrEqualTo: pluginErrorTimeLastSeenLessThanOrEqualTo,
});
import pulumi
import pulumi_oci as oci
test_plugin_errors = oci.Jms.get_plugin_errors(compartment_id=compartment_id,
compartment_id_in_subtree=plugin_error_compartment_id_in_subtree,
managed_instance_id=test_managed_instance["id"],
time_first_seen_greater_than_or_equal_to=plugin_error_time_first_seen_greater_than_or_equal_to,
time_first_seen_less_than_or_equal_to=plugin_error_time_first_seen_less_than_or_equal_to,
time_last_seen_greater_than_or_equal_to=plugin_error_time_last_seen_greater_than_or_equal_to,
time_last_seen_less_than_or_equal_to=plugin_error_time_last_seen_less_than_or_equal_to)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/jms"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := jms.GetPluginErrors(ctx, &jms.GetPluginErrorsArgs{
CompartmentId: pulumi.StringRef(compartmentId),
CompartmentIdInSubtree: pulumi.BoolRef(pluginErrorCompartmentIdInSubtree),
ManagedInstanceId: pulumi.StringRef(testManagedInstance.Id),
TimeFirstSeenGreaterThanOrEqualTo: pulumi.StringRef(pluginErrorTimeFirstSeenGreaterThanOrEqualTo),
TimeFirstSeenLessThanOrEqualTo: pulumi.StringRef(pluginErrorTimeFirstSeenLessThanOrEqualTo),
TimeLastSeenGreaterThanOrEqualTo: pulumi.StringRef(pluginErrorTimeLastSeenGreaterThanOrEqualTo),
TimeLastSeenLessThanOrEqualTo: pulumi.StringRef(pluginErrorTimeLastSeenLessThanOrEqualTo),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testPluginErrors = Oci.Jms.GetPluginErrors.Invoke(new()
{
CompartmentId = compartmentId,
CompartmentIdInSubtree = pluginErrorCompartmentIdInSubtree,
ManagedInstanceId = testManagedInstance.Id,
TimeFirstSeenGreaterThanOrEqualTo = pluginErrorTimeFirstSeenGreaterThanOrEqualTo,
TimeFirstSeenLessThanOrEqualTo = pluginErrorTimeFirstSeenLessThanOrEqualTo,
TimeLastSeenGreaterThanOrEqualTo = pluginErrorTimeLastSeenGreaterThanOrEqualTo,
TimeLastSeenLessThanOrEqualTo = pluginErrorTimeLastSeenLessThanOrEqualTo,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Jms.JmsFunctions;
import com.pulumi.oci.Jms.inputs.GetPluginErrorsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testPluginErrors = JmsFunctions.getPluginErrors(GetPluginErrorsArgs.builder()
.compartmentId(compartmentId)
.compartmentIdInSubtree(pluginErrorCompartmentIdInSubtree)
.managedInstanceId(testManagedInstance.id())
.timeFirstSeenGreaterThanOrEqualTo(pluginErrorTimeFirstSeenGreaterThanOrEqualTo)
.timeFirstSeenLessThanOrEqualTo(pluginErrorTimeFirstSeenLessThanOrEqualTo)
.timeLastSeenGreaterThanOrEqualTo(pluginErrorTimeLastSeenGreaterThanOrEqualTo)
.timeLastSeenLessThanOrEqualTo(pluginErrorTimeLastSeenLessThanOrEqualTo)
.build());
}
}
variables:
testPluginErrors:
fn::invoke:
function: oci:Jms:getPluginErrors
arguments:
compartmentId: ${compartmentId}
compartmentIdInSubtree: ${pluginErrorCompartmentIdInSubtree}
managedInstanceId: ${testManagedInstance.id}
timeFirstSeenGreaterThanOrEqualTo: ${pluginErrorTimeFirstSeenGreaterThanOrEqualTo}
timeFirstSeenLessThanOrEqualTo: ${pluginErrorTimeFirstSeenLessThanOrEqualTo}
timeLastSeenGreaterThanOrEqualTo: ${pluginErrorTimeLastSeenGreaterThanOrEqualTo}
timeLastSeenLessThanOrEqualTo: ${pluginErrorTimeLastSeenLessThanOrEqualTo}
Using getPluginErrors
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPluginErrors(args: GetPluginErrorsArgs, opts?: InvokeOptions): Promise<GetPluginErrorsResult>
function getPluginErrorsOutput(args: GetPluginErrorsOutputArgs, opts?: InvokeOptions): Output<GetPluginErrorsResult>def get_plugin_errors(compartment_id: Optional[str] = None,
compartment_id_in_subtree: Optional[bool] = None,
filters: Optional[Sequence[GetPluginErrorsFilter]] = None,
managed_instance_id: Optional[str] = None,
time_first_seen_greater_than_or_equal_to: Optional[str] = None,
time_first_seen_less_than_or_equal_to: Optional[str] = None,
time_last_seen_greater_than_or_equal_to: Optional[str] = None,
time_last_seen_less_than_or_equal_to: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPluginErrorsResult
def get_plugin_errors_output(compartment_id: Optional[pulumi.Input[str]] = None,
compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetPluginErrorsFilterArgs]]]] = None,
managed_instance_id: Optional[pulumi.Input[str]] = None,
time_first_seen_greater_than_or_equal_to: Optional[pulumi.Input[str]] = None,
time_first_seen_less_than_or_equal_to: Optional[pulumi.Input[str]] = None,
time_last_seen_greater_than_or_equal_to: Optional[pulumi.Input[str]] = None,
time_last_seen_less_than_or_equal_to: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPluginErrorsResult]func GetPluginErrors(ctx *Context, args *GetPluginErrorsArgs, opts ...InvokeOption) (*GetPluginErrorsResult, error)
func GetPluginErrorsOutput(ctx *Context, args *GetPluginErrorsOutputArgs, opts ...InvokeOption) GetPluginErrorsResultOutput> Note: This function is named GetPluginErrors in the Go SDK.
public static class GetPluginErrors
{
public static Task<GetPluginErrorsResult> InvokeAsync(GetPluginErrorsArgs args, InvokeOptions? opts = null)
public static Output<GetPluginErrorsResult> Invoke(GetPluginErrorsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPluginErrorsResult> getPluginErrors(GetPluginErrorsArgs args, InvokeOptions options)
public static Output<GetPluginErrorsResult> getPluginErrors(GetPluginErrorsArgs args, InvokeOptions options)
fn::invoke:
function: oci:Jms/getPluginErrors:getPluginErrors
arguments:
# arguments dictionaryThe following arguments are supported:
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Compartment
Id boolIn Subtree - Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
- Filters
List<Get
Plugin Errors Filter> - Managed
Instance stringId - The Fleet-unique identifier of the managed instance.
- Time
First stringSeen Greater Than Or Equal To - If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339).
- Time
First stringSeen Less Than Or Equal To - If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
- Time
Last stringSeen Greater Than Or Equal To - If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339).
- Time
Last stringSeen Less Than Or Equal To - If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Compartment
Id boolIn Subtree - Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
- Filters
[]Get
Plugin Errors Filter - Managed
Instance stringId - The Fleet-unique identifier of the managed instance.
- Time
First stringSeen Greater Than Or Equal To - If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339).
- Time
First stringSeen Less Than Or Equal To - If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
- Time
Last stringSeen Greater Than Or Equal To - If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339).
- Time
Last stringSeen Less Than Or Equal To - If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
- compartment
Id String - The OCID of the compartment in which to list resources.
- compartment
Id BooleanIn Subtree - Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
- filters
List<Get
Plugin Errors Filter> - managed
Instance StringId - The Fleet-unique identifier of the managed instance.
- time
First StringSeen Greater Than Or Equal To - If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339).
- time
First StringSeen Less Than Or Equal To - If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
- time
Last StringSeen Greater Than Or Equal To - If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339).
- time
Last StringSeen Less Than Or Equal To - If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
- compartment
Id string - The OCID of the compartment in which to list resources.
- compartment
Id booleanIn Subtree - Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
- filters
Get
Plugin Errors Filter[] - managed
Instance stringId - The Fleet-unique identifier of the managed instance.
- time
First stringSeen Greater Than Or Equal To - If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339).
- time
First stringSeen Less Than Or Equal To - If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
- time
Last stringSeen Greater Than Or Equal To - If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339).
- time
Last stringSeen Less Than Or Equal To - If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
- compartment_
id str - The OCID of the compartment in which to list resources.
- compartment_
id_ boolin_ subtree - Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
- filters
Sequence[Get
Plugin Errors Filter] - managed_
instance_ strid - The Fleet-unique identifier of the managed instance.
- time_
first_ strseen_ greater_ than_ or_ equal_ to - If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339).
- time_
first_ strseen_ less_ than_ or_ equal_ to - If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
- time_
last_ strseen_ greater_ than_ or_ equal_ to - If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339).
- time_
last_ strseen_ less_ than_ or_ equal_ to - If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
- compartment
Id String - The OCID of the compartment in which to list resources.
- compartment
Id BooleanIn Subtree - Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
- filters List<Property Map>
- managed
Instance StringId - The Fleet-unique identifier of the managed instance.
- time
First StringSeen Greater Than Or Equal To - If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339).
- time
First StringSeen Less Than Or Equal To - If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
- time
Last StringSeen Greater Than Or Equal To - If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339).
- time
Last StringSeen Less Than Or Equal To - If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
getPluginErrors Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Plugin
Error List<GetCollections Plugin Errors Plugin Error Collection> - The list of plugin_error_collection.
- Compartment
Id string - The compartment OCID of the Fleet.
- Compartment
Id boolIn Subtree - Filters
List<Get
Plugin Errors Filter> - Managed
Instance stringId - The OCID of the Managed Instance running the plugin.
- Time
First stringSeen Greater Than Or Equal To - Time
First stringSeen Less Than Or Equal To - Time
Last stringSeen Greater Than Or Equal To - Time
Last stringSeen Less Than Or Equal To
- Id string
- The provider-assigned unique ID for this managed resource.
- Plugin
Error []GetCollections Plugin Errors Plugin Error Collection - The list of plugin_error_collection.
- Compartment
Id string - The compartment OCID of the Fleet.
- Compartment
Id boolIn Subtree - Filters
[]Get
Plugin Errors Filter - Managed
Instance stringId - The OCID of the Managed Instance running the plugin.
- Time
First stringSeen Greater Than Or Equal To - Time
First stringSeen Less Than Or Equal To - Time
Last stringSeen Greater Than Or Equal To - Time
Last stringSeen Less Than Or Equal To
- id String
- The provider-assigned unique ID for this managed resource.
- plugin
Error List<GetCollections Plugin Errors Plugin Error Collection> - The list of plugin_error_collection.
- compartment
Id String - The compartment OCID of the Fleet.
- compartment
Id BooleanIn Subtree - filters
List<Get
Plugin Errors Filter> - managed
Instance StringId - The OCID of the Managed Instance running the plugin.
- time
First StringSeen Greater Than Or Equal To - time
First StringSeen Less Than Or Equal To - time
Last StringSeen Greater Than Or Equal To - time
Last StringSeen Less Than Or Equal To
- id string
- The provider-assigned unique ID for this managed resource.
- plugin
Error GetCollections Plugin Errors Plugin Error Collection[] - The list of plugin_error_collection.
- compartment
Id string - The compartment OCID of the Fleet.
- compartment
Id booleanIn Subtree - filters
Get
Plugin Errors Filter[] - managed
Instance stringId - The OCID of the Managed Instance running the plugin.
- time
First stringSeen Greater Than Or Equal To - time
First stringSeen Less Than Or Equal To - time
Last stringSeen Greater Than Or Equal To - time
Last stringSeen Less Than Or Equal To
- id str
- The provider-assigned unique ID for this managed resource.
- plugin_
error_ Sequence[Getcollections Plugin Errors Plugin Error Collection] - The list of plugin_error_collection.
- compartment_
id str - The compartment OCID of the Fleet.
- compartment_
id_ boolin_ subtree - filters
Sequence[Get
Plugin Errors Filter] - managed_
instance_ strid - The OCID of the Managed Instance running the plugin.
- time_
first_ strseen_ greater_ than_ or_ equal_ to - time_
first_ strseen_ less_ than_ or_ equal_ to - time_
last_ strseen_ greater_ than_ or_ equal_ to - time_
last_ strseen_ less_ than_ or_ equal_ to
- id String
- The provider-assigned unique ID for this managed resource.
- plugin
Error List<Property Map>Collections - The list of plugin_error_collection.
- compartment
Id String - The compartment OCID of the Fleet.
- compartment
Id BooleanIn Subtree - filters List<Property Map>
- managed
Instance StringId - The OCID of the Managed Instance running the plugin.
- time
First StringSeen Greater Than Or Equal To - time
First StringSeen Less Than Or Equal To - time
Last StringSeen Greater Than Or Equal To - time
Last StringSeen Less Than Or Equal To
Supporting Types
GetPluginErrorsFilter
GetPluginErrorsPluginErrorCollection
- Items
List<Get
Plugin Errors Plugin Error Collection Item> - A list of PluginErrorSummary.
- Items
[]Get
Plugin Errors Plugin Error Collection Item - A list of PluginErrorSummary.
- items
List<Get
Plugin Errors Plugin Error Collection Item> - A list of PluginErrorSummary.
- items
Get
Plugin Errors Plugin Error Collection Item[] - A list of PluginErrorSummary.
- items
Sequence[Get
Plugin Errors Plugin Error Collection Item] - A list of PluginErrorSummary.
- items List<Property Map>
- A list of PluginErrorSummary.
GetPluginErrorsPluginErrorCollectionItem
- Agent
Type string - The agent type.
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Errors
List<Get
Plugin Errors Plugin Error Collection Item Error> - List of plugin error details.
- Host
Name string - The HostName or Compute Instance name of the Managed Instance running the plugin.
- Managed
Instance stringId - The Fleet-unique identifier of the managed instance.
- Time
First stringSeen - The timestamp of the first time an error was detected.
- Time
Last stringSeen - The timestamp of the last time an error was detected.
- Agent
Type string - The agent type.
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Errors
[]Get
Plugin Errors Plugin Error Collection Item Error - List of plugin error details.
- Host
Name string - The HostName or Compute Instance name of the Managed Instance running the plugin.
- Managed
Instance stringId - The Fleet-unique identifier of the managed instance.
- Time
First stringSeen - The timestamp of the first time an error was detected.
- Time
Last stringSeen - The timestamp of the last time an error was detected.
- agent
Type String - The agent type.
- compartment
Id String - The OCID of the compartment in which to list resources.
- errors
List<Get
Plugin Errors Plugin Error Collection Item Error> - List of plugin error details.
- host
Name String - The HostName or Compute Instance name of the Managed Instance running the plugin.
- managed
Instance StringId - The Fleet-unique identifier of the managed instance.
- time
First StringSeen - The timestamp of the first time an error was detected.
- time
Last StringSeen - The timestamp of the last time an error was detected.
- agent
Type string - The agent type.
- compartment
Id string - The OCID of the compartment in which to list resources.
- errors
Get
Plugin Errors Plugin Error Collection Item Error[] - List of plugin error details.
- host
Name string - The HostName or Compute Instance name of the Managed Instance running the plugin.
- managed
Instance stringId - The Fleet-unique identifier of the managed instance.
- time
First stringSeen - The timestamp of the first time an error was detected.
- time
Last stringSeen - The timestamp of the last time an error was detected.
- agent_
type str - The agent type.
- compartment_
id str - The OCID of the compartment in which to list resources.
- errors
Sequence[Get
Plugin Errors Plugin Error Collection Item Error] - List of plugin error details.
- host_
name str - The HostName or Compute Instance name of the Managed Instance running the plugin.
- managed_
instance_ strid - The Fleet-unique identifier of the managed instance.
- time_
first_ strseen - The timestamp of the first time an error was detected.
- time_
last_ strseen - The timestamp of the last time an error was detected.
- agent
Type String - The agent type.
- compartment
Id String - The OCID of the compartment in which to list resources.
- errors List<Property Map>
- List of plugin error details.
- host
Name String - The HostName or Compute Instance name of the Managed Instance running the plugin.
- managed
Instance StringId - The Fleet-unique identifier of the managed instance.
- time
First StringSeen - The timestamp of the first time an error was detected.
- time
Last StringSeen - The timestamp of the last time an error was detected.
GetPluginErrorsPluginErrorCollectionItemError
- Details string
- Optional string containing additional details.
- Reason string
- The plugin error reason.
- Time
Last stringSeen - The timestamp of the last time an error was detected.
- Details string
- Optional string containing additional details.
- Reason string
- The plugin error reason.
- Time
Last stringSeen - The timestamp of the last time an error was detected.
- details String
- Optional string containing additional details.
- reason String
- The plugin error reason.
- time
Last StringSeen - The timestamp of the last time an error was detected.
- details string
- Optional string containing additional details.
- reason string
- The plugin error reason.
- time
Last stringSeen - The timestamp of the last time an error was detected.
- details str
- Optional string containing additional details.
- reason str
- The plugin error reason.
- time_
last_ strseen - The timestamp of the last time an error was detected.
- details String
- Optional string containing additional details.
- reason String
- The plugin error reason.
- time
Last StringSeen - The timestamp of the last time an error was detected.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
