1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. CloudBridge
  5. getAgents
Oracle Cloud Infrastructure v2.12.0 published on Friday, Oct 11, 2024 by Pulumi

oci.CloudBridge.getAgents

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.12.0 published on Friday, Oct 11, 2024 by Pulumi

    This data source provides the list of Agents in Oracle Cloud Infrastructure Cloud Bridge service.

    Returns a list of Agents.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testAgents = oci.CloudBridge.getAgents({
        compartmentId: compartmentId,
        agentId: testAgent.id,
        displayName: agentDisplayName,
        environmentId: testEnvironment.id,
        state: agentState,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_agents = oci.CloudBridge.get_agents(compartment_id=compartment_id,
        agent_id=test_agent["id"],
        display_name=agent_display_name,
        environment_id=test_environment["id"],
        state=agent_state)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/CloudBridge"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := CloudBridge.GetAgents(ctx, &cloudbridge.GetAgentsArgs{
    			CompartmentId: compartmentId,
    			AgentId:       pulumi.StringRef(testAgent.Id),
    			DisplayName:   pulumi.StringRef(agentDisplayName),
    			EnvironmentId: pulumi.StringRef(testEnvironment.Id),
    			State:         pulumi.StringRef(agentState),
    		}, 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 testAgents = Oci.CloudBridge.GetAgents.Invoke(new()
        {
            CompartmentId = compartmentId,
            AgentId = testAgent.Id,
            DisplayName = agentDisplayName,
            EnvironmentId = testEnvironment.Id,
            State = agentState,
        });
    
    });
    
    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.GetAgentsArgs;
    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 testAgents = CloudBridgeFunctions.getAgents(GetAgentsArgs.builder()
                .compartmentId(compartmentId)
                .agentId(testAgent.id())
                .displayName(agentDisplayName)
                .environmentId(testEnvironment.id())
                .state(agentState)
                .build());
    
        }
    }
    
    variables:
      testAgents:
        fn::invoke:
          Function: oci:CloudBridge:getAgents
          Arguments:
            compartmentId: ${compartmentId}
            agentId: ${testAgent.id}
            displayName: ${agentDisplayName}
            environmentId: ${testEnvironment.id}
            state: ${agentState}
    

    Using getAgents

    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 getAgents(args: GetAgentsArgs, opts?: InvokeOptions): Promise<GetAgentsResult>
    function getAgentsOutput(args: GetAgentsOutputArgs, opts?: InvokeOptions): Output<GetAgentsResult>
    def get_agents(agent_id: Optional[str] = None,
                   compartment_id: Optional[str] = None,
                   display_name: Optional[str] = None,
                   environment_id: Optional[str] = None,
                   filters: Optional[Sequence[_cloudbridge.GetAgentsFilter]] = None,
                   state: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetAgentsResult
    def get_agents_output(agent_id: Optional[pulumi.Input[str]] = None,
                   compartment_id: Optional[pulumi.Input[str]] = None,
                   display_name: Optional[pulumi.Input[str]] = None,
                   environment_id: Optional[pulumi.Input[str]] = None,
                   filters: Optional[pulumi.Input[Sequence[pulumi.Input[_cloudbridge.GetAgentsFilterArgs]]]] = None,
                   state: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetAgentsResult]
    func GetAgents(ctx *Context, args *GetAgentsArgs, opts ...InvokeOption) (*GetAgentsResult, error)
    func GetAgentsOutput(ctx *Context, args *GetAgentsOutputArgs, opts ...InvokeOption) GetAgentsResultOutput

    > Note: This function is named GetAgents in the Go SDK.

    public static class GetAgents 
    {
        public static Task<GetAgentsResult> InvokeAsync(GetAgentsArgs args, InvokeOptions? opts = null)
        public static Output<GetAgentsResult> Invoke(GetAgentsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAgentsResult> getAgents(GetAgentsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:CloudBridge/getAgents:getAgents
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The ID of the compartment in which to list resources.
    AgentId string
    A filter to return only resources that match the given Agent ID.
    DisplayName string
    A filter to return only resources that match the entire display name given.
    EnvironmentId string
    A filter to return only resources that match the given environment ID.
    Filters List<GetAgentsFilter>
    State string
    A filter to return only resources their lifecycleState matches the given lifecycleState.
    CompartmentId string
    The ID of the compartment in which to list resources.
    AgentId string
    A filter to return only resources that match the given Agent ID.
    DisplayName string
    A filter to return only resources that match the entire display name given.
    EnvironmentId string
    A filter to return only resources that match the given environment ID.
    Filters []GetAgentsFilter
    State string
    A filter to return only resources their lifecycleState matches the given lifecycleState.
    compartmentId String
    The ID of the compartment in which to list resources.
    agentId String
    A filter to return only resources that match the given Agent ID.
    displayName String
    A filter to return only resources that match the entire display name given.
    environmentId String
    A filter to return only resources that match the given environment ID.
    filters List<GetAgentsFilter>
    state String
    A filter to return only resources their lifecycleState matches the given lifecycleState.
    compartmentId string
    The ID of the compartment in which to list resources.
    agentId string
    A filter to return only resources that match the given Agent ID.
    displayName string
    A filter to return only resources that match the entire display name given.
    environmentId string
    A filter to return only resources that match the given environment ID.
    filters GetAgentsFilter[]
    state string
    A filter to return only resources their lifecycleState matches the given lifecycleState.
    compartment_id str
    The ID of the compartment in which to list resources.
    agent_id str
    A filter to return only resources that match the given Agent ID.
    display_name str
    A filter to return only resources that match the entire display name given.
    environment_id str
    A filter to return only resources that match the given environment ID.
    filters Sequence[cloudbridge.GetAgentsFilter]
    state str
    A filter to return only resources their lifecycleState matches the given lifecycleState.
    compartmentId String
    The ID of the compartment in which to list resources.
    agentId String
    A filter to return only resources that match the given Agent ID.
    displayName String
    A filter to return only resources that match the entire display name given.
    environmentId String
    A filter to return only resources that match the given environment ID.
    filters List<Property Map>
    state String
    A filter to return only resources their lifecycleState matches the given lifecycleState.

    getAgents Result

    The following output properties are available:

    AgentCollections List<GetAgentsAgentCollection>
    The list of agent_collection.
    CompartmentId string
    Compartment identifier.
    Id string
    The provider-assigned unique ID for this managed resource.
    AgentId string
    Agent identifier.
    DisplayName string
    Agent identifier, can be renamed.
    EnvironmentId string
    Environment identifier.
    Filters List<GetAgentsFilter>
    State string
    The current state of the Agent.
    AgentCollections []GetAgentsAgentCollection
    The list of agent_collection.
    CompartmentId string
    Compartment identifier.
    Id string
    The provider-assigned unique ID for this managed resource.
    AgentId string
    Agent identifier.
    DisplayName string
    Agent identifier, can be renamed.
    EnvironmentId string
    Environment identifier.
    Filters []GetAgentsFilter
    State string
    The current state of the Agent.
    agentCollections List<GetAgentsAgentCollection>
    The list of agent_collection.
    compartmentId String
    Compartment identifier.
    id String
    The provider-assigned unique ID for this managed resource.
    agentId String
    Agent identifier.
    displayName String
    Agent identifier, can be renamed.
    environmentId String
    Environment identifier.
    filters List<GetAgentsFilter>
    state String
    The current state of the Agent.
    agentCollections GetAgentsAgentCollection[]
    The list of agent_collection.
    compartmentId string
    Compartment identifier.
    id string
    The provider-assigned unique ID for this managed resource.
    agentId string
    Agent identifier.
    displayName string
    Agent identifier, can be renamed.
    environmentId string
    Environment identifier.
    filters GetAgentsFilter[]
    state string
    The current state of the Agent.
    agent_collections Sequence[cloudbridge.GetAgentsAgentCollection]
    The list of agent_collection.
    compartment_id str
    Compartment identifier.
    id str
    The provider-assigned unique ID for this managed resource.
    agent_id str
    Agent identifier.
    display_name str
    Agent identifier, can be renamed.
    environment_id str
    Environment identifier.
    filters Sequence[cloudbridge.GetAgentsFilter]
    state str
    The current state of the Agent.
    agentCollections List<Property Map>
    The list of agent_collection.
    compartmentId String
    Compartment identifier.
    id String
    The provider-assigned unique ID for this managed resource.
    agentId String
    Agent identifier.
    displayName String
    Agent identifier, can be renamed.
    environmentId String
    Environment identifier.
    filters List<Property Map>
    state String
    The current state of the Agent.

    Supporting Types

    GetAgentsAgentCollection

    GetAgentsAgentCollectionItem

    AgentPubKey string
    Resource principal public key.
    AgentType string
    Type of the Agent.
    AgentVersion string
    Agent identifier.
    CompartmentId string
    The ID of the compartment in which to list resources.
    DefinedTags Dictionary<string, string>
    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"}
    DisplayName string
    A filter to return only resources that match the entire display name given.
    EnvironmentId string
    A filter to return only resources that match the given environment ID.
    FreeformTags Dictionary<string, string>
    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"}
    HeartBeatStatus string
    The current heartbeat status of the Agent based on its timeLastSyncReceived value.
    Id string
    Unique identifier that is immutable on creation.
    LifecycleDetails 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.
    OsVersion string
    OS version.
    PluginLists List<GetAgentsAgentCollectionItemPluginList>
    List of plugins associated with the agent.
    State string
    A filter to return only resources their lifecycleState matches the given lifecycleState.
    SystemTags Dictionary<string, string>
    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}}
    TimeCreated string
    The time when the Agent was created. An RFC3339 formatted datetime string.
    TimeExpireAgentKeyInMs string
    The time since epoch for when the public key will expire. An RFC3339 formatted datetime string.
    TimeLastSyncReceived string
    The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time when the Agent was updated. An RFC3339 formatted datetime string.
    AgentPubKey string
    Resource principal public key.
    AgentType string
    Type of the Agent.
    AgentVersion string
    Agent identifier.
    CompartmentId string
    The ID of the compartment in which to list resources.
    DefinedTags map[string]string
    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"}
    DisplayName string
    A filter to return only resources that match the entire display name given.
    EnvironmentId string
    A filter to return only resources that match the given environment ID.
    FreeformTags map[string]string
    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"}
    HeartBeatStatus string
    The current heartbeat status of the Agent based on its timeLastSyncReceived value.
    Id string
    Unique identifier that is immutable on creation.
    LifecycleDetails 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.
    OsVersion string
    OS version.
    PluginLists []GetAgentsAgentCollectionItemPluginList
    List of plugins associated with the agent.
    State string
    A filter to return only resources their lifecycleState matches the given lifecycleState.
    SystemTags map[string]string
    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}}
    TimeCreated string
    The time when the Agent was created. An RFC3339 formatted datetime string.
    TimeExpireAgentKeyInMs string
    The time since epoch for when the public key will expire. An RFC3339 formatted datetime string.
    TimeLastSyncReceived string
    The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time when the Agent was updated. An RFC3339 formatted datetime string.
    agentPubKey String
    Resource principal public key.
    agentType String
    Type of the Agent.
    agentVersion String
    Agent identifier.
    compartmentId String
    The ID of the compartment in which to list resources.
    definedTags Map<String,String>
    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"}
    displayName String
    A filter to return only resources that match the entire display name given.
    environmentId String
    A filter to return only resources that match the given environment ID.
    freeformTags Map<String,String>
    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"}
    heartBeatStatus String
    The current heartbeat status of the Agent based on its timeLastSyncReceived value.
    id String
    Unique identifier that is immutable on creation.
    lifecycleDetails 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.
    osVersion String
    OS version.
    pluginLists List<GetAgentsAgentCollectionItemPluginList>
    List of plugins associated with the agent.
    state String
    A filter to return only resources their lifecycleState matches the given lifecycleState.
    systemTags Map<String,String>
    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}}
    timeCreated String
    The time when the Agent was created. An RFC3339 formatted datetime string.
    timeExpireAgentKeyInMs String
    The time since epoch for when the public key will expire. An RFC3339 formatted datetime string.
    timeLastSyncReceived String
    The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string.
    timeUpdated String
    The time when the Agent was updated. An RFC3339 formatted datetime string.
    agentPubKey string
    Resource principal public key.
    agentType string
    Type of the Agent.
    agentVersion string
    Agent identifier.
    compartmentId string
    The ID of the compartment in which to list resources.
    definedTags {[key: string]: string}
    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"}
    displayName string
    A filter to return only resources that match the entire display name given.
    environmentId string
    A filter to return only resources that match the given environment ID.
    freeformTags {[key: string]: string}
    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"}
    heartBeatStatus string
    The current heartbeat status of the Agent based on its timeLastSyncReceived value.
    id string
    Unique identifier that is immutable on creation.
    lifecycleDetails 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.
    osVersion string
    OS version.
    pluginLists GetAgentsAgentCollectionItemPluginList[]
    List of plugins associated with the agent.
    state string
    A filter to return only resources their lifecycleState matches the given lifecycleState.
    systemTags {[key: string]: string}
    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}}
    timeCreated string
    The time when the Agent was created. An RFC3339 formatted datetime string.
    timeExpireAgentKeyInMs string
    The time since epoch for when the public key will expire. An RFC3339 formatted datetime string.
    timeLastSyncReceived string
    The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string.
    timeUpdated string
    The time when the Agent was updated. An RFC3339 formatted datetime string.
    agent_pub_key str
    Resource principal public key.
    agent_type str
    Type of the Agent.
    agent_version str
    Agent identifier.
    compartment_id str
    The ID of the compartment in which to list resources.
    defined_tags Mapping[str, str]
    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"}
    display_name str
    A filter to return only resources that match the entire display name given.
    environment_id str
    A filter to return only resources that match the given environment ID.
    freeform_tags Mapping[str, str]
    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"}
    heart_beat_status str
    The current heartbeat status of the Agent based on its timeLastSyncReceived value.
    id str
    Unique identifier that is immutable on creation.
    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.
    os_version str
    OS version.
    plugin_lists Sequence[cloudbridge.GetAgentsAgentCollectionItemPluginList]
    List of plugins associated with the agent.
    state str
    A filter to return only resources their lifecycleState matches the given lifecycleState.
    system_tags Mapping[str, str]
    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_expire_agent_key_in_ms str
    The time since epoch for when the public key will expire. An RFC3339 formatted datetime string.
    time_last_sync_received str
    The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string.
    time_updated str
    The time when the Agent was updated. An RFC3339 formatted datetime string.
    agentPubKey String
    Resource principal public key.
    agentType String
    Type of the Agent.
    agentVersion String
    Agent identifier.
    compartmentId String
    The ID of the compartment in which to list resources.
    definedTags Map<String>
    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"}
    displayName String
    A filter to return only resources that match the entire display name given.
    environmentId String
    A filter to return only resources that match the given environment ID.
    freeformTags Map<String>
    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"}
    heartBeatStatus String
    The current heartbeat status of the Agent based on its timeLastSyncReceived value.
    id String
    Unique identifier that is immutable on creation.
    lifecycleDetails 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.
    osVersion String
    OS version.
    pluginLists List<Property Map>
    List of plugins associated with the agent.
    state String
    A filter to return only resources their lifecycleState matches the given lifecycleState.
    systemTags Map<String>
    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}}
    timeCreated String
    The time when the Agent was created. An RFC3339 formatted datetime string.
    timeExpireAgentKeyInMs String
    The time since epoch for when the public key will expire. An RFC3339 formatted datetime string.
    timeLastSyncReceived String
    The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string.
    timeUpdated String
    The time when the Agent was updated. An RFC3339 formatted datetime string.

    GetAgentsAgentCollectionItemPluginList

    AgentId string
    A filter to return only resources that match the given Agent ID.
    DefinedTags Dictionary<string, string>
    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"}
    FreeformTags Dictionary<string, string>
    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"}
    LifecycleDetails 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.
    PluginVersion string
    Plugin version.
    State string
    A filter to return only resources their lifecycleState matches the given lifecycleState.
    TimeCreated string
    The time when the Agent was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time when the Agent was updated. An RFC3339 formatted datetime string.
    AgentId string
    A filter to return only resources that match the given Agent ID.
    DefinedTags map[string]string
    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"}
    FreeformTags map[string]string
    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"}
    LifecycleDetails 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.
    PluginVersion string
    Plugin version.
    State string
    A filter to return only resources their lifecycleState matches the given lifecycleState.
    TimeCreated string
    The time when the Agent was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time when the Agent was updated. An RFC3339 formatted datetime string.
    agentId String
    A filter to return only resources that match the given Agent ID.
    definedTags Map<String,String>
    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"}
    freeformTags Map<String,String>
    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"}
    lifecycleDetails 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.
    pluginVersion String
    Plugin version.
    state String
    A filter to return only resources their lifecycleState matches the given lifecycleState.
    timeCreated String
    The time when the Agent was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time when the Agent was updated. An RFC3339 formatted datetime string.
    agentId string
    A filter to return only resources that match the given Agent ID.
    definedTags {[key: string]: string}
    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"}
    freeformTags {[key: string]: string}
    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"}
    lifecycleDetails 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.
    pluginVersion string
    Plugin version.
    state string
    A filter to return only resources their lifecycleState matches the given lifecycleState.
    timeCreated string
    The time when the Agent was created. An RFC3339 formatted datetime string.
    timeUpdated string
    The time when the Agent was updated. An RFC3339 formatted datetime string.
    agent_id str
    A filter to return only resources that match the given Agent ID.
    defined_tags Mapping[str, str]
    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"}
    freeform_tags Mapping[str, str]
    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"}
    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_version str
    Plugin version.
    state str
    A filter to return only resources their lifecycleState matches the given lifecycleState.
    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.
    agentId String
    A filter to return only resources that match the given Agent ID.
    definedTags Map<String>
    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"}
    freeformTags Map<String>
    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"}
    lifecycleDetails 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.
    pluginVersion String
    Plugin version.
    state String
    A filter to return only resources their lifecycleState matches the given lifecycleState.
    timeCreated String
    The time when the Agent was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time when the Agent was updated. An RFC3339 formatted datetime string.

    GetAgentsFilter

    Name string
    Plugin identifier, which can be renamed.
    Values List<string>
    Regex bool
    Name string
    Plugin identifier, which can be renamed.
    Values []string
    Regex bool
    name String
    Plugin identifier, which can be renamed.
    values List<String>
    regex Boolean
    name string
    Plugin identifier, which can be renamed.
    values string[]
    regex boolean
    name str
    Plugin identifier, which can be renamed.
    values Sequence[str]
    regex bool
    name String
    Plugin identifier, which can be renamed.
    values List<String>
    regex Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.12.0 published on Friday, Oct 11, 2024 by Pulumi