import * as pulumi from "@pulumi/pulumi"; export declare class ResourceControl extends pulumi.CustomResource { /** * Get an existing ResourceControl 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?: ResourceControlState, opts?: pulumi.CustomResourceOptions): ResourceControl; /** * Returns true if the given object is an instance of ResourceControl. 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 ResourceControl; /** * Whether the resource is restricted to Portainer administrators only. */ readonly administratorsOnly: pulumi.Output; readonly portainerResourceControlId: pulumi.Output; /** * Whether the resource is publicly accessible to all Portainer users. */ readonly public: pulumi.Output; /** * Identifier of an existing Portainer resource control to manage directly instead of looking it up via `resourceId` and `type`. */ readonly resourceControlId: pulumi.Output; /** * Identifier of the underlying Portainer resource (e.g. stack ID) the resource control applies to. */ readonly resourceId: pulumi.Output; /** * List of Portainer team identifiers granted access to the resource. */ readonly teams: pulumi.Output; /** * Resource type that the control protects (1 = container, 2 = service, 3 = volume, 4 = network, 5 = secret, 6 = stack, 7 = config). Defaults to 6 (stack). */ readonly type: pulumi.Output; /** * List of Portainer user identifiers granted access to the resource. */ readonly users: pulumi.Output; /** * Create a ResourceControl 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?: ResourceControlArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ResourceControl resources. */ export interface ResourceControlState { /** * Whether the resource is restricted to Portainer administrators only. */ administratorsOnly?: pulumi.Input; portainerResourceControlId?: pulumi.Input; /** * Whether the resource is publicly accessible to all Portainer users. */ public?: pulumi.Input; /** * Identifier of an existing Portainer resource control to manage directly instead of looking it up via `resourceId` and `type`. */ resourceControlId?: pulumi.Input; /** * Identifier of the underlying Portainer resource (e.g. stack ID) the resource control applies to. */ resourceId?: pulumi.Input; /** * List of Portainer team identifiers granted access to the resource. */ teams?: pulumi.Input[] | undefined>; /** * Resource type that the control protects (1 = container, 2 = service, 3 = volume, 4 = network, 5 = secret, 6 = stack, 7 = config). Defaults to 6 (stack). */ type?: pulumi.Input; /** * List of Portainer user identifiers granted access to the resource. */ users?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a ResourceControl resource. */ export interface ResourceControlArgs { /** * Whether the resource is restricted to Portainer administrators only. */ administratorsOnly?: pulumi.Input; portainerResourceControlId?: pulumi.Input; /** * Whether the resource is publicly accessible to all Portainer users. */ public?: pulumi.Input; /** * Identifier of an existing Portainer resource control to manage directly instead of looking it up via `resourceId` and `type`. */ resourceControlId?: pulumi.Input; /** * Identifier of the underlying Portainer resource (e.g. stack ID) the resource control applies to. */ resourceId?: pulumi.Input; /** * List of Portainer team identifiers granted access to the resource. */ teams?: pulumi.Input[] | undefined>; /** * Resource type that the control protects (1 = container, 2 = service, 3 = volume, 4 = network, 5 = secret, 6 = stack, 7 = config). Defaults to 6 (stack). */ type?: pulumi.Input; /** * List of Portainer user identifiers granted access to the resource. */ users?: pulumi.Input[] | undefined>; } //# sourceMappingURL=resourceControl.d.ts.map