Description Usage Arguments See Also
View source: R/AzureContextObject.R
Updates the value of an 'azureActiveContext' object, created by [createAzureContext()]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | setAzureContext(
azureActiveContext,
tenantID,
clientID,
authKey,
subscriptionID,
resourceGroup,
storageKey,
storageAccount,
container,
blob,
vmName,
hdiAdmin,
hdiPassword,
clustername,
kind,
sessionID,
authType,
resource
)
|
azureActiveContext |
A container used for caching variables used by 'AzureSMR', created by [createAzureContext()] |
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 |
subscriptionID |
Subscription ID. This is obtained automatically by [azureAuthenticate()] when only a single subscriptionID is available via Active Directory |
resourceGroup |
Name of the resource group |
storageKey |
Storage key associated with storage account |
storageAccount |
Name of the azure storage account. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. |
container |
Storage container name. See [azureListStorageContainers()] |
blob |
Blob name |
vmName |
Name of the virtual machine |
hdiAdmin |
HDInsight admin username. See [azureCreateHDI()] |
hdiPassword |
HDInsight admin password. See [azureCreateHDI()] |
clustername |
Cluster name, used for HDI and Spark clusters. See [azureCreateHDI()] |
kind |
HDinsight kind: "hadoop","spark" or "rserver". See [azureCreateHDI()] |
sessionID |
Spark sessionID. See [azureSparkCMD()] |
authType |
Auth type for getting token: "ClientCredential", "DeviceCode" |
resource |
Resource to use for getting token |
Other azureActiveContext functions:
createAzureContext()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.