import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Jms Plugin resource in Oracle Cloud Infrastructure Jms service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/jms/latest/JmsPlugin * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/jms * * Registers an agent's JmsPlugin, optionally attaching to an existing fleet of the tenancy. * JmsPlugins registered fleet-less are created with lifecycle state INACTIVE. * For the operation to be authorized, the agent must exist, and the authorized user requires JMS_PLUGIN_CREATE permission for the agent's compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testJmsPlugin = new oci.jms.JmsPlugin("test_jms_plugin", { * agentId: jmsPluginAgentId, * compartmentId: compartmentId, * agentType: jmsPluginAgentType, * definedTags: { * "foo-namespace.bar-key": "value", * }, * fleetId: testFleet.id, * freeformTags: { * "bar-key": "value", * }, * }); * ``` * * ## Import * * JmsPlugins can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Jms/jmsPlugin:JmsPlugin test_jms_plugin "id" * ``` */ export declare class JmsPlugin extends pulumi.CustomResource { /** * Get an existing JmsPlugin resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: JmsPluginState, opts?: pulumi.CustomResourceOptions): JmsPlugin; /** * Returns true if the given object is an instance of JmsPlugin. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is JmsPlugin; /** * 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: pulumi.Output; /** * The agent type. */ readonly agentType: pulumi.Output; /** * The availability status. */ readonly availabilityStatus: pulumi.Output; /** * The OMA/OCA/OCMA agent's compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the fleet. */ readonly fleetId: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * The hostname of the agent. */ readonly hostname: pulumi.Output; /** * The architecture of the operating system of the plugin. */ readonly osArchitecture: pulumi.Output; /** * The distribution of the operating system of the plugin. */ readonly osDistribution: pulumi.Output; /** * The operating system family for the plugin. */ readonly osFamily: pulumi.Output; /** * The version of the plugin. */ readonly pluginVersion: pulumi.Output; /** * The lifecycle state. */ readonly state: pulumi.Output; /** * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). System tags can be viewed by users, but can only be created by the system. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The date and time the resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period. */ readonly timeLastSeen: pulumi.Output; /** * The date and time the plugin was registered. */ readonly timeRegistered: pulumi.Output; /** * Create a JmsPlugin resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: JmsPluginArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering JmsPlugin resources. */ export interface JmsPluginState { /** * 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. */ agentId?: pulumi.Input; /** * The agent type. */ agentType?: pulumi.Input; /** * The availability status. */ availabilityStatus?: pulumi.Input; /** * The OMA/OCA/OCMA agent's compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the fleet. */ fleetId?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The hostname of the agent. */ hostname?: pulumi.Input; /** * The architecture of the operating system of the plugin. */ osArchitecture?: pulumi.Input; /** * The distribution of the operating system of the plugin. */ osDistribution?: pulumi.Input; /** * The operating system family for the plugin. */ osFamily?: pulumi.Input; /** * The version of the plugin. */ pluginVersion?: pulumi.Input; /** * The lifecycle state. */ state?: pulumi.Input; /** * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). System tags can be viewed by users, but can only be created by the system. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The date and time the resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period. */ timeLastSeen?: pulumi.Input; /** * The date and time the plugin was registered. */ timeRegistered?: pulumi.Input; } /** * The set of arguments for constructing a JmsPlugin resource. */ export interface JmsPluginArgs { /** * 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. */ agentId: pulumi.Input; /** * The agent type. */ agentType?: pulumi.Input; /** * The OMA/OCA/OCMA agent's compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. (See [Understanding Free-form Tags](https://docs.cloud.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the fleet. */ fleetId?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`. (See [Managing Tags and Tag Namespaces](https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm).) * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=jmsPlugin.d.ts.map