1. Packages
  2. Datadog
  3. API Docs
  4. getIpRanges
Datadog v4.28.1 published on Monday, Jun 24, 2024 by Pulumi

datadog.getIpRanges

Explore with Pulumi AI

datadog logo
Datadog v4.28.1 published on Monday, Jun 24, 2024 by Pulumi

    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, nil, 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();
    
        }
    }
    
    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)
    // 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>
    An Array of IPv4 addresses in CIDR format specifying the A records for the Agent endpoint.
    AgentsIpv6s List<string>
    An Array of IPv6 addresses in CIDR format specifying the A records for the Agent endpoint.
    ApiIpv4s List<string>
    An Array of IPv4 addresses in CIDR format specifying the A records for the API endpoint.
    ApiIpv6s List<string>
    An Array of IPv6 addresses in CIDR format specifying the A records for the API endpoint.
    ApmIpv4s List<string>
    An Array of IPv4 addresses in CIDR format specifying the A records for the APM endpoint.
    ApmIpv6s List<string>
    An Array of IPv6 addresses in CIDR format specifying the A records for the APM endpoint.
    GlobalIpv4s List<string>
    An Array of IPv4 addresses in CIDR format specifying the A records for all Datadog endpoints.
    GlobalIpv6s 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.
    LogsIpv4s List<string>
    An Array of IPv4 addresses in CIDR format specifying the A records for the Logs endpoint.
    LogsIpv6s List<string>
    An Array of IPv6 addresses in CIDR format specifying the A records for the Logs endpoint.
    OrchestratorIpv4s List<string>
    An Array of IPv4 addresses in CIDR format specifying the A records for the Orchestrator endpoint.
    OrchestratorIpv6s List<string>
    An Array of IPv6 addresses in CIDR format specifying the A records for the Orchestrator endpoint.
    ProcessIpv4s List<string>
    An Array of IPv4 addresses in CIDR format specifying the A records for the Process endpoint.
    ProcessIpv6s List<string>
    An Array of IPv6 addresses in CIDR format specifying the A records for the Process endpoint.
    SyntheticsIpv4ByLocation Dictionary<string, string>
    A map of IPv4 prefixes (string of concatenated IPs, delimited by ',') by location.
    SyntheticsIpv4s List<string>
    An Array of IPv4 addresses in CIDR format specifying the A records for the Synthetics endpoint.
    SyntheticsIpv6ByLocation Dictionary<string, string>
    A map of IPv6 prefixes (string of concatenated IPs, delimited by ',') by location.
    SyntheticsIpv6s List<string>
    An Array of IPv6 addresses in CIDR format specifying the A records for the Synthetics endpoint.
    WebhooksIpv4s List<string>
    An Array of IPv4 addresses in CIDR format specifying the A records for the Webhooks endpoint.
    WebhooksIpv6s List<string>
    An Array of IPv6 addresses in CIDR format specifying the A records for the Webhooks endpoint.
    AgentsIpv4s []string
    An Array of IPv4 addresses in CIDR format specifying the A records for the Agent endpoint.
    AgentsIpv6s []string
    An Array of IPv6 addresses in CIDR format specifying the A records for the Agent endpoint.
    ApiIpv4s []string
    An Array of IPv4 addresses in CIDR format specifying the A records for the API endpoint.
    ApiIpv6s []string
    An Array of IPv6 addresses in CIDR format specifying the A records for the API endpoint.
    ApmIpv4s []string
    An Array of IPv4 addresses in CIDR format specifying the A records for the APM endpoint.
    ApmIpv6s []string
    An Array of IPv6 addresses in CIDR format specifying the A records for the APM endpoint.
    GlobalIpv4s []string
    An Array of IPv4 addresses in CIDR format specifying the A records for all Datadog endpoints.
    GlobalIpv6s []string
    An Array of IPv6 addresses in CIDR format specifying the A records for all Datadog endpoints.
    Id string
    The ID of this resource.
    LogsIpv4s []string
    An Array of IPv4 addresses in CIDR format specifying the A records for the Logs endpoint.
    LogsIpv6s []string
    An Array of IPv6 addresses in CIDR format specifying the A records for the Logs endpoint.
    OrchestratorIpv4s []string
    An Array of IPv4 addresses in CIDR format specifying the A records for the Orchestrator endpoint.
    OrchestratorIpv6s []string
    An Array of IPv6 addresses in CIDR format specifying the A records for the Orchestrator endpoint.
    ProcessIpv4s []string
    An Array of IPv4 addresses in CIDR format specifying the A records for the Process endpoint.
    ProcessIpv6s []string
    An Array of IPv6 addresses in CIDR format specifying the A records for the Process endpoint.
    SyntheticsIpv4ByLocation map[string]string
    A map of IPv4 prefixes (string of concatenated IPs, delimited by ',') by location.
    SyntheticsIpv4s []string
    An Array of IPv4 addresses in CIDR format specifying the A records for the Synthetics endpoint.
    SyntheticsIpv6ByLocation map[string]string
    A map of IPv6 prefixes (string of concatenated IPs, delimited by ',') by location.
    SyntheticsIpv6s []string
    An Array of IPv6 addresses in CIDR format specifying the A records for the Synthetics endpoint.
    WebhooksIpv4s []string
    An Array of IPv4 addresses in CIDR format specifying the A records for the Webhooks endpoint.
    WebhooksIpv6s []string
    An Array of IPv6 addresses in CIDR format specifying the A records for the Webhooks endpoint.
    agentsIpv4s List<String>
    An Array of IPv4 addresses in CIDR format specifying the A records for the Agent endpoint.
    agentsIpv6s List<String>
    An Array of IPv6 addresses in CIDR format specifying the A records for the Agent endpoint.
    apiIpv4s List<String>
    An Array of IPv4 addresses in CIDR format specifying the A records for the API endpoint.
    apiIpv6s List<String>
    An Array of IPv6 addresses in CIDR format specifying the A records for the API endpoint.
    apmIpv4s List<String>
    An Array of IPv4 addresses in CIDR format specifying the A records for the APM endpoint.
    apmIpv6s List<String>
    An Array of IPv6 addresses in CIDR format specifying the A records for the APM endpoint.
    globalIpv4s List<String>
    An Array of IPv4 addresses in CIDR format specifying the A records for all Datadog endpoints.
    globalIpv6s 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.
    logsIpv4s List<String>
    An Array of IPv4 addresses in CIDR format specifying the A records for the Logs endpoint.
    logsIpv6s List<String>
    An Array of IPv6 addresses in CIDR format specifying the A records for the Logs endpoint.
    orchestratorIpv4s List<String>
    An Array of IPv4 addresses in CIDR format specifying the A records for the Orchestrator endpoint.
    orchestratorIpv6s List<String>
    An Array of IPv6 addresses in CIDR format specifying the A records for the Orchestrator endpoint.
    processIpv4s List<String>
    An Array of IPv4 addresses in CIDR format specifying the A records for the Process endpoint.
    processIpv6s List<String>
    An Array of IPv6 addresses in CIDR format specifying the A records for the Process endpoint.
    syntheticsIpv4ByLocation Map<String,String>
    A map of IPv4 prefixes (string of concatenated IPs, delimited by ',') by location.
    syntheticsIpv4s List<String>
    An Array of IPv4 addresses in CIDR format specifying the A records for the Synthetics endpoint.
    syntheticsIpv6ByLocation Map<String,String>
    A map of IPv6 prefixes (string of concatenated IPs, delimited by ',') by location.
    syntheticsIpv6s List<String>
    An Array of IPv6 addresses in CIDR format specifying the A records for the Synthetics endpoint.
    webhooksIpv4s List<String>
    An Array of IPv4 addresses in CIDR format specifying the A records for the Webhooks endpoint.
    webhooksIpv6s List<String>
    An Array of IPv6 addresses in CIDR format specifying the A records for the Webhooks endpoint.
    agentsIpv4s string[]
    An Array of IPv4 addresses in CIDR format specifying the A records for the Agent endpoint.
    agentsIpv6s string[]
    An Array of IPv6 addresses in CIDR format specifying the A records for the Agent endpoint.
    apiIpv4s string[]
    An Array of IPv4 addresses in CIDR format specifying the A records for the API endpoint.
    apiIpv6s string[]
    An Array of IPv6 addresses in CIDR format specifying the A records for the API endpoint.
    apmIpv4s string[]
    An Array of IPv4 addresses in CIDR format specifying the A records for the APM endpoint.
    apmIpv6s string[]
    An Array of IPv6 addresses in CIDR format specifying the A records for the APM endpoint.
    globalIpv4s string[]
    An Array of IPv4 addresses in CIDR format specifying the A records for all Datadog endpoints.
    globalIpv6s string[]
    An Array of IPv6 addresses in CIDR format specifying the A records for all Datadog endpoints.
    id string
    The ID of this resource.
    logsIpv4s string[]
    An Array of IPv4 addresses in CIDR format specifying the A records for the Logs endpoint.
    logsIpv6s string[]
    An Array of IPv6 addresses in CIDR format specifying the A records for the Logs endpoint.
    orchestratorIpv4s string[]
    An Array of IPv4 addresses in CIDR format specifying the A records for the Orchestrator endpoint.
    orchestratorIpv6s string[]
    An Array of IPv6 addresses in CIDR format specifying the A records for the Orchestrator endpoint.
    processIpv4s string[]
    An Array of IPv4 addresses in CIDR format specifying the A records for the Process endpoint.
    processIpv6s string[]
    An Array of IPv6 addresses in CIDR format specifying the A records for the Process endpoint.
    syntheticsIpv4ByLocation {[key: string]: string}
    A map of IPv4 prefixes (string of concatenated IPs, delimited by ',') by location.
    syntheticsIpv4s string[]
    An Array of IPv4 addresses in CIDR format specifying the A records for the Synthetics endpoint.
    syntheticsIpv6ByLocation {[key: string]: string}
    A map of IPv6 prefixes (string of concatenated IPs, delimited by ',') by location.
    syntheticsIpv6s string[]
    An Array of IPv6 addresses in CIDR format specifying the A records for the Synthetics endpoint.
    webhooksIpv4s string[]
    An Array of IPv4 addresses in CIDR format specifying the A records for the Webhooks endpoint.
    webhooksIpv6s 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_by_location Mapping[str, str]
    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_by_location Mapping[str, str]
    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.
    agentsIpv4s List<String>
    An Array of IPv4 addresses in CIDR format specifying the A records for the Agent endpoint.
    agentsIpv6s List<String>
    An Array of IPv6 addresses in CIDR format specifying the A records for the Agent endpoint.
    apiIpv4s List<String>
    An Array of IPv4 addresses in CIDR format specifying the A records for the API endpoint.
    apiIpv6s List<String>
    An Array of IPv6 addresses in CIDR format specifying the A records for the API endpoint.
    apmIpv4s List<String>
    An Array of IPv4 addresses in CIDR format specifying the A records for the APM endpoint.
    apmIpv6s List<String>
    An Array of IPv6 addresses in CIDR format specifying the A records for the APM endpoint.
    globalIpv4s List<String>
    An Array of IPv4 addresses in CIDR format specifying the A records for all Datadog endpoints.
    globalIpv6s 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.
    logsIpv4s List<String>
    An Array of IPv4 addresses in CIDR format specifying the A records for the Logs endpoint.
    logsIpv6s List<String>
    An Array of IPv6 addresses in CIDR format specifying the A records for the Logs endpoint.
    orchestratorIpv4s List<String>
    An Array of IPv4 addresses in CIDR format specifying the A records for the Orchestrator endpoint.
    orchestratorIpv6s List<String>
    An Array of IPv6 addresses in CIDR format specifying the A records for the Orchestrator endpoint.
    processIpv4s List<String>
    An Array of IPv4 addresses in CIDR format specifying the A records for the Process endpoint.
    processIpv6s List<String>
    An Array of IPv6 addresses in CIDR format specifying the A records for the Process endpoint.
    syntheticsIpv4ByLocation Map<String>
    A map of IPv4 prefixes (string of concatenated IPs, delimited by ',') by location.
    syntheticsIpv4s List<String>
    An Array of IPv4 addresses in CIDR format specifying the A records for the Synthetics endpoint.
    syntheticsIpv6ByLocation Map<String>
    A map of IPv6 prefixes (string of concatenated IPs, delimited by ',') by location.
    syntheticsIpv6s List<String>
    An Array of IPv6 addresses in CIDR format specifying the A records for the Synthetics endpoint.
    webhooksIpv4s List<String>
    An Array of IPv4 addresses in CIDR format specifying the A records for the Webhooks endpoint.
    webhooksIpv6s 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 datadog Terraform Provider.
    datadog logo
    Datadog v4.28.1 published on Monday, Jun 24, 2024 by Pulumi