This is a convenience function to return the base URL for the service.

adls_url(adls_name, path = NULL, domain_name = "azuredatalakestore.net")

Arguments

adls_name

character, Azure Data Lake Store name

path

character, path to add to default root. You may find file.path() to be useful to compose the path.

domain_name

character, domain name

Value

url object returned by httr::parse_url()

See also

Azure Datalake Store documentation on "WebHDFS Filesystem API"

Examples

adls_url("foo")
#> $scheme #> [1] "https" #> #> $hostname #> [1] "foo.azuredatalakestore.net" #> #> $port #> NULL #> #> $path #> [1] "webhdfs/v1" #> #> $query #> NULL #> #> $params #> NULL #> #> $fragment #> NULL #> #> $username #> NULL #> #> $password #> NULL #> #> attr(,"class") #> [1] "url"