Viewing docs for Oracle Cloud Infrastructure v4.22.0
published on Wednesday, Aug 26, 2026 by Pulumi
published on Wednesday, Aug 26, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.22.0
published on Wednesday, Aug 26, 2026 by Pulumi
published on Wednesday, Aug 26, 2026 by Pulumi
This data source provides details about a specific Instance Agent Plugin resource in Oracle Cloud Infrastructure Compute Instance Agent service.
Gets information about a specific Oracle Cloud Agent plugin on a compute instance.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testInstanceAgentPlugin = oci.computeinstanceagent.getInstanceAgentPlugin({
compartmentId: compartmentId,
instanceagentId: instanceagent.id,
pluginName: instanceAgentPluginPluginName,
});
import pulumi
import pulumi_oci as oci
test_instance_agent_plugin = oci.computeinstanceagent.get_instance_agent_plugin(compartment_id=compartment_id,
instanceagent_id=instanceagent["id"],
plugin_name=instance_agent_plugin_plugin_name)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/computeinstanceagent"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := computeinstanceagent.GetInstanceAgentPlugin(ctx, &computeinstanceagent.GetInstanceAgentPluginArgs{
CompartmentId: compartmentId,
InstanceagentId: instanceagent.Id,
PluginName: instanceAgentPluginPluginName,
}, 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 testInstanceAgentPlugin = Oci.ComputeInstanceAgent.GetInstanceAgentPlugin.Invoke(new()
{
CompartmentId = compartmentId,
InstanceagentId = instanceagent.Id,
PluginName = instanceAgentPluginPluginName,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.ComputeInstanceAgent.ComputeInstanceAgentFunctions;
import com.pulumi.oci.ComputeInstanceAgent.inputs.GetInstanceAgentPluginArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 testInstanceAgentPlugin = ComputeInstanceAgentFunctions.getInstanceAgentPlugin(GetInstanceAgentPluginArgs.builder()
.compartmentId(compartmentId)
.instanceagentId(instanceagent.id())
.pluginName(instanceAgentPluginPluginName)
.build());
}
}
variables:
testInstanceAgentPlugin:
fn::invoke:
function: oci:ComputeInstanceAgent:getInstanceAgentPlugin
arguments:
compartmentId: ${compartmentId}
instanceagentId: ${instanceagent.id}
pluginName: ${instanceAgentPluginPluginName}
pulumi {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
data "oci_computeinstanceagent_getinstanceagentplugin" "testInstanceAgentPlugin" {
compartment_id = compartmentId
instanceagent_id = instanceagent.id
plugin_name = instanceAgentPluginPluginName
}
Using getInstanceAgentPlugin
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 getInstanceAgentPlugin(args: GetInstanceAgentPluginArgs, opts?: InvokeOptions): Promise<GetInstanceAgentPluginResult>
function getInstanceAgentPluginOutput(args: GetInstanceAgentPluginOutputArgs, opts?: InvokeOutputOptions): Output<GetInstanceAgentPluginResult>def get_instance_agent_plugin(compartment_id: Optional[str] = None,
instanceagent_id: Optional[str] = None,
plugin_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInstanceAgentPluginResult
def get_instance_agent_plugin_output(compartment_id: pulumi.Input[Optional[str]] = None,
instanceagent_id: pulumi.Input[Optional[str]] = None,
plugin_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetInstanceAgentPluginResult]func GetInstanceAgentPlugin(ctx *Context, args *GetInstanceAgentPluginArgs, opts ...InvokeOption) (*GetInstanceAgentPluginResult, error)
func GetInstanceAgentPluginOutput(ctx *Context, args *GetInstanceAgentPluginOutputArgs, opts ...InvokeOption) GetInstanceAgentPluginResultOutput> Note: This function is named GetInstanceAgentPlugin in the Go SDK.
public static class GetInstanceAgentPlugin
{
public static Task<GetInstanceAgentPluginResult> InvokeAsync(GetInstanceAgentPluginArgs args, InvokeOptions? opts = null)
public static Output<GetInstanceAgentPluginResult> Invoke(GetInstanceAgentPluginInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetInstanceAgentPluginResult> Invoke(GetInstanceAgentPluginInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetInstanceAgentPluginResult> getInstanceAgentPlugin(GetInstanceAgentPluginArgs args, InvokeOptions options)
public static Output<GetInstanceAgentPluginResult> getInstanceAgentPlugin(GetInstanceAgentPluginArgs args, InvokeOptions options)
public static Output<GetInstanceAgentPluginResult> getInstanceAgentPlugin(GetInstanceAgentPluginArgs args, InvokeOutputOptions options)
fn::invoke:
function: oci:ComputeInstanceAgent/getInstanceAgentPlugin:getInstanceAgentPlugin
arguments:
# arguments dictionarydata "oci_compute_instance_agent_get_instance_agent_plugin" "name" {
# arguments
}The following arguments are supported:
- Compartment
Id string - The ID of the compartment in which the instance resides
- Instanceagent
Id string - The OCID of the instance.
- Plugin
Name string - The name of the plugin.
- Compartment
Id string - The ID of the compartment in which the instance resides
- Instanceagent
Id string - The OCID of the instance.
- Plugin
Name string - The name of the plugin.
- compartment_
id string - The ID of the compartment in which the instance resides
- instanceagent_
id string - The OCID of the instance.
- plugin_
name string - The name of the plugin.
- compartment
Id String - The ID of the compartment in which the instance resides
- instanceagent
Id String - The OCID of the instance.
- plugin
Name String - The name of the plugin.
- compartment
Id string - The ID of the compartment in which the instance resides
- instanceagent
Id string - The OCID of the instance.
- plugin
Name string - The name of the plugin.
- compartment_
id str - The ID of the compartment in which the instance resides
- instanceagent_
id str - The OCID of the instance.
- plugin_
name str - The name of the plugin.
- compartment
Id String - The ID of the compartment in which the instance resides
- instanceagent
Id String - The OCID of the instance.
- plugin
Name String - The name of the plugin.
getInstanceAgentPlugin Result
The following output properties are available:
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Instanceagent
Id string - Message string
- An optional message from the plugin.
- Name string
- The plugin name.
- Plugin
Name string - Status string
- The plugin status.
- Time
Last stringUpdated Utc - The last updated time of the plugin, in UTC.
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Instanceagent
Id string - Message string
- An optional message from the plugin.
- Name string
- The plugin name.
- Plugin
Name string - Status string
- The plugin status.
- Time
Last stringUpdated Utc - The last updated time of the plugin, in UTC.
- compartment_
id string - id string
- The provider-assigned unique ID for this managed resource.
- instanceagent_
id string - message string
- An optional message from the plugin.
- name string
- The plugin name.
- plugin_
name string - status string
- The plugin status.
- time_
last_ stringupdated_ utc - The last updated time of the plugin, in UTC.
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- instanceagent
Id String - message String
- An optional message from the plugin.
- name String
- The plugin name.
- plugin
Name String - status String
- The plugin status.
- time
Last StringUpdated Utc - The last updated time of the plugin, in UTC.
- compartment
Id string - id string
- The provider-assigned unique ID for this managed resource.
- instanceagent
Id string - message string
- An optional message from the plugin.
- name string
- The plugin name.
- plugin
Name string - status string
- The plugin status.
- time
Last stringUpdated Utc - The last updated time of the plugin, in UTC.
- compartment_
id str - id str
- The provider-assigned unique ID for this managed resource.
- instanceagent_
id str - message str
- An optional message from the plugin.
- name str
- The plugin name.
- plugin_
name str - status str
- The plugin status.
- time_
last_ strupdated_ utc - The last updated time of the plugin, in UTC.
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- instanceagent
Id String - message String
- An optional message from the plugin.
- name String
- The plugin name.
- plugin
Name String - status String
- The plugin status.
- time
Last StringUpdated Utc - The last updated time of the plugin, in UTC.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.22.0
published on Wednesday, Aug 26, 2026 by Pulumi
published on Wednesday, Aug 26, 2026 by Pulumi