import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Example Usage * * ## Import * * ```sh * $ pulumi import cloudflare:index/loadBalancerPool:LoadBalancerPool example '/' * ``` */ export declare class LoadBalancerPool extends pulumi.CustomResource { /** * Get an existing LoadBalancerPool 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?: LoadBalancerPoolState, opts?: pulumi.CustomResourceOptions): LoadBalancerPool; /** * Returns true if the given object is an instance of LoadBalancerPool. 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 LoadBalancerPool; /** * Identifier */ readonly accountId: pulumi.Output; /** * A list of regions from which to run health checks. Null means every Cloudflare data center. */ readonly checkRegions: pulumi.Output; readonly createdOn: pulumi.Output; /** * A human-readable description of the pool. */ readonly description: pulumi.Output; /** * This field shows up only if the pool is disabled. This field is set with the time the pool was disabled at. */ readonly disabledAt: pulumi.Output; /** * Whether to enable (the default) or disable this pool. Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it to failover to the next pool (if any). */ readonly enabled: pulumi.Output; /** * The latitude of the data center containing the origins used in this pool in decimal degrees. If this is set, longitude must also be set. */ readonly latitude: pulumi.Output; /** * Configures load shedding policies and percentages for the pool. */ readonly loadShedding: pulumi.Output; /** * The longitude of the data center containing the origins used in this pool in decimal degrees. If this is set, latitude must also be set. */ readonly longitude: pulumi.Output; /** * The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and will failover to the next available pool. */ readonly minimumOrigins: pulumi.Output; readonly modifiedOn: pulumi.Output; /** * The ID of the Monitor to use for checking the health of origins within this pool. */ readonly monitor: pulumi.Output; /** * A short name (tag) for the pool. Only alphanumeric characters, hyphens, and underscores are allowed. */ readonly name: pulumi.Output; /** * List of networks where Load Balancer or Pool is enabled. */ readonly networks: pulumi.Output; /** * This field is now deprecated. It has been moved to Cloudflare's Centralized Notification service https://developers.cloudflare.com/fundamentals/notifications/. The email address to send health status notifications to. This can be an individual mailbox or a mailing list. Multiple emails can be supplied as a comma delimited list. */ readonly notificationEmail: pulumi.Output; /** * Filter pool and origin health notifications by resource type or health status. Use null to reset. */ readonly notificationFilter: pulumi.Output; /** * Configures origin steering for the pool. Controls how origins are selected for new sessions and traffic without session affinity. */ readonly originSteering: pulumi.Output; /** * The list of origins within this pool. Traffic directed at this pool is balanced across all currently healthy origins, provided the pool itself is healthy. */ readonly origins: pulumi.Output; /** * Create a LoadBalancerPool 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: LoadBalancerPoolArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering LoadBalancerPool resources. */ export interface LoadBalancerPoolState { /** * Identifier */ accountId?: pulumi.Input; /** * A list of regions from which to run health checks. Null means every Cloudflare data center. */ checkRegions?: pulumi.Input[]>; createdOn?: pulumi.Input; /** * A human-readable description of the pool. */ description?: pulumi.Input; /** * This field shows up only if the pool is disabled. This field is set with the time the pool was disabled at. */ disabledAt?: pulumi.Input; /** * Whether to enable (the default) or disable this pool. Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it to failover to the next pool (if any). */ enabled?: pulumi.Input; /** * The latitude of the data center containing the origins used in this pool in decimal degrees. If this is set, longitude must also be set. */ latitude?: pulumi.Input; /** * Configures load shedding policies and percentages for the pool. */ loadShedding?: pulumi.Input; /** * The longitude of the data center containing the origins used in this pool in decimal degrees. If this is set, latitude must also be set. */ longitude?: pulumi.Input; /** * The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and will failover to the next available pool. */ minimumOrigins?: pulumi.Input; modifiedOn?: pulumi.Input; /** * The ID of the Monitor to use for checking the health of origins within this pool. */ monitor?: pulumi.Input; /** * A short name (tag) for the pool. Only alphanumeric characters, hyphens, and underscores are allowed. */ name?: pulumi.Input; /** * List of networks where Load Balancer or Pool is enabled. */ networks?: pulumi.Input[]>; /** * This field is now deprecated. It has been moved to Cloudflare's Centralized Notification service https://developers.cloudflare.com/fundamentals/notifications/. The email address to send health status notifications to. This can be an individual mailbox or a mailing list. Multiple emails can be supplied as a comma delimited list. */ notificationEmail?: pulumi.Input; /** * Filter pool and origin health notifications by resource type or health status. Use null to reset. */ notificationFilter?: pulumi.Input; /** * Configures origin steering for the pool. Controls how origins are selected for new sessions and traffic without session affinity. */ originSteering?: pulumi.Input; /** * The list of origins within this pool. Traffic directed at this pool is balanced across all currently healthy origins, provided the pool itself is healthy. */ origins?: pulumi.Input[]>; } /** * The set of arguments for constructing a LoadBalancerPool resource. */ export interface LoadBalancerPoolArgs { /** * Identifier */ accountId: pulumi.Input; /** * A list of regions from which to run health checks. Null means every Cloudflare data center. */ checkRegions?: pulumi.Input[]>; /** * A human-readable description of the pool. */ description?: pulumi.Input; /** * Whether to enable (the default) or disable this pool. Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it to failover to the next pool (if any). */ enabled?: pulumi.Input; /** * The latitude of the data center containing the origins used in this pool in decimal degrees. If this is set, longitude must also be set. */ latitude?: pulumi.Input; /** * Configures load shedding policies and percentages for the pool. */ loadShedding?: pulumi.Input; /** * The longitude of the data center containing the origins used in this pool in decimal degrees. If this is set, latitude must also be set. */ longitude?: pulumi.Input; /** * The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and will failover to the next available pool. */ minimumOrigins?: pulumi.Input; /** * The ID of the Monitor to use for checking the health of origins within this pool. */ monitor?: pulumi.Input; /** * A short name (tag) for the pool. Only alphanumeric characters, hyphens, and underscores are allowed. */ name: pulumi.Input; /** * This field is now deprecated. It has been moved to Cloudflare's Centralized Notification service https://developers.cloudflare.com/fundamentals/notifications/. The email address to send health status notifications to. This can be an individual mailbox or a mailing list. Multiple emails can be supplied as a comma delimited list. */ notificationEmail?: pulumi.Input; /** * Filter pool and origin health notifications by resource type or health status. Use null to reset. */ notificationFilter?: pulumi.Input; /** * Configures origin steering for the pool. Controls how origins are selected for new sessions and traffic without session affinity. */ originSteering?: pulumi.Input; /** * The list of origins within this pool. Traffic directed at this pool is balanced across all currently healthy origins, provided the pool itself is healthy. */ origins: pulumi.Input[]>; }