1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Jms
  5. getPluginErrors
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

oci.Jms.getPluginErrors

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

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,
});
Copy
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)
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/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
	})
}
Copy
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,
    });

});
Copy
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());

    }
}
Copy
variables:
  testPluginErrors:
    fn::invoke:
      function: oci:Jms:getPluginErrors
      arguments:
        compartmentId: ${compartmentId}
        compartmentIdInSubtree: ${pluginErrorCompartmentIdInSubtree}
        managedInstanceId: ${testManagedInstance.id}
        timeFirstSeenGreaterThanOrEqualTo: ${pluginErrorTimeFirstSeenGreaterThanOrEqualTo}
        timeFirstSeenLessThanOrEqualTo: ${pluginErrorTimeFirstSeenLessThanOrEqualTo}
        timeLastSeenGreaterThanOrEqualTo: ${pluginErrorTimeLastSeenGreaterThanOrEqualTo}
        timeLastSeenLessThanOrEqualTo: ${pluginErrorTimeLastSeenLessThanOrEqualTo}
Copy

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>
Copy
def get_plugin_errors(compartment_id: Optional[str] = None,
                      compartment_id_in_subtree: Optional[bool] = None,
                      filters: Optional[Sequence[_jms.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[_jms.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]
Copy
func GetPluginErrors(ctx *Context, args *GetPluginErrorsArgs, opts ...InvokeOption) (*GetPluginErrorsResult, error)
func GetPluginErrorsOutput(ctx *Context, args *GetPluginErrorsOutputArgs, opts ...InvokeOption) GetPluginErrorsResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetPluginErrorsResult> getPluginErrors(GetPluginErrorsArgs args, InvokeOptions options)
public static Output<GetPluginErrorsResult> getPluginErrors(GetPluginErrorsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Jms/getPluginErrors:getPluginErrors
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompartmentId string
The OCID of the compartment in which to list resources.
CompartmentIdInSubtree bool
Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
Filters Changes to this property will trigger replacement. List<GetPluginErrorsFilter>
ManagedInstanceId string
The Fleet-unique identifier of the managed instance.
TimeFirstSeenGreaterThanOrEqualTo string
If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339).
TimeFirstSeenLessThanOrEqualTo string
If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
TimeLastSeenGreaterThanOrEqualTo string
If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339).
TimeLastSeenLessThanOrEqualTo string
If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
CompartmentId string
The OCID of the compartment in which to list resources.
CompartmentIdInSubtree bool
Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
Filters Changes to this property will trigger replacement. []GetPluginErrorsFilter
ManagedInstanceId string
The Fleet-unique identifier of the managed instance.
TimeFirstSeenGreaterThanOrEqualTo string
If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339).
TimeFirstSeenLessThanOrEqualTo string
If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
TimeLastSeenGreaterThanOrEqualTo string
If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339).
TimeLastSeenLessThanOrEqualTo string
If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
compartmentId String
The OCID of the compartment in which to list resources.
compartmentIdInSubtree Boolean
Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
filters Changes to this property will trigger replacement. List<GetPluginErrorsFilter>
managedInstanceId String
The Fleet-unique identifier of the managed instance.
timeFirstSeenGreaterThanOrEqualTo String
If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339).
timeFirstSeenLessThanOrEqualTo String
If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
timeLastSeenGreaterThanOrEqualTo String
If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339).
timeLastSeenLessThanOrEqualTo String
If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
compartmentId string
The OCID of the compartment in which to list resources.
compartmentIdInSubtree boolean
Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
filters Changes to this property will trigger replacement. GetPluginErrorsFilter[]
managedInstanceId string
The Fleet-unique identifier of the managed instance.
timeFirstSeenGreaterThanOrEqualTo string
If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339).
timeFirstSeenLessThanOrEqualTo string
If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
timeLastSeenGreaterThanOrEqualTo string
If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339).
timeLastSeenLessThanOrEqualTo string
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_in_subtree bool
Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
filters Changes to this property will trigger replacement. Sequence[jms.GetPluginErrorsFilter]
managed_instance_id str
The Fleet-unique identifier of the managed instance.
time_first_seen_greater_than_or_equal_to str
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_seen_less_than_or_equal_to str
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_seen_greater_than_or_equal_to str
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_seen_less_than_or_equal_to str
If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
compartmentId String
The OCID of the compartment in which to list resources.
compartmentIdInSubtree Boolean
Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
filters Changes to this property will trigger replacement. List<Property Map>
managedInstanceId String
The Fleet-unique identifier of the managed instance.
timeFirstSeenGreaterThanOrEqualTo String
If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339).
timeFirstSeenLessThanOrEqualTo String
If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
timeLastSeenGreaterThanOrEqualTo String
If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339).
timeLastSeenLessThanOrEqualTo String
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.
PluginErrorCollections List<GetPluginErrorsPluginErrorCollection>
The list of plugin_error_collection.
CompartmentId string
The compartment OCID of the Fleet.
CompartmentIdInSubtree bool
Filters List<GetPluginErrorsFilter>
ManagedInstanceId string
The OCID of the Managed Instance running the plugin.
TimeFirstSeenGreaterThanOrEqualTo string
TimeFirstSeenLessThanOrEqualTo string
TimeLastSeenGreaterThanOrEqualTo string
TimeLastSeenLessThanOrEqualTo string
Id string
The provider-assigned unique ID for this managed resource.
PluginErrorCollections []GetPluginErrorsPluginErrorCollection
The list of plugin_error_collection.
CompartmentId string
The compartment OCID of the Fleet.
CompartmentIdInSubtree bool
Filters []GetPluginErrorsFilter
ManagedInstanceId string
The OCID of the Managed Instance running the plugin.
TimeFirstSeenGreaterThanOrEqualTo string
TimeFirstSeenLessThanOrEqualTo string
TimeLastSeenGreaterThanOrEqualTo string
TimeLastSeenLessThanOrEqualTo string
id String
The provider-assigned unique ID for this managed resource.
pluginErrorCollections List<GetPluginErrorsPluginErrorCollection>
The list of plugin_error_collection.
compartmentId String
The compartment OCID of the Fleet.
compartmentIdInSubtree Boolean
filters List<GetPluginErrorsFilter>
managedInstanceId String
The OCID of the Managed Instance running the plugin.
timeFirstSeenGreaterThanOrEqualTo String
timeFirstSeenLessThanOrEqualTo String
timeLastSeenGreaterThanOrEqualTo String
timeLastSeenLessThanOrEqualTo String
id string
The provider-assigned unique ID for this managed resource.
pluginErrorCollections GetPluginErrorsPluginErrorCollection[]
The list of plugin_error_collection.
compartmentId string
The compartment OCID of the Fleet.
compartmentIdInSubtree boolean
filters GetPluginErrorsFilter[]
managedInstanceId string
The OCID of the Managed Instance running the plugin.
timeFirstSeenGreaterThanOrEqualTo string
timeFirstSeenLessThanOrEqualTo string
timeLastSeenGreaterThanOrEqualTo string
timeLastSeenLessThanOrEqualTo string
id String
The provider-assigned unique ID for this managed resource.
pluginErrorCollections List<Property Map>
The list of plugin_error_collection.
compartmentId String
The compartment OCID of the Fleet.
compartmentIdInSubtree Boolean
filters List<Property Map>
managedInstanceId String
The OCID of the Managed Instance running the plugin.
timeFirstSeenGreaterThanOrEqualTo String
timeFirstSeenLessThanOrEqualTo String
timeLastSeenGreaterThanOrEqualTo String
timeLastSeenLessThanOrEqualTo String

Supporting Types

GetPluginErrorsFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

GetPluginErrorsPluginErrorCollection

Items This property is required. List<GetPluginErrorsPluginErrorCollectionItem>
A list of PluginErrorSummary.
Items This property is required. []GetPluginErrorsPluginErrorCollectionItem
A list of PluginErrorSummary.
items This property is required. List<GetPluginErrorsPluginErrorCollectionItem>
A list of PluginErrorSummary.
items This property is required. GetPluginErrorsPluginErrorCollectionItem[]
A list of PluginErrorSummary.
items This property is required. Sequence[jms.GetPluginErrorsPluginErrorCollectionItem]
A list of PluginErrorSummary.
items This property is required. List<Property Map>
A list of PluginErrorSummary.

GetPluginErrorsPluginErrorCollectionItem

AgentType This property is required. string
The agent type.
CompartmentId This property is required. string
The OCID of the compartment in which to list resources.
Errors This property is required. List<GetPluginErrorsPluginErrorCollectionItemError>
List of plugin error details.
HostName This property is required. string
The HostName or Compute Instance name of the Managed Instance running the plugin.
ManagedInstanceId This property is required. string
The Fleet-unique identifier of the managed instance.
TimeFirstSeen This property is required. string
The timestamp of the first time an error was detected.
TimeLastSeen This property is required. string
The timestamp of the last time an error was detected.
AgentType This property is required. string
The agent type.
CompartmentId This property is required. string
The OCID of the compartment in which to list resources.
Errors This property is required. []GetPluginErrorsPluginErrorCollectionItemError
List of plugin error details.
HostName This property is required. string
The HostName or Compute Instance name of the Managed Instance running the plugin.
ManagedInstanceId This property is required. string
The Fleet-unique identifier of the managed instance.
TimeFirstSeen This property is required. string
The timestamp of the first time an error was detected.
TimeLastSeen This property is required. string
The timestamp of the last time an error was detected.
agentType This property is required. String
The agent type.
compartmentId This property is required. String
The OCID of the compartment in which to list resources.
errors This property is required. List<GetPluginErrorsPluginErrorCollectionItemError>
List of plugin error details.
hostName This property is required. String
The HostName or Compute Instance name of the Managed Instance running the plugin.
managedInstanceId This property is required. String
The Fleet-unique identifier of the managed instance.
timeFirstSeen This property is required. String
The timestamp of the first time an error was detected.
timeLastSeen This property is required. String
The timestamp of the last time an error was detected.
agentType This property is required. string
The agent type.
compartmentId This property is required. string
The OCID of the compartment in which to list resources.
errors This property is required. GetPluginErrorsPluginErrorCollectionItemError[]
List of plugin error details.
hostName This property is required. string
The HostName or Compute Instance name of the Managed Instance running the plugin.
managedInstanceId This property is required. string
The Fleet-unique identifier of the managed instance.
timeFirstSeen This property is required. string
The timestamp of the first time an error was detected.
timeLastSeen This property is required. string
The timestamp of the last time an error was detected.
agent_type This property is required. str
The agent type.
compartment_id This property is required. str
The OCID of the compartment in which to list resources.
errors This property is required. Sequence[jms.GetPluginErrorsPluginErrorCollectionItemError]
List of plugin error details.
host_name This property is required. str
The HostName or Compute Instance name of the Managed Instance running the plugin.
managed_instance_id This property is required. str
The Fleet-unique identifier of the managed instance.
time_first_seen This property is required. str
The timestamp of the first time an error was detected.
time_last_seen This property is required. str
The timestamp of the last time an error was detected.
agentType This property is required. String
The agent type.
compartmentId This property is required. String
The OCID of the compartment in which to list resources.
errors This property is required. List<Property Map>
List of plugin error details.
hostName This property is required. String
The HostName or Compute Instance name of the Managed Instance running the plugin.
managedInstanceId This property is required. String
The Fleet-unique identifier of the managed instance.
timeFirstSeen This property is required. String
The timestamp of the first time an error was detected.
timeLastSeen This property is required. String
The timestamp of the last time an error was detected.

GetPluginErrorsPluginErrorCollectionItemError

Details This property is required. string
Optional string containing additional details.
Reason This property is required. string
The plugin error reason.
TimeLastSeen This property is required. string
The timestamp of the last time an error was detected.
Details This property is required. string
Optional string containing additional details.
Reason This property is required. string
The plugin error reason.
TimeLastSeen This property is required. string
The timestamp of the last time an error was detected.
details This property is required. String
Optional string containing additional details.
reason This property is required. String
The plugin error reason.
timeLastSeen This property is required. String
The timestamp of the last time an error was detected.
details This property is required. string
Optional string containing additional details.
reason This property is required. string
The plugin error reason.
timeLastSeen This property is required. string
The timestamp of the last time an error was detected.
details This property is required. str
Optional string containing additional details.
reason This property is required. str
The plugin error reason.
time_last_seen This property is required. str
The timestamp of the last time an error was detected.
details This property is required. String
Optional string containing additional details.
reason This property is required. String
The plugin error reason.
timeLastSeen This property is required. String
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 oci Terraform Provider.
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi