Fix more lowerCamelCase issues. Closes #25

This commit is contained in:
Andrie de Vries 2016-12-21 08:42:27 +00:00
Родитель c0953c1148
Коммит 1cde875f81
56 изменённых файлов: 1706 добавлений и 36 удалений

Просмотреть файл

@ -1,21 +1,23 @@
# Generated by roxygen2: do not edit by hand
export(azureAuthenticate)
export(azureBlobCD)
export(azureBlobFind)
export(azureCancelDeploy)
export(azureCheckToken)
export(azureCreateHDI)
export(azureCreateSAcontainer)
export(azureCreateresourceGroup)
export(azureCreatestorageAccount)
export(azureCreateResourceGroup)
export(azureCreateStorageAccount)
export(azureCreateStorageContainer)
export(azureDeleteDeploy)
export(azureDeleteHDI)
export(azureDeleteSAcontainer)
export(azureDeleteResourceGroup)
export(azureDeleteStorageContainer)
export(azureDeleteVM)
export(azureDeleteresourceGroup)
export(azureDeletestorageAccount)
export(azureDeployStatus)
export(azureDeployTemplate)
export(azureGetblob)
export(azureGetBlob)
export(azureHDIConf)
export(azureHiveSQL)
export(azureHiveStatus)
@ -23,11 +25,11 @@ export(azureListAllResources)
export(azureListHDI)
export(azureListRG)
export(azureListSA)
export(azureListSAblobs)
export(azureListSAcontainers)
export(azureListStorageBlobs)
export(azureListStorageContainers)
export(azureListSubscriptions)
export(azureListVM)
export(azurePutblob)
export(azurePutBlob)
export(azureResizeHDI)
export(azureRunScriptAction)
export(azureSAGetKey)
@ -42,8 +44,6 @@ export(azureSparkStopSession)
export(azureStartVM)
export(azureStopVM)
export(azureVMStatus)
export(azureblobCD)
export(azureblobFind)
export(azureblobLS)
export(createAzureContext)
export(dumpAzureContext)

Просмотреть файл

@ -7,7 +7,7 @@
#'
#' @family blob store functions
#' @export
azureListSAblobs <- function(azureActiveContext, storageAccount, storageKey,
azureListStorageBlobs <- function(azureActiveContext, storageAccount, storageKey,
container, resourceGroup, subscriptionID,
azToken, verbose = FALSE) {
azureCheckToken(azureActiveContext)
@ -195,7 +195,7 @@ azureblobLS <- function(azureActiveContext, directory, recursive = FALSE,
azureActiveContext$Dircontainer <- CNTR
files <- azureListSAblobs(azureActiveContext, container = CNTR)
files <- azureListStorageBlobs(azureActiveContext, container = CNTR)
files$name <- paste0("/", files$name)
files$name <- gsub("//", "/", files$name)
@ -284,7 +284,7 @@ azureblobLS <- function(azureActiveContext, directory, recursive = FALSE,
#' @family blob store functions
#' @export
azureGetblob <- function(azureActiveContext, blob, directory, type = "text",
azureGetBlob <- function(azureActiveContext, blob, directory, type = "text",
storageAccount, storageKey, container, resourceGroup, subscriptionID,
azToken, verbose = FALSE) {
azureCheckToken(azureActiveContext)
@ -401,7 +401,7 @@ azureGetblob <- function(azureActiveContext, blob, directory, type = "text",
#'
#' @family blob store functions
#' @export
azurePutblob <- function(azureActiveContext, blob, contents = "", file = "",
azurePutBlob <- function(azureActiveContext, blob, contents = "", file = "",
directory, storageAccount, storageKey,
container, resourceGroup, subscriptionID,
azToken, verbose = FALSE) {
@ -516,11 +516,11 @@ azurePutblob <- function(azureActiveContext, blob, contents = "", file = "",
#' @inheritParams setAzureContext
#' @inheritParams azureAuthenticate
#' @inheritParams azureSAGetKey
#' @inheritParams azurePutblob
#' @inheritParams azurePutBlob
#'
#' @family blob store functions
#' @export
azureblobFind <- function(azureActiveContext, file, storageAccount, storageKey,
azureBlobFind <- function(azureActiveContext, file, storageAccount, storageKey,
container, resourceGroup, subscriptionID,
azToken, verbose = FALSE) {
azureCheckToken(azureActiveContext)
@ -562,12 +562,12 @@ azureblobFind <- function(azureActiveContext, file, storageAccount, storageKey,
if (!missing(container)) {
CL <- container
} else {
CL <- azureListSAcontainers(azureActiveContext)$name
CL <- azureListStorageContainers(azureActiveContext)$name
}
F2 <- data.frame()
for (CI in CL) {
files <- azureListSAblobs(azureActiveContext, container = CI)
files <- azureListStorageBlobs(azureActiveContext, container = CI)
files$name <- paste0("/", files$name)
F1 <- grep(file, files$name)
files <- files[F1, 1:4]
@ -585,11 +585,11 @@ azureblobFind <- function(azureActiveContext, file, storageAccount, storageKey,
#' @inheritParams azureAuthenticate
#' @inheritParams azureSAGetKey
#' @inheritParams azureblobLS
#' @inheritParams azurePutblob
#' @inheritParams azurePutBlob
#'
#' @family blob store functions
#' @export
azureblobCD <- function(azureActiveContext, directory, container, file,
azureBlobCD <- function(azureActiveContext, directory, container, file,
storageAccount, storageKey, resourceGroup, subscriptionID,
azToken,verbose = FALSE) {
azureCheckToken(azureActiveContext)

Просмотреть файл

@ -7,7 +7,7 @@
#' @family container functions
#'
#' @export
azureListSAcontainers <- function(azureActiveContext, storageAccount, storageKey,
azureListStorageContainers <- function(azureActiveContext, storageAccount, storageKey,
resourceGroup, azToken, subscriptionID, verbose = FALSE) {
azureCheckToken(azureActiveContext)
@ -110,7 +110,7 @@ azureListSAcontainers <- function(azureActiveContext, storageAccount, storageKey
#' @family container functions
#'
#' @export
azureCreateSAcontainer <- function(azureActiveContext, container, storageAccount,
azureCreateStorageContainer <- function(azureActiveContext, container, storageAccount,
storageKey, resourceGroup, azToken, subscriptionID, verbose = FALSE) {
# azureCheckToken(azureActiveContext)
@ -203,7 +203,7 @@ azureCreateSAcontainer <- function(azureActiveContext, container, storageAccount
#' @family container functions
#'
#' @export
azureDeleteSAcontainer <- function(azureActiveContext, container, storageAccount,
azureDeleteStorageContainer <- function(azureActiveContext, container, storageAccount,
storageKey, resourceGroup, azToken, subscriptionID, verbose = FALSE) {
azureCheckToken(azureActiveContext)

Просмотреть файл

@ -64,7 +64,7 @@ azureListHDI <- function(azureActiveContext, resourceGroup, clustername = "*",
dfn[1:clust, 4] <- df$value$type
dfn[1:clust, 5] <- df$value$properties$tier
dfn[1:clust, 6] <- df$value$properties$clusterDefinition$kind
dfn[1:clust, 7] <- df$value$properties$ostype
dfn[1:clust, 7] <- df$value$properties$osType
dfn[1:clust, 8] <- df$value$properties$provisioningState
dfn[1:clust, 9] <- df$value$properties$clusterState
dfn[1:clust, 10] <- df$value$properties$createdDate
@ -97,7 +97,7 @@ azureListHDI <- function(azureActiveContext, resourceGroup, clustername = "*",
dfn[1, 4] <- df$type
dfn[1, 5] <- df$properties$tier
dfn[1, 6] <- df$properties$clusterDefinition$kind
dfn[1, 7] <- df$properties$ostype
dfn[1, 7] <- df$properties$osType
dfn[1, 8] <- df$properties$provisioningState
dfn[1, 9] <- df$properties$clusterState
dfn[1, 10] <- df$properties$createdDate
@ -179,7 +179,7 @@ azureHDIConf <- function(azureActiveContext, clustername, resourceGroup,
dfn[1, 4] <- df$type
dfn[1, 5] <- df$properties$tier
dfn[1, 6] <- df$properties$clusterDefinition$kind
dfn[1, 7] <- df$properties$ostype
dfn[1, 7] <- df$properties$osType
dfn[1, 8] <- df$properties$provisioningState
dfn[1, 9] <- df$properties$clusterState
dfn[1, 10] <- df$properties$createdDate
@ -467,7 +467,7 @@ azureCreateHDI <- function(azureActiveContext, clustername, location, kind = "sp
"tags": { "tag1": "value1", "tag2": "value2" },
"properties": {
"clusterversion": "VVVV",
"ostype": "Linux",
"osType": "Linux",
"tier": "standard",
"clusterDefinition": {
"kind": "DDDDDDDDD",

Просмотреть файл

@ -152,7 +152,7 @@ azureListAllResources <- function(azureActiveContext, resourceGroup, subscriptio
#' @return Returns Dataframe of Resources
#' @family Resource group functions
#' @export
azureCreateresourceGroup <- function(azureActiveContext, resourceGroup,
azureCreateResourceGroup <- function(azureActiveContext, resourceGroup,
location, subscriptionID, azToken, verbose = FALSE) {
azureCheckToken(azureActiveContext)
if (missing(azToken)) {
@ -213,7 +213,7 @@ azureCreateresourceGroup <- function(azureActiveContext, resourceGroup,
#' @return Returns Dataframe of Resources
#' @family Resource group functions
#' @export
azureDeleteresourceGroup <- function(azureActiveContext, resourceGroup,
azureDeleteResourceGroup <- function(azureActiveContext, resourceGroup,
subscriptionID, azToken, type, verbose = FALSE) {
azureCheckToken(azureActiveContext)

Просмотреть файл

@ -142,7 +142,7 @@ azureSAGetKey <- function(azureActiveContext, storageAccount, azToken,
#' @family Storage account functions
#' @export
azureCreatestorageAccount <- function(azureActiveContext, storageAccount,
azureCreateStorageAccount <- function(azureActiveContext, storageAccount,
azToken, resourceGroup, subscriptionID, verbose = FALSE) {
azureCheckToken(azureActiveContext)

Просмотреть файл

@ -48,7 +48,7 @@ azureListVM <- function(azureActiveContext, resourceGroup, location, subscriptio
dfn[1:clust, 1] <- df$value$name
dfn[1:clust, 2] <- df$value$location
dfn[1:clust, 3] <- df$value$type
dfn[1:clust, 4] <- df$value$properties$storageProfile$osDisk$ostype
dfn[1:clust, 4] <- df$value$properties$storageProfile$osDisk$osType
dfn[1:clust, 5] <- df$value$properties$provisioningState
dfn[1:clust, 6] <- df$value$properties$osProfile$adminUsername
dfn[1:clust, 7] <- df$value$id

35
man/azureAuthenticate.Rd Normal file
Просмотреть файл

@ -0,0 +1,35 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureAuthenticate.R
\name{azureAuthenticate}
\alias{azureAuthenticate}
\title{Authenticates against Azure Active directory application.}
\usage{
azureAuthenticate(azureActiveContext, TID, CID, KEY, verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{TID}{Tenant ID Object}
\item{CID}{Client ID Object}
\item{KEY}{Authentication KEY Object}
\item{verbose}{Print Tracing information (Default False)}
}
\value{
Retunrs Azure Tokem and sets AzureContext Token
}
\description{
Authenticates against Azure Active directory application.
}
\note{
See \url{https://azure.microsoft.com/en-us/documentation/articles/resource-group-create-service-principal-portal/} to learn how to set up an Active directory application
}
\references{
\url{https://azure.microsoft.com/en-us/documentation/articles/resource-group-create-service-principal-portal/}
}
\seealso{
Other Resources: \code{\link{azureCheckToken}}
}

40
man/azureBlobCD.Rd Normal file
Просмотреть файл

@ -0,0 +1,40 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureBlob.R
\name{azureBlobCD}
\alias{azureBlobCD}
\title{Azure blob change current directory.}
\usage{
azureBlobCD(azureActiveContext, directory, container, file, storageAccount,
storageKey, resourceGroup, subscriptionID, azToken, verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{directory}{Set directory to list}
\item{container}{container Object}
\item{file}{- Local filename to Store in Azure blob}
\item{storageAccount}{storageAccount Object}
\item{storageKey}{storageKey Object}
\item{resourceGroup}{resourceGroup Object}
\item{subscriptionID}{subscriptionID Object}
\item{azToken}{Token Object}
\item{verbose}{Print Tracing information (Default False)}
}
\description{
Azure blob change current directory.
}
\seealso{
Other blob store functions: \code{\link{azureBlobFind}},
\code{\link{azureGetBlob}},
\code{\link{azureListStorageBlobs}},
\code{\link{azurePutBlob}}, \code{\link{azureblobLS}}
}

38
man/azureBlobFind.Rd Normal file
Просмотреть файл

@ -0,0 +1,38 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureBlob.R
\name{azureBlobFind}
\alias{azureBlobFind}
\title{Find file in a Storage account directory.}
\usage{
azureBlobFind(azureActiveContext, file, storageAccount, storageKey, container,
resourceGroup, subscriptionID, azToken, verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{file}{- Local filename to Store in Azure blob}
\item{storageAccount}{storageAccount Object}
\item{storageKey}{storageKey Object}
\item{container}{container Object}
\item{resourceGroup}{resourceGroup Object}
\item{subscriptionID}{subscriptionID Object}
\item{azToken}{Token Object}
\item{verbose}{Print Tracing information (Default False)}
}
\description{
Find file in a Storage account directory.
}
\seealso{
Other blob store functions: \code{\link{azureBlobCD}},
\code{\link{azureGetBlob}},
\code{\link{azureListStorageBlobs}},
\code{\link{azurePutBlob}}, \code{\link{azureblobLS}}
}

31
man/azureCancelDeploy.Rd Normal file
Просмотреть файл

@ -0,0 +1,31 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureTemplate.R
\name{azureCancelDeploy}
\alias{azureCancelDeploy}
\title{Cancel Template Deployment.}
\usage{
azureCancelDeploy(azureActiveContext, deplname, resourceGroup, subscriptionID,
azToken, verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{deplname}{deplname}
\item{resourceGroup}{resourceGroup Object}
\item{subscriptionID}{subscriptionID Object}
\item{azToken}{Token Object}
\item{verbose}{Print Tracing information (Default False)}
}
\description{
Cancel Template Deployment.
}
\seealso{
Other Template functions: \code{\link{azureDeleteDeploy}},
\code{\link{azureDeployStatus}},
\code{\link{azureDeployTemplate}}
}

18
man/azureCheckToken.Rd Normal file
Просмотреть файл

@ -0,0 +1,18 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureAuthenticate.R
\name{azureCheckToken}
\alias{azureCheckToken}
\title{Check the timestamp of a Token and Renew if needed.}
\usage{
azureCheckToken(azureActiveContext)
}
\arguments{
\item{azureActiveContext}{Context Object}
}
\description{
Check the timestamp of a Token and Renew if needed.
}
\seealso{
Other Resources: \code{\link{azureAuthenticate}}
}

69
man/azureCreateHDI.Rd Normal file
Просмотреть файл

@ -0,0 +1,69 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureHDI.R
\name{azureCreateHDI}
\alias{azureCreateHDI}
\title{Create Specifed HDInsight Cluster.}
\usage{
azureCreateHDI(azureActiveContext, clustername, location, kind = "spark",
storageAccount, storageKey, version = "3.4", workers = 2, adminUser,
adminPassword, sshUser, sshPassword, hiveServer, hiveDB, hiveUser,
hivePassword, resourceGroup, azToken, subscriptionID, mode = "Sync",
verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{clustername}{resourceGroup Object (or use azureActiveContext)}
\item{location}{Azure region, e.g. 'westeurope' or 'southcentralus'}
\item{kind}{"hadoop","spark" or "pyspark"}
\item{storageAccount}{storageAccount Object}
\item{storageKey}{Storage Key}
\item{version}{version}
\item{workers}{Number of worker nodes}
\item{adminUser}{Admin user name}
\item{adminPassword}{Admin user password}
\item{sshUser}{SSH user name}
\item{sshPassword}{SSH user password}
\item{hiveServer}{Hive server}
\item{hiveDB}{Hive DB}
\item{hiveUser}{Hive user name}
\item{hivePassword}{Hive user password}
\item{resourceGroup}{resourceGroup Object}
\item{azToken}{Token Object}
\item{subscriptionID}{subscriptionID Object}
\item{mode}{mode}
\item{verbose}{Print Tracing information (Default False)}
}
\value{
Success message
}
\description{
Create Specifed HDInsight Cluster.
}
\seealso{
Other HDInsight functions: \code{\link{azureDeleteHDI}},
\code{\link{azureHDIConf}}, \code{\link{azureListHDI}},
\code{\link{azureResizeHDI}},
\code{\link{azureRunScriptAction}},
\code{\link{azureScriptActionHistory}}
}

Просмотреть файл

@ -0,0 +1,35 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureResources.R
\name{azureCreateResourceGroup}
\alias{azureCreateResourceGroup}
\title{Create a resourceGroup.}
\usage{
azureCreateResourceGroup(azureActiveContext, resourceGroup, location,
subscriptionID, azToken, verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{resourceGroup}{resourceGroup Object}
\item{location}{Azure region, e.g. 'westeurope' or 'southcentralus'}
\item{subscriptionID}{subscriptionID Object}
\item{azToken}{Token Object}
\item{verbose}{Print Tracing information (Default False)}
}
\value{
Returns Dataframe of Resources
}
\description{
Create a resourceGroup.
}
\seealso{
Other Resource group functions: \code{\link{azureDeleteResourceGroup}},
\code{\link{azureListAllResources}},
\code{\link{azureListRG}},
\code{\link{azureListSubscriptions}}
}

Просмотреть файл

@ -0,0 +1,30 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureStorageAccount.R
\name{azureCreateStorageAccount}
\alias{azureCreateStorageAccount}
\title{Create an Azure Storage Account.}
\usage{
azureCreateStorageAccount(azureActiveContext, storageAccount, azToken,
resourceGroup, subscriptionID, verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{storageAccount}{storageAccount Object}
\item{azToken}{Token Object}
\item{resourceGroup}{resourceGroup Object}
\item{subscriptionID}{subscriptionID Object}
\item{verbose}{Print Tracing information (Default False)}
}
\description{
Create an Azure Storage Account.
}
\seealso{
Other Storage account functions: \code{\link{azureDeletestorageAccount}},
\code{\link{azureListSA}}, \code{\link{azureSAGetKey}}
}

Просмотреть файл

@ -0,0 +1,34 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureContainer.R
\name{azureCreateStorageContainer}
\alias{azureCreateStorageContainer}
\title{Create Storage containers in a specified Storage Account.}
\usage{
azureCreateStorageContainer(azureActiveContext, container, storageAccount,
storageKey, resourceGroup, azToken, subscriptionID, verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{container}{container Object}
\item{storageAccount}{storageAccount Object}
\item{storageKey}{storageKey Object}
\item{resourceGroup}{resourceGroup Object}
\item{azToken}{Token Object}
\item{subscriptionID}{subscriptionID Object}
\item{verbose}{Print Tracing information (Default False)}
}
\description{
Create Storage containers in a specified Storage Account.
}
\seealso{
Other container functions: \code{\link{azureDeleteStorageContainer}},
\code{\link{azureListStorageContainers}}
}

31
man/azureDeleteDeploy.Rd Normal file
Просмотреть файл

@ -0,0 +1,31 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureTemplate.R
\name{azureDeleteDeploy}
\alias{azureDeleteDeploy}
\title{Delete Template Deployment.}
\usage{
azureDeleteDeploy(azureActiveContext, deplname, resourceGroup, subscriptionID,
azToken, verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{deplname}{deplname}
\item{resourceGroup}{resourceGroup Object}
\item{subscriptionID}{subscriptionID Object}
\item{azToken}{Token Object}
\item{verbose}{Print Tracing information (Default False)}
}
\description{
Delete Template Deployment.
}
\seealso{
Other Template functions: \code{\link{azureCancelDeploy}},
\code{\link{azureDeployStatus}},
\code{\link{azureDeployTemplate}}
}

36
man/azureDeleteHDI.Rd Normal file
Просмотреть файл

@ -0,0 +1,36 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureHDI.R
\name{azureDeleteHDI}
\alias{azureDeleteHDI}
\title{Delete Specifed HDInsight Cluster.}
\usage{
azureDeleteHDI(azureActiveContext, clustername, azToken, subscriptionID,
resourceGroup, verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{clustername}{clustername Object}
\item{azToken}{Token Object}
\item{subscriptionID}{subscriptionID Object}
\item{resourceGroup}{resourceGroup Object}
\item{verbose}{Print Tracing information (Default False)}
}
\value{
Returns Dataframe of HDInsight Clusters information
}
\description{
Delete Specifed HDInsight Cluster.
}
\seealso{
Other HDInsight functions: \code{\link{azureCreateHDI}},
\code{\link{azureHDIConf}}, \code{\link{azureListHDI}},
\code{\link{azureResizeHDI}},
\code{\link{azureRunScriptAction}},
\code{\link{azureScriptActionHistory}}
}

Просмотреть файл

@ -0,0 +1,35 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureResources.R
\name{azureDeleteResourceGroup}
\alias{azureDeleteResourceGroup}
\title{Delete a resourceGroup with all Resources.}
\usage{
azureDeleteResourceGroup(azureActiveContext, resourceGroup, subscriptionID,
azToken, type, verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{resourceGroup}{resourceGroup Object}
\item{subscriptionID}{subscriptionID Object}
\item{azToken}{Token Object}
\item{type}{type}
\item{verbose}{Print Tracing information (Default False)}
}
\value{
Returns Dataframe of Resources
}
\description{
Delete a resourceGroup with all Resources.
}
\seealso{
Other Resource group functions: \code{\link{azureCreateResourceGroup}},
\code{\link{azureListAllResources}},
\code{\link{azureListRG}},
\code{\link{azureListSubscriptions}}
}

Просмотреть файл

@ -0,0 +1,34 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureContainer.R
\name{azureDeleteStorageContainer}
\alias{azureDeleteStorageContainer}
\title{Delete Storage container in a specified Storage Account.}
\usage{
azureDeleteStorageContainer(azureActiveContext, container, storageAccount,
storageKey, resourceGroup, azToken, subscriptionID, verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{container}{container Object}
\item{storageAccount}{storageAccount Object}
\item{storageKey}{storageKey Object}
\item{resourceGroup}{resourceGroup Object}
\item{azToken}{Token Object}
\item{subscriptionID}{subscriptionID Object}
\item{verbose}{Print Tracing information (Default False)}
}
\description{
Delete Storage container in a specified Storage Account.
}
\seealso{
Other container functions: \code{\link{azureCreateStorageContainer}},
\code{\link{azureListStorageContainers}}
}

33
man/azureDeleteVM.Rd Normal file
Просмотреть файл

@ -0,0 +1,33 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureVM.R
\name{azureDeleteVM}
\alias{azureDeleteVM}
\title{Delete a Virtual Machine.}
\usage{
azureDeleteVM(azureActiveContext, resourceGroup, vmName, subscriptionID,
azToken, mode = "Sync", verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{resourceGroup}{resourceGroup Object}
\item{vmName}{Virtual Machine name}
\item{subscriptionID}{subscriptionID Object}
\item{azToken}{Token Object}
\item{mode}{Wait for operation to complete 'Sync' (Default)}
\item{verbose}{Print Tracing information (Default False)}
}
\description{
Delete a Virtual Machine.
}
\seealso{
Other Virtual machine functions: \code{\link{azureListVM}},
\code{\link{azureStartVM}}, \code{\link{azureStopVM}},
\code{\link{azureVMStatus}}
}

Просмотреть файл

@ -0,0 +1,30 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureStorageAccount.R
\name{azureDeletestorageAccount}
\alias{azureDeletestorageAccount}
\title{Delete an Azure Storage Account.}
\usage{
azureDeletestorageAccount(azureActiveContext, storageAccount, azToken,
resourceGroup, subscriptionID, verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{storageAccount}{storageAccount Object}
\item{azToken}{Token Object}
\item{resourceGroup}{resourceGroup Object}
\item{subscriptionID}{subscriptionID Object}
\item{verbose}{Print Tracing information (Default False)}
}
\description{
Delete an Azure Storage Account.
}
\seealso{
Other Storage account functions: \code{\link{azureCreateStorageAccount}},
\code{\link{azureListSA}}, \code{\link{azureSAGetKey}}
}

31
man/azureDeployStatus.Rd Normal file
Просмотреть файл

@ -0,0 +1,31 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureTemplate.R
\name{azureDeployStatus}
\alias{azureDeployStatus}
\title{Check Template Deployment Status.}
\usage{
azureDeployStatus(azureActiveContext, deplname, resourceGroup, subscriptionID,
azToken, verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{deplname}{deplname}
\item{resourceGroup}{resourceGroup Object}
\item{subscriptionID}{subscriptionID Object}
\item{azToken}{Token Object}
\item{verbose}{Print Tracing information (Default False)}
}
\description{
Check Template Deployment Status.
}
\seealso{
Other Template functions: \code{\link{azureCancelDeploy}},
\code{\link{azureDeleteDeploy}},
\code{\link{azureDeployTemplate}}
}

Просмотреть файл

@ -0,0 +1,42 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureTemplate.R
\name{azureDeployTemplate}
\alias{azureDeployTemplate}
\title{Deploy an Azure Resource Manager Template.}
\usage{
azureDeployTemplate(azureActiveContext, deplname, templateURL, paramURL,
templateJSON, paramJSON, mode = "Sync", resourceGroup, subscriptionID,
azToken, verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{deplname}{deplname}
\item{templateURL}{templateURL}
\item{paramURL}{paramURL}
\item{templateJSON}{templateJSON}
\item{paramJSON}{paramJSON}
\item{mode}{'Sync' or 'Async'}
\item{resourceGroup}{resourceGroup Object}
\item{subscriptionID}{subscriptionID Object}
\item{azToken}{Token Object}
\item{verbose}{Print Tracing information (Default False)}
}
\description{
Deploy an Azure Resource Manager Template.
}
\seealso{
Other Template functions: \code{\link{azureCancelDeploy}},
\code{\link{azureDeleteDeploy}},
\code{\link{azureDeployStatus}}
}

43
man/azureGetBlob.Rd Normal file
Просмотреть файл

@ -0,0 +1,43 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureBlob.R
\name{azureGetBlob}
\alias{azureGetBlob}
\title{Get contents from a specifed Storage blob.}
\usage{
azureGetBlob(azureActiveContext, blob, directory, type = "text",
storageAccount, storageKey, container, resourceGroup, subscriptionID, azToken,
verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{blob}{blob Object}
\item{directory}{Set directory to list}
\item{type}{"Text" or "Raw"}
\item{storageAccount}{storageAccount Object}
\item{storageKey}{storageKey Object}
\item{container}{container Object}
\item{resourceGroup}{resourceGroup Object}
\item{subscriptionID}{subscriptionID Object}
\item{azToken}{Token Object}
\item{verbose}{Print Tracing information (Default False)}
}
\description{
Get contents from a specifed Storage blob.
}
\seealso{
Other blob store functions: \code{\link{azureBlobCD}},
\code{\link{azureBlobFind}},
\code{\link{azureListStorageBlobs}},
\code{\link{azurePutBlob}}, \code{\link{azureblobLS}}
}

42
man/azureHDIConf.Rd Normal file
Просмотреть файл

@ -0,0 +1,42 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureHDI.R
\name{azureHDIConf}
\alias{azureHDIConf}
\title{Get Configuration Information for a specified clustername.}
\usage{
azureHDIConf(azureActiveContext, clustername, resourceGroup, subscriptionID,
azToken, name, type, location, verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{clustername}{clustername Object}
\item{resourceGroup}{resourceGroup Object}
\item{subscriptionID}{subscriptionID Object}
\item{azToken}{Token Object}
\item{name}{name}
\item{type}{type}
\item{location}{Azure region, e.g. 'westeurope' or 'southcentralus'}
\item{verbose}{Print Tracing information (Default False)}
}
\value{
Returns Dataframe of HDInsight Clusters information
}
\description{
Get Configuration Information for a specified clustername.
}
\seealso{
Other HDInsight functions: \code{\link{azureCreateHDI}},
\code{\link{azureDeleteHDI}}, \code{\link{azureListHDI}},
\code{\link{azureResizeHDI}},
\code{\link{azureRunScriptAction}},
\code{\link{azureScriptActionHistory}}
}

31
man/azureHiveSQL.Rd Normal file
Просмотреть файл

@ -0,0 +1,31 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureHive.R
\name{azureHiveSQL}
\alias{azureHiveSQL}
\title{Submit SQL command to Hive Service.}
\usage{
azureHiveSQL(azureActiveContext, CMD, clustername, hdiAdmin, hdiPassword,
path = "wasb:///tmp/", verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{CMD}{SQl COmmand String}
\item{clustername}{clustername Object}
\item{hdiAdmin}{hdiAdmin Object}
\item{hdiPassword}{hdiPassword Object}
\item{path}{path}
\item{verbose}{Print Tracing information (Default False)}
}
\description{
Submit SQL command to Hive Service.
}
\seealso{
Other Hive functions: \code{\link{azureHiveStatus}}
}

27
man/azureHiveStatus.Rd Normal file
Просмотреть файл

@ -0,0 +1,27 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureHive.R
\name{azureHiveStatus}
\alias{azureHiveStatus}
\title{Get Status of a HDI Hive Service/version.}
\usage{
azureHiveStatus(azureActiveContext, clustername, hdiAdmin, hdiPassword,
verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{clustername}{clustername Object}
\item{hdiAdmin}{hdiAdmin Object}
\item{hdiPassword}{hdiPassword Object}
\item{verbose}{Print Tracing information (Default False)}
}
\description{
Get Status of a HDI Hive Service/version.
}
\seealso{
Other Hive functions: \code{\link{azureHiveSQL}}
}

Просмотреть файл

@ -0,0 +1,39 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureResources.R
\name{azureListAllResources}
\alias{azureListAllResources}
\title{Get all Resource in default Subscription.}
\usage{
azureListAllResources(azureActiveContext, resourceGroup, subscriptionID,
azToken, name, type, location, verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Azure Context Object}
\item{resourceGroup}{resourceGroup Object (or use azureActiveContext)}
\item{subscriptionID}{subscriptionID Object (or use azureActiveContext)}
\item{azToken}{Token Object}
\item{name}{name}
\item{type}{type}
\item{location}{Azure region, e.g. 'westeurope' or 'southcentralus'}
\item{verbose}{Print Tracing information (Default False)}
}
\value{
Returns Dataframe of Resources
}
\description{
Get all Resource in default Subscription.
}
\seealso{
Other Resource group functions: \code{\link{azureCreateResourceGroup}},
\code{\link{azureDeleteResourceGroup}},
\code{\link{azureListRG}},
\code{\link{azureListSubscriptions}}
}

42
man/azureListHDI.Rd Normal file
Просмотреть файл

@ -0,0 +1,42 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureHDI.R
\name{azureListHDI}
\alias{azureListHDI}
\title{Get all HDInsight Clusters in default Subscription or details for a specified clustername.}
\usage{
azureListHDI(azureActiveContext, resourceGroup, clustername = "*",
subscriptionID, azToken, name, type, location, verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{resourceGroup}{resourceGroup Object}
\item{clustername}{Cluster name}
\item{subscriptionID}{subscriptionID Object}
\item{azToken}{Token Object}
\item{name}{name}
\item{type}{type}
\item{location}{Azure region, e.g. 'westeurope' or 'southcentralus'}
\item{verbose}{Print Tracing information (Default False)}
}
\value{
Returns Dataframe of HDInsight Clusters
}
\description{
Get all HDInsight Clusters in default Subscription or details for a specified clustername.
}
\seealso{
Other HDInsight functions: \code{\link{azureCreateHDI}},
\code{\link{azureDeleteHDI}}, \code{\link{azureHDIConf}},
\code{\link{azureResizeHDI}},
\code{\link{azureRunScriptAction}},
\code{\link{azureScriptActionHistory}}
}

30
man/azureListRG.Rd Normal file
Просмотреть файл

@ -0,0 +1,30 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureResources.R
\name{azureListRG}
\alias{azureListRG}
\title{Get all Resource Groups in default Subscription.}
\usage{
azureListRG(azureActiveContext, subscriptionID, azToken, verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{subscriptionID}{subscriptionID Object}
\item{azToken}{Token Object}
\item{verbose}{Print Tracing information (Default False)}
}
\value{
Returns Dataframe of resourceGroups
}
\description{
Get all Resource Groups in default Subscription.
}
\seealso{
Other Resource group functions: \code{\link{azureCreateResourceGroup}},
\code{\link{azureDeleteResourceGroup}},
\code{\link{azureListAllResources}},
\code{\link{azureListSubscriptions}}
}

29
man/azureListSA.Rd Normal file
Просмотреть файл

@ -0,0 +1,29 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureStorageAccount.R
\name{azureListSA}
\alias{azureListSA}
\title{List Storage accounts.}
\usage{
azureListSA(azureActiveContext, resourceGroup, subscriptionID, azToken,
verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{resourceGroup}{resourceGroup Object}
\item{subscriptionID}{subscriptionID Object}
\item{azToken}{Token Object}
\item{verbose}{Print Tracing information (Default False)}
}
\description{
List Storage accounts.
}
\seealso{
Other Storage account functions: \code{\link{azureCreateStorageAccount}},
\code{\link{azureDeletestorageAccount}},
\code{\link{azureSAGetKey}}
}

Просмотреть файл

@ -0,0 +1,35 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureBlob.R
\name{azureListStorageBlobs}
\alias{azureListStorageBlobs}
\title{List Storage containers for Specified Storage Account.}
\usage{
azureListStorageBlobs(azureActiveContext, storageAccount, storageKey, container,
resourceGroup, subscriptionID, azToken, verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{storageAccount}{storageAccount Object}
\item{storageKey}{storageKey Object}
\item{container}{container Object}
\item{resourceGroup}{resourceGroup Object}
\item{subscriptionID}{subscriptionID Object}
\item{azToken}{Token Object}
\item{verbose}{Print Tracing information (Default False)}
}
\description{
List Storage containers for Specified Storage Account.
}
\seealso{
Other blob store functions: \code{\link{azureBlobCD}},
\code{\link{azureBlobFind}}, \code{\link{azureGetBlob}},
\code{\link{azurePutBlob}}, \code{\link{azureblobLS}}
}

Просмотреть файл

@ -0,0 +1,32 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureContainer.R
\name{azureListStorageContainers}
\alias{azureListStorageContainers}
\title{List Storage containers for Specified Storage Account.}
\usage{
azureListStorageContainers(azureActiveContext, storageAccount, storageKey,
resourceGroup, azToken, subscriptionID, verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{storageAccount}{storageAccount Object}
\item{storageKey}{storageKey Object}
\item{resourceGroup}{resourceGroup Object}
\item{azToken}{Token Object}
\item{subscriptionID}{subscriptionID Object}
\item{verbose}{Print Tracing information (Default False)}
}
\description{
List Storage containers for Specified Storage Account.
}
\seealso{
Other container functions: \code{\link{azureCreateStorageContainer}},
\code{\link{azureDeleteStorageContainer}}
}

Просмотреть файл

@ -0,0 +1,28 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureResources.R
\name{azureListSubscriptions}
\alias{azureListSubscriptions}
\title{Get available Subscriptions.}
\usage{
azureListSubscriptions(azureActiveContext, azToken, verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{azToken}{Token Object}
\item{verbose}{Print Tracing information (Default False)}
}
\value{
Returns Dataframe of subscriptionID sets AzureContext subscriptionID
}
\description{
Get available Subscriptions.
}
\seealso{
Other Resource group functions: \code{\link{azureCreateResourceGroup}},
\code{\link{azureDeleteResourceGroup}},
\code{\link{azureListAllResources}},
\code{\link{azureListRG}}
}

31
man/azureListVM.Rd Normal file
Просмотреть файл

@ -0,0 +1,31 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureVM.R
\name{azureListVM}
\alias{azureListVM}
\title{List VMs in a Subscription.}
\usage{
azureListVM(azureActiveContext, resourceGroup, location, subscriptionID,
azToken, verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{resourceGroup}{resourceGroup Object}
\item{location}{Azure region, e.g. 'westeurope' or 'southcentralus'}
\item{subscriptionID}{subscriptionID Object}
\item{azToken}{Token Object}
\item{verbose}{Print Tracing information (Default False)}
}
\description{
List VMs in a Subscription.
}
\seealso{
Other Virtual machine functions: \code{\link{azureDeleteVM}},
\code{\link{azureStartVM}}, \code{\link{azureStopVM}},
\code{\link{azureVMStatus}}
}

45
man/azurePutBlob.Rd Normal file
Просмотреть файл

@ -0,0 +1,45 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureBlob.R
\name{azurePutBlob}
\alias{azurePutBlob}
\title{Write contents to a specifed Storage blob.}
\usage{
azurePutBlob(azureActiveContext, blob, contents = "", file = "", directory,
storageAccount, storageKey, container, resourceGroup, subscriptionID, azToken,
verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{blob}{blob Object}
\item{contents}{- Object to Store or Value}
\item{file}{- Local filename to Store in Azure blob}
\item{directory}{Set directory to list}
\item{storageAccount}{storageAccount Object}
\item{storageKey}{storageKey Object}
\item{container}{container Object}
\item{resourceGroup}{resourceGroup Object}
\item{subscriptionID}{subscriptionID Object}
\item{azToken}{Token Object}
\item{verbose}{Print Tracing information (Default False)}
}
\description{
Write contents to a specifed Storage blob.
}
\seealso{
Other blob store functions: \code{\link{azureBlobCD}},
\code{\link{azureBlobFind}}, \code{\link{azureGetBlob}},
\code{\link{azureListStorageBlobs}},
\code{\link{azureblobLS}}
}

39
man/azureResizeHDI.Rd Normal file
Просмотреть файл

@ -0,0 +1,39 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureHDI.R
\name{azureResizeHDI}
\alias{azureResizeHDI}
\title{Resize a HDInsight Cluster role.}
\usage{
azureResizeHDI(azureActiveContext, clustername, role = "worker", size = 2,
mode = "Sync", azToken, subscriptionID, resourceGroup, verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{clustername}{clustername Object}
\item{role}{role type: 'worker', 'head' or 'Edge'}
\item{size}{Desired size of role type}
\item{mode}{'Sync' or 'Async'}
\item{azToken}{Token Object}
\item{subscriptionID}{subscriptionID Object}
\item{resourceGroup}{resourceGroup Object}
\item{verbose}{Print Tracing information (Default False)}
}
\description{
Resize a HDInsight Cluster role.
}
\seealso{
Other HDInsight functions: \code{\link{azureCreateHDI}},
\code{\link{azureDeleteHDI}}, \code{\link{azureHDIConf}},
\code{\link{azureListHDI}},
\code{\link{azureRunScriptAction}},
\code{\link{azureScriptActionHistory}}
}

Просмотреть файл

@ -0,0 +1,48 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureHDI.R
\name{azureRunScriptAction}
\alias{azureRunScriptAction}
\title{Run Script Action on HDI Cluster.}
\usage{
azureRunScriptAction(azureActiveContext, scriptname = "script1", scriptURL,
headNode = TRUE, workerNode = FALSE, edgeNode = FALSE, clustername,
resourceGroup, parameters = "", azToken, subscriptionID, verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{scriptname}{Identifier for Custom action scrript operation}
\item{scriptURL}{URL to custom action script (Sring)}
\item{headNode}{install on head nodes (default FALSE)}
\item{workerNode}{install on worker nodes (default FALSE)}
\item{edgeNode}{install on worker nodes (default FALSE)}
\item{clustername}{clustername Object}
\item{resourceGroup}{resourceGroup Object}
\item{parameters}{parameters}
\item{azToken}{Token Object}
\item{subscriptionID}{subscriptionID Object}
\item{verbose}{Print Tracing information (Default False)}
}
\value{
Returns Success Message
}
\description{
Run Script Action on HDI Cluster.
}
\seealso{
Other HDInsight functions: \code{\link{azureCreateHDI}},
\code{\link{azureDeleteHDI}}, \code{\link{azureHDIConf}},
\code{\link{azureListHDI}}, \code{\link{azureResizeHDI}},
\code{\link{azureScriptActionHistory}}
}

31
man/azureSAGetKey.Rd Normal file
Просмотреть файл

@ -0,0 +1,31 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureStorageAccount.R
\name{azureSAGetKey}
\alias{azureSAGetKey}
\title{Get the Storage Keys for Specified Storage Account.}
\usage{
azureSAGetKey(azureActiveContext, storageAccount, azToken, resourceGroup,
subscriptionID, verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{storageAccount}{storageAccount}
\item{azToken}{Token Object (or use azureActiveContext)}
\item{resourceGroup}{resourceGroup Object}
\item{subscriptionID}{subscriptionID Object}
\item{verbose}{Print Tracing information (Default False)}
}
\description{
Get the Storage Keys for Specified Storage Account.
}
\seealso{
Other Storage account functions: \code{\link{azureCreateStorageAccount}},
\code{\link{azureDeletestorageAccount}},
\code{\link{azureListSA}}
}

Просмотреть файл

@ -0,0 +1,39 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureHDI.R
\name{azureScriptActionHistory}
\alias{azureScriptActionHistory}
\title{Get all HDInsight Script Action History for a specified clustername.}
\usage{
azureScriptActionHistory(azureActiveContext, resourceGroup, clustername = "*",
subscriptionID, azToken, name, type, verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{resourceGroup}{resourceGroup Object}
\item{clustername}{clustername Object}
\item{subscriptionID}{subscriptionID Object}
\item{azToken}{Token Object}
\item{name}{name}
\item{type}{type}
\item{verbose}{Print Tracing information (Default False)}
}
\value{
Returns Dataframe of HDInsight Clusters
}
\description{
Get all HDInsight Script Action History for a specified clustername.
}
\seealso{
Other HDInsight functions: \code{\link{azureCreateHDI}},
\code{\link{azureDeleteHDI}}, \code{\link{azureHDIConf}},
\code{\link{azureListHDI}}, \code{\link{azureResizeHDI}},
\code{\link{azureRunScriptAction}}
}

36
man/azureSparkCMD.Rd Normal file
Просмотреть файл

@ -0,0 +1,36 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureSpark.R
\name{azureSparkCMD}
\alias{azureSparkCMD}
\title{Send Spark Statements/comamnds (REPL/Interactive mode).}
\usage{
azureSparkCMD(azureActiveContext, CMD, clustername, hdiAdmin, hdiPassword,
sessionID, verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{CMD}{CMD}
\item{clustername}{clustername Object}
\item{hdiAdmin}{hdiAdmin Object}
\item{hdiPassword}{hdiPassword Object}
\item{sessionID}{sessionID Object}
\item{verbose}{Print Tracing information (Default False)}
}
\description{
Send Spark Statements/comamnds (REPL/Interactive mode).
}
\seealso{
Other Spark: \code{\link{azureSparkJob}},
\code{\link{azureSparkListJobs}},
\code{\link{azureSparkListSessions}},
\code{\link{azureSparkNewSession}},
\code{\link{azureSparkShowURL}},
\code{\link{azureSparkStopSession}}
}

36
man/azureSparkJob.Rd Normal file
Просмотреть файл

@ -0,0 +1,36 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureSpark.R
\name{azureSparkJob}
\alias{azureSparkJob}
\title{Submit Spark Job (Batch mode).}
\usage{
azureSparkJob(azureActiveContext, FILE, clustername, hdiAdmin, hdiPassword,
log = "URL", verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{FILE}{file}
\item{clustername}{clustername Object}
\item{hdiAdmin}{hdiAdmin Object}
\item{hdiPassword}{hdiPassword Object}
\item{log}{log}
\item{verbose}{Print Tracing information (Default False)}
}
\description{
Submit Spark Job (Batch mode).
}
\seealso{
Other Spark: \code{\link{azureSparkCMD}},
\code{\link{azureSparkListJobs}},
\code{\link{azureSparkListSessions}},
\code{\link{azureSparkNewSession}},
\code{\link{azureSparkShowURL}},
\code{\link{azureSparkStopSession}}
}

35
man/azureSparkListJobs.Rd Normal file
Просмотреть файл

@ -0,0 +1,35 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureSpark.R
\name{azureSparkListJobs}
\alias{azureSparkListJobs}
\title{List Spark Jobs (Batch mode).}
\usage{
azureSparkListJobs(azureActiveContext, clustername, hdiAdmin, hdiPassword,
verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{clustername}{clustername Object}
\item{hdiAdmin}{hdiAdmin Object}
\item{hdiPassword}{hdiPassword Object}
\item{verbose}{Print Tracing information (Default False)}
}
\value{
(manually direct output to blob fule /SQL in script)
}
\description{
List Spark Jobs (Batch mode).
}
\seealso{
Other Spark: \code{\link{azureSparkCMD}},
\code{\link{azureSparkJob}},
\code{\link{azureSparkListSessions}},
\code{\link{azureSparkNewSession}},
\code{\link{azureSparkShowURL}},
\code{\link{azureSparkStopSession}}
}

Просмотреть файл

@ -0,0 +1,32 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureSpark.R
\name{azureSparkListSessions}
\alias{azureSparkListSessions}
\title{List Spark Sessions.}
\usage{
azureSparkListSessions(azureActiveContext, clustername, hdiAdmin, hdiPassword,
verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{clustername}{clustername Object}
\item{hdiAdmin}{hdiAdmin Object}
\item{hdiPassword}{hdiPassword Object}
\item{verbose}{Print Tracing information (Default False)}
}
\description{
List Spark Sessions.
}
\seealso{
Other Spark: \code{\link{azureSparkCMD}},
\code{\link{azureSparkJob}},
\code{\link{azureSparkListJobs}},
\code{\link{azureSparkNewSession}},
\code{\link{azureSparkShowURL}},
\code{\link{azureSparkStopSession}}
}

Просмотреть файл

@ -0,0 +1,34 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureSpark.R
\name{azureSparkNewSession}
\alias{azureSparkNewSession}
\title{Create new Spark Session.}
\usage{
azureSparkNewSession(azureActiveContext, clustername, hdiAdmin, hdiPassword,
kind = "spark", verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{clustername}{clustername}
\item{hdiAdmin}{hdiAdmin - HDinsight Administrator name}
\item{hdiPassword}{HDinsight Administrator name}
\item{kind}{"hadoop","spark" or "pyspark"}
\item{verbose}{Print Tracing information (Default False)}
}
\description{
Create new Spark Session.
}
\seealso{
Other Spark: \code{\link{azureSparkCMD}},
\code{\link{azureSparkJob}},
\code{\link{azureSparkListJobs}},
\code{\link{azureSparkListSessions}},
\code{\link{azureSparkShowURL}},
\code{\link{azureSparkStopSession}}
}

28
man/azureSparkShowURL.Rd Normal file
Просмотреть файл

@ -0,0 +1,28 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureSpark.R
\name{azureSparkShowURL}
\alias{azureSparkShowURL}
\title{Show Spark log Output.}
\usage{
azureSparkShowURL(azureActiveContext, URL)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{URL}{URL}
}
\value{
Show log in Browser
}
\description{
Show Spark log Output.
}
\seealso{
Other Spark: \code{\link{azureSparkCMD}},
\code{\link{azureSparkJob}},
\code{\link{azureSparkListJobs}},
\code{\link{azureSparkListSessions}},
\code{\link{azureSparkNewSession}},
\code{\link{azureSparkStopSession}}
}

Просмотреть файл

@ -0,0 +1,34 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureSpark.R
\name{azureSparkStopSession}
\alias{azureSparkStopSession}
\title{Stop a Spark Sessions.}
\usage{
azureSparkStopSession(azureActiveContext, clustername, hdiAdmin, hdiPassword,
sessionID, verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{clustername}{clustername Object}
\item{hdiAdmin}{hdiAdmin Object}
\item{hdiPassword}{hdiPassword Object}
\item{sessionID}{sessionID Object}
\item{verbose}{Print Tracing information (Default False)}
}
\description{
Stop a Spark Sessions.
}
\seealso{
Other Spark: \code{\link{azureSparkCMD}},
\code{\link{azureSparkJob}},
\code{\link{azureSparkListJobs}},
\code{\link{azureSparkListSessions}},
\code{\link{azureSparkNewSession}},
\code{\link{azureSparkShowURL}}
}

33
man/azureStartVM.Rd Normal file
Просмотреть файл

@ -0,0 +1,33 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureVM.R
\name{azureStartVM}
\alias{azureStartVM}
\title{Start a Virtual Machine.}
\usage{
azureStartVM(azureActiveContext, resourceGroup, vmName, mode = "Sync",
subscriptionID, azToken, verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{resourceGroup}{resourceGroup Object}
\item{vmName}{Virtual Machine name}
\item{mode}{Wait for operation to complete 'Sync' (Default)}
\item{subscriptionID}{subscriptionID Object}
\item{azToken}{Token Object}
\item{verbose}{Print Tracing information (Default False)}
}
\description{
Start a Virtual Machine.
}
\seealso{
Other Virtual machine functions: \code{\link{azureDeleteVM}},
\code{\link{azureListVM}}, \code{\link{azureStopVM}},
\code{\link{azureVMStatus}}
}

33
man/azureStopVM.Rd Normal file
Просмотреть файл

@ -0,0 +1,33 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureVM.R
\name{azureStopVM}
\alias{azureStopVM}
\title{Stop a Virtual Machine.}
\usage{
azureStopVM(azureActiveContext, resourceGroup, vmName, mode = "Sync",
subscriptionID, azToken, verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{resourceGroup}{resourceGroup Object}
\item{vmName}{vmName Object}
\item{mode}{Wait for operation to complete 'Sync' (Default)}
\item{subscriptionID}{subscriptionID Object}
\item{azToken}{Token Object}
\item{verbose}{Print Tracing information (Default False)}
}
\description{
Stop a Virtual Machine.
}
\seealso{
Other Virtual machine functions: \code{\link{azureDeleteVM}},
\code{\link{azureListVM}}, \code{\link{azureStartVM}},
\code{\link{azureVMStatus}}
}

33
man/azureVMStatus.Rd Normal file
Просмотреть файл

@ -0,0 +1,33 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureVM.R
\name{azureVMStatus}
\alias{azureVMStatus}
\title{Get Status of a Virtual Machine.}
\usage{
azureVMStatus(azureActiveContext, resourceGroup, vmName, subscriptionID,
azToken, ignore = "N", verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{resourceGroup}{resourceGroup Object}
\item{vmName}{vmName Object}
\item{subscriptionID}{subscriptionID Object}
\item{azToken}{Token Object}
\item{ignore}{ignore}
\item{verbose}{Print Tracing information (Default False)}
}
\description{
Get Status of a Virtual Machine.
}
\seealso{
Other Virtual machine functions: \code{\link{azureDeleteVM}},
\code{\link{azureListVM}}, \code{\link{azureStartVM}},
\code{\link{azureStopVM}}
}

41
man/azureblobLS.Rd Normal file
Просмотреть файл

@ -0,0 +1,41 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureBlob.R
\name{azureblobLS}
\alias{azureblobLS}
\title{List blob files in a Storage account directory.}
\usage{
azureblobLS(azureActiveContext, directory, recursive = FALSE, storageAccount,
storageKey, container, resourceGroup, subscriptionID, azToken,
verbose = FALSE)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{directory}{Set directory to list}
\item{recursive}{List directories recursively (Default FALSE)}
\item{storageAccount}{storageAccount Object}
\item{storageKey}{storageKey Object}
\item{container}{container Object}
\item{resourceGroup}{resourceGroup Object}
\item{subscriptionID}{subscriptionID Object}
\item{azToken}{Token Object}
\item{verbose}{Print Tracing information (Default False)}
}
\description{
List blob files in a Storage account directory.
}
\seealso{
Other blob store functions: \code{\link{azureBlobCD}},
\code{\link{azureBlobFind}}, \code{\link{azureGetBlob}},
\code{\link{azureListStorageBlobs}},
\code{\link{azurePutBlob}}
}

15
man/createAzureContext.Rd Normal file
Просмотреть файл

@ -0,0 +1,15 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureContextObject.R
\name{createAzureContext}
\alias{createAzureContext}
\title{Create an AzureContext.}
\usage{
createAzureContext()
}
\description{
Create an AzureContext.
}
\seealso{
Other Context Object: \code{\link{dumpAzureContext}}
}

18
man/dumpAzureContext.Rd Normal file
Просмотреть файл

@ -0,0 +1,18 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureContextObject.R
\name{dumpAzureContext}
\alias{dumpAzureContext}
\title{Dumps the contents of the AzureContext.}
\usage{
dumpAzureContext(azureActiveContext)
}
\arguments{
\item{azureActiveContext}{Context Object}
}
\description{
Dumps the contents of the AzureContext.
}
\seealso{
Other Context Object: \code{\link{createAzureContext}}
}

49
man/setAzureContext.Rd Normal file
Просмотреть файл

@ -0,0 +1,49 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AzureContextObject.R
\name{setAzureContext}
\alias{setAzureContext}
\title{Updates the value of an AzureContext variable.}
\usage{
setAzureContext(azureActiveContext, TID, CID, KEY, azToken, subscriptionID,
resourceGroup, storageKey, storageAccount, container, blob, vmName, hdiAdmin,
hdiPassword, clustername, kind, sessionID)
}
\arguments{
\item{azureActiveContext}{Context Object}
\item{TID}{Tenant ID Object}
\item{CID}{Client ID Object}
\item{KEY}{Authentication KEY Object}
\item{azToken}{Token Object}
\item{subscriptionID}{subscriptionID Object}
\item{resourceGroup}{resourceGroup Object}
\item{storageKey}{storageKey Object}
\item{storageAccount}{storageAccount Object}
\item{container}{container Object}
\item{blob}{blob Object}
\item{vmName}{vmName Object}
\item{hdiAdmin}{hdiAdmin Object}
\item{hdiPassword}{hdiPassword Object}
\item{clustername}{clustername Object}
\item{kind}{"hadoop","spark" or "pyspark"}
\item{sessionID}{sessionID Object}
}
\description{
Updates the value of an AzureContext variable.
}

Просмотреть файл

@ -42,7 +42,7 @@ test_that("Can connect to azure resources", {
test_that("Can create resource group", {
skip_if_missing_config(settingsfile)
res <- azureCreateresourceGroup(asc, location = "westeurope", resourceGroup = resourceGroup_name)
res <- azureCreateResourceGroup(asc, location = "westeurope", resourceGroup = resourceGroup_name)
expect_equal(res, "Create Request Submitted")
wait_for_azure(
@ -68,7 +68,7 @@ test_that("Can connect to storage account", {
test_that("Can create storage account", {
skip_if_missing_config(settingsfile)
res <- azureCreatestorageAccount(asc, storageAccount = sa_name, resourceGroup = resourceGroup_name)
res <- azureCreateStorageAccount(asc, storageAccount = sa_name, resourceGroup = resourceGroup_name)
if(res == "Account already exists with the same name") skip("Account already exists with the same name")
expect_equal(res, "Create request Accepted. It can take a few moments to provision the storage account")
@ -81,7 +81,7 @@ test_that("Can create storage account", {
test_that("Can connect to container", {
skip_if_missing_config(settingsfile)
sa <- azureListSA(asc)[1, ]
res <- azureListSAcontainers(asc, storageAccount = sa$storageAccount[1], resourceGroup = sa$resourceGroup[1])
res <- azureListStorageContainers(asc, storageAccount = sa$storageAccount[1], resourceGroup = sa$resourceGroup[1])
expect_is(res, "data.frame")
expect_equal(ncol(res), 5)
})
@ -102,7 +102,7 @@ test_that("Can delete storage account", {
test_that("Can delete resource group", {
skip_if_missing_config(settingsfile)
res <- azureDeleteresourceGroup(asc, resourceGroup = resourceGroup_name)
res <- azureDeleteResourceGroup(asc, resourceGroup = resourceGroup_name)
expect_equal(res, "Delete Request Submitted")
wait_for_azure(
!(resourceGroup_name %in% azureListRG(asc)$resourceGroup)