import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to retrieve information about an IP service. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const myIp = ovh.Ip.getService({ * serviceName: "XXXXXX", * }); * ``` */ export declare function getService(args: GetServiceArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getService. */ export interface GetServiceArgs { /** * The service name */ serviceName: string; } /** * A collection of values returned by getService. */ export interface GetServiceResult { /** * can be terminated */ readonly canBeTerminated: boolean; /** * country */ readonly country: string; /** * Custom description on your ip */ readonly description: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * ip block */ readonly ip: string; /** * IP block organisation Id */ readonly organisationId: string; /** * Routage information */ readonly routedTos: outputs.Ip.GetServiceRoutedTo[]; /** * Service where ip is routed to */ readonly serviceName: string; /** * Possible values for ip type ( "cdn", "cloud", "dedicated", "failover", "hostedSsl", "housing", "loadBalancing", "mail", "overthebox", "pcc", "pci", "private", "vpn", "vps", "vrack", "xdsl") */ readonly type: string; } /** * Use this data source to retrieve information about an IP service. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const myIp = ovh.Ip.getService({ * serviceName: "XXXXXX", * }); * ``` */ export declare function getServiceOutput(args: GetServiceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getService. */ export interface GetServiceOutputArgs { /** * The service name */ serviceName: pulumi.Input; }