import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get the list of Registry IP Restrictions of a container registry associated with a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const myIprestrictionsData = ovh.CloudProject.getContainerRegistryIPRestrictionsRegistry({ * serviceName: "XXXXXX", * registryId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx", * }); * export const myIpRestrictions = myIprestrictionsData.then(myIprestrictionsData => myIprestrictionsData.ipRestrictions); * ``` */ export declare function getContainerRegistryIPRestrictionsRegistry(args: GetContainerRegistryIPRestrictionsRegistryArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getContainerRegistryIPRestrictionsRegistry. */ export interface GetContainerRegistryIPRestrictionsRegistryArgs { /** * The id of the Managed Private Registry. */ registryId: 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 getContainerRegistryIPRestrictionsRegistry. */ export interface GetContainerRegistryIPRestrictionsRegistryResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * IP restrictions applied on artifact manager component. */ readonly ipRestrictions: { [key: string]: string; }[]; /** * The ID of the Managed Private Registry. */ readonly registryId: string; /** * The ID of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ readonly serviceName: string; } /** * Use this data source to get the list of Registry IP Restrictions of a container registry associated with a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const myIprestrictionsData = ovh.CloudProject.getContainerRegistryIPRestrictionsRegistry({ * serviceName: "XXXXXX", * registryId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx", * }); * export const myIpRestrictions = myIprestrictionsData.then(myIprestrictionsData => myIprestrictionsData.ipRestrictions); * ``` */ export declare function getContainerRegistryIPRestrictionsRegistryOutput(args: GetContainerRegistryIPRestrictionsRegistryOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getContainerRegistryIPRestrictionsRegistry. */ export interface GetContainerRegistryIPRestrictionsRegistryOutputArgs { /** * The id of the Managed Private Registry. */ registryId: pulumi.Input; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName: pulumi.Input; }