Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.ManagementAgent.getManagementAgentPlugins
Explore with Pulumi AI
This data source provides the list of Management Agent Plugins in Oracle Cloud Infrastructure Management Agent service.
Returns a list of managementAgentPlugins.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testManagementAgentPlugins = oci.ManagementAgent.getManagementAgentPlugins({
    compartmentId: compartmentId,
    agentId: managementAgentId,
    displayName: managementAgentPluginDisplayName,
    platformTypes: managementAgentPluginPlatformType,
    state: managementAgentPluginState,
});
import pulumi
import pulumi_oci as oci
test_management_agent_plugins = oci.ManagementAgent.get_management_agent_plugins(compartment_id=compartment_id,
    agent_id=management_agent_id,
    display_name=management_agent_plugin_display_name,
    platform_types=management_agent_plugin_platform_type,
    state=management_agent_plugin_state)
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/managementagent"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := managementagent.GetManagementAgentPlugins(ctx, &managementagent.GetManagementAgentPluginsArgs{
			CompartmentId: compartmentId,
			AgentId:       pulumi.StringRef(managementAgentId),
			DisplayName:   pulumi.StringRef(managementAgentPluginDisplayName),
			PlatformTypes: managementAgentPluginPlatformType,
			State:         pulumi.StringRef(managementAgentPluginState),
		}, 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 testManagementAgentPlugins = Oci.ManagementAgent.GetManagementAgentPlugins.Invoke(new()
    {
        CompartmentId = compartmentId,
        AgentId = managementAgentId,
        DisplayName = managementAgentPluginDisplayName,
        PlatformTypes = managementAgentPluginPlatformType,
        State = managementAgentPluginState,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.ManagementAgent.ManagementAgentFunctions;
import com.pulumi.oci.ManagementAgent.inputs.GetManagementAgentPluginsArgs;
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 testManagementAgentPlugins = ManagementAgentFunctions.getManagementAgentPlugins(GetManagementAgentPluginsArgs.builder()
            .compartmentId(compartmentId)
            .agentId(managementAgentId)
            .displayName(managementAgentPluginDisplayName)
            .platformTypes(managementAgentPluginPlatformType)
            .state(managementAgentPluginState)
            .build());
    }
}
variables:
  testManagementAgentPlugins:
    fn::invoke:
      function: oci:ManagementAgent:getManagementAgentPlugins
      arguments:
        compartmentId: ${compartmentId}
        agentId: ${managementAgentId}
        displayName: ${managementAgentPluginDisplayName}
        platformTypes: ${managementAgentPluginPlatformType}
        state: ${managementAgentPluginState}
Using getManagementAgentPlugins
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 getManagementAgentPlugins(args: GetManagementAgentPluginsArgs, opts?: InvokeOptions): Promise<GetManagementAgentPluginsResult>
function getManagementAgentPluginsOutput(args: GetManagementAgentPluginsOutputArgs, opts?: InvokeOptions): Output<GetManagementAgentPluginsResult>def get_management_agent_plugins(agent_id: Optional[str] = None,
                                 compartment_id: Optional[str] = None,
                                 display_name: Optional[str] = None,
                                 filters: Optional[Sequence[GetManagementAgentPluginsFilter]] = None,
                                 platform_types: Optional[Sequence[str]] = None,
                                 state: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetManagementAgentPluginsResult
def get_management_agent_plugins_output(agent_id: Optional[pulumi.Input[str]] = None,
                                 compartment_id: Optional[pulumi.Input[str]] = None,
                                 display_name: Optional[pulumi.Input[str]] = None,
                                 filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetManagementAgentPluginsFilterArgs]]]] = None,
                                 platform_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                 state: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetManagementAgentPluginsResult]func GetManagementAgentPlugins(ctx *Context, args *GetManagementAgentPluginsArgs, opts ...InvokeOption) (*GetManagementAgentPluginsResult, error)
