ByoIpPrefix

class ByoIpPrefix : KotlinCustomResource

Provides the ability to manage Bring-Your-Own-IP prefixes (BYOIP) which are used with or without Magic Transit.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.ByoIpPrefix;
import com.pulumi.cloudflare.ByoIpPrefixArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new ByoIpPrefix("example", ByoIpPrefixArgs.builder()
.accountId("f037e56e89293a057740de681ac9abbe")
.advertisement("on")
.description("Example IP Prefix")
.prefixId("d41d8cd98f00b204e9800998ecf8427e")
.build());
}
}

Import

$ pulumi import cloudflare:index/byoIpPrefix:ByoIpPrefix example <account_id>/<prefix_id>

Properties

Link copied to clipboard
val accountId: Output<String>

The account identifier to target for the resource.

Link copied to clipboard
val advertisement: Output<String>

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). Available values: on, off.

Link copied to clipboard
val description: Output<String>

Description of the BYO IP prefix.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val prefixId: Output<String>

The assigned Bring-Your-Own-IP prefix ID. Modifying this attribute will force creation of a new resource.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>