Datadog v4.49.0 published on Thursday, Apr 17, 2025 by Pulumi
datadog.getIpRanges
Explore with Pulumi AI
Use this data source to retrieve information about Datadog’s IP addresses.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as datadog from "@pulumi/datadog";
const test = datadog.getIpRanges({});
import pulumi
import pulumi_datadog as datadog
test = datadog.get_ip_ranges()
package main
import (
	"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := datadog.GetIpRanges(ctx, map[string]interface{}{}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Datadog = Pulumi.Datadog;
return await Deployment.RunAsync(() => 
{
    var test = Datadog.GetIpRanges.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.datadog.DatadogFunctions;
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) {
        final var test = DatadogFunctions.getIpRanges(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
    }
}
variables:
  test:
    fn::invoke:
      function: datadog:getIpRanges
      arguments: {}
Using getIpRanges
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 getIpRanges(opts?: InvokeOptions): Promise<GetIpRangesResult>
function getIpRangesOutput(opts?: InvokeOptions): Output<GetIpRangesResult>def get_ip_ranges(opts: Optional[InvokeOptions] = None) -> GetIpRangesResult
def get_ip_ranges_output(opts: Optional[InvokeOptions] = None) -> Output[GetIpRangesResult]func GetIpRanges(ctx *Context, opts ...InvokeOption) (*GetIpRangesResult, error)
func GetIpRangesOutput(ctx *Context, opts ...InvokeOption) GetIpRangesResultOutput> Note: This function is named GetIpRanges in the Go SDK.
public static class GetIpRanges 
{
    public static Task<GetIpRangesResult> InvokeAsync(InvokeOptions? opts = null)
    public static Output<GetIpRangesResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetIpRangesResult> getIpRanges(InvokeOptions options)
public static Output<GetIpRangesResult> getIpRanges(InvokeOptions options)
fn::invoke:
  function: datadog:index/getIpRanges:getIpRanges
  arguments:
    # arguments dictionarygetIpRanges Result
The following output properties are available:
- Agents
Ipv4s List<string> - An Array of IPv4 addresses in CIDR format specifying the A records for the Agent endpoint.
 - Agents
Ipv6s List<string> - An Array of IPv6 addresses in CIDR format specifying the A records for the Agent endpoint.
 - Api
Ipv4s List<string> - An Array of IPv4 addresses in CIDR format specifying the A records for the API endpoint.
 - Api
Ipv6s List<string> - An Array of IPv6 addresses in CIDR format specifying the A records for the API endpoint.
 - Apm
Ipv4s List<string> - An Array of IPv4 addresses in CIDR format specifying the A records for the APM endpoint.
 - Apm
Ipv6s List<string> - An Array of IPv6 addresses in CIDR format specifying the A records for the APM endpoint.
 - Global
Ipv4s List<string> - An Array of IPv4 addresses in CIDR format specifying the A records for all Datadog endpoints.
 - Global
Ipv6s List<string> - An Array of IPv6 addresses in CIDR format specifying the A records for all Datadog endpoints.
 - Id string
 - The ID of this resource.
 - Logs
Ipv4s List<string> - An Array of IPv4 addresses in CIDR format specifying the A records for the Logs endpoint.
 - Logs
Ipv6s List<string> - An Array of IPv6 addresses in CIDR format specifying the A records for the Logs endpoint.
 - Orchestrator
Ipv4s List<string> - An Array of IPv4 addresses in CIDR format specifying the A records for the Orchestrator endpoint.
 - Orchestrator
Ipv6s List<string> - An Array of IPv6 addresses in CIDR format specifying the A records for the Orchestrator endpoint.
 - Process
Ipv4s List<string> - An Array of IPv4 addresses in CIDR format specifying the A records for the Process endpoint.
 - Process
Ipv6s List<string> - An Array of IPv6 addresses in CIDR format specifying the A records for the Process endpoint.
 - Synthetics
Ipv4By Dictionary<string, string>Location  - A map of IPv4 prefixes (string of concatenated IPs, delimited by ',') by location.
 - Synthetics
Ipv4s List<string> - An Array of IPv4 addresses in CIDR format specifying the A records for the Synthetics endpoint.
 - Synthetics
Ipv6By Dictionary<string, string>Location  - A map of IPv6 prefixes (string of concatenated IPs, delimited by ',') by location.
 - Synthetics
Ipv6s List<string> - An Array of IPv6 addresses in CIDR format specifying the A records for the Synthetics endpoint.
 - Webhooks
Ipv4s List<string> - An Array of IPv4 addresses in CIDR format specifying the A records for the Webhooks endpoint.
 - Webhooks
Ipv6s List<string> - An Array of IPv6 addresses in CIDR format specifying the A records for the Webhooks endpoint.
 
- Agents
Ipv4s []string - An Array of IPv4 addresses in CIDR format specifying the A records for the Agent endpoint.
 - Agents
Ipv6s []string - An Array of IPv6 addresses in CIDR format specifying the A records for the Agent endpoint.
 - Api
Ipv4s []string - An Array of IPv4 addresses in CIDR format specifying the A records for the API endpoint.
 - Api
Ipv6s []string - An Array of IPv6 addresses in CIDR format specifying the A records for the API endpoint.
 - Apm
Ipv4s []string - An Array of IPv4 addresses in CIDR format specifying the A records for the APM endpoint.
 - Apm
Ipv6s []string - An Array of IPv6 addresses in CIDR format specifying the A records for the APM endpoint.
 - Global
Ipv4s []string - An Array of IPv4 addresses in CIDR format specifying the A records for all Datadog endpoints.
 - Global
Ipv6s []string - An Array of IPv6 addresses in CIDR format specifying the A records for all Datadog endpoints.
 - Id string
 - The ID of this resource.
 - Logs
Ipv4s []string - An Array of IPv4 addresses in CIDR format specifying the A records for the Logs endpoint.
 - Logs
Ipv6s []string - An Array of IPv6 addresses in CIDR format specifying the A records for the Logs endpoint.
 - Orchestrator
Ipv4s []string - An Array of IPv4 addresses in CIDR format specifying the A records for the Orchestrator endpoint.
 - Orchestrator
Ipv6s []string - An Array of IPv6 addresses in CIDR format specifying the A records for the Orchestrator endpoint.
 - Process
Ipv4s []string - An Array of IPv4 addresses in CIDR format specifying the A records for the Process endpoint.
 - Process
Ipv6s []string - An Array of IPv6 addresses in CIDR format specifying the A records for the Process endpoint.
 - Synthetics
Ipv4By map[string]stringLocation  - A map of IPv4 prefixes (string of concatenated IPs, delimited by ',') by location.
 - Synthetics
Ipv4s []string - An Array of IPv4 addresses in CIDR format specifying the A records for the Synthetics endpoint.
 - Synthetics
Ipv6By map[string]stringLocation  - A map of IPv6 prefixes (string of concatenated IPs, delimited by ',') by location.
 - Synthetics
Ipv6s []string - An Array of IPv6 addresses in CIDR format specifying the A records for the Synthetics endpoint.
 - Webhooks
Ipv4s []string - An Array of IPv4 addresses in CIDR format specifying the A records for the Webhooks endpoint.
 - Webhooks
Ipv6s []string - An Array of IPv6 addresses in CIDR format specifying the A records for the Webhooks endpoint.
 
- agents
Ipv4s List<String> - An Array of IPv4 addresses in CIDR format specifying the A records for the Agent endpoint.
 - agents
Ipv6s List<String> - An Array of IPv6 addresses in CIDR format specifying the A records for the Agent endpoint.
 - api
Ipv4s List<String> - An Array of IPv4 addresses in CIDR format specifying the A records for the API endpoint.
 - api
Ipv6s List<String> - An Array of IPv6 addresses in CIDR format specifying the A records for the API endpoint.
 - apm
Ipv4s List<String> - An Array of IPv4 addresses in CIDR format specifying the A records for the APM endpoint.
 - apm
Ipv6s List<String> - An Array of IPv6 addresses in CIDR format specifying the A records for the APM endpoint.
 - global
Ipv4s List<String> - An Array of IPv4 addresses in CIDR format specifying the A records for all Datadog endpoints.
 - global
Ipv6s List<String> - An Array of IPv6 addresses in CIDR format specifying the A records for all Datadog endpoints.
 - id String
 - The ID of this resource.
 - logs
Ipv4s List<String> - An Array of IPv4 addresses in CIDR format specifying the A records for the Logs endpoint.
 - logs
Ipv6s List<String> - An Array of IPv6 addresses in CIDR format specifying the A records for the Logs endpoint.
 - orchestrator
Ipv4s List<String> - An Array of IPv4 addresses in CIDR format specifying the A records for the Orchestrator endpoint.
 - orchestrator
Ipv6s List<String> - An Array of IPv6 addresses in CIDR format specifying the A records for the Orchestrator endpoint.
 - process
Ipv4s List<String> - An Array of IPv4 addresses in CIDR format specifying the A records for the Process endpoint.
 - process
Ipv6s List<String> - An Array of IPv6 addresses in CIDR format specifying the A records for the Process endpoint.
 - synthetics
Ipv4By Map<String,String>Location  - A map of IPv4 prefixes (string of concatenated IPs, delimited by ',') by location.
 - synthetics
Ipv4s List<String> - An Array of IPv4 addresses in CIDR format specifying the A records for the Synthetics endpoint.
 - synthetics
Ipv6By Map<String,String>Location  - A map of IPv6 prefixes (string of concatenated IPs, delimited by ',') by location.
 - synthetics
Ipv6s List<String> - An Array of IPv6 addresses in CIDR format specifying the A records for the Synthetics endpoint.
 - webhooks
Ipv4s List<String> - An Array of IPv4 addresses in CIDR format specifying the A records for the Webhooks endpoint.
 - webhooks
Ipv6s List<String> - An Array of IPv6 addresses in CIDR format specifying the A records for the Webhooks endpoint.
 
- agents
Ipv4s string[] - An Array of IPv4 addresses in CIDR format specifying the A records for the Agent endpoint.
 - agents
Ipv6s string[] - An Array of IPv6 addresses in CIDR format specifying the A records for the Agent endpoint.
 - api
Ipv4s string[] - An Array of IPv4 addresses in CIDR format specifying the A records for the API endpoint.
 - api
Ipv6s string[] - An Array of IPv6 addresses in CIDR format specifying the A records for the API endpoint.
 - apm
Ipv4s string[] - An Array of IPv4 addresses in CIDR format specifying the A records for the APM endpoint.
 - apm
Ipv6s string[] - An Array of IPv6 addresses in CIDR format specifying the A records for the APM endpoint.
 - global
Ipv4s string[] - An Array of IPv4 addresses in CIDR format specifying the A records for all Datadog endpoints.
 - global
Ipv6s string[] - An Array of IPv6 addresses in CIDR format specifying the A records for all Datadog endpoints.
 - id string
 - The ID of this resource.
 - logs
Ipv4s string[] - An Array of IPv4 addresses in CIDR format specifying the A records for the Logs endpoint.
 - logs
Ipv6s string[] - An Array of IPv6 addresses in CIDR format specifying the A records for the Logs endpoint.
 - orchestrator
Ipv4s string[] - An Array of IPv4 addresses in CIDR format specifying the A records for the Orchestrator endpoint.
 - orchestrator
Ipv6s string[] - An Array of IPv6 addresses in CIDR format specifying the A records for the Orchestrator endpoint.
 - process
Ipv4s string[] - An Array of IPv4 addresses in CIDR format specifying the A records for the Process endpoint.
 - process
Ipv6s string[] - An Array of IPv6 addresses in CIDR format specifying the A records for the Process endpoint.
 - synthetics
Ipv4By {[key: string]: string}Location  - A map of IPv4 prefixes (string of concatenated IPs, delimited by ',') by location.
 - synthetics
Ipv4s string[] - An Array of IPv4 addresses in CIDR format specifying the A records for the Synthetics endpoint.
 - synthetics
Ipv6By {[key: string]: string}Location  - A map of IPv6 prefixes (string of concatenated IPs, delimited by ',') by location.
 - synthetics
Ipv6s string[] - An Array of IPv6 addresses in CIDR format specifying the A records for the Synthetics endpoint.
 - webhooks
Ipv4s string[] - An Array of IPv4 addresses in CIDR format specifying the A records for the Webhooks endpoint.
 - webhooks
Ipv6s string[] - An Array of IPv6 addresses in CIDR format specifying the A records for the Webhooks endpoint.
 
- agents_
ipv4s Sequence[str] - An Array of IPv4 addresses in CIDR format specifying the A records for the Agent endpoint.
 - agents_
ipv6s Sequence[str] - An Array of IPv6 addresses in CIDR format specifying the A records for the Agent endpoint.
 - api_
ipv4s Sequence[str] - An Array of IPv4 addresses in CIDR format specifying the A records for the API endpoint.
 - api_
ipv6s Sequence[str] - An Array of IPv6 addresses in CIDR format specifying the A records for the API endpoint.
 - apm_
ipv4s Sequence[str] - An Array of IPv4 addresses in CIDR format specifying the A records for the APM endpoint.
 - apm_
ipv6s Sequence[str] - An Array of IPv6 addresses in CIDR format specifying the A records for the APM endpoint.
 - global_
ipv4s Sequence[str] - An Array of IPv4 addresses in CIDR format specifying the A records for all Datadog endpoints.
 - global_
ipv6s Sequence[str] - An Array of IPv6 addresses in CIDR format specifying the A records for all Datadog endpoints.
 - id str
 - The ID of this resource.
 - logs_
ipv4s Sequence[str] - An Array of IPv4 addresses in CIDR format specifying the A records for the Logs endpoint.
 - logs_
ipv6s Sequence[str] - An Array of IPv6 addresses in CIDR format specifying the A records for the Logs endpoint.
 - orchestrator_
ipv4s Sequence[str] - An Array of IPv4 addresses in CIDR format specifying the A records for the Orchestrator endpoint.
 - orchestrator_
ipv6s Sequence[str] - An Array of IPv6 addresses in CIDR format specifying the A records for the Orchestrator endpoint.
 - process_
ipv4s Sequence[str] - An Array of IPv4 addresses in CIDR format specifying the A records for the Process endpoint.
 - process_
ipv6s Sequence[str] - An Array of IPv6 addresses in CIDR format specifying the A records for the Process endpoint.
 - synthetics_
ipv4_ Mapping[str, str]by_ location  - A map of IPv4 prefixes (string of concatenated IPs, delimited by ',') by location.
 - synthetics_
ipv4s Sequence[str] - An Array of IPv4 addresses in CIDR format specifying the A records for the Synthetics endpoint.
 - synthetics_
ipv6_ Mapping[str, str]by_ location  - A map of IPv6 prefixes (string of concatenated IPs, delimited by ',') by location.
 - synthetics_
ipv6s Sequence[str] - An Array of IPv6 addresses in CIDR format specifying the A records for the Synthetics endpoint.
 - webhooks_
ipv4s Sequence[str] - An Array of IPv4 addresses in CIDR format specifying the A records for the Webhooks endpoint.
 - webhooks_
ipv6s Sequence[str] - An Array of IPv6 addresses in CIDR format specifying the A records for the Webhooks endpoint.
 
- agents
Ipv4s List<String> - An Array of IPv4 addresses in CIDR format specifying the A records for the Agent endpoint.
 - agents
Ipv6s List<String> - An Array of IPv6 addresses in CIDR format specifying the A records for the Agent endpoint.
 - api
Ipv4s List<String> - An Array of IPv4 addresses in CIDR format specifying the A records for the API endpoint.
 - api
Ipv6s List<String> - An Array of IPv6 addresses in CIDR format specifying the A records for the API endpoint.
 - apm
Ipv4s List<String> - An Array of IPv4 addresses in CIDR format specifying the A records for the APM endpoint.
 - apm
Ipv6s List<String> - An Array of IPv6 addresses in CIDR format specifying the A records for the APM endpoint.
 - global
Ipv4s List<String> - An Array of IPv4 addresses in CIDR format specifying the A records for all Datadog endpoints.
 - global
Ipv6s List<String> - An Array of IPv6 addresses in CIDR format specifying the A records for all Datadog endpoints.
 - id String
 - The ID of this resource.
 - logs
Ipv4s List<String> - An Array of IPv4 addresses in CIDR format specifying the A records for the Logs endpoint.
 - logs
Ipv6s List<String> - An Array of IPv6 addresses in CIDR format specifying the A records for the Logs endpoint.
 - orchestrator
Ipv4s List<String> - An Array of IPv4 addresses in CIDR format specifying the A records for the Orchestrator endpoint.
 - orchestrator
Ipv6s List<String> - An Array of IPv6 addresses in CIDR format specifying the A records for the Orchestrator endpoint.
 - process
Ipv4s List<String> - An Array of IPv4 addresses in CIDR format specifying the A records for the Process endpoint.
 - process
Ipv6s List<String> - An Array of IPv6 addresses in CIDR format specifying the A records for the Process endpoint.
 - synthetics
Ipv4By Map<String>Location  - A map of IPv4 prefixes (string of concatenated IPs, delimited by ',') by location.
 - synthetics
Ipv4s List<String> - An Array of IPv4 addresses in CIDR format specifying the A records for the Synthetics endpoint.
 - synthetics
Ipv6By Map<String>Location  - A map of IPv6 prefixes (string of concatenated IPs, delimited by ',') by location.
 - synthetics
Ipv6s List<String> - An Array of IPv6 addresses in CIDR format specifying the A records for the Synthetics endpoint.
 - webhooks
Ipv4s List<String> - An Array of IPv4 addresses in CIDR format specifying the A records for the Webhooks endpoint.
 - webhooks
Ipv6s List<String> - An Array of IPv6 addresses in CIDR format specifying the A records for the Webhooks endpoint.
 
Package Details
- Repository
 - Datadog pulumi/pulumi-datadog
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
datadogTerraform Provider.