getIpRanges

Use this data source to retrieve information about Datadog’s IP addresses.

Example Usage

using Pulumi;
using Datadog = Pulumi.Datadog;

class MyStack : Stack
{
    public MyStack()
    {
        var test = Output.Create(Datadog.GetIpRanges.InvokeAsync());
    }

}
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, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var test = Output.of(DatadogFunctions.getIpRanges());

    }
}
import pulumi
import pulumi_datadog as datadog

test = datadog.get_ip_ranges()
import * as pulumi from "@pulumi/pulumi";
import * as datadog from "@pulumi/datadog";

const test = pulumi.output(datadog.getIpRanges());
variables:
  test:
    Fn::Invoke:
      Function: datadog:getIpRanges
      Arguments: {}

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: datadog:index/getIpRanges:getIpRanges
  arguments:
    # arguments dictionary

getIpRanges Result

The following output properties are available:

AgentsIpv4s List<string>
AgentsIpv6s List<string>
ApiIpv4s List<string>
ApiIpv6s List<string>
ApmIpv4s List<string>
ApmIpv6s List<string>
Id string

The provider-assigned unique ID for this managed resource.

LogsIpv4s List<string>
LogsIpv6s List<string>
ProcessIpv4s List<string>
ProcessIpv6s List<string>
SyntheticsIpv4ByLocation Dictionary<string, object>
SyntheticsIpv4s List<string>
SyntheticsIpv6ByLocation Dictionary<string, object>
SyntheticsIpv6s List<string>
WebhooksIpv4s List<string>
WebhooksIpv6s List<string>
AgentsIpv4s []string
AgentsIpv6s []string
ApiIpv4s []string
ApiIpv6s []string
ApmIpv4s []string
ApmIpv6s []string
Id string

The provider-assigned unique ID for this managed resource.

LogsIpv4s []string
LogsIpv6s []string
ProcessIpv4s []string
ProcessIpv6s []string
SyntheticsIpv4ByLocation map[string]interface{}
SyntheticsIpv4s []string
SyntheticsIpv6ByLocation map[string]interface{}
SyntheticsIpv6s []string
WebhooksIpv4s []string
WebhooksIpv6s []string
agentsIpv4s List<String>
agentsIpv6s List<String>
apiIpv4s List<String>
apiIpv6s List<String>
apmIpv4s List<String>
apmIpv6s List<String>
id String

The provider-assigned unique ID for this managed resource.

logsIpv4s List<String>
logsIpv6s List<String>
processIpv4s List<String>
processIpv6s List<String>
syntheticsIpv4ByLocation Map<String,Object>
syntheticsIpv4s List<String>
syntheticsIpv6ByLocation Map<String,Object>
syntheticsIpv6s List<String>
webhooksIpv4s List<String>
webhooksIpv6s List<String>
agentsIpv4s string[]
agentsIpv6s string[]
apiIpv4s string[]
apiIpv6s string[]
apmIpv4s string[]
apmIpv6s string[]
id string

The provider-assigned unique ID for this managed resource.

logsIpv4s string[]
logsIpv6s string[]
processIpv4s string[]
processIpv6s string[]
syntheticsIpv4ByLocation {[key: string]: any}
syntheticsIpv4s string[]
syntheticsIpv6ByLocation {[key: string]: any}
syntheticsIpv6s string[]
webhooksIpv4s string[]
webhooksIpv6s string[]
agents_ipv4s Sequence[str]
agents_ipv6s Sequence[str]
api_ipv4s Sequence[str]
api_ipv6s Sequence[str]
apm_ipv4s Sequence[str]
apm_ipv6s Sequence[str]
id str

The provider-assigned unique ID for this managed resource.

logs_ipv4s Sequence[str]
logs_ipv6s Sequence[str]
process_ipv4s Sequence[str]
process_ipv6s Sequence[str]
synthetics_ipv4_by_location Mapping[str, Any]
synthetics_ipv4s Sequence[str]
synthetics_ipv6_by_location Mapping[str, Any]
synthetics_ipv6s Sequence[str]
webhooks_ipv4s Sequence[str]
webhooks_ipv6s Sequence[str]
agentsIpv4s List<String>
agentsIpv6s List<String>
apiIpv4s List<String>
apiIpv6s List<String>
apmIpv4s List<String>
apmIpv6s List<String>
id String

The provider-assigned unique ID for this managed resource.

logsIpv4s List<String>
logsIpv6s List<String>
processIpv4s List<String>
processIpv6s List<String>
syntheticsIpv4ByLocation Map<Any>
syntheticsIpv4s List<String>
syntheticsIpv6ByLocation Map<Any>
syntheticsIpv6s List<String>
webhooksIpv4s List<String>
webhooksIpv6s List<String>

Package Details

Repository
https://github.com/pulumi/pulumi-datadog
License
Apache-2.0
Notes

This Pulumi package is based on the datadog Terraform Provider.