import * as pulumi from "@pulumi/pulumi"; export declare class KubernetesNamespaceAccess extends pulumi.CustomResource { /** * Get an existing KubernetesNamespaceAccess 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?: KubernetesNamespaceAccessState, opts?: pulumi.CustomResourceOptions): KubernetesNamespaceAccess; /** * Returns true if the given object is an instance of KubernetesNamespaceAccess. 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 KubernetesNamespaceAccess; /** * Identifier of the Portainer Kubernetes endpoint owning the namespace. */ readonly endpointId: pulumi.Output; readonly kubernetesNamespaceAccessId: pulumi.Output; /** * Name (identifier) of the Kubernetes namespace whose access policy is being updated. */ readonly namespaceId: pulumi.Output; /** * List of Portainer team identifiers to grant access to the namespace. */ readonly teamsToAdds: pulumi.Output; /** * List of Portainer team identifiers whose namespace access should be revoked. */ readonly teamsToRemoves: pulumi.Output; /** * List of Portainer user identifiers to grant access to the namespace. */ readonly usersToAdds: pulumi.Output; /** * List of Portainer user identifiers whose namespace access should be revoked. */ readonly usersToRemoves: pulumi.Output; /** * Create a KubernetesNamespaceAccess 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: KubernetesNamespaceAccessArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering KubernetesNamespaceAccess resources. */ export interface KubernetesNamespaceAccessState { /** * Identifier of the Portainer Kubernetes endpoint owning the namespace. */ endpointId?: pulumi.Input; kubernetesNamespaceAccessId?: pulumi.Input; /** * Name (identifier) of the Kubernetes namespace whose access policy is being updated. */ namespaceId?: pulumi.Input; /** * List of Portainer team identifiers to grant access to the namespace. */ teamsToAdds?: pulumi.Input[] | undefined>; /** * List of Portainer team identifiers whose namespace access should be revoked. */ teamsToRemoves?: pulumi.Input[] | undefined>; /** * List of Portainer user identifiers to grant access to the namespace. */ usersToAdds?: pulumi.Input[] | undefined>; /** * List of Portainer user identifiers whose namespace access should be revoked. */ usersToRemoves?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a KubernetesNamespaceAccess resource. */ export interface KubernetesNamespaceAccessArgs { /** * Identifier of the Portainer Kubernetes endpoint owning the namespace. */ endpointId: pulumi.Input; kubernetesNamespaceAccessId?: pulumi.Input; /** * Name (identifier) of the Kubernetes namespace whose access policy is being updated. */ namespaceId: pulumi.Input; /** * List of Portainer team identifiers to grant access to the namespace. */ teamsToAdds?: pulumi.Input[] | undefined>; /** * List of Portainer team identifiers whose namespace access should be revoked. */ teamsToRemoves?: pulumi.Input[] | undefined>; /** * List of Portainer user identifiers to grant access to the namespace. */ usersToAdds?: pulumi.Input[] | undefined>; /** * List of Portainer user identifiers whose namespace access should be revoked. */ usersToRemoves?: pulumi.Input[] | undefined>; } //# sourceMappingURL=kubernetesNamespaceAccess.d.ts.map