import * as pulumi from "@pulumi/pulumi"; export declare class Policy extends pulumi.CustomResource { /** * Get an existing Policy 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?: PolicyState, opts?: pulumi.CustomResourceOptions): Policy; /** * Returns true if the given object is an instance of Policy. 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 Policy; /** * Whether to allow environments to override this policy. */ readonly allowOverride: pulumi.Output; /** * Timestamp when the policy was created. */ readonly createdAt: pulumi.Output; /** * Policy data as a JSON string. Structure depends on policy_type. */ readonly data: pulumi.Output; /** * List of environment group IDs to which the policy applies. */ readonly environmentGroups: pulumi.Output; /** * Environment type for the policy (kubernetes, docker, podman, swarm). */ readonly environmentType: pulumi.Output; /** * Name of the policy. */ readonly name: pulumi.Output; readonly policyId: pulumi.Output; /** * Policy type (e.g. rbac-k8s, security-docker). */ readonly policyType: pulumi.Output; /** * Timestamp when the policy was last updated. */ readonly updatedAt: pulumi.Output; /** * Create a Policy 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: PolicyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Policy resources. */ export interface PolicyState { /** * Whether to allow environments to override this policy. */ allowOverride?: pulumi.Input; /** * Timestamp when the policy was created. */ createdAt?: pulumi.Input; /** * Policy data as a JSON string. Structure depends on policy_type. */ data?: pulumi.Input; /** * List of environment group IDs to which the policy applies. */ environmentGroups?: pulumi.Input[] | undefined>; /** * Environment type for the policy (kubernetes, docker, podman, swarm). */ environmentType?: pulumi.Input; /** * Name of the policy. */ name?: pulumi.Input; policyId?: pulumi.Input; /** * Policy type (e.g. rbac-k8s, security-docker). */ policyType?: pulumi.Input; /** * Timestamp when the policy was last updated. */ updatedAt?: pulumi.Input; } /** * The set of arguments for constructing a Policy resource. */ export interface PolicyArgs { /** * Whether to allow environments to override this policy. */ allowOverride?: pulumi.Input; /** * Policy data as a JSON string. Structure depends on policy_type. */ data?: pulumi.Input; /** * List of environment group IDs to which the policy applies. */ environmentGroups?: pulumi.Input[] | undefined>; /** * Environment type for the policy (kubernetes, docker, podman, swarm). */ environmentType: pulumi.Input; /** * Name of the policy. */ name?: pulumi.Input; policyId?: pulumi.Input; /** * Policy type (e.g. rbac-k8s, security-docker). */ policyType: pulumi.Input; } //# sourceMappingURL=policy.d.ts.map