import * as pulumi from "@pulumi/pulumi"; /** * Creates a backend server group (frontend) to be used by loadbalancing frontend(s) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const lb = ovh.IpLoadBalancing.getIpLoadBalancing({ * serviceName: "ip-1.2.3.4", * state: "ok", * }); * const testFrontend = new ovh.iploadbalancing.UdpFrontend("test_frontend", { * serviceName: lb.then(lb => lb.serviceName), * displayName: "ingress-8080-gra", * zone: "all", * port: "10,11", * }); * ``` * * ## Import * * UDP frontend can be imported using the following format `service_name` and the `id` of the frontend separated by "/" e.g. * * bash * * ```sh * $ pulumi import ovh:IpLoadBalancing/udpFrontend:UdpFrontend testfrontend service_name/frontend_id * ``` */ export declare class UdpFrontend extends pulumi.CustomResource { /** * Get an existing UdpFrontend 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?: UdpFrontendState, opts?: pulumi.CustomResourceOptions): UdpFrontend; /** * Returns true if the given object is an instance of UdpFrontend. 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 UdpFrontend; /** * Only attach frontend on these ip. No restriction if null. List of Ip blocks. */ readonly dedicatedIpfos: pulumi.Output; /** * Default UDP Farm of your frontend */ readonly defaultFarmId: pulumi.Output; /** * Disable your frontend. Default: 'false' */ readonly disabled: pulumi.Output; /** * Human readable name for your frontend */ readonly displayName: pulumi.Output; /** * Id of your frontend */ readonly frontendId: pulumi.Output; /** * Port(s) attached to your frontend. Supports single port (numerical value), range (2 dash-delimited increasing ports) and comma-separated list of 'single port' and/or 'range'. Each port must be in the [1;49151] range */ readonly port: pulumi.Output; /** * The internal name of your IP load balancing */ readonly serviceName: pulumi.Output; /** * Zone where the frontend will be defined (ie. `gra`, `bhs` also supports `all`) */ readonly zone: pulumi.Output; /** * Create a UdpFrontend 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: UdpFrontendArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering UdpFrontend resources. */ export interface UdpFrontendState { /** * Only attach frontend on these ip. No restriction if null. List of Ip blocks. */ dedicatedIpfos?: pulumi.Input[]>; /** * Default UDP Farm of your frontend */ defaultFarmId?: pulumi.Input; /** * Disable your frontend. Default: 'false' */ disabled?: pulumi.Input; /** * Human readable name for your frontend */ displayName?: pulumi.Input; /** * Id of your frontend */ frontendId?: pulumi.Input; /** * Port(s) attached to your frontend. Supports single port (numerical value), range (2 dash-delimited increasing ports) and comma-separated list of 'single port' and/or 'range'. Each port must be in the [1;49151] range */ port?: pulumi.Input; /** * The internal name of your IP load balancing */ serviceName?: pulumi.Input; /** * Zone where the frontend will be defined (ie. `gra`, `bhs` also supports `all`) */ zone?: pulumi.Input; } /** * The set of arguments for constructing a UdpFrontend resource. */ export interface UdpFrontendArgs { /** * Only attach frontend on these ip. No restriction if null. List of Ip blocks. */ dedicatedIpfos?: pulumi.Input[]>; /** * Default UDP Farm of your frontend */ defaultFarmId?: pulumi.Input; /** * Disable your frontend. Default: 'false' */ disabled?: pulumi.Input; /** * Human readable name for your frontend */ displayName?: pulumi.Input; /** * Port(s) attached to your frontend. Supports single port (numerical value), range (2 dash-delimited increasing ports) and comma-separated list of 'single port' and/or 'range'. Each port must be in the [1;49151] range */ port: pulumi.Input; /** * The internal name of your IP load balancing */ serviceName: pulumi.Input; /** * Zone where the frontend will be defined (ie. `gra`, `bhs` also supports `all`) */ zone: pulumi.Input; }