Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.CloudBridge.getAgentPlugin
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
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/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 GetAgentPlugin(ctx *Context, args *GetAgentPluginArgs, opts ...InvokeOption) (*GetAgentPluginResult, error)
func GetAgentPluginOutput(ctx *Context, args *GetAgentPluginOutputArgs, opts ...InvokeOption) GetAgentPluginResultOutput
> Note: This function is named GetAgentPlugin
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:CloudBridge/getAgentPlugin:getAgentPlugin
arguments:
# arguments dictionary
The following arguments are supported:
- Agent
Id string - Unique Agent identifier path parameter.
- Plugin
Name string - Unique plugin identifier path parameter.
- Agent
Id string - Unique Agent identifier path parameter.
- Plugin
Name string - Unique plugin identifier path parameter.
- agent
Id String - Unique Agent identifier path parameter.
- plugin
Name String - Unique plugin identifier path parameter.
- agent
Id string - Unique Agent identifier path parameter.
- plugin
Name string - Unique plugin identifier path parameter.
- agent_
id str - Unique Agent identifier path parameter.
- plugin_
name str - Unique plugin identifier path parameter.
- agent
Id String - Unique Agent identifier path parameter.
- plugin
Name String - Unique plugin identifier path parameter.
getAgentPlugin Result
The following output properties are available:
- Agent
Id string - Agent identifier.
- Dictionary<string, object>
- 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 string - State to which the customer wants the plugin to move to.
- Dictionary<string, object>
- 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
- Lifecycle
Details 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.
- Plugin
Name string - Plugin
Version string - Plugin version.
- State string
- The current state of the plugin.
- Dictionary<string, object>
- 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 string - The time when the Agent was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time when the Agent was updated. An RFC3339 formatted datetime string.
- Agent
Id string - Agent identifier.
- map[string]interface{}
- 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 string - State to which the customer wants the plugin to move to.
- map[string]interface{}
- 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
- Lifecycle
Details 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.
- Plugin
Name string - Plugin
Version string - Plugin version.
- State string
- The current state of the plugin.
- map[string]interface{}
- 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 string - The time when the Agent was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time when the Agent was updated. An RFC3339 formatted datetime string.
- agent
Id String - Agent identifier.
- Map<String,Object>
- 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 String - State to which the customer wants the plugin to move to.
- Map<String,Object>
- 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
- lifecycle
Details 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.
- plugin
Name String - plugin
Version String - Plugin version.
- state String
- The current state of the plugin.
- Map<String,Object>
- 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 String - The time when the Agent was created. An RFC3339 formatted datetime string.
- time
Updated String - The time when the Agent was updated. An RFC3339 formatted datetime string.
- agent
Id string - Agent identifier.
- {[key: string]: any}
- 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 string - State to which the customer wants the plugin to move to.
- {[key: string]: any}
- 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
- lifecycle
Details 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.
- plugin
Name string - plugin
Version string - Plugin version.
- state string
- The current state of the plugin.
- {[key: string]: any}
- 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 string - The time when the Agent was created. An RFC3339 formatted datetime string.
- time
Updated string - The time when the Agent was updated. An RFC3339 formatted datetime string.
- agent_
id str - Agent identifier.
- Mapping[str, Any]
- 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, Any]
- 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, Any]
- 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.
- agent
Id String - Agent identifier.
- Map<Any>
- 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 String - State to which the customer wants the plugin to move to.
- Map<Any>
- 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
- lifecycle
Details 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.
- plugin
Name String - plugin
Version String - Plugin version.
- state String
- The current state of the plugin.
- Map<Any>
- 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 String - The time when the Agent was created. An RFC3339 formatted datetime string.
- time
Updated 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
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi