Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.Jms.getJmsPlugin
Explore with Pulumi AI
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:
- Jms
Plugin stringId - The OCID of the JmsPlugin.
- Jms
Plugin stringId - The OCID of the JmsPlugin.
- jms
Plugin StringId - The OCID of the JmsPlugin.
- jms
Plugin stringId - The OCID of the JmsPlugin.
- jms_
plugin_ strid - The OCID of the JmsPlugin.
- jms
Plugin StringId - The OCID of the JmsPlugin.
getJmsPlugin Result
The following output properties are available:
- Agent
Id string - The OCID of the Management Agent (OMA) or the Oracle Cloud Agent (OCA) instance where the JMS plugin is deployed.
- Agent
Type string - The agent type.
- Availability
Status string - The availability status.
- Compartment
Id string - The OMA/OCA agent's compartment OCID.
- 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). - Fleet
Id string - The OCID of the fleet.
- 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.
- Jms
Plugin stringId - Os
Architecture string - The architecture of the operating system of the plugin.
- Os
Distribution string - The distribution of the operating system of the plugin.
- Os
Family string - The operating system family for the plugin.
- Plugin
Version string - The version of the plugin.
- State string
- The lifecycle state.
- 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"}
- Time
Last stringSeen - 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 string - The date and time the plugin was registered.
- Agent
Id string - The OCID of the Management Agent (OMA) or the Oracle Cloud Agent (OCA) instance where the JMS plugin is deployed.
- Agent
Type string - The agent type.
- Availability
Status string - The availability status.
- Compartment
Id string - The OMA/OCA agent's compartment OCID.
- 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). - Fleet
Id string - The OCID of the fleet.
- 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.
- Jms
Plugin stringId - Os
Architecture string - The architecture of the operating system of the plugin.
- Os
Distribution string - The distribution of the operating system of the plugin.
- Os
Family string - The operating system family for the plugin.
- Plugin
Version string - The version of the plugin.
- State string
- The lifecycle state.
- 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"}
- Time
Last stringSeen - 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 string - The date and time the plugin was registered.
- agent
Id String - The OCID of the Management Agent (OMA) or the Oracle Cloud Agent (OCA) instance where the JMS plugin is deployed.
- agent
Type String - The agent type.
- availability
Status String - The availability status.
- compartment
Id String - The OMA/OCA agent's compartment OCID.
- 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). - fleet
Id String - The OCID of the fleet.
- 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.
- jms
Plugin StringId - os
Architecture String - The architecture of the operating system of the plugin.
- os
Distribution String - The distribution of the operating system of the plugin.
- os
Family String - The operating system family for the plugin.
- plugin
Version String - The version of the plugin.
- state String
- The lifecycle state.
- 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"}
- time
Last StringSeen - 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 String - The date and time the plugin was registered.
- agent
Id string - The OCID of the Management Agent (OMA) or the Oracle Cloud Agent (OCA) instance where the JMS plugin is deployed.
- agent
Type string - The agent type.
- availability
Status string - The availability status.
- compartment
Id string - The OMA/OCA agent's compartment OCID.
- {[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). - fleet
Id string - The OCID of the fleet.
- {[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.
- jms
Plugin stringId - os
Architecture string - The architecture of the operating system of the plugin.
- os
Distribution string - The distribution of the operating system of the plugin.
- os
Family string - The operating system family for the plugin.
- plugin
Version string - The version of the plugin.
- state string
- The lifecycle state.
- {[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"}
- time
Last stringSeen - 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 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.
- 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.
- 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_ strid - 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.
- 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_ strseen - 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.
- agent
Id String - The OCID of the Management Agent (OMA) or the Oracle Cloud Agent (OCA) instance where the JMS plugin is deployed.
- agent
Type String - The agent type.
- availability
Status String - The availability status.
- compartment
Id String - The OMA/OCA agent's compartment OCID.
- 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). - fleet
Id String - The OCID of the fleet.
- 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.
- jms
Plugin StringId - os
Architecture String - The architecture of the operating system of the plugin.
- os
Distribution String - The distribution of the operating system of the plugin.
- os
Family String - The operating system family for the plugin.
- plugin
Version String - The version of the plugin.
- state String
- The lifecycle state.
- 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"}
- time
Last StringSeen - 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 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.