import * as pulumi from "@pulumi/pulumi"; export declare class RegistryAccess extends pulumi.CustomResource { /** * Get an existing RegistryAccess resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: RegistryAccessState, opts?: pulumi.CustomResourceOptions): RegistryAccess; /** * Returns true if the given object is an instance of RegistryAccess. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is RegistryAccess; /** * Identifier of the Portainer endpoint to which the registry access policy applies. */ readonly endpointId: pulumi.Output; readonly registryAccessId: pulumi.Output; /** * Identifier of the Portainer registry whose access policy is being managed. */ readonly registryId: pulumi.Output; /** * Role identifier assigned to the user or team for the registry on the given endpoint. */ readonly roleId: pulumi.Output; /** * Identifier of the team granted access to the registry. Mutually exclusive with `userId`. */ readonly teamId: pulumi.Output; /** * Identifier of the user granted access to the registry. Mutually exclusive with `teamId`. */ readonly userId: pulumi.Output; /** * Create a RegistryAccess resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: RegistryAccessArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering RegistryAccess resources. */ export interface RegistryAccessState { /** * Identifier of the Portainer endpoint to which the registry access policy applies. */ endpointId?: pulumi.Input; registryAccessId?: pulumi.Input; /** * Identifier of the Portainer registry whose access policy is being managed. */ registryId?: pulumi.Input; /** * Role identifier assigned to the user or team for the registry on the given endpoint. */ roleId?: pulumi.Input; /** * Identifier of the team granted access to the registry. Mutually exclusive with `userId`. */ teamId?: pulumi.Input; /** * Identifier of the user granted access to the registry. Mutually exclusive with `teamId`. */ userId?: pulumi.Input; } /** * The set of arguments for constructing a RegistryAccess resource. */ export interface RegistryAccessArgs { /** * Identifier of the Portainer endpoint to which the registry access policy applies. */ endpointId: pulumi.Input; registryAccessId?: pulumi.Input; /** * Identifier of the Portainer registry whose access policy is being managed. */ registryId: pulumi.Input; /** * Role identifier assigned to the user or team for the registry on the given endpoint. */ roleId?: pulumi.Input; /** * Identifier of the team granted access to the registry. Mutually exclusive with `userId`. */ teamId?: pulumi.Input; /** * Identifier of the user granted access to the registry. Mutually exclusive with `teamId`. */ userId?: pulumi.Input; } //# sourceMappingURL=registryAccess.d.ts.map