import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * Get information about a discovered service from its uri.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as gcp from "@pulumi/gcp";
 *
 * const my_service = gcp.apphub.getDiscoveredService({
 *     location: "my-location",
 *     serviceUri: "my-service-uri",
 * });
 * ```
 */
export declare function getDiscoveredService(args: GetDiscoveredServiceArgs, opts?: pulumi.InvokeOptions): Promise<GetDiscoveredServiceResult>;
/**
 * A collection of arguments for invoking getDiscoveredService.
 */
export interface GetDiscoveredServiceArgs {
    /**
     * The location of the discovered service.
     */
    location: string;
    /**
     * The host project of the discovered service.
     */
    project?: string;
    /**
     * The uri of the service.
     */
    serviceUri: string;
}
/**
 * A collection of values returned by getDiscoveredService.
 */
export interface GetDiscoveredServiceResult {
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    /**
     * The location that the underlying resource resides in.
     */
    readonly location: string;
    /**
     * Resource name of a Service. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}".
     */
    readonly name: string;
    readonly project?: string;
    /**
     * Properties of an underlying compute resource that can comprise a Service. Structure is documented below
     */
    readonly serviceProperties: outputs.apphub.GetDiscoveredServiceServiceProperty[];
    /**
     * Reference to an underlying networking resource that can comprise a Service. Structure is documented below
     */
    readonly serviceReferences: outputs.apphub.GetDiscoveredServiceServiceReference[];
    readonly serviceUri: string;
}
/**
 * Get information about a discovered service from its uri.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as gcp from "@pulumi/gcp";
 *
 * const my_service = gcp.apphub.getDiscoveredService({
 *     location: "my-location",
 *     serviceUri: "my-service-uri",
 * });
 * ```
 */
export declare function getDiscoveredServiceOutput(args: GetDiscoveredServiceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDiscoveredServiceResult>;
/**
 * A collection of arguments for invoking getDiscoveredService.
 */
export interface GetDiscoveredServiceOutputArgs {
    /**
     * The location of the discovered service.
     */
    location: pulumi.Input<string>;
    /**
     * The host project of the discovered service.
     */
    project?: pulumi.Input<string>;
    /**
     * The uri of the service.
     */
    serviceUri: pulumi.Input<string>;
}
