import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Agents in Oracle Cloud Infrastructure Cloud Bridge service. * * Returns a list of Agents. * * ## Example Usage * * ```typescript * 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, * }); * ``` */ export declare function getAgents(args: GetAgentsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAgents. */ export interface GetAgentsArgs { /** * A filter to return only resources that match the given Agent ID. */ agentId?: string; /** * The ID of the compartment in which to list resources. */ compartmentId: string; /** * A filter to return only resources that match the entire display name given. */ displayName?: string; /** * A filter to return only resources that match the given environment ID. */ environmentId?: string; filters?: inputs.CloudBridge.GetAgentsFilter[]; /** * A filter to return only resources their lifecycleState matches the given lifecycleState. */ state?: string; } /** * A collection of values returned by getAgents. */ export interface GetAgentsResult { /** * The list of agent_collection. */ readonly agentCollections: outputs.CloudBridge.GetAgentsAgentCollection[]; /** * Agent identifier. */ readonly agentId?: string; /** * Compartment identifier. */ readonly compartmentId: string; /** * Agent identifier, can be renamed. */ readonly displayName?: string; /** * Environment identifier. */ readonly environmentId?: string; readonly filters?: outputs.CloudBridge.GetAgentsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The current state of the Agent. */ readonly state?: string; } /** * This data source provides the list of Agents in Oracle Cloud Infrastructure Cloud Bridge service. * * Returns a list of Agents. * * ## Example Usage * * ```typescript * 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, * }); * ``` */ export declare function getAgentsOutput(args: GetAgentsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAgents. */ export interface GetAgentsOutputArgs { /** * A filter to return only resources that match the given Agent ID. */ agentId?: pulumi.Input; /** * The ID of the compartment in which to list resources. */ compartmentId: pulumi.Input; /** * A filter to return only resources that match the entire display name given. */ displayName?: pulumi.Input; /** * A filter to return only resources that match the given environment ID. */ environmentId?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only resources their lifecycleState matches the given lifecycleState. */ state?: pulumi.Input; } //# sourceMappingURL=getAgents.d.ts.map