Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.Jms.getPluginErrors
Explore with Pulumi AI
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/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
	})
}
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:
- CompartmentId string
- The OCID of the compartment in which to list resources.
- CompartmentId boolIn Subtree 
- Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
- Filters
List<GetPlugin Errors Filter> 
- ManagedInstance stringId 
- The Fleet-unique identifier of the managed instance.
- TimeFirst 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).
- TimeFirst 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).
- TimeLast 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).
- TimeLast 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).
- CompartmentId string
- The OCID of the compartment in which to list resources.
- CompartmentId boolIn Subtree 
- Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
- Filters
[]GetPlugin Errors Filter 
- ManagedInstance stringId 
- The Fleet-unique identifier of the managed instance.
- TimeFirst 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).
- TimeFirst 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).
- TimeLast 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).
- TimeLast 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).
- compartmentId String
- The OCID of the compartment in which to list resources.
- compartmentId BooleanIn Subtree 
- Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
- filters
List<GetPlugin Errors Filter> 
- managedInstance StringId 
- The Fleet-unique identifier of the managed instance.
- timeFirst 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).
- timeFirst 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).
- timeLast 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).
- timeLast 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).
- compartmentId string
- The OCID of the compartment in which to list resources.
- compartmentId booleanIn Subtree 
- Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
- filters
GetPlugin Errors Filter[] 
- managedInstance stringId 
- The Fleet-unique identifier of the managed instance.
- timeFirst 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).
- timeFirst 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).
- timeLast 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).
- timeLast 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[GetPlugin 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).
- compartmentId String
- The OCID of the compartment in which to list resources.
- compartmentId 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>
- managedInstance StringId 
- The Fleet-unique identifier of the managed instance.
- timeFirst 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).
- timeFirst 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).
- timeLast 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).
- timeLast 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.
- PluginError List<GetCollections Plugin Errors Plugin Error Collection> 
- The list of plugin_error_collection.
- CompartmentId string
- The compartment OCID of the Fleet.
- CompartmentId boolIn Subtree 
- Filters
List<GetPlugin Errors Filter> 
- ManagedInstance stringId 
- The OCID of the Managed Instance running the plugin.
- TimeFirst stringSeen Greater Than Or Equal To 
- TimeFirst stringSeen Less Than Or Equal To 
- TimeLast stringSeen Greater Than Or Equal To 
- TimeLast stringSeen Less Than Or Equal To 
- Id string
- The provider-assigned unique ID for this managed resource.
- PluginError []GetCollections Plugin Errors Plugin Error Collection 
- The list of plugin_error_collection.
- CompartmentId string
- The compartment OCID of the Fleet.
- CompartmentId boolIn Subtree 
- Filters
[]GetPlugin Errors Filter 
- ManagedInstance stringId 
- The OCID of the Managed Instance running the plugin.
- TimeFirst stringSeen Greater Than Or Equal To 
- TimeFirst stringSeen Less Than Or Equal To 
- TimeLast stringSeen Greater Than Or Equal To 
- TimeLast stringSeen Less Than Or Equal To 
- id String
- The provider-assigned unique ID for this managed resource.
- pluginError List<GetCollections Plugin Errors Plugin Error Collection> 
- The list of plugin_error_collection.
- compartmentId String
- The compartment OCID of the Fleet.
- compartmentId BooleanIn Subtree 
- filters
List<GetPlugin Errors Filter> 
- managedInstance StringId 
- The OCID of the Managed Instance running the plugin.
- timeFirst StringSeen Greater Than Or Equal To 
- timeFirst StringSeen Less Than Or Equal To 
- timeLast StringSeen Greater Than Or Equal To 
- timeLast StringSeen Less Than Or Equal To 
- id string
- The provider-assigned unique ID for this managed resource.
- pluginError GetCollections Plugin Errors Plugin Error Collection[] 
- The list of plugin_error_collection.
- compartmentId string
- The compartment OCID of the Fleet.
- compartmentId booleanIn Subtree 
- filters
GetPlugin Errors Filter[] 
- managedInstance stringId 
- The OCID of the Managed Instance running the plugin.
- timeFirst stringSeen Greater Than Or Equal To 
- timeFirst stringSeen Less Than Or Equal To 
- timeLast stringSeen Greater Than Or Equal To 
- timeLast 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[GetPlugin 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.
- pluginError List<Property Map>Collections 
- The list of plugin_error_collection.
- compartmentId String
- The compartment OCID of the Fleet.
- compartmentId BooleanIn Subtree 
- filters List<Property Map>
- managedInstance StringId 
- The OCID of the Managed Instance running the plugin.
- timeFirst StringSeen Greater Than Or Equal To 
- timeFirst StringSeen Less Than Or Equal To 
- timeLast StringSeen Greater Than Or Equal To 
- timeLast StringSeen Less Than Or Equal To 
Supporting Types
GetPluginErrorsFilter   
GetPluginErrorsPluginErrorCollection     
- Items
List<GetPlugin Errors Plugin Error Collection Item> 
- A list of PluginErrorSummary.
- Items
[]GetPlugin Errors Plugin Error Collection Item 
- A list of PluginErrorSummary.
- items
List<GetPlugin Errors Plugin Error Collection Item> 
- A list of PluginErrorSummary.
- items
GetPlugin Errors Plugin Error Collection Item[] 
- A list of PluginErrorSummary.
- items
Sequence[GetPlugin Errors Plugin Error Collection Item] 
- A list of PluginErrorSummary.
- items List<Property Map>
- A list of PluginErrorSummary.
GetPluginErrorsPluginErrorCollectionItem      
- AgentType string
- The agent type.
- CompartmentId string
- The OCID of the compartment in which to list resources.
- Errors
List<GetPlugin Errors Plugin Error Collection Item Error> 
- List of plugin error details.
- HostName string
- The HostName or Compute Instance name of the Managed Instance running the plugin.
- ManagedInstance stringId 
- The Fleet-unique identifier of the managed instance.
- TimeFirst stringSeen 
- The timestamp of the first time an error was detected.
- TimeLast stringSeen 
- The timestamp of the last time an error was detected.
- AgentType string
- The agent type.
- CompartmentId string
- The OCID of the compartment in which to list resources.
- Errors
[]GetPlugin Errors Plugin Error Collection Item Error 
- List of plugin error details.
- HostName string
- The HostName or Compute Instance name of the Managed Instance running the plugin.
- ManagedInstance stringId 
- The Fleet-unique identifier of the managed instance.
- TimeFirst stringSeen 
- The timestamp of the first time an error was detected.
- TimeLast stringSeen 
- The timestamp of the last time an error was detected.
- agentType String
- The agent type.
- compartmentId String
- The OCID of the compartment in which to list resources.
- errors
List<GetPlugin Errors Plugin Error Collection Item Error> 
- List of plugin error details.
- hostName String
- The HostName or Compute Instance name of the Managed Instance running the plugin.
- managedInstance StringId 
- The Fleet-unique identifier of the managed instance.
- timeFirst StringSeen 
- The timestamp of the first time an error was detected.
- timeLast StringSeen 
- The timestamp of the last time an error was detected.
- agentType string
- The agent type.
- compartmentId string
- The OCID of the compartment in which to list resources.
- errors
GetPlugin Errors Plugin Error Collection Item Error[] 
- List of plugin error details.
- hostName string
- The HostName or Compute Instance name of the Managed Instance running the plugin.
- managedInstance stringId 
- The Fleet-unique identifier of the managed instance.
- timeFirst stringSeen 
- The timestamp of the first time an error was detected.
- timeLast 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[GetPlugin 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.
- agentType String
- The agent type.
- compartmentId String
- The OCID of the compartment in which to list resources.
- errors List<Property Map>
- List of plugin error details.
- hostName String
- The HostName or Compute Instance name of the Managed Instance running the plugin.
- managedInstance StringId 
- The Fleet-unique identifier of the managed instance.
- timeFirst StringSeen 
- The timestamp of the first time an error was detected.
- timeLast 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.
- TimeLast stringSeen 
- The timestamp of the last time an error was detected.
- Details string
- Optional string containing additional details.
- Reason string
- The plugin error reason.
- TimeLast stringSeen 
- The timestamp of the last time an error was detected.
- details String
- Optional string containing additional details.
- reason String
- The plugin error reason.
- timeLast StringSeen 
- The timestamp of the last time an error was detected.
- details string
- Optional string containing additional details.
- reason string
- The plugin error reason.
- timeLast 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.
- timeLast 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.