import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to get the list of users 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 myRegistry = ovh.CloudProject.getContainerRegistry({ * serviceName: "XXXXXX", * registryId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx", * }); * const users = ovh.CloudProject.getContainerRegistryUsers({ * serviceName: myRegistryOvhCloudProjectContainerregistry.serviceName, * registryId: myRegistryOvhCloudProjectContainerregistry.id, * }); * ``` */ export declare function getContainerRegistryUsers(args: GetContainerRegistryUsersArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getContainerRegistryUsers. */ export interface GetContainerRegistryUsersArgs { /** * Registry ID */ 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 getContainerRegistryUsers. */ export interface GetContainerRegistryUsersResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly registryId: string; /** * The list of users of the container registry associated with the project. */ readonly results: outputs.CloudProject.GetContainerRegistryUsersResult[]; readonly serviceName: string; } /** * Use this data source to get the list of users 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 myRegistry = ovh.CloudProject.getContainerRegistry({ * serviceName: "XXXXXX", * registryId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx", * }); * const users = ovh.CloudProject.getContainerRegistryUsers({ * serviceName: myRegistryOvhCloudProjectContainerregistry.serviceName, * registryId: myRegistryOvhCloudProjectContainerregistry.id, * }); * ``` */ export declare function getContainerRegistryUsersOutput(args: GetContainerRegistryUsersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getContainerRegistryUsers. */ export interface GetContainerRegistryUsersOutputArgs { /** * Registry ID */ registryId: pulumi.Input; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName: pulumi.Input; }