adla_create: Create an Azure Datalake store

Description Usage Arguments Value Examples

View source: R/create.R

Description

Create an Azure Datalake store

Usage

1
adla_create(token, subscription_id, resource_group_name, name, body)

Arguments

token

token, can be created using AzureOAuth::oauth_token_azure() or AzureOAuth::oauth_service_token_azure()

subscription_id

character, has form "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"

resource_group_name

character

name

character

body

named list of parameters

Value

logical indicating success to launch provisioning

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
## Not run: 
  library("httr")
  library("AzureOAuth")

  # assumes this is an Azure native app.
  token <- oauth_token_azure(
    tenant_id = "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
    application_id = "ffffffff-gggg-hhhh-iiii-jjjjjjjjjjjj",
    name = "foo"
  )

  adla_create(
    token = token,
    subscription_id = "kkkkkkkk-llll-mmmm-nnnn-oooooooooooo",
    resource_group = "bar",
    name = "baz",
    body = list(location = "centralus")
  )

## End(Not run)

ijlyttle/AzureDatalakeStoreAccount documentation built on May 5, 2019, 5:56 p.m.