import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleZeroTrustAccessGroup = new cloudflare.ZeroTrustAccessGroup("example_zero_trust_access_group", { * includes: [{ * group: { * id: "aa0a4aab-672b-4bdb-bc33-a59f1130a11f", * }, * }], * name: "Allow devs", * zoneId: "zone_id", * excludes: [{ * group: { * id: "aa0a4aab-672b-4bdb-bc33-a59f1130a11f", * }, * }], * isDefault: true, * requires: [{ * group: { * id: "aa0a4aab-672b-4bdb-bc33-a59f1130a11f", * }, * }], * }); * ``` * * ## Import * * ```sh * $ pulumi import cloudflare:index/zeroTrustAccessGroup:ZeroTrustAccessGroup example '<{accounts|zones}/{account_id|zone_id}>/' * ``` */ export declare class ZeroTrustAccessGroup extends pulumi.CustomResource { /** * Get an existing ZeroTrustAccessGroup 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?: ZeroTrustAccessGroupState, opts?: pulumi.CustomResourceOptions): ZeroTrustAccessGroup; /** * Returns true if the given object is an instance of ZeroTrustAccessGroup. 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 ZeroTrustAccessGroup; /** * The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. */ readonly accountId: pulumi.Output; readonly createdAt: pulumi.Output; /** * Rules evaluated with a NOT logical operator. To match a policy, a user cannot meet any of the Exclude rules. */ readonly excludes: pulumi.Output; /** * Rules evaluated with an OR logical operator. A user needs to meet only one of the Include rules. */ readonly includes: pulumi.Output; /** * Whether this is the default group */ readonly isDefault: pulumi.Output; /** * The name of the Access group. */ readonly name: pulumi.Output; /** * Rules evaluated with an AND logical operator. To match a policy, a user must meet all of the Require rules. */ readonly requires: pulumi.Output; readonly updatedAt: pulumi.Output; /** * The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. */ readonly zoneId: pulumi.Output; /** * Create a ZeroTrustAccessGroup 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: ZeroTrustAccessGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ZeroTrustAccessGroup resources. */ export interface ZeroTrustAccessGroupState { /** * The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. */ accountId?: pulumi.Input; createdAt?: pulumi.Input; /** * Rules evaluated with a NOT logical operator. To match a policy, a user cannot meet any of the Exclude rules. */ excludes?: pulumi.Input[]>; /** * Rules evaluated with an OR logical operator. A user needs to meet only one of the Include rules. */ includes?: pulumi.Input[]>; /** * Whether this is the default group */ isDefault?: pulumi.Input; /** * The name of the Access group. */ name?: pulumi.Input; /** * Rules evaluated with an AND logical operator. To match a policy, a user must meet all of the Require rules. */ requires?: pulumi.Input[]>; updatedAt?: pulumi.Input; /** * The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. */ zoneId?: pulumi.Input; } /** * The set of arguments for constructing a ZeroTrustAccessGroup resource. */ export interface ZeroTrustAccessGroupArgs { /** * The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. */ accountId?: pulumi.Input; /** * Rules evaluated with a NOT logical operator. To match a policy, a user cannot meet any of the Exclude rules. */ excludes?: pulumi.Input[]>; /** * Rules evaluated with an OR logical operator. A user needs to meet only one of the Include rules. */ includes: pulumi.Input[]>; /** * Whether this is the default group */ isDefault?: pulumi.Input; /** * The name of the Access group. */ name: pulumi.Input; /** * Rules evaluated with an AND logical operator. To match a policy, a user must meet all of the Require rules. */ requires?: pulumi.Input[]>; /** * The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. */ zoneId?: pulumi.Input; }