1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Jms
  5. getJmsPlugin
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.Jms.getJmsPlugin

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This data source provides details about a specific Jms Plugin resource in Oracle Cloud Infrastructure Jms service.

    Returns the JmsPlugin.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testJmsPlugin = oci.Jms.getJmsPlugin({
        jmsPluginId: testJmsPluginOciJmsJmsPlugin.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_jms_plugin = oci.Jms.get_jms_plugin(jms_plugin_id=test_jms_plugin_oci_jms_jms_plugin["id"])
    
    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.GetJmsPlugin(ctx, &jms.GetJmsPluginArgs{
    			JmsPluginId: testJmsPluginOciJmsJmsPlugin.Id,
    		}, 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 testJmsPlugin = Oci.Jms.GetJmsPlugin.Invoke(new()
        {
            JmsPluginId = testJmsPluginOciJmsJmsPlugin.Id,
        });
    
    });
    
    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.GetJmsPluginArgs;
    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 testJmsPlugin = JmsFunctions.getJmsPlugin(GetJmsPluginArgs.builder()
                .jmsPluginId(testJmsPluginOciJmsJmsPlugin.id())
                .build());
    
        }
    }
    
    variables:
      testJmsPlugin:
        fn::invoke:
          Function: oci:Jms:getJmsPlugin
          Arguments:
            jmsPluginId: ${testJmsPluginOciJmsJmsPlugin.id}
    

    Using getJmsPlugin

    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 getJmsPlugin(args: GetJmsPluginArgs, opts?: InvokeOptions): Promise<GetJmsPluginResult>
    function getJmsPluginOutput(args: GetJmsPluginOutputArgs, opts?: InvokeOptions): Output<GetJmsPluginResult>
    def get_jms_plugin(jms_plugin_id: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetJmsPluginResult
    def get_jms_plugin_output(jms_plugin_id: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetJmsPluginResult]
    func GetJmsPlugin(ctx *Context, args *GetJmsPluginArgs, opts ...InvokeOption) (*GetJmsPluginResult, error)
    func GetJmsPluginOutput(ctx *Context, args *GetJmsPluginOutputArgs, opts ...InvokeOption) GetJmsPluginResultOutput

    > Note: This function is named GetJmsPlugin in the Go SDK.

    public static class GetJmsPlugin 
    {
        public static Task<GetJmsPluginResult> InvokeAsync(GetJmsPluginArgs args, InvokeOptions? opts = null)
        public static Output<GetJmsPluginResult> Invoke(GetJmsPluginInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetJmsPluginResult> getJmsPlugin(GetJmsPluginArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Jms/getJmsPlugin:getJmsPlugin
      arguments:
        # arguments dictionary

    The following arguments are supported:

    JmsPluginId string
    The OCID of the JmsPlugin.
    JmsPluginId string
    The OCID of the JmsPlugin.
    jmsPluginId String
    The OCID of the JmsPlugin.
    jmsPluginId string
    The OCID of the JmsPlugin.
    jms_plugin_id str
    The OCID of the JmsPlugin.
    jmsPluginId String
    The OCID of the JmsPlugin.

    getJmsPlugin Result

    The following output properties are available:

    AgentId string
    The OCID of the Management Agent (OMA) or the Oracle Cloud Agent (OCA) instance where the JMS plugin is deployed.
    AgentType string
    The agent type.
    AvailabilityStatus string
    The availability status.
    CompartmentId string
    The OMA/OCA agent's compartment OCID.
    DefinedTags Dictionary<string, string>
    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).
    FleetId string
    The OCID of the fleet.
    FreeformTags Dictionary<string, string>
    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.)
    Hostname string
    The hostname of the agent.
    Id string
    The OCID to identify this JmsPlugin.
    JmsPluginId string
    OsArchitecture string
    The architecture of the operating system of the plugin.
    OsDistribution string
    The distribution of the operating system of the plugin.
    OsFamily string
    The operating system family for the plugin.
    PluginVersion string
    The version of the plugin.
    State string
    The lifecycle state.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeLastSeen 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.
    TimeRegistered string
    The date and time the plugin was registered.
    AgentId string
    The OCID of the Management Agent (OMA) or the Oracle Cloud Agent (OCA) instance where the JMS plugin is deployed.
    AgentType string
    The agent type.
    AvailabilityStatus string
    The availability status.
    CompartmentId string
    The OMA/OCA agent's compartment OCID.
    DefinedTags map[string]string
    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).
    FleetId string
    The OCID of the fleet.
    FreeformTags map[string]string
    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.)
    Hostname string
    The hostname of the agent.
    Id string
    The OCID to identify this JmsPlugin.
    JmsPluginId string
    OsArchitecture string
    The architecture of the operating system of the plugin.
    OsDistribution string
    The distribution of the operating system of the plugin.
    OsFamily string
    The operating system family for the plugin.
    PluginVersion string
    The version of the plugin.
    State string
    The lifecycle state.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeLastSeen 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.
    TimeRegistered string
    The date and time the plugin was registered.
    agentId String
    The OCID of the Management Agent (OMA) or the Oracle Cloud Agent (OCA) instance where the JMS plugin is deployed.
    agentType String
    The agent type.
    availabilityStatus String
    The availability status.
    compartmentId String
    The OMA/OCA agent's compartment OCID.
    definedTags Map<String,String>
    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).
    fleetId String
    The OCID of the fleet.
    freeformTags Map<String,String>
    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.)
    hostname String
    The hostname of the agent.
    id String
    The OCID to identify this JmsPlugin.
    jmsPluginId String
    osArchitecture String
    The architecture of the operating system of the plugin.
    osDistribution String
    The distribution of the operating system of the plugin.
    osFamily String
    The operating system family for the plugin.
    pluginVersion String
    The version of the plugin.
    state String
    The lifecycle state.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeLastSeen 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.
    timeRegistered String
    The date and time the plugin was registered.
    agentId string
    The OCID of the Management Agent (OMA) or the Oracle Cloud Agent (OCA) instance where the JMS plugin is deployed.
    agentType string
    The agent type.
    availabilityStatus string
    The availability status.
    compartmentId string
    The OMA/OCA agent's compartment OCID.
    definedTags {[key: string]: string}
    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).
    fleetId string
    The OCID of the fleet.
    freeformTags {[key: string]: string}
    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.)
    hostname string
    The hostname of the agent.
    id string
    The OCID to identify this JmsPlugin.
    jmsPluginId string
    osArchitecture string
    The architecture of the operating system of the plugin.
    osDistribution string
    The distribution of the operating system of the plugin.
    osFamily string
    The operating system family for the plugin.
    pluginVersion string
    The version of the plugin.
    state string
    The lifecycle state.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeLastSeen 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.
    timeRegistered string
    The date and time the plugin was registered.
    agent_id str
    The OCID of the Management Agent (OMA) or the Oracle Cloud Agent (OCA) instance where the JMS plugin is deployed.
    agent_type str
    The agent type.
    availability_status str
    The availability status.
    compartment_id str
    The OMA/OCA agent's compartment OCID.
    defined_tags Mapping[str, str]
    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).
    fleet_id str
    The OCID of the fleet.
    freeform_tags Mapping[str, str]
    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.)
    hostname str
    The hostname of the agent.
    id str
    The OCID to identify this JmsPlugin.
    jms_plugin_id str
    os_architecture str
    The architecture of the operating system of the plugin.
    os_distribution str
    The distribution of the operating system of the plugin.
    os_family str
    The operating system family for the plugin.
    plugin_version str
    The version of the plugin.
    state str
    The lifecycle state.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_last_seen str
    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.
    time_registered str
    The date and time the plugin was registered.
    agentId String
    The OCID of the Management Agent (OMA) or the Oracle Cloud Agent (OCA) instance where the JMS plugin is deployed.
    agentType String
    The agent type.
    availabilityStatus String
    The availability status.
    compartmentId String
    The OMA/OCA agent's compartment OCID.
    definedTags Map<String>
    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).
    fleetId String
    The OCID of the fleet.
    freeformTags Map<String>
    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.)
    hostname String
    The hostname of the agent.
    id String
    The OCID to identify this JmsPlugin.
    jmsPluginId String
    osArchitecture String
    The architecture of the operating system of the plugin.
    osDistribution String
    The distribution of the operating system of the plugin.
    osFamily String
    The operating system family for the plugin.
    pluginVersion String
    The version of the plugin.
    state String
    The lifecycle state.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeLastSeen 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.
    timeRegistered String
    The date and time the plugin was registered.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi