Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.ManagementAgent.getManagementAgentPlugins
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 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/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[_managementagent.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[_managementagent.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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:ManagementAgent/getManagementAgentPlugins:getManagementAgentPlugins
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The OCID of the compartment to which a request will be scoped.
- Agent
Id string - The ManagementAgentID of the agent from which the Management Agents to be filtered.
- Display
Name string - Filter to return only Management Agent Plugins having the particular display name.
- Filters
List<Get
Management Agent Plugins Filter> - Platform
Types 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.
- Compartment
Id string - The OCID of the compartment to which a request will be scoped.
- Agent
Id string - The ManagementAgentID of the agent from which the Management Agents to be filtered.
- Display
Name string - Filter to return only Management Agent Plugins having the particular display name.
- Filters
[]Get
Management Agent Plugins Filter - Platform
Types []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 String - The OCID of the compartment to which a request will be scoped.
- agent
Id String - The ManagementAgentID of the agent from which the Management Agents to be filtered.
- display
Name String - Filter to return only Management Agent Plugins having the particular display name.
- filters
List<Get
Plugins Filter> - platform
Types 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.
- compartment
Id string - The OCID of the compartment to which a request will be scoped.
- agent
Id string - The ManagementAgentID of the agent from which the Management Agents to be filtered.
- display
Name string - Filter to return only Management Agent Plugins having the particular display name.
- filters
Get
Management Agent Plugins Filter[] - platform
Types 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[managementagent.
Get Management 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.
- compartment
Id String - The OCID of the compartment to which a request will be scoped.
- agent
Id String - The ManagementAgentID of the agent from which the Management Agents to be filtered.
- display
Name String - Filter to return only Management Agent Plugins having the particular display name.
- filters List<Property Map>
- platform
Types 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:
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Management
Agent List<GetPlugins Management Agent Plugins Management Agent Plugin> - The list of management_agent_plugins.
- Agent
Id string - Display
Name string - Management Agent Plugin Display Name
- Filters
List<Get
Management Agent Plugins Filter> - Platform
Types List<string> - State string
- The current state of Management Agent Plugin
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Management
Agent []GetPlugins Management Agent Plugins Management Agent Plugin - The list of management_agent_plugins.
- Agent
Id string - Display
Name string - Management Agent Plugin Display Name
- Filters
[]Get
Management Agent Plugins Filter - Platform
Types []string - State string
- The current state of Management Agent Plugin
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- management
Agent List<GetPlugins Plugins Plugin> - The list of management_agent_plugins.
- agent
Id String - display
Name String - Management Agent Plugin Display Name
- filters
List<Get
Plugins Filter> - platform
Types List<String> - state String
- The current state of Management Agent Plugin
- compartment
Id string - id string
- The provider-assigned unique ID for this managed resource.
- management
Agent GetPlugins Management Agent Plugins Management Agent Plugin[] - The list of management_agent_plugins.
- agent
Id string - display
Name string - Management Agent Plugin Display Name
- filters
Get
Management Agent Plugins Filter[] - platform
Types 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[managementagent.plugins Get 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[managementagent.
Get Management Agent Plugins Filter] - platform_
types Sequence[str] - state str
- The current state of Management Agent Plugin
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- management
Agent List<Property Map>Plugins - The list of management_agent_plugins.
- agent
Id String - display
Name String - Management Agent Plugin Display Name
- filters List<Property Map>
- platform
Types List<String> - state String
- The current state of Management Agent Plugin
Supporting Types
GetManagementAgentPluginsFilter
GetManagementAgentPluginsManagementAgentPlugin
- Description string
- Management Agent Plugin description
- Display
Name string - Filter to return only Management Agent Plugins having the particular display name.
- Id string
- 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 string
- Management Agent Plugin Name
- State string
- Filter to return only Management Agents in the particular lifecycle state.
- Supported
Platform List<string>Types - Supported Platform Types
- Version int
- Management Agent Plugin Version
- Description string
- Management Agent Plugin description
- Display
Name string - Filter to return only Management Agent Plugins having the particular display name.
- Id string
- 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 string
- Management Agent Plugin Name
- State string
- Filter to return only Management Agents in the particular lifecycle state.
- Supported
Platform []stringTypes - Supported Platform Types
- Version int
- Management Agent Plugin Version
- description String
- Management Agent Plugin description
- display
Name String - Filter to return only Management Agent Plugins having the particular display name.
- id String
- Management Agent Plugin Id
- is
Console 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.
- supported
Platform List<String>Types - Supported Platform Types
- version Integer
- Management Agent Plugin Version
- description string
- Management Agent Plugin description
- display
Name string - Filter to return only Management Agent Plugins having the particular display name.
- id string
- Management Agent Plugin Id
- is
Console 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.
- supported
Platform 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
- display
Name String - Filter to return only Management Agent Plugins having the particular display name.
- id String
- Management Agent Plugin Id
- is
Console 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.
- supported
Platform 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
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi