@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
126 lines • 3.34 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get information about an Agent Registry Endpoint.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const _default = gcp.agentregistry.getEndpoint({
* location: "us-central1",
* endpointId: "apphub-00000000-0000-0000-0000-000000000000",
* });
* ```
*/
export declare function getEndpoint(args: GetEndpointArgs, opts?: pulumi.InvokeOptions): Promise<GetEndpointResult>;
/**
* A collection of arguments for invoking getEndpoint.
*/
export interface GetEndpointArgs {
/**
* The unique identifier for the Endpoint. This or `filter` must be set.
*/
endpointId?: string;
/**
* A filter string that identifies a unique Endpoint. This or `endpointId` 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 getEndpoint.
*/
export interface GetEndpointResult {
/**
* Attributes of the Endpoint.
*/
readonly attributes: {
[key: string]: string;
};
/**
* Create time.
*/
readonly createTime: string;
/**
* The description of the Endpoint.
*/
readonly description: string;
/**
* The display name of the Endpoint.
*/
readonly displayName: string;
readonly endpointId: string;
readonly filter?: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The connection details for the Endpoint.
*/
readonly interfaces: outputs.agentregistry.GetEndpointInterface[];
readonly location: string;
readonly project: string;
/**
* Update time.
*/
readonly updateTime: string;
/**
* The URN of the Endpoint.
*/
readonly urn: string;
}
/**
* Get information about an Agent Registry Endpoint.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const _default = gcp.agentregistry.getEndpoint({
* location: "us-central1",
* endpointId: "apphub-00000000-0000-0000-0000-000000000000",
* });
* ```
*/
export declare function getEndpointOutput(args: GetEndpointOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEndpointResult>;
/**
* A collection of arguments for invoking getEndpoint.
*/
export interface GetEndpointOutputArgs {
/**
* The unique identifier for the Endpoint. This or `filter` must be set.
*/
endpointId?: pulumi.Input<string | undefined>;
/**
* A filter string that identifies a unique Endpoint. This or `endpointId` 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=getEndpoint.d.ts.map