import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get the list of Management 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 mgtIprestrictionsData = ovh.CloudProject.getContainerRegistryIPRestrictionsManagement({ * serviceName: "XXXXXX", * registryId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx", * }); * export const myIpRestrictions = mgtIprestrictionsData.then(mgtIprestrictionsData => mgtIprestrictionsData.ipRestrictions); * ``` */ export declare function getContainerRegistryIPRestrictionsManagement(args: GetContainerRegistryIPRestrictionsManagementArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getContainerRegistryIPRestrictionsManagement. */ export interface GetContainerRegistryIPRestrictionsManagementArgs { /** * 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 getContainerRegistryIPRestrictionsManagement. */ export interface GetContainerRegistryIPRestrictionsManagementResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * IP restrictions applied on Harbor UI and API. */ 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 Management 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 mgtIprestrictionsData = ovh.CloudProject.getContainerRegistryIPRestrictionsManagement({ * serviceName: "XXXXXX", * registryId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx", * }); * export const myIpRestrictions = mgtIprestrictionsData.then(mgtIprestrictionsData => mgtIprestrictionsData.ipRestrictions); * ``` */ export declare function getContainerRegistryIPRestrictionsManagementOutput(args: GetContainerRegistryIPRestrictionsManagementOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getContainerRegistryIPRestrictionsManagement. */ export interface GetContainerRegistryIPRestrictionsManagementOutputArgs { /** * 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; }