import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Jms Plugins in Oracle Cloud Infrastructure Jms service. * * Lists the JmsPlugins. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testJmsPlugins = oci.jms.getJmsPlugins({ * agentId: jmsPluginAgentId, * agentType: jmsPluginAgentType, * availabilityStatus: jmsPluginAvailabilityStatus, * compartmentId: compartmentId, * compartmentIdInSubtree: jmsPluginCompartmentIdInSubtree === "true", * fleetId: testFleet.id, * hostnameContains: jmsPluginHostnameContains, * id: jmsPluginId, * state: jmsPluginState, * timeLastSeenLessThanOrEqualTo: jmsPluginTimeLastSeenLessThanOrEqualTo, * timeRegisteredLessThanOrEqualTo: jmsPluginTimeRegisteredLessThanOrEqualTo, * }); * ``` */ export declare function getJmsPlugins(args?: GetJmsPluginsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getJmsPlugins. */ export interface GetJmsPluginsArgs { /** * The ManagementAgent (OMA), Oracle Cloud Agent (OCA), or the Oracle Container Management Agent (OCMA) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that identifies the Agent. */ agentId?: string; /** * Filter JmsPlugin with agent type. */ agentType?: string; /** * Filter JmsPlugin with its availability status. */ availabilityStatus?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. */ compartmentId?: string; /** * Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. */ compartmentIdInSubtree?: boolean; filters?: inputs.Jms.GetJmsPluginsFilter[]; /** * The ID of the Fleet. */ fleetId?: string; /** * Filter the list with hostname contains the given value. */ hostnameContains?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the JmsPlugin. */ id?: string; /** * Filter JmsPlugin with its lifecycle state. */ state?: string; /** * If present, only plugins with a last seen time before this parameter are searched (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). */ timeLastSeenLessThanOrEqualTo?: string; /** * If present, only plugins with a registration time before this parameter are searched (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). */ timeRegisteredLessThanOrEqualTo?: string; } /** * A collection of values returned by getJmsPlugins. */ export interface GetJmsPluginsResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent (OMA), the Oracle Cloud Agent (OCA), or the Oracle Container Management Agent (OCMA) instance where the JMS plugin is deployed. */ readonly agentId?: string; /** * The agent type. */ readonly agentType?: string; /** * The availability status. */ readonly availabilityStatus?: string; /** * The OMA/OCA/OCMA agent's compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ readonly compartmentId?: string; readonly compartmentIdInSubtree?: boolean; readonly filters?: outputs.Jms.GetJmsPluginsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the fleet. */ readonly fleetId?: string; readonly hostnameContains?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to identify this JmsPlugin. */ readonly id?: string; /** * The list of jms_plugin_collection. */ readonly jmsPluginCollections: outputs.Jms.GetJmsPluginsJmsPluginCollection[]; /** * The lifecycle state. */ readonly state?: string; readonly timeLastSeenLessThanOrEqualTo?: string; readonly timeRegisteredLessThanOrEqualTo?: string; } /** * This data source provides the list of Jms Plugins in Oracle Cloud Infrastructure Jms service. * * Lists the JmsPlugins. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testJmsPlugins = oci.jms.getJmsPlugins({ * agentId: jmsPluginAgentId, * agentType: jmsPluginAgentType, * availabilityStatus: jmsPluginAvailabilityStatus, * compartmentId: compartmentId, * compartmentIdInSubtree: jmsPluginCompartmentIdInSubtree === "true", * fleetId: testFleet.id, * hostnameContains: jmsPluginHostnameContains, * id: jmsPluginId, * state: jmsPluginState, * timeLastSeenLessThanOrEqualTo: jmsPluginTimeLastSeenLessThanOrEqualTo, * timeRegisteredLessThanOrEqualTo: jmsPluginTimeRegisteredLessThanOrEqualTo, * }); * ``` */ export declare function getJmsPluginsOutput(args?: GetJmsPluginsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getJmsPlugins. */ export interface GetJmsPluginsOutputArgs { /** * The ManagementAgent (OMA), Oracle Cloud Agent (OCA), or the Oracle Container Management Agent (OCMA) [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that identifies the Agent. */ agentId?: pulumi.Input; /** * Filter JmsPlugin with agent type. */ agentType?: pulumi.Input; /** * Filter JmsPlugin with its availability status. */ availabilityStatus?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. */ compartmentId?: pulumi.Input; /** * Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. */ compartmentIdInSubtree?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The ID of the Fleet. */ fleetId?: pulumi.Input; /** * Filter the list with hostname contains the given value. */ hostnameContains?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the JmsPlugin. */ id?: pulumi.Input; /** * Filter JmsPlugin with its lifecycle state. */ state?: pulumi.Input; /** * If present, only plugins with a last seen time before this parameter are searched (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). */ timeLastSeenLessThanOrEqualTo?: pulumi.Input; /** * If present, only plugins with a registration time before this parameter are searched (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). */ timeRegisteredLessThanOrEqualTo?: pulumi.Input; } //# sourceMappingURL=getJmsPlugins.d.ts.map