Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.ComputeInstanceAgent.getInstanceAgentPlugins
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
This data source provides the list of Instance Agent Plugins in Oracle Cloud Infrastructure Compute Instance Agent service.
The API to get one or more plugin information.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testInstanceAgentPlugins = oci.ComputeInstanceAgent.getInstanceAgentPlugins({
instanceagentId: testInstanceagent.id,
name: instanceAgentPluginName,
status: instanceAgentPluginStatus,
});
import pulumi
import pulumi_oci as oci
test_instance_agent_plugins = oci.ComputeInstanceAgent.get_instance_agent_plugins(instanceagent_id=test_instanceagent["id"],
name=instance_agent_plugin_name,
status=instance_agent_plugin_status)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/ComputeInstanceAgent"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ComputeInstanceAgent.GetInstanceAgentPlugins(ctx, &computeinstanceagent.GetInstanceAgentPluginsArgs{
InstanceagentId: testInstanceagent.Id,
Name: pulumi.StringRef(instanceAgentPluginName),
Status: pulumi.StringRef(instanceAgentPluginStatus),
}, 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 testInstanceAgentPlugins = Oci.ComputeInstanceAgent.GetInstanceAgentPlugins.Invoke(new()
{
InstanceagentId = testInstanceagent.Id,
Name = instanceAgentPluginName,
Status = instanceAgentPluginStatus,
});
});
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.GetInstanceAgentPluginsArgs;
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 testInstanceAgentPlugins = ComputeInstanceAgentFunctions.getInstanceAgentPlugins(GetInstanceAgentPluginsArgs.builder()
.instanceagentId(testInstanceagent.id())
.name(instanceAgentPluginName)
.status(instanceAgentPluginStatus)
.build());
}
}
variables:
testInstanceAgentPlugins:
fn::invoke:
Function: oci:ComputeInstanceAgent:getInstanceAgentPlugins
Arguments:
instanceagentId: ${testInstanceagent.id}
name: ${instanceAgentPluginName}
status: ${instanceAgentPluginStatus}
Using getInstanceAgentPlugins
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 getInstanceAgentPlugins(args: GetInstanceAgentPluginsArgs, opts?: InvokeOptions): Promise<GetInstanceAgentPluginsResult>
function getInstanceAgentPluginsOutput(args: GetInstanceAgentPluginsOutputArgs, opts?: InvokeOptions): Output<GetInstanceAgentPluginsResult>
def get_instance_agent_plugins(compartment_id: Optional[str] = None,
filters: Optional[Sequence[_computeinstanceagent.GetInstanceAgentPluginsFilter]] = None,
instanceagent_id: Optional[str] = None,
name: Optional[str] = None,
status: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInstanceAgentPluginsResult
def get_instance_agent_plugins_output(compartment_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_computeinstanceagent.GetInstanceAgentPluginsFilterArgs]]]] = None,
instanceagent_id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInstanceAgentPluginsResult]
func GetInstanceAgentPlugins(ctx *Context, args *GetInstanceAgentPluginsArgs, opts ...InvokeOption) (*GetInstanceAgentPluginsResult, error)
func GetInstanceAgentPluginsOutput(ctx *Context, args *GetInstanceAgentPluginsOutputArgs, opts ...InvokeOption) GetInstanceAgentPluginsResultOutput
> Note: This function is named GetInstanceAgentPlugins
in the Go SDK.
public static class GetInstanceAgentPlugins
{
public static Task<GetInstanceAgentPluginsResult> InvokeAsync(GetInstanceAgentPluginsArgs args, InvokeOptions? opts = null)
public static Output<GetInstanceAgentPluginsResult> Invoke(GetInstanceAgentPluginsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInstanceAgentPluginsResult> getInstanceAgentPlugins(GetInstanceAgentPluginsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:ComputeInstanceAgent/getInstanceAgentPlugins:getInstanceAgentPlugins
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - Instanceagent
Id string - The OCID of the instance.
- Filters
List<Get
Instance Agent Plugins Filter> - Name string
- The plugin name
- Status string
- The plugin status
- Compartment
Id string - Instanceagent
Id string - The OCID of the instance.
- Filters
[]Get
Instance Agent Plugins Filter - Name string
- The plugin name
- Status string
- The plugin status
- compartment
Id String - instanceagent
Id String - The OCID of the instance.
- filters
List<Get
Instance Agent Plugins Filter> - name String
- The plugin name
- status String
- The plugin status
- compartment
Id string - instanceagent
Id string - The OCID of the instance.
- filters
Get
Instance Agent Plugins Filter[] - name string
- The plugin name
- status string
- The plugin status
- compartment_
id str - instanceagent_
id str - The OCID of the instance.
- filters
Sequence[computeinstanceagent.
Get Instance Agent Plugins Filter] - name str
- The plugin name
- status str
- The plugin status
- compartment
Id String - instanceagent
Id String - The OCID of the instance.
- filters List<Property Map>
- name String
- The plugin name
- status String
- The plugin status
getInstanceAgentPlugins Result
The following output properties are available:
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Agent List<GetPlugins Instance Agent Plugins Instance Agent Plugin> - The list of instance_agent_plugins.
- Instanceagent
Id string - Filters
List<Get
Instance Agent Plugins Filter> - Name string
- The plugin name
- Status string
- The plugin status Specified the plugin state on the instance *
RUNNING
- The plugin is in running state *STOPPED
- The plugin is in stopped state *NOT_SUPPORTED
- The plugin is not supported on this platform *INVALID
- The plugin state is not recognizable by the service
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Agent []GetPlugins Instance Agent Plugins Instance Agent Plugin - The list of instance_agent_plugins.
- Instanceagent
Id string - Filters
[]Get
Instance Agent Plugins Filter - Name string
- The plugin name
- Status string
- The plugin status Specified the plugin state on the instance *
RUNNING
- The plugin is in running state *STOPPED
- The plugin is in stopped state *NOT_SUPPORTED
- The plugin is not supported on this platform *INVALID
- The plugin state is not recognizable by the service
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- instance
Agent List<GetPlugins Instance Agent Plugins Instance Agent Plugin> - The list of instance_agent_plugins.
- instanceagent
Id String - filters
List<Get
Instance Agent Plugins Filter> - name String
- The plugin name
- status String
- The plugin status Specified the plugin state on the instance *
RUNNING
- The plugin is in running state *STOPPED
- The plugin is in stopped state *NOT_SUPPORTED
- The plugin is not supported on this platform *INVALID
- The plugin state is not recognizable by the service
- compartment
Id string - id string
- The provider-assigned unique ID for this managed resource.
- instance
Agent GetPlugins Instance Agent Plugins Instance Agent Plugin[] - The list of instance_agent_plugins.
- instanceagent
Id string - filters
Get
Instance Agent Plugins Filter[] - name string
- The plugin name
- status string
- The plugin status Specified the plugin state on the instance *
RUNNING
- The plugin is in running state *STOPPED
- The plugin is in stopped state *NOT_SUPPORTED
- The plugin is not supported on this platform *INVALID
- The plugin state is not recognizable by the service
- compartment_
id str - id str
- The provider-assigned unique ID for this managed resource.
- instance_
agent_ Sequence[computeinstanceagent.plugins Get Instance Agent Plugins Instance Agent Plugin] - The list of instance_agent_plugins.
- instanceagent_
id str - filters
Sequence[computeinstanceagent.
Get Instance Agent Plugins Filter] - name str
- The plugin name
- status str
- The plugin status Specified the plugin state on the instance *
RUNNING
- The plugin is in running state *STOPPED
- The plugin is in stopped state *NOT_SUPPORTED
- The plugin is not supported on this platform *INVALID
- The plugin state is not recognizable by the service
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- instance
Agent List<Property Map>Plugins - The list of instance_agent_plugins.
- instanceagent
Id String - filters List<Property Map>
- name String
- The plugin name
- status String
- The plugin status Specified the plugin state on the instance *
RUNNING
- The plugin is in running state *STOPPED
- The plugin is in stopped state *NOT_SUPPORTED
- The plugin is not supported on this platform *INVALID
- The plugin state is not recognizable by the service
Supporting Types
GetInstanceAgentPluginsFilter
GetInstanceAgentPluginsInstanceAgentPlugin
- Message string
- The optional message from the agent plugin
- Name string
- The plugin name
- Status string
- The plugin status
- Time
Last stringUpdated Utc - The last update time of the plugin in UTC
- Message string
- The optional message from the agent plugin
- Name string
- The plugin name
- Status string
- The plugin status
- Time
Last stringUpdated Utc - The last update time of the plugin in UTC
- message String
- The optional message from the agent plugin
- name String
- The plugin name
- status String
- The plugin status
- time
Last StringUpdated Utc - The last update time of the plugin in UTC
- message string
- The optional message from the agent plugin
- name string
- The plugin name
- status string
- The plugin status
- time
Last stringUpdated Utc - The last update time of the plugin in UTC
- message str
- The optional message from the agent plugin
- name str
- The plugin name
- status str
- The plugin status
- time_
last_ strupdated_ utc - The last update time of the plugin in UTC
- message String
- The optional message from the agent plugin
- name String
- The plugin name
- status String
- The plugin status
- time
Last StringUpdated Utc - The last update 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
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi