import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get a OVHcloud Managed Kubernetes Service cluster IP restrictions. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const ipRestrictions = ovh.CloudProject.getKubeIpRestrictions({ * serviceName: "XXXXXX", * kubeId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx", * }); * export const ips = ipRestrictions.then(ipRestrictions => ipRestrictions.ips); * ``` */ export declare function getKubeIpRestrictions(args: GetKubeIpRestrictionsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getKubeIpRestrictions. */ export interface GetKubeIpRestrictionsArgs { /** * The id of the managed kubernetes cluster. */ kubeId: string; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName: string; } /** * A collection of values returned by getKubeIpRestrictions. */ export interface GetKubeIpRestrictionsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of CIDRs that restricts the access to the API server. */ readonly ips: string[]; /** * See Argument Reference above. */ readonly kubeId: string; /** * See Argument Reference above. */ readonly serviceName: string; } /** * Use this data source to get a OVHcloud Managed Kubernetes Service cluster IP restrictions. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const ipRestrictions = ovh.CloudProject.getKubeIpRestrictions({ * serviceName: "XXXXXX", * kubeId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx", * }); * export const ips = ipRestrictions.then(ipRestrictions => ipRestrictions.ips); * ``` */ export declare function getKubeIpRestrictionsOutput(args: GetKubeIpRestrictionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getKubeIpRestrictions. */ export interface GetKubeIpRestrictionsOutputArgs { /** * The id of the managed kubernetes cluster. */ kubeId: pulumi.Input; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName: pulumi.Input; }