@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
130 lines • 3.51 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get information about an Agent Registry MCP Server.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const _default = gcp.agentregistry.getMcpServer({
* location: "us-central1",
* mcpServerId: "apphub-00000000-0000-0000-0000-000000000000",
* });
* ```
*/
export declare function getMcpServer(args: GetMcpServerArgs, opts?: pulumi.InvokeOptions): Promise<GetMcpServerResult>;
/**
* A collection of arguments for invoking getMcpServer.
*/
export interface GetMcpServerArgs {
/**
* A filter string that identifies a unique MCP server. This or `mcpServerId` must be set.
*/
filter?: string;
/**
* The location of the resource.
*
* ***
*/
location: string;
/**
* The unique identifier for the MCP Server. This or `filter` must be set.
*/
mcpServerId?: 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 getMcpServer.
*/
export interface GetMcpServerResult {
/**
* Attributes of the Agent.
*/
readonly attributes: {
[key: string]: string;
};
/**
* Create time.
*/
readonly createTime: string;
/**
* The description of the MCP Server.
*/
readonly description: string;
/**
* The display name of the MCP Server.
*/
readonly displayName: string;
readonly filter?: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The connection details for the MCP Server.
*/
readonly interfaces: outputs.agentregistry.GetMcpServerInterface[];
readonly location: string;
readonly mcpServerId: string;
readonly project: string;
/**
* A list of tools available with the MCP Server.
*/
readonly tools: outputs.agentregistry.GetMcpServerTool[];
/**
* Update time.
*/
readonly updateTime: string;
/**
* The URN of the MCP Server.
*/
readonly urn: string;
}
/**
* Get information about an Agent Registry MCP Server.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const _default = gcp.agentregistry.getMcpServer({
* location: "us-central1",
* mcpServerId: "apphub-00000000-0000-0000-0000-000000000000",
* });
* ```
*/
export declare function getMcpServerOutput(args: GetMcpServerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMcpServerResult>;
/**
* A collection of arguments for invoking getMcpServer.
*/
export interface GetMcpServerOutputArgs {
/**
* A filter string that identifies a unique MCP server. This or `mcpServerId` must be set.
*/
filter?: pulumi.Input<string | undefined>;
/**
* The location of the resource.
*
* ***
*/
location: pulumi.Input<string>;
/**
* The unique identifier for the MCP Server. This or `filter` must be set.
*/
mcpServerId?: pulumi.Input<string | undefined>;
/**
* The project in which the resource belongs. If it
* is not provided, the provider project is used.
*/
project?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getMcpServer.d.ts.map