import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Use this data source to retrieve information about a gateway in a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const gateway = ovh.getCloudGateway({ * serviceName: "", * id: "", * }); * export const gatewayName = gateway.then(gateway => gateway.name); * ``` */ export declare function getCloudGateway(args: GetCloudGatewayArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCloudGateway. */ export interface GetCloudGatewayArgs { /** * Gateway ID. */ id: string; /** * Service name of the resource representing the id of the cloud project. */ serviceName: string; } /** * A collection of values returned by getCloudGateway. */ export interface GetCloudGatewayResult { /** * Computed hash representing the current target specification value. */ readonly checksum: string; /** * Creation date of the gateway. */ readonly createdAt: string; /** * Current state of the gateway: */ readonly currentState: outputs.GetCloudGatewayCurrentState; /** * Gateway description. */ readonly description: string; /** * External gateway configuration: */ readonly externalGateway: outputs.GetCloudGatewayExternalGateway; /** * Subnet ID. */ readonly id: string; /** * Location details: */ readonly location: outputs.GetCloudGatewayLocation; /** * Gateway name. */ readonly name: string; /** * Gateway readiness in the system (`CREATING`, `DELETING`, `ERROR`, `OUT_OF_SYNC`, `READY`, `UPDATING`). */ readonly resourceStatus: string; readonly serviceName: string; /** * List of subnet IDs attached as router interfaces. */ readonly subnetIds: string[]; /** * Last update date of the gateway. */ readonly updatedAt: string; } /** * Use this data source to retrieve information about a gateway in a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const gateway = ovh.getCloudGateway({ * serviceName: "", * id: "", * }); * export const gatewayName = gateway.then(gateway => gateway.name); * ``` */ export declare function getCloudGatewayOutput(args: GetCloudGatewayOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCloudGateway. */ export interface GetCloudGatewayOutputArgs { /** * Gateway ID. */ id: pulumi.Input; /** * Service name of the resource representing the id of the cloud project. */ serviceName: pulumi.Input; }