cloudflare logo
Cloudflare v5.0.0, Mar 13 23

cloudflare.getIpRanges

Use this data source to get the IP ranges of Cloudflare network.

Using getIpRanges

function getIpRanges(opts?: InvokeOptions): Promise<GetIpRangesResult>
def get_ip_ranges(opts: Optional[InvokeOptions] = None) -> GetIpRangesResult
func GetIpRanges(ctx *Context, opts ...InvokeOption) (*GetIpRangesResult, error)

> Note: This function is named GetIpRanges in the Go SDK.

public static class GetIpRanges 
{
    public static Task<GetIpRangesResult> InvokeAsync(InvokeOptions? opts = null)
}
public static CompletableFuture<GetIpRangesResult> getIpRanges(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: cloudflare:index/getIpRanges:getIpRanges
  arguments:
    # arguments dictionary

getIpRanges Result

The following output properties are available:

ChinaIpv4CidrBlocks List<string>

The lexically ordered list of only the IPv4 China CIDR blocks.

ChinaIpv6CidrBlocks List<string>

The lexically ordered list of only the IPv6 China CIDR blocks.

CidrBlocks List<string>

The lexically ordered list of all non-China CIDR blocks.

Id string

The provider-assigned unique ID for this managed resource.

Ipv4CidrBlocks List<string>

The lexically ordered list of only the IPv4 CIDR blocks.

Ipv6CidrBlocks List<string>

The lexically ordered list of only the IPv6 CIDR blocks.

ChinaIpv4CidrBlocks []string

The lexically ordered list of only the IPv4 China CIDR blocks.

ChinaIpv6CidrBlocks []string

The lexically ordered list of only the IPv6 China CIDR blocks.

CidrBlocks []string

The lexically ordered list of all non-China CIDR blocks.

Id string

The provider-assigned unique ID for this managed resource.

Ipv4CidrBlocks []string

The lexically ordered list of only the IPv4 CIDR blocks.

Ipv6CidrBlocks []string

The lexically ordered list of only the IPv6 CIDR blocks.

chinaIpv4CidrBlocks List<String>

The lexically ordered list of only the IPv4 China CIDR blocks.

chinaIpv6CidrBlocks List<String>

The lexically ordered list of only the IPv6 China CIDR blocks.

cidrBlocks List<String>

The lexically ordered list of all non-China CIDR blocks.

id String

The provider-assigned unique ID for this managed resource.

ipv4CidrBlocks List<String>

The lexically ordered list of only the IPv4 CIDR blocks.

ipv6CidrBlocks List<String>

The lexically ordered list of only the IPv6 CIDR blocks.

chinaIpv4CidrBlocks string[]

The lexically ordered list of only the IPv4 China CIDR blocks.

chinaIpv6CidrBlocks string[]

The lexically ordered list of only the IPv6 China CIDR blocks.

cidrBlocks string[]

The lexically ordered list of all non-China CIDR blocks.

id string

The provider-assigned unique ID for this managed resource.

ipv4CidrBlocks string[]

The lexically ordered list of only the IPv4 CIDR blocks.

ipv6CidrBlocks string[]

The lexically ordered list of only the IPv6 CIDR blocks.

china_ipv4_cidr_blocks Sequence[str]

The lexically ordered list of only the IPv4 China CIDR blocks.

china_ipv6_cidr_blocks Sequence[str]

The lexically ordered list of only the IPv6 China CIDR blocks.

cidr_blocks Sequence[str]

The lexically ordered list of all non-China CIDR blocks.

id str

The provider-assigned unique ID for this managed resource.

ipv4_cidr_blocks Sequence[str]

The lexically ordered list of only the IPv4 CIDR blocks.

ipv6_cidr_blocks Sequence[str]

The lexically ordered list of only the IPv6 CIDR blocks.

chinaIpv4CidrBlocks List<String>

The lexically ordered list of only the IPv4 China CIDR blocks.

chinaIpv6CidrBlocks List<String>

The lexically ordered list of only the IPv6 China CIDR blocks.

cidrBlocks List<String>

The lexically ordered list of all non-China CIDR blocks.

id String

The provider-assigned unique ID for this managed resource.

ipv4CidrBlocks List<String>

The lexically ordered list of only the IPv4 CIDR blocks.

ipv6CidrBlocks List<String>

The lexically ordered list of only the IPv6 CIDR blocks.

Package Details

Repository
Cloudflare pulumi/pulumi-cloudflare
License
Apache-2.0
Notes

This Pulumi package is based on the cloudflare Terraform Provider.