set_api_top_level_domains: Setting Top Level Domain for the Datadog-API Address

Description Usage Arguments Details Author(s) See Also Examples

View source: R/set_api_parameters.R

Description

set_api_top_level_domains() is an easy to use setter function for the Datadog-API address top level domains .eu and .eu.

Usage

1
set_api_top_level_domains(api_tld = c(".eu", ".us"), api_type = c("query", "send"))

Arguments

api_tld

which region, .eu or .us.

api_type

which type "query", "send" or both c("query", "send").

Details

Depending on your geographic location the Datadog-API address toplevel domain changes, see also Datadog-API. Currently following urls are implemented and chosen according to the parameters, for US:

and for Europa:

Author(s)

Benjamin Holzknecht

See Also

set_api_url()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 

# set .eu and sending
set_api_top_level_domains(api_tld = ".eu", api_tld = "send")

# set .eu for both urls
set_api_top_level_domains(api_tld = ".eu")

# set .de -> results in Error, unknown top level domain
set_api_top_level_domains(api_tld = ".de")



## End(Not run)

holzben/dogR documentation built on Feb. 21, 2020, 10:25 a.m.