Learn R Programming

doAzureParallel (version 0.8.0)

generateCredentialsConfig: Creates a credentials file for rAzureBatch package authentication

Description

Creates a credentials file for rAzureBatch package authentication

Usage

generateCredentialsConfig(fileName, authenticationType = "SharedKey", ...)

Arguments

fileName

Credentials file name

authenticationType

The type of authentication for Azure: SharedKey, ServicePrincipal

...

Further named parameters

  • "batchAccount": Batch account name for Batch Service authentication.

  • "batchKey": Batch account key for signing REST signatures.

  • "batchUrl": Batch service url for account.

  • "storageAccount": Storage account for storing output results.

  • "storageKey": Storage account key for storage service authentication.

  • "storageEndpointSuffix": Values: core.windows.net, core.chinacloudapi.cn, core.cloudapi.de, core.usgovcloudapi.net

  • "githubAuthenticationToken": GitHub authentication token for pulling R packages from private GitHub repositories

  • "dockerAuthentication": Docker authentication for pulling Docker images from private Docker registries

  • "dockerUsername": Username to docker registry

  • "dockerPassword": Password to docker registry

  • "dockerRegistry": URL to docker registry

Value

The request to the Batch service was successful.

Examples

Run this code
# NOT RUN {
{
generateCredentialsConfig("test_config.json")
generateCredentialsConfig("test_config.json", batchAccount = "testbatchaccount",
   batchKey = "test_batch_account_key", batchUrl = "http://testbatchaccount.azure.com",
   storageAccount = "teststorageaccount", storageKey = "test_storage_account_key",
   storageEndpointSuffix = "core.windows.net")
}
# }

Run the code above in your browser using DataLab