import * as pulumi from "@pulumi/pulumi"; /** * Gets the endpoint attachment. */ export declare function getEndpointAttachment(args: GetEndpointAttachmentArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetEndpointAttachmentArgs { endpointAttachmentId: string; organizationId: string; } export interface GetEndpointAttachmentResult { /** * State of the endpoint attachment connection to the service attachment. */ readonly connectionState: string; /** * Host that can be used in either the HTTP target endpoint directly or as the host in target server. */ readonly host: string; /** * Location of the endpoint attachment. */ readonly location: string; /** * Name of the endpoint attachment. Use the following structure in your request: `organizations/{org}/endpointAttachments/{endpoint_attachment}` */ readonly name: string; /** * Format: projects/*/regions/*/serviceAttachments/* */ readonly serviceAttachment: string; /** * State of the endpoint attachment. Values other than `ACTIVE` mean the resource is not ready to use. */ readonly state: string; } /** * Gets the endpoint attachment. */ export declare function getEndpointAttachmentOutput(args: GetEndpointAttachmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetEndpointAttachmentOutputArgs { endpointAttachmentId: pulumi.Input; organizationId: pulumi.Input; }