import * as pulumi from "@pulumi/pulumi"; /** * This resource allows you to create and manage IP allow list entries for a GitHub Enterprise account. IP allow list entries define IP addresses or ranges that are permitted to access private resources in the enterprise. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as github from "@pulumi/github"; * * const test = new github.EnterpriseIpAllowListEntry("test", { * enterpriseSlug: "my-enterprise", * ip: "192.168.1.0/20", * name: "My IP Range Name", * isActive: true, * }); * ``` * * ## Import * * This resource can be imported using the ID of the IP allow list entry: * * ```sh * $ pulumi import github:index/enterpriseIpAllowListEntry:EnterpriseIpAllowListEntry test IALE_kwHOC1234567890a * ``` */ export declare class EnterpriseIpAllowListEntry extends pulumi.CustomResource { /** * Get an existing EnterpriseIpAllowListEntry 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?: EnterpriseIpAllowListEntryState, opts?: pulumi.CustomResourceOptions): EnterpriseIpAllowListEntry; /** * Returns true if the given object is an instance of EnterpriseIpAllowListEntry. 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 EnterpriseIpAllowListEntry; /** * Timestamp of when the entry was created. */ readonly createdAt: pulumi.Output; /** * The slug of the enterprise. */ readonly enterpriseSlug: pulumi.Output; /** * An IP address or range of IP addresses in CIDR notation. */ readonly ip: pulumi.Output; /** * Whether the entry is currently active. Default: true. */ readonly isActive: pulumi.Output; /** * A descriptive name for the IP allow list entry. */ readonly name: pulumi.Output; /** * Timestamp of when the entry was last updated. */ readonly updatedAt: pulumi.Output; /** * Create a EnterpriseIpAllowListEntry 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: EnterpriseIpAllowListEntryArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering EnterpriseIpAllowListEntry resources. */ export interface EnterpriseIpAllowListEntryState { /** * Timestamp of when the entry was created. */ createdAt?: pulumi.Input; /** * The slug of the enterprise. */ enterpriseSlug?: pulumi.Input; /** * An IP address or range of IP addresses in CIDR notation. */ ip?: pulumi.Input; /** * Whether the entry is currently active. Default: true. */ isActive?: pulumi.Input; /** * A descriptive name for the IP allow list entry. */ name?: pulumi.Input; /** * Timestamp of when the entry was last updated. */ updatedAt?: pulumi.Input; } /** * The set of arguments for constructing a EnterpriseIpAllowListEntry resource. */ export interface EnterpriseIpAllowListEntryArgs { /** * The slug of the enterprise. */ enterpriseSlug: pulumi.Input; /** * An IP address or range of IP addresses in CIDR notation. */ ip: pulumi.Input; /** * Whether the entry is currently active. Default: true. */ isActive?: pulumi.Input; /** * A descriptive name for the IP allow list entry. */ name?: pulumi.Input; } //# sourceMappingURL=enterpriseIpAllowListEntry.d.ts.map