import * as pulumi from "@pulumi/pulumi"; /** * Provides the ability to manage Bring-Your-Own-IP prefixes (BYOIP) which are used with or without Magic Transit. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const example = new cloudflare.ByoIpPrefix("example", { * advertisement: "on", * description: "Example IP Prefix", * prefixId: "d41d8cd98f00b204e9800998ecf8427e", * }); * ``` * * ## Import * * The current settings for Bring-Your-Own-IP prefixes can be imported using the prefix ID. * * ```sh * $ pulumi import cloudflare:index/byoIpPrefix:ByoIpPrefix example d41d8cd98f00b204e9800998ecf8427e * ``` */ export declare class ByoIpPrefix extends pulumi.CustomResource { /** * Get an existing ByoIpPrefix 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?: ByoIpPrefixState, opts?: pulumi.CustomResourceOptions): ByoIpPrefix; /** * Returns true if the given object is an instance of ByoIpPrefix. 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 ByoIpPrefix; readonly accountId: pulumi.Output; /** * Whether or not the prefix shall be announced. A prefix can be activated or deactivated once every 15 minutes (attempting more regular updates will trigger rate limiting). Valid values: `on` or `off`. */ readonly advertisement: pulumi.Output; /** * The description of the prefix. */ readonly description: pulumi.Output; /** * The assigned Bring-Your-Own-IP prefix ID. */ readonly prefixId: pulumi.Output; /** * Create a ByoIpPrefix 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: ByoIpPrefixArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ByoIpPrefix resources. */ export interface ByoIpPrefixState { accountId?: pulumi.Input; /** * Whether or not the prefix shall be announced. A prefix can be activated or deactivated once every 15 minutes (attempting more regular updates will trigger rate limiting). Valid values: `on` or `off`. */ advertisement?: pulumi.Input; /** * The description of the prefix. */ description?: pulumi.Input; /** * The assigned Bring-Your-Own-IP prefix ID. */ prefixId?: pulumi.Input; } /** * The set of arguments for constructing a ByoIpPrefix resource. */ export interface ByoIpPrefixArgs { accountId: pulumi.Input; /** * Whether or not the prefix shall be announced. A prefix can be activated or deactivated once every 15 minutes (attempting more regular updates will trigger rate limiting). Valid values: `on` or `off`. */ advertisement?: pulumi.Input; /** * The description of the prefix. */ description?: pulumi.Input; /** * The assigned Bring-Your-Own-IP prefix ID. */ prefixId: pulumi.Input; }