import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * GTM address pool resource, belongs to a GTM instance and is used to carry the target address set and routing capacity configuration * * ## Import * * ```sh * $ pulumi import volcenginecc:gtm/pool:Pool example "gtm_id|pool_id" * ``` */ export declare class Pool extends pulumi.CustomResource { /** * Get an existing Pool 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?: PoolState, opts?: pulumi.CustomResourceOptions): Pool; /** * Returns true if the given object is an instance of Pool. 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 Pool; /** * Target address type of the address pool. If you do not set this parameter, Cloud Scheduling GTM will automatically determine the target address type. ipv4: IPv4 address. ipv6: IPv6 address. cname: Domain name */ readonly addrType: pulumi.Output; readonly addresses: pulumi.Output; /** * Address pool capacity */ readonly capacity: pulumi.Output; /** * Capacity mode, indicates whether to configure address pool capacity or address capacity */ readonly capacityMode: pulumi.Output; /** * Creation time */ readonly createTime: pulumi.Output; /** * Whether the address pool can be deleted. true: The address pool is not referenced by any routing rule and can be deleted. false: The address pool is referenced by one or more routing rules and cannot be deleted */ readonly deletable: pulumi.Output; /** * UUID of the associated GTM instance */ readonly gtmId: pulumi.Output; /** * Address pool name. UTF-8 format. Maximum length is 64 UTF-8 characters */ readonly name: pulumi.Output; /** * Address pool ID */ readonly poolId: pulumi.Output; /** * Address pool remarks. Default is an empty string. UTF-8 format. Maximum length is 128 UTF-8 characters */ readonly remark: pulumi.Output; /** * Update time */ readonly updateTime: pulumi.Output; /** * Create a Pool 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: PoolArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Pool resources. */ export interface PoolState { /** * Target address type of the address pool. If you do not set this parameter, Cloud Scheduling GTM will automatically determine the target address type. ipv4: IPv4 address. ipv6: IPv6 address. cname: Domain name */ addrType?: pulumi.Input; addresses?: pulumi.Input[]>; /** * Address pool capacity */ capacity?: pulumi.Input; /** * Capacity mode, indicates whether to configure address pool capacity or address capacity */ capacityMode?: pulumi.Input; /** * Creation time */ createTime?: pulumi.Input; /** * Whether the address pool can be deleted. true: The address pool is not referenced by any routing rule and can be deleted. false: The address pool is referenced by one or more routing rules and cannot be deleted */ deletable?: pulumi.Input; /** * UUID of the associated GTM instance */ gtmId?: pulumi.Input; /** * Address pool name. UTF-8 format. Maximum length is 64 UTF-8 characters */ name?: pulumi.Input; /** * Address pool ID */ poolId?: pulumi.Input; /** * Address pool remarks. Default is an empty string. UTF-8 format. Maximum length is 128 UTF-8 characters */ remark?: pulumi.Input; /** * Update time */ updateTime?: pulumi.Input; } /** * The set of arguments for constructing a Pool resource. */ export interface PoolArgs { /** * Target address type of the address pool. If you do not set this parameter, Cloud Scheduling GTM will automatically determine the target address type. ipv4: IPv4 address. ipv6: IPv6 address. cname: Domain name */ addrType?: pulumi.Input; addresses: pulumi.Input[]>; /** * Address pool capacity */ capacity?: pulumi.Input; /** * Capacity mode, indicates whether to configure address pool capacity or address capacity */ capacityMode?: pulumi.Input; /** * UUID of the associated GTM instance */ gtmId: pulumi.Input; /** * Address pool name. UTF-8 format. Maximum length is 64 UTF-8 characters */ name: pulumi.Input; /** * Address pool remarks. Default is an empty string. UTF-8 format. Maximum length is 128 UTF-8 characters */ remark?: pulumi.Input; }