import * as pulumi from "@pulumi/pulumi"; /** * Create a new Gateway Interface for existing subnet in the specified public cloud project. * * ## Import * * A gateway interface can be imported using the `service_name`, `region`, `id` (identifier of the gateway) and `interface_id` properties, separated by a `/`. * * bash * * ```sh * $ pulumi import ovh:CloudProject/gatewayInterface:GatewayInterface interface service_name/region/id/interface_id * ``` */ export declare class GatewayInterface extends pulumi.CustomResource { /** * Get an existing GatewayInterface resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: GatewayInterfaceState, opts?: pulumi.CustomResourceOptions): GatewayInterface; /** * Returns true if the given object is an instance of GatewayInterface. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is GatewayInterface; /** * ID of the interface */ readonly interfaceId: pulumi.Output; /** * IP of the interface */ readonly ip: pulumi.Output; /** * Network ID of the interface */ readonly networkId: pulumi.Output; /** * Region of the gateway */ readonly region: pulumi.Output; /** * ID of the cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ readonly serviceName: pulumi.Output; /** * ID of the subnet to add */ readonly subnetId: pulumi.Output; /** * Create a GatewayInterface resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: GatewayInterfaceArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering GatewayInterface resources. */ export interface GatewayInterfaceState { /** * ID of the interface */ interfaceId?: pulumi.Input; /** * IP of the interface */ ip?: pulumi.Input; /** * Network ID of the interface */ networkId?: pulumi.Input; /** * Region of the gateway */ region?: pulumi.Input; /** * ID of the cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName?: pulumi.Input; /** * ID of the subnet to add */ subnetId?: pulumi.Input; } /** * The set of arguments for constructing a GatewayInterface resource. */ export interface GatewayInterfaceArgs { /** * ID of the interface */ interfaceId?: pulumi.Input; /** * Region of the gateway */ region: pulumi.Input; /** * ID of the cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName?: pulumi.Input; /** * ID of the subnet to add */ subnetId: pulumi.Input; }