import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleZeroTrustOrganization = cloudflare.getZeroTrustOrganization({ * accountId: "account_id", * zoneId: "zone_id", * }); * ``` */ export declare function getZeroTrustOrganization(args?: GetZeroTrustOrganizationArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getZeroTrustOrganization. */ export interface GetZeroTrustOrganizationArgs { /** * The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. */ accountId?: string; /** * The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. */ zoneId?: string; } /** * A collection of values returned by getZeroTrustOrganization. */ export interface GetZeroTrustOrganizationResult { /** * The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. */ readonly accountId?: string; /** * When set to true, users can authenticate via WARP for any application in your organization. Application settings will take precedence over this value. */ readonly allowAuthenticateViaWarp: boolean; /** * The unique subdomain assigned to your Zero Trust organization. */ readonly authDomain: string; /** * When set to `true`, users skip the identity provider selection step during login. */ readonly autoRedirectToIdentity: boolean; readonly customPages: outputs.GetZeroTrustOrganizationCustomPages; /** * Determines whether to deny all requests to Cloudflare-protected resources that lack an associated Access application. If enabled, you must explicitly configure an Access application and policy to allow traffic to your Cloudflare-protected resources. For domains you want to be public across all subdomains, add the domain to the `denyUnmatchedRequestsExemptedZoneNames` array. */ readonly denyUnmatchedRequests: boolean; /** * Contains zone names to exempt from the `denyUnmatchedRequests` feature. Requests to a subdomain in an exempted zone will block unauthenticated traffic by default if there is a configured Access application and policy that matches the request. */ readonly denyUnmatchedRequestsExemptedZoneNames: string[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Lock all settings as Read-Only in the Dashboard, regardless of user permission. Updates may only be made via the API or Terraform for this account when enabled. */ readonly isUiReadOnly: boolean; readonly loginDesign: outputs.GetZeroTrustOrganizationLoginDesign; /** * Configures multi-factor authentication (MFA) settings for an organization. */ readonly mfaConfig: outputs.GetZeroTrustOrganizationMfaConfig; /** * Indicates if this organization can enforce multi-factor authentication (MFA) requirements at the application and policy level. */ readonly mfaConfigurationAllowed: boolean; /** * Determines whether global MFA settings apply to applications by default. The organization must have MFA enabled with at least one authentication method and a session duration configured. */ readonly mfaRequiredForAllApps: boolean; /** * The name of your Zero Trust organization. */ readonly name: string; /** * The amount of time that tokens issued for applications will be valid. Must be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms, s, m, h. */ readonly sessionDuration: string; /** * A description of the reason why the UI read only field is being toggled. */ readonly uiReadOnlyToggleReason: string; /** * The amount of time a user seat is inactive before it expires. When the user seat exceeds the set time of inactivity, the user is removed as an active seat and no longer counts against your Teams seat count. Minimum value for this setting is 1 month (730h). Must be in the format `300ms` or `2h45m`. Valid time units are: `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`. */ readonly userSeatExpirationInactiveTime: string; /** * The amount of time that tokens issued for applications will be valid. Must be in the format `30m` or `2h45m`. Valid time units are: m, h. */ readonly warpAuthSessionDuration: string; /** * The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. */ readonly zoneId?: string; } /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleZeroTrustOrganization = cloudflare.getZeroTrustOrganization({ * accountId: "account_id", * zoneId: "zone_id", * }); * ``` */ export declare function getZeroTrustOrganizationOutput(args?: GetZeroTrustOrganizationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getZeroTrustOrganization. */ export interface GetZeroTrustOrganizationOutputArgs { /** * The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. */ accountId?: pulumi.Input; /** * The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. */ zoneId?: pulumi.Input; }