Viewing docs for Cloudflare v6.23.1
published on Wednesday, Oct 21, 2026 by Pulumi
published on Wednesday, Oct 21, 2026 by Pulumi
Viewing docs for Cloudflare v6.23.1
published on Wednesday, Oct 21, 2026 by Pulumi
published on Wednesday, Oct 21, 2026 by Pulumi
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleMagicWanBgpFilterProfiles = cloudflare.getMagicWanBgpFilterProfiles({
accountId: "023e105f4ecef8ad9ca31a8372d0c353",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_magic_wan_bgp_filter_profiles = cloudflare.get_magic_wan_bgp_filter_profiles(account_id="023e105f4ecef8ad9ca31a8372d0c353")
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.GetMagicWanBgpFilterProfiles(ctx, &cloudflare.LookupMagicWanBgpFilterProfilesArgs{
AccountId: "023e105f4ecef8ad9ca31a8372d0c353",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var exampleMagicWanBgpFilterProfiles = Cloudflare.GetMagicWanBgpFilterProfiles.Invoke(new()
{
AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.CloudflareFunctions;
import com.pulumi.cloudflare.inputs.GetMagicWanBgpFilterProfilesArgs;
import java.util.ArrayList;
import java.util.Arrays;
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) {
final var exampleMagicWanBgpFilterProfiles = CloudflareFunctions.getMagicWanBgpFilterProfiles(GetMagicWanBgpFilterProfilesArgs.builder()
.accountId("023e105f4ecef8ad9ca31a8372d0c353")
.build());
}
}
variables:
exampleMagicWanBgpFilterProfiles:
fn::invoke:
function: cloudflare:getMagicWanBgpFilterProfiles
arguments:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
terraform {
required_providers {
cloudflare = {
source = "pulumi/cloudflare"
}
}
}
data "cloudflare_magic_wan_bgp_filter_profiles" "exampleMagicWanBgpFilterProfiles" {
account_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
Using getMagicWanBgpFilterProfiles
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getMagicWanBgpFilterProfiles(args: GetMagicWanBgpFilterProfilesArgs, opts?: InvokeOptions): Promise<GetMagicWanBgpFilterProfilesResult>
function getMagicWanBgpFilterProfilesOutput(args: GetMagicWanBgpFilterProfilesOutputArgs, opts?: InvokeOutputOptions): Output<GetMagicWanBgpFilterProfilesResult>def get_magic_wan_bgp_filter_profiles(account_id: Optional[str] = None,
max_items: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetMagicWanBgpFilterProfilesResult
def get_magic_wan_bgp_filter_profiles_output(account_id: pulumi.Input[Optional[str]] = None,
max_items: pulumi.Input[Optional[int]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetMagicWanBgpFilterProfilesResult]func LookupMagicWanBgpFilterProfiles(ctx *Context, args *LookupMagicWanBgpFilterProfilesArgs, opts ...InvokeOption) (*LookupMagicWanBgpFilterProfilesResult, error)
func LookupMagicWanBgpFilterProfilesOutput(ctx *Context, args *LookupMagicWanBgpFilterProfilesOutputArgs, opts ...InvokeOption) LookupMagicWanBgpFilterProfilesResultOutput> Note: This function is named LookupMagicWanBgpFilterProfiles in the Go SDK.
public static class GetMagicWanBgpFilterProfiles
{
public static Task<GetMagicWanBgpFilterProfilesResult> InvokeAsync(GetMagicWanBgpFilterProfilesArgs args, InvokeOptions? opts = null)
public static Output<GetMagicWanBgpFilterProfilesResult> Invoke(GetMagicWanBgpFilterProfilesInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetMagicWanBgpFilterProfilesResult> Invoke(GetMagicWanBgpFilterProfilesInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetMagicWanBgpFilterProfilesResult> getMagicWanBgpFilterProfiles(GetMagicWanBgpFilterProfilesArgs args, InvokeOptions options)
public static Output<GetMagicWanBgpFilterProfilesResult> getMagicWanBgpFilterProfiles(GetMagicWanBgpFilterProfilesArgs args, InvokeOptions options)
public static Output<GetMagicWanBgpFilterProfilesResult> getMagicWanBgpFilterProfiles(GetMagicWanBgpFilterProfilesArgs args, InvokeOutputOptions options)
fn::invoke:
function: cloudflare:index/getMagicWanBgpFilterProfiles:getMagicWanBgpFilterProfiles
arguments:
# arguments dictionarydata "cloudflare_get_magic_wan_bgp_filter_profiles" "name" {
# arguments
}The following arguments are supported:
- account_
id string - Identifier
- max_
items number - Max items to fetch, default: 1000
- account_
id str - Identifier
- max_
items int - Max items to fetch, default: 1000
getMagicWanBgpFilterProfiles Result
The following output properties are available:
- Account
Id string - Identifier
- Results
List<Get
Magic Wan Bgp Filter Profiles Result> - The items returned by the data source
- Max
Items int - Max items to fetch, default: 1000
- Account
Id string - Identifier
- Results
[]Get
Magic Wan Bgp Filter Profiles Result - The items returned by the data source
- Max
Items int - Max items to fetch, default: 1000
- account_
id string - Identifier
- results list(object)
- The items returned by the data source
- max_
items number - Max items to fetch, default: 1000
- account
Id String - Identifier
- results
List<Get
Magic Wan Bgp Filter Profiles Result> - The items returned by the data source
- max
Items Integer - Max items to fetch, default: 1000
- account
Id string - Identifier
- results
Get
Magic Wan Bgp Filter Profiles Result[] - The items returned by the data source
- max
Items number - Max items to fetch, default: 1000
- account_
id str - Identifier
- results
Sequence[Get
Magic Wan Bgp Filter Profiles Result] - The items returned by the data source
- max_
items int - Max items to fetch, default: 1000
- account
Id String - Identifier
- results List<Property Map>
- The items returned by the data source
- max
Items Number - Max items to fetch, default: 1000
Supporting Types
GetMagicWanBgpFilterProfilesResult
- Created
On string - Description string
- Description of the filter profile
- Id string
- Identifier
- Match
Action string - Action to take when a route matches one of the targets in this profile Available values: "allow", "deny".
- Modified
On string - Name string
- Friendly name for the filter profile
- Targets List<string>
- List of CIDR prefixes. Each entry may carry an optional suffix that specifies which prefix lengths to match relative to the prefix length N: '{X,Y}' matches prefix lengths in the inclusive range [X, Y] where N <= X <= Y <= max (max is 32 for IPv4, 128 for IPv6), '{X}' matches exactly length X (equivalent to {X,X}), '+' is shorthand for {N, max} (the prefix and all more-specific subnets, including at length N itself; valid even when N is the maximum length). Omit the suffix to match the prefix exactly at length N.
- Created
On string - Description string
- Description of the filter profile
- Id string
- Identifier
- Match
Action string - Action to take when a route matches one of the targets in this profile Available values: "allow", "deny".
- Modified
On string - Name string
- Friendly name for the filter profile
- Targets []string
- List of CIDR prefixes. Each entry may carry an optional suffix that specifies which prefix lengths to match relative to the prefix length N: '{X,Y}' matches prefix lengths in the inclusive range [X, Y] where N <= X <= Y <= max (max is 32 for IPv4, 128 for IPv6), '{X}' matches exactly length X (equivalent to {X,X}), '+' is shorthand for {N, max} (the prefix and all more-specific subnets, including at length N itself; valid even when N is the maximum length). Omit the suffix to match the prefix exactly at length N.
- created_
on string - description string
- Description of the filter profile
- id string
- Identifier
- match_
action string - Action to take when a route matches one of the targets in this profile Available values: "allow", "deny".
- modified_
on string - name string
- Friendly name for the filter profile
- targets list(string)
- List of CIDR prefixes. Each entry may carry an optional suffix that specifies which prefix lengths to match relative to the prefix length N: '{X,Y}' matches prefix lengths in the inclusive range [X, Y] where N <= X <= Y <= max (max is 32 for IPv4, 128 for IPv6), '{X}' matches exactly length X (equivalent to {X,X}), '+' is shorthand for {N, max} (the prefix and all more-specific subnets, including at length N itself; valid even when N is the maximum length). Omit the suffix to match the prefix exactly at length N.
- created
On String - description String
- Description of the filter profile
- id String
- Identifier
- match
Action String - Action to take when a route matches one of the targets in this profile Available values: "allow", "deny".
- modified
On String - name String
- Friendly name for the filter profile
- targets List<String>
- List of CIDR prefixes. Each entry may carry an optional suffix that specifies which prefix lengths to match relative to the prefix length N: '{X,Y}' matches prefix lengths in the inclusive range [X, Y] where N <= X <= Y <= max (max is 32 for IPv4, 128 for IPv6), '{X}' matches exactly length X (equivalent to {X,X}), '+' is shorthand for {N, max} (the prefix and all more-specific subnets, including at length N itself; valid even when N is the maximum length). Omit the suffix to match the prefix exactly at length N.
- created
On string - description string
- Description of the filter profile
- id string
- Identifier
- match
Action string - Action to take when a route matches one of the targets in this profile Available values: "allow", "deny".
- modified
On string - name string
- Friendly name for the filter profile
- targets string[]
- List of CIDR prefixes. Each entry may carry an optional suffix that specifies which prefix lengths to match relative to the prefix length N: '{X,Y}' matches prefix lengths in the inclusive range [X, Y] where N <= X <= Y <= max (max is 32 for IPv4, 128 for IPv6), '{X}' matches exactly length X (equivalent to {X,X}), '+' is shorthand for {N, max} (the prefix and all more-specific subnets, including at length N itself; valid even when N is the maximum length). Omit the suffix to match the prefix exactly at length N.
- created_
on str - description str
- Description of the filter profile
- id str
- Identifier
- match_
action str - Action to take when a route matches one of the targets in this profile Available values: "allow", "deny".
- modified_
on str - name str
- Friendly name for the filter profile
- targets Sequence[str]
- List of CIDR prefixes. Each entry may carry an optional suffix that specifies which prefix lengths to match relative to the prefix length N: '{X,Y}' matches prefix lengths in the inclusive range [X, Y] where N <= X <= Y <= max (max is 32 for IPv4, 128 for IPv6), '{X}' matches exactly length X (equivalent to {X,X}), '+' is shorthand for {N, max} (the prefix and all more-specific subnets, including at length N itself; valid even when N is the maximum length). Omit the suffix to match the prefix exactly at length N.
- created
On String - description String
- Description of the filter profile
- id String
- Identifier
- match
Action String - Action to take when a route matches one of the targets in this profile Available values: "allow", "deny".
- modified
On String - name String
- Friendly name for the filter profile
- targets List<String>
- List of CIDR prefixes. Each entry may carry an optional suffix that specifies which prefix lengths to match relative to the prefix length N: '{X,Y}' matches prefix lengths in the inclusive range [X, Y] where N <= X <= Y <= max (max is 32 for IPv4, 128 for IPv6), '{X}' matches exactly length X (equivalent to {X,X}), '+' is shorthand for {N, max} (the prefix and all more-specific subnets, including at length N itself; valid even when N is the maximum length). Omit the suffix to match the prefix exactly at length N.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
Viewing docs for Cloudflare v6.23.1
published on Wednesday, Oct 21, 2026 by Pulumi
published on Wednesday, Oct 21, 2026 by Pulumi