All the functions you will use to access the Azure Data Lake Store will need to know where your data lake is, and how to get into it. Thus, the location and access information are stored in a single object you instantiate once, then use with each function call.
adls(base_url, token)
base_url |
|
---|---|
token |
|
An adls
S3 object.
adls_url()
, AzureOAuth::oauth_token_azure()
,
AzureOAuth::oauth_service_token_azure()
,
not_run({ # create token (assumes Azure native app) token <- AzureOAuth::oauth_token_azure( tenant_id = "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", application_id = "ffffffff-gggg-hhhh-iiii-jjjjjjjjjjjj", name = "foo" ) # create adls object with base-URL and token adls_example <- adls( base_url = adls_url("bar"), token = token ) })