Description Usage Arguments Details Value See Also
View source: R/AzureContextObject.R
Create a container ('azureActiveContext') for holding variables used by the 'AzureSMR' package. If 'tenantID', 'clientID' and 'authKey' are provided, attempts to authenticate the session against Azure.
1 | createAzureContext(tenantID, clientID, authKey, configFile, authType, resource)
|
tenantID |
The tenant ID provided during creation of the Active Directory application / service principal |
clientID |
The client ID provided during creation of the Active Directory application / service principal |
authKey |
The authentication key provided during creation of the Active Directory application / service principal |
configFile |
location of file that contains configuration in JSON format. By default, this location is at 'getOption("AzureSMR.config")' |
authType |
Auth type for getting token: "ClientCredential", "DeviceCode" |
resource |
Resource to use for getting token |
See the Azure documentation (https://azure.microsoft.com/en-us/documentation/articles/resource-group-create-service-principal-portal/) for information to configure an Active Directory application.
An 'azureActiveContext' object
[setAzureContext()], [azureAuthenticate()], [read.AzureSMR.config)]
Other azureActiveContext functions:
setAzureContext()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.