@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
138 lines • 3.92 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get information about an Agent Registry Agent.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const _default = gcp.agentregistry.getAgent({
* location: "us-central1",
* agentId: "apphub-00000000-0000-0000-0000-000000000000",
* });
* ```
*/
export declare function getAgent(args: GetAgentArgs, opts?: pulumi.InvokeOptions): Promise<GetAgentResult>;
/**
* A collection of arguments for invoking getAgent.
*/
export interface GetAgentArgs {
/**
* The unique identifier for the Agent. This or `filter` must be set.
*/
agentId?: string;
/**
* A filter string that identifies a unique Agent. This or `agentId` must be set.
*/
filter?: string;
/**
* The location of the resource.
*
* ***
*/
location: string;
/**
* The project in which the resource belongs. If it
* is not provided, the provider project is used.
*/
project?: string;
}
/**
* A collection of values returned by getAgent.
*/
export interface GetAgentResult {
readonly agentId: string;
/**
* Attributes of the Agent.
*/
readonly attributes: {
[key: string]: string;
};
/**
* Create time.
*/
readonly createTime: string;
/**
* Obtained from the A2A Agent Card. The description of the Agent.
*/
readonly description: string;
/**
* Obtained from the A2A Agent Card. The display name of the Agent.
*/
readonly displayName: string;
readonly filter?: string;
/**
* The OSS Agent framework used to develop the Agent. Currently supported values: "google-adk", "langchain", "langgraph", "ag2", "llama-index", "custom".
*/
readonly framework: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly location: string;
readonly project: string;
/**
* The connection details for the Agent.
*/
readonly protocols: outputs.agentregistry.GetAgentProtocol[];
/**
* Obtained from the A2A Agent Card. Skills represent the ability of an Agent. It is largely a descriptive concept but represents a more focused set of behaviors that the Agent is likely to succeed at.
*/
readonly skills: outputs.agentregistry.GetAgentSkill[];
/**
* Update time.
*/
readonly updateTime: string;
/**
* The URN of the Agent.
*/
readonly urn: string;
/**
* Obtained from the A2A Agent Card. Contains the version of the Agent.
*/
readonly version: string;
}
/**
* Get information about an Agent Registry Agent.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const _default = gcp.agentregistry.getAgent({
* location: "us-central1",
* agentId: "apphub-00000000-0000-0000-0000-000000000000",
* });
* ```
*/
export declare function getAgentOutput(args: GetAgentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAgentResult>;
/**
* A collection of arguments for invoking getAgent.
*/
export interface GetAgentOutputArgs {
/**
* The unique identifier for the Agent. This or `filter` must be set.
*/
agentId?: pulumi.Input<string | undefined>;
/**
* A filter string that identifies a unique Agent. This or `agentId` must be set.
*/
filter?: pulumi.Input<string | undefined>;
/**
* The location of the resource.
*
* ***
*/
location: pulumi.Input<string>;
/**
* The project in which the resource belongs. If it
* is not provided, the provider project is used.
*/
project?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getAgent.d.ts.map