Ready to level-up your engineering skills? Join a Pulumi Workshop. Register Now

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/v2/go/datadog"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := datadog.GetIpRanges(ctx, nil, nil)
        if err != nil {
            return err
        }
        return nil
    })
}
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({ async: true }));

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)
}

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>
SyntheticsIpv4s List<string>
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
SyntheticsIpv4s []string
SyntheticsIpv6s []string
WebhooksIpv4s []string
WebhooksIpv6s []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[]
syntheticsIpv4s string[]
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_ipv4s Sequence[str]
synthetics_ipv6s Sequence[str]
webhooks_ipv4s Sequence[str]
webhooks_ipv6s Sequence[str]

Package Details

Repository
https://github.com/pulumi/pulumi-datadog
License
Apache-2.0
Notes
This Pulumi package is based on the datadog Terraform Provider.