import * as pulumi from "@pulumi/pulumi"; /** * Resource for managing IP allowlist configs. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = new harness.platform.IpAllowlist("example", { * identifier: "identifier", * name: "name", * ipAddress: "0.0.0.0/0", * allowedSourceTypes: ["API"], * enabled: true, * description: "allowlist example", * tags: ["foo:bar"], * }); * ``` */ export declare class IpAllowlist extends pulumi.CustomResource { /** * Get an existing IpAllowlist 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?: IpAllowlistState, opts?: pulumi.CustomResourceOptions): IpAllowlist; /** * Returns true if the given object is an instance of IpAllowlist. 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 IpAllowlist; /** * List of sources to allow. Valid values are `UI` and `API`. */ readonly allowedSourceTypes: pulumi.Output; /** * Creation timestamp for the config. */ readonly created: pulumi.Output; /** * Description of the resource. */ readonly description: pulumi.Output; /** * Whether the allowlist config is enabled. */ readonly enabled: pulumi.Output; /** * Unique identifier of the resource. */ readonly identifier: pulumi.Output; /** * CIDR range or IP address to allow. */ readonly ipAddress: pulumi.Output; /** * Name of the resource. */ readonly name: pulumi.Output; /** * Tags to associate with the resource. */ readonly tags: pulumi.Output; /** * Last update timestamp for the config. */ readonly updated: pulumi.Output; /** * Create a IpAllowlist 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: IpAllowlistArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering IpAllowlist resources. */ export interface IpAllowlistState { /** * List of sources to allow. Valid values are `UI` and `API`. */ allowedSourceTypes?: pulumi.Input[] | undefined>; /** * Creation timestamp for the config. */ created?: pulumi.Input; /** * Description of the resource. */ description?: pulumi.Input; /** * Whether the allowlist config is enabled. */ enabled?: pulumi.Input; /** * Unique identifier of the resource. */ identifier?: pulumi.Input; /** * CIDR range or IP address to allow. */ ipAddress?: pulumi.Input; /** * Name of the resource. */ name?: pulumi.Input; /** * Tags to associate with the resource. */ tags?: pulumi.Input[] | undefined>; /** * Last update timestamp for the config. */ updated?: pulumi.Input; } /** * The set of arguments for constructing a IpAllowlist resource. */ export interface IpAllowlistArgs { /** * List of sources to allow. Valid values are `UI` and `API`. */ allowedSourceTypes?: pulumi.Input[] | undefined>; /** * Description of the resource. */ description?: pulumi.Input; /** * Whether the allowlist config is enabled. */ enabled?: pulumi.Input; /** * Unique identifier of the resource. */ identifier: pulumi.Input; /** * CIDR range or IP address to allow. */ ipAddress: pulumi.Input; /** * Name of the resource. */ name?: pulumi.Input; /** * Tags to associate with the resource. */ tags?: pulumi.Input[] | undefined>; } //# sourceMappingURL=ipAllowlist.d.ts.map