Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.CloudBridge.getAgentPlugin
Explore with Pulumi AI
This data source provides details about a specific Agent Plugin resource in Oracle Cloud Infrastructure Cloud Bridge service.
Gets a plugin by identifier.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAgentPlugin = oci.CloudBridge.getAgentPlugin({
    agentId: testAgent.id,
    pluginName: agentPluginPluginName,
});
import pulumi
import pulumi_oci as oci
test_agent_plugin = oci.CloudBridge.get_agent_plugin(agent_id=test_agent["id"],
    plugin_name=agent_plugin_plugin_name)
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/cloudbridge"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudbridge.GetAgentPlugin(ctx, &cloudbridge.GetAgentPluginArgs{
			AgentId:    testAgent.Id,
			PluginName: agentPluginPluginName,
		}, 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 testAgentPlugin = Oci.CloudBridge.GetAgentPlugin.Invoke(new()
    {
        AgentId = testAgent.Id,
        PluginName = agentPluginPluginName,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.CloudBridge.CloudBridgeFunctions;
import com.pulumi.oci.CloudBridge.inputs.GetAgentPluginArgs;
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 testAgentPlugin = CloudBridgeFunctions.getAgentPlugin(GetAgentPluginArgs.builder()
            .agentId(testAgent.id())
            .pluginName(agentPluginPluginName)
            .build());
    }
}
variables:
  testAgentPlugin:
    fn::invoke:
      function: oci:CloudBridge:getAgentPlugin
      arguments:
        agentId: ${testAgent.id}
        pluginName: ${agentPluginPluginName}
Using getAgentPlugin
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 getAgentPlugin(args: GetAgentPluginArgs, opts?: InvokeOptions): Promise<GetAgentPluginResult>
function getAgentPluginOutput(args: GetAgentPluginOutputArgs, opts?: InvokeOptions): Output<GetAgentPluginResult>def get_agent_plugin(agent_id: Optional[str] = None,
                     plugin_name: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetAgentPluginResult
def get_agent_plugin_output(agent_id: Optional[pulumi.Input[str]] = None,
                     plugin_name: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetAgentPluginResult]func LookupAgentPlugin(ctx *Context, args *LookupAgentPluginArgs, opts ...InvokeOption) (*LookupAgentPluginResult, error)
func LookupAgentPluginOutput(ctx *Context, args *LookupAgentPluginOutputArgs, opts ...InvokeOption) LookupAgentPluginResultOutput> Note: This function is named LookupAgentPlugin in the Go SDK.
public static class GetAgentPlugin 
{
    public static Task<GetAgentPluginResult> InvokeAsync(GetAgentPluginArgs args, InvokeOptions? opts = null)
    public static Output<GetAgentPluginResult> Invoke(GetAgentPluginInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAgentPluginResult> getAgentPlugin(GetAgentPluginArgs args, InvokeOptions options)
public static Output<GetAgentPluginResult> getAgentPlugin(GetAgentPluginArgs args, InvokeOptions options)
fn::invoke:
  function: oci:CloudBridge/getAgentPlugin:getAgentPlugin
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AgentId string
- Unique Agent identifier path parameter.
- PluginName string
- Unique plugin identifier path parameter.
- AgentId string
- Unique Agent identifier path parameter.
- PluginName string
- Unique plugin identifier path parameter.
- agentId String
- Unique Agent identifier path parameter.
- pluginName String
- Unique plugin identifier path parameter.
- agentId string
- Unique Agent identifier path parameter.
- pluginName string
- Unique plugin identifier path parameter.
- agent_id str
- Unique Agent identifier path parameter.
- plugin_name str
- Unique plugin identifier path parameter.
- agentId String
- Unique Agent identifier path parameter.
- pluginName String
- Unique plugin identifier path parameter.
getAgentPlugin Result
The following output properties are available:
- AgentId string
- Agent identifier.
- Dictionary<string, string>
- The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- DesiredState string
- State to which the customer wants the plugin to move to.
- Dictionary<string, string>
- The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"}
- Id string
- LifecycleDetails string
- A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
- Name string
- Plugin identifier, which can be renamed.
- PluginName string
- PluginVersion string
- Plugin version.
- State string
- The current state of the plugin.
- Dictionary<string, string>
- The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
- TimeCreated string
- The time when the Agent was created. An RFC3339 formatted datetime string.
- TimeUpdated string
- The time when the Agent was updated. An RFC3339 formatted datetime string.
- AgentId string
- Agent identifier.
- map[string]string
- The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- DesiredState string
- State to which the customer wants the plugin to move to.
- map[string]string
- The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"}
- Id string
- LifecycleDetails string
- A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
- Name string
- Plugin identifier, which can be renamed.
- PluginName string
- PluginVersion string
- Plugin version.
- State string
- The current state of the plugin.
- map[string]string
- The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
- TimeCreated string
- The time when the Agent was created. An RFC3339 formatted datetime string.
- TimeUpdated string
- The time when the Agent was updated. An RFC3339 formatted datetime string.
- agentId String
- Agent identifier.
- Map<String,String>
- The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- desiredState String
- State to which the customer wants the plugin to move to.
- Map<String,String>
- The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"}
- id String
- lifecycleDetails String
- A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
- name String
- Plugin identifier, which can be renamed.
- pluginName String
- pluginVersion String
- Plugin version.
- state String
- The current state of the plugin.
- Map<String,String>
- The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
- timeCreated String
- The time when the Agent was created. An RFC3339 formatted datetime string.
- timeUpdated String
- The time when the Agent was updated. An RFC3339 formatted datetime string.
- agentId string
- Agent identifier.
- {[key: string]: string}
- The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- desiredState string
- State to which the customer wants the plugin to move to.
- {[key: string]: string}
- The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"}
- id string
- lifecycleDetails string
- A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
- name string
- Plugin identifier, which can be renamed.
- pluginName string
- pluginVersion string
- Plugin version.
- state string
- The current state of the plugin.
- {[key: string]: string}
- The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
- timeCreated string
- The time when the Agent was created. An RFC3339 formatted datetime string.
- timeUpdated string
- The time when the Agent was updated. An RFC3339 formatted datetime string.
- agent_id str
- Agent identifier.
- Mapping[str, str]
- The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- desired_state str
- State to which the customer wants the plugin to move to.
- Mapping[str, str]
- The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"}
- id str
- lifecycle_details str
- A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
- name str
- Plugin identifier, which can be renamed.
- plugin_name str
- plugin_version str
- Plugin version.
- state str
- The current state of the plugin.
- Mapping[str, str]
- The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
- time_created str
- The time when the Agent was created. An RFC3339 formatted datetime string.
- time_updated str
- The time when the Agent was updated. An RFC3339 formatted datetime string.
- agentId String
- Agent identifier.
- Map<String>
- The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- desiredState String
- State to which the customer wants the plugin to move to.
- Map<String>
- The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"}
- id String
- lifecycleDetails String
- A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
- name String
- Plugin identifier, which can be renamed.
- pluginName String
- pluginVersion String
- Plugin version.
- state String
- The current state of the plugin.
- Map<String>
- The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
- timeCreated String
- The time when the Agent was created. An RFC3339 formatted datetime string.
- timeUpdated String
- The time when the Agent was updated. An RFC3339 formatted datetime string.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.