setAzureContext: Updates azureActiveContext object.

Description Usage Arguments See Also

Description

Updates the value of an azureActiveContext object, created by createAzureContext()

Usage

1
2
3
setAzureContext(azureActiveContext, tenantID, clientID, authKey, subscriptionID,
  resourceGroup, storageKey, storageAccount, container, blob, vmName, hdiAdmin,
  hdiPassword, clustername, kind, sessionID)

Arguments

azureActiveContext

A container used for caching variables used by AzureSMR

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()

See Also

Other azureActiveContext functions: createAzureContext


ymmah/AzureSMR documentation built on May 6, 2019, 10:53 a.m.