func GetManagementAgentPluginsOutput(ctx *Context, args *GetManagementAgentPluginsOutputArgs, opts ...InvokeOption) GetManagementAgentPluginsResultOutput> Note: This function is named GetManagementAgentPlugins in the Go SDK.
public static class GetManagementAgentPlugins 
{
    public static Task<GetManagementAgentPluginsResult> InvokeAsync(GetManagementAgentPluginsArgs args, InvokeOptions? opts = null)
    public static Output<GetManagementAgentPluginsResult> Invoke(GetManagementAgentPluginsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetManagementAgentPluginsResult> getManagementAgentPlugins(GetManagementAgentPluginsArgs args, InvokeOptions options)
public static Output<GetManagementAgentPluginsResult> getManagementAgentPlugins(GetManagementAgentPluginsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:ManagementAgent/getManagementAgentPlugins:getManagementAgentPlugins
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CompartmentId string
- The OCID of the compartment to which a request will be scoped.
- AgentId string
- The ManagementAgentID of the agent from which the Management Agents to be filtered.
- DisplayName string
- Filter to return only Management Agent Plugins having the particular display name.
- Filters
List<GetManagement Agent Plugins Filter> 
- PlatformTypes List<string>
- Array of PlatformTypes to return only results having the particular platform types. Example: ["LINUX"]
- State string
- Filter to return only Management Agents in the particular lifecycle state.
- CompartmentId string
- The OCID of the compartment to which a request will be scoped.
- AgentId string
- The ManagementAgentID of the agent from which the Management Agents to be filtered.
- DisplayName string
- Filter to return only Management Agent Plugins having the particular display name.
- Filters
[]GetManagement Agent Plugins Filter 
- PlatformTypes []string
- Array of PlatformTypes to return only results having the particular platform types. Example: ["LINUX"]
- State string
- Filter to return only Management Agents in the particular lifecycle state.
- compartmentId String
- The OCID of the compartment to which a request will be scoped.
- agentId String
- The ManagementAgentID of the agent from which the Management Agents to be filtered.
- displayName String
- Filter to return only Management Agent Plugins having the particular display name.
- filters
List<GetPlugins Filter> 
- platformTypes List<String>
- Array of PlatformTypes to return only results having the particular platform types. Example: ["LINUX"]
- state String
- Filter to return only Management Agents in the particular lifecycle state.
- compartmentId string
- The OCID of the compartment to which a request will be scoped.
- agentId string
- The ManagementAgentID of the agent from which the Management Agents to be filtered.
- displayName string
- Filter to return only Management Agent Plugins having the particular display name.
- filters
GetManagement Agent Plugins Filter[] 
- platformTypes string[]
- Array of PlatformTypes to return only results having the particular platform types. Example: ["LINUX"]
- state string
- Filter to return only Management Agents in the particular lifecycle state.
- compartment_id str
- The OCID of the compartment to which a request will be scoped.
- agent_id str
- The ManagementAgentID of the agent from which the Management Agents to be filtered.
- display_name str
- Filter to return only Management Agent Plugins having the particular display name.
- filters
Sequence[GetManagement Agent Plugins Filter] 
- platform_types Sequence[str]
- Array of PlatformTypes to return only results having the particular platform types. Example: ["LINUX"]
- state str
- Filter to return only Management Agents in the particular lifecycle state.
- compartmentId String
- The OCID of the compartment to which a request will be scoped.
- agentId String
- The ManagementAgentID of the agent from which the Management Agents to be filtered.
- displayName String
- Filter to return only Management Agent Plugins having the particular display name.
- filters List<Property Map>
- platformTypes List<String>
- Array of PlatformTypes to return only results having the particular platform types. Example: ["LINUX"]
- state String
- Filter to return only Management Agents in the particular lifecycle state.
getManagementAgentPlugins Result
The following output properties are available:
- CompartmentId string
- Id string
- The provider-assigned unique ID for this managed resource.
- ManagementAgent List<GetPlugins Management Agent Plugins Management Agent Plugin> 
- The list of management_agent_plugins.
- AgentId string
- DisplayName string
- Management Agent Plugin Display Name
- Filters
List<GetManagement Agent Plugins Filter> 
- PlatformTypes List<string>
- State string
- The current state of Management Agent Plugin
- CompartmentId string
- Id string
- The provider-assigned unique ID for this managed resource.
- ManagementAgent []GetPlugins Management Agent Plugins Management Agent Plugin 
- The list of management_agent_plugins.
- AgentId string
- DisplayName string
- Management Agent Plugin Display Name
- Filters
[]GetManagement Agent Plugins Filter 
- PlatformTypes []string
- State string
- The current state of Management Agent Plugin
- compartmentId String
- id String
- The provider-assigned unique ID for this managed resource.
- managementAgent List<GetPlugins Plugins Plugin> 
- The list of management_agent_plugins.
- agentId String
- displayName String
- Management Agent Plugin Display Name
- filters
List<GetPlugins Filter> 
- platformTypes List<String>
- state String
- The current state of Management Agent Plugin
- compartmentId string
- id string
- The provider-assigned unique ID for this managed resource.
- managementAgent GetPlugins Management Agent Plugins Management Agent Plugin[] 
- The list of management_agent_plugins.
- agentId string
- displayName string
- Management Agent Plugin Display Name
- filters
GetManagement Agent Plugins Filter[] 
- platformTypes string[]
- state string
- The current state of Management Agent Plugin
- compartment_id str
- id str
- The provider-assigned unique ID for this managed resource.
- management_agent_ Sequence[Getplugins Management Agent Plugins Management Agent Plugin] 
- The list of management_agent_plugins.
- agent_id str
- display_name str
- Management Agent Plugin Display Name
- filters
Sequence[GetManagement Agent Plugins Filter] 
- platform_types Sequence[str]
- state str
- The current state of Management Agent Plugin
- compartmentId String
- id String
- The provider-assigned unique ID for this managed resource.
- managementAgent List<Property Map>Plugins 
- The list of management_agent_plugins.
- agentId String
- displayName String
- Management Agent Plugin Display Name
- filters List<Property Map>
- platformTypes List<String>
- state String
- The current state of Management Agent Plugin
Supporting Types
GetManagementAgentPluginsFilter    
GetManagementAgentPluginsManagementAgentPlugin      
- Description string
- Management Agent Plugin description
- DisplayName string
- Filter to return only Management Agent Plugins having the particular display name.
- Id string
- Management Agent Plugin Id
- IsConsole boolDeployable 
- A flag to indicate whether a given plugin can be deployed from Agent Console UI or not.
- Name string
- Management Agent Plugin Name
- State string
- Filter to return only Management Agents in the particular lifecycle state.
- SupportedPlatform List<string>Types 
- Supported Platform Types
- Version int
- Management Agent Plugin Version
- Description string
- Management Agent Plugin description
- DisplayName string
- Filter to return only Management Agent Plugins having the particular display name.
- Id string
- Management Agent Plugin Id
- IsConsole boolDeployable 
- A flag to indicate whether a given plugin can be deployed from Agent Console UI or not.
- Name string
- Management Agent Plugin Name
- State string
- Filter to return only Management Agents in the particular lifecycle state.
- SupportedPlatform []stringTypes 
- Supported Platform Types
- Version int
- Management Agent Plugin Version
- description String
- Management Agent Plugin description
- displayName String
- Filter to return only Management Agent Plugins having the particular display name.
- id String
- Management Agent Plugin Id
- isConsole BooleanDeployable 
- A flag to indicate whether a given plugin can be deployed from Agent Console UI or not.
- name String
- Management Agent Plugin Name
- state String
- Filter to return only Management Agents in the particular lifecycle state.
- supportedPlatform List<String>Types 
- Supported Platform Types
- version Integer
- Management Agent Plugin Version
- description string
- Management Agent Plugin description
- displayName string
- Filter to return only Management Agent Plugins having the particular display name.
- id string
- Management Agent Plugin Id
- isConsole booleanDeployable 
- A flag to indicate whether a given plugin can be deployed from Agent Console UI or not.
- name string
- Management Agent Plugin Name
- state string
- Filter to return only Management Agents in the particular lifecycle state.
- supportedPlatform string[]Types 
- Supported Platform Types
- version number
- Management Agent Plugin Version
- description str
- Management Agent Plugin description
- display_name str
- Filter to return only Management Agent Plugins having the particular display name.
- id str
- Management Agent Plugin Id
- is_console_ booldeployable 
- A flag to indicate whether a given plugin can be deployed from Agent Console UI or not.
- name str
- Management Agent Plugin Name
- state str
- Filter to return only Management Agents in the particular lifecycle state.
- supported_platform_ Sequence[str]types 
- Supported Platform Types
- version int
- Management Agent Plugin Version
- description String
- Management Agent Plugin description
- displayName String
- Filter to return only Management Agent Plugins having the particular display name.
- id String
- Management Agent Plugin Id
- isConsole BooleanDeployable 
- A flag to indicate whether a given plugin can be deployed from Agent Console UI or not.
- name String
- Management Agent Plugin Name
- state String
- Filter to return only Management Agents in the particular lifecycle state.
- supportedPlatform List<String>Types 
- Supported Platform Types
- version Number
- Management Agent Plugin Version
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.