Use @inheritParams; add @family #3
This commit is contained in:
Родитель
44fb241491
Коммит
11a61fdf1d
349
R/AzureBlob.R
349
R/AzureBlob.R
|
@ -1,5 +1,7 @@
|
|||
#' @importFrom digest hmac
|
||||
GetSig <- function(AzureActiveContext,url, verb, key, StorageAccount,Headers=NULL,Container=NULL,CMD=NULL,Size=NULL,ContentType=NULL,DateS,verbose = FALSE) {
|
||||
GetSig <- function(AzureActiveContext,url, verb, key, StorageAccount,
|
||||
Headers=NULL,Container=NULL,CMD=NULL,Size=NULL,
|
||||
ContentType=NULL,DateS,verbose = FALSE) {
|
||||
|
||||
if (length(Headers))
|
||||
ARG1 <- paste0(Headers,"\nx-ms-date:",DateS,"\nx-ms-version:2015-04-05")
|
||||
|
@ -14,16 +16,18 @@ GetSig <- function(AzureActiveContext,url, verb, key, StorageAccount,Headers=NUL
|
|||
return (EKEY);
|
||||
}
|
||||
|
||||
#' @name AzureSM: AzureSAGetKey
|
||||
#' @title Get the Storage Keys for Specified Storage Account
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
|
||||
#' Get the Storage Keys for Specified Storage Account.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @param StorageAccount StorageAccount
|
||||
#' @param Token Token Object (or use AzureActiveContext)
|
||||
#' @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureSAGetKey
|
||||
#' @param AzToken Token Object (or use AzureActiveContext)
|
||||
# @param verbose Print Tracing information (Default False)
|
||||
#'
|
||||
#' @family Storage account
|
||||
#' @export
|
||||
AzureSAGetKey <- function(AzureActiveContext,StorageAccount,AzToken,ResourceGroup,SubscriptionID,verbose = FALSE) {
|
||||
AzureSAGetKey <- function(AzureActiveContext,StorageAccount,AzToken,ResourceGroup,
|
||||
SubscriptionID,verbose = FALSE) {
|
||||
AzureCheckToken(AzureActiveContext)
|
||||
|
||||
if(missing(ResourceGroup)) {RGI <- AzureActiveContext$ResourceGroup} else (RGI = ResourceGroup)
|
||||
|
@ -50,14 +54,20 @@ AzureSAGetKey <- function(AzureActiveContext,StorageAccount,AzToken,ResourceGrou
|
|||
return(AzureActiveContext$StorageKey)
|
||||
}
|
||||
|
||||
#' @name AzureSM: AzureCreateStorageAccount
|
||||
#' @title Create an Azure Storage Account
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param StorageAccount StorageAccount
|
||||
#' @param Token Token Object (or use AzureActiveContext)
|
||||
#' @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureSAGetKey
|
||||
|
||||
#' Create an Azure Storage Account.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @inheritParams AzureSAGetKey
|
||||
|
||||
#' @family Storage account
|
||||
#'
|
||||
# @param AzureActiveContext Azure Context Object
|
||||
# @param StorageAccount StorageAccount
|
||||
# @param Token Token Object (or use AzureActiveContext)
|
||||
# @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
# @param verbose Print Tracing information (Default False)
|
||||
#'
|
||||
#' @export
|
||||
AzureCreateStorageAccount <- function(AzureActiveContext,StorageAccount,AzToken,ResourceGroup,SubscriptionID,verbose = FALSE) {
|
||||
AzureCheckToken(AzureActiveContext)
|
||||
|
@ -116,14 +126,20 @@ AzureCreateStorageAccount <- function(AzureActiveContext,StorageAccount,AzToken,
|
|||
return("Create request Accepted. It can take a few moments to provision the storage account")
|
||||
}
|
||||
|
||||
#' @name AzureSM: AzureDeleteStorageAccount
|
||||
#' @title Delete an Azure Storage Account
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param StorageAccount StorageAccount
|
||||
#' @param Token Token Object (or use AzureActiveContext)
|
||||
#' @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureSAGetKey
|
||||
|
||||
#' Delete an Azure Storage Account.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @inheritParams AzureSAGetKey
|
||||
|
||||
#' @family Storage account
|
||||
#'
|
||||
# @param AzureActiveContext Azure Context Object
|
||||
# @param StorageAccount StorageAccount
|
||||
# @param Token Token Object (or use AzureActiveContext)
|
||||
# @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
# @param verbose Print Tracing information (Default False)
|
||||
#'
|
||||
#' @export
|
||||
AzureDeleteStorageAccount <- function(AzureActiveContext,StorageAccount,AzToken,ResourceGroup,SubscriptionID,verbose = FALSE) {
|
||||
AzureCheckToken(AzureActiveContext)
|
||||
|
@ -153,16 +169,21 @@ AzureDeleteStorageAccount <- function(AzureActiveContext,StorageAccount,AzToken,
|
|||
return("Done")
|
||||
}
|
||||
|
||||
#' @name AzureSM: AzureListSAContainers
|
||||
#' @title List Storage Containers for Specified Storage Account
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param StorageAccount StorageAccount
|
||||
#' @param StorageKey StorageKey
|
||||
#' @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param Token Token Object (or use AzureActiveContext)
|
||||
#' @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
#' @param verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureListSAContainers
|
||||
|
||||
#' List Storage Containers for Specified Storage Account.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @inheritParams AzureSAGetKey
|
||||
|
||||
#' @family Storage account
|
||||
# @param AzureActiveContext Azure Context Object
|
||||
# @param StorageAccount StorageAccount
|
||||
# @param StorageKey StorageKey
|
||||
# @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
# @param Token Token Object (or use AzureActiveContext)
|
||||
# @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
# @param verbose Print Tracing information (Default False)
|
||||
#'
|
||||
#' @export
|
||||
AzureListSAContainers <- function(AzureActiveContext,StorageAccount,StorageKey,ResourceGroup,AzToken,SubscriptionID,verbose = FALSE) {
|
||||
AzureCheckToken(AzureActiveContext)
|
||||
|
@ -240,17 +261,24 @@ AzureListSAContainers <- function(AzureActiveContext,StorageAccount,StorageKey,R
|
|||
AzureActiveContext$StorageKey <- STK
|
||||
return(dfn)
|
||||
}
|
||||
#' @name AzureSM: AzureListSABlobs
|
||||
#' @title List Storage Containers for Specified Storage Account
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param StorageAccount StorageAccount
|
||||
#' @param StorageKey StorageKey
|
||||
#' @param Container Storage Container
|
||||
#' @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
#' @param AzToken Token Object (or use AzureActiveContext)
|
||||
#' @param verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureListSABlobs
|
||||
|
||||
|
||||
|
||||
#' List Storage Containers for Specified Storage Account.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @inheritParams AzureSAGetKey
|
||||
|
||||
#' @family Storage account
|
||||
# @param AzureActiveContext Azure Context Object
|
||||
# @param StorageAccount StorageAccount
|
||||
# @param StorageKey StorageKey
|
||||
# @param Container Storage Container
|
||||
# @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
# @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
# @param AzToken Token Object (or use AzureActiveContext)
|
||||
# @param verbose Print Tracing information (Default False)
|
||||
#'
|
||||
#' @export
|
||||
AzureListSABlobs <- function(AzureActiveContext,StorageAccount,StorageKey,Container,ResourceGroup,SubscriptionID,AzToken,verbose = FALSE) {
|
||||
AzureCheckToken(AzureActiveContext)
|
||||
|
@ -330,20 +358,25 @@ AzureListSABlobs <- function(AzureActiveContext,StorageAccount,StorageKey,Contai
|
|||
return(dfn)
|
||||
}
|
||||
|
||||
#' @name AzureSM: AzureGetBlob
|
||||
#' @title Get contents from a specifed Storage Blob
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param Blob Blob Directory (leave for current directory)
|
||||
#' @param Blob Blob Name
|
||||
#' @param Blob Type ("Text" or "Raw")
|
||||
#' @param StorageAccount StorageAccount
|
||||
#' @param StorageKey StorageKey
|
||||
#' @param Container Storage Container
|
||||
#' @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param Token Token Object (or use AzureActiveContext)
|
||||
#' @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
#' @param verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureGetBlob
|
||||
|
||||
#' Get contents from a specifed Storage Blob.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @inheritParams AzureSAGetKey
|
||||
|
||||
#' @family Storage account
|
||||
# @param AzureActiveContext Azure Context Object
|
||||
# @param Blob Blob Directory (leave for current directory)
|
||||
# @param Blob Blob Name
|
||||
# @param Blob Type ("Text" or "Raw")
|
||||
# @param StorageAccount StorageAccount
|
||||
# @param StorageKey StorageKey
|
||||
# @param Container Storage Container
|
||||
# @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
# @param Token Token Object (or use AzureActiveContext)
|
||||
# @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
# @param verbose Print Tracing information (Default False)
|
||||
#'
|
||||
#' @export
|
||||
#' @importFrom base64enc base64encode base64decode
|
||||
|
||||
|
@ -429,21 +462,26 @@ AzureGetBlob <- function(AzureActiveContext,Blob, Directory,Type="text",StorageA
|
|||
return(r2)
|
||||
}
|
||||
|
||||
#' @name AzureSM: AzurePutBlob
|
||||
#' @title Write contents to a specifed Storage Blob
|
||||
#' @param AzureActiveContext -Azure Context Object
|
||||
#' @param Blob - Blob Name
|
||||
#' @param Contents - Object to Store or Value
|
||||
#' @param File - Local FileName to Store in Azure Blob
|
||||
#' @param Directory - Directory location (leave for current directory)
|
||||
#' @param StorageAccount - StorageAccount
|
||||
#' @param StorageKey - StorageKey
|
||||
#' @param Container - Storage Container
|
||||
#' @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param Token - Token Object (or use AzureActiveContext)
|
||||
#' @param SubscriptionID - SubscriptionID Object (or use AzureActiveContext)
|
||||
#' @param verbose - Print Tracing information (Default False)
|
||||
#' @rdname AzurePutBlob
|
||||
|
||||
#' Write contents to a specifed Storage Blob.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @inheritParams AzureSAGetKey
|
||||
|
||||
#' @family Storage account
|
||||
# @param AzureActiveContext -Azure Context Object
|
||||
# @param Blob - Blob Name
|
||||
# @param Contents - Object to Store or Value
|
||||
# @param File - Local FileName to Store in Azure Blob
|
||||
# @param Directory - Directory location (leave for current directory)
|
||||
# @param StorageAccount - StorageAccount
|
||||
# @param StorageKey - StorageKey
|
||||
# @param Container - Storage Container
|
||||
# @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
# @param Token - Token Object (or use AzureActiveContext)
|
||||
# @param SubscriptionID - SubscriptionID Object (or use AzureActiveContext)
|
||||
# @param verbose - Print Tracing information (Default False)
|
||||
#'
|
||||
#' @export
|
||||
AzurePutBlob <- function(AzureActiveContext,Blob, Contents="",File="",Directory,StorageAccount,StorageKey,Container,ResourceGroup,SubscriptionID,AzToken,verbose=FALSE) {
|
||||
|
||||
|
@ -524,17 +562,21 @@ AzurePutBlob <- function(AzureActiveContext,Blob, Contents="",File="",Directory,
|
|||
}
|
||||
|
||||
|
||||
#' @name AzureSM: AzureCreateSAContainer
|
||||
#' @title Create Storage Containers in a specified Storage Account
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param Container - Storage Container
|
||||
#' @param StorageAccount StorageAccount
|
||||
#' @param StorageKey StorageKey
|
||||
#' @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param Token Token Object (or use AzureActiveContext)
|
||||
#' @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
#' @param verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureCreateSAContainer
|
||||
#' Create Storage Containers in a specified Storage Account.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @inheritParams AzureSAGetKey
|
||||
|
||||
#' @family Storage account
|
||||
# @param AzureActiveContext Azure Context Object
|
||||
# @param Container - Storage Container
|
||||
# @param StorageAccount StorageAccount
|
||||
# @param StorageKey StorageKey
|
||||
# @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
# @param Token Token Object (or use AzureActiveContext)
|
||||
# @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
# @param verbose Print Tracing information (Default False)
|
||||
#'
|
||||
#' @export
|
||||
AzureCreateSAContainer <- function(AzureActiveContext,Container,StorageAccount,StorageKey,ResourceGroup,AzToken,SubscriptionID,verbose = FALSE) {
|
||||
# AzureCheckToken(AzureActiveContext)
|
||||
|
@ -594,17 +636,22 @@ AzureCreateSAContainer <- function(AzureActiveContext,Container,StorageAccount,S
|
|||
return("OK")
|
||||
}
|
||||
|
||||
#' @name AzureSM: AzureDeleteSAContainer
|
||||
#' @title Delete Storage Container in a specified Storage Account
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param Container - Storage Container
|
||||
#' @param StorageAccount StorageAccount
|
||||
#' @param StorageKey StorageKey
|
||||
#' @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param Token Token Object (or use AzureActiveContext)
|
||||
#' @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
#' @param verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureDeleteSAContainer
|
||||
|
||||
#' Delete Storage Container in a specified Storage Account.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @inheritParams AzureSAGetKey
|
||||
|
||||
#' @family Storage account
|
||||
# @param AzureActiveContext Azure Context Object
|
||||
# @param Container - Storage Container
|
||||
# @param StorageAccount StorageAccount
|
||||
# @param StorageKey StorageKey
|
||||
# @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
# @param Token Token Object (or use AzureActiveContext)
|
||||
# @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
# @param verbose Print Tracing information (Default False)
|
||||
#'
|
||||
#' @export
|
||||
AzureDeleteSAContainer <- function(AzureActiveContext,Container,StorageAccount,StorageKey,ResourceGroup,AzToken,SubscriptionID,verbose = FALSE) {
|
||||
AzureCheckToken(AzureActiveContext)
|
||||
|
@ -654,19 +701,24 @@ AzureDeleteSAContainer <- function(AzureActiveContext,Container,StorageAccount,S
|
|||
return("OK")
|
||||
}
|
||||
|
||||
#' @name AzureSM: AzureBlobLS
|
||||
#' @title List Blob files in a Storage account directory
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param Directory - Set Directory to list
|
||||
#' @param Recursive - List directories recursively (Default FALSE)
|
||||
#' @param StorageAccount StorageAccount
|
||||
#' @param StorageKey StorageKey
|
||||
#' @param Container Storage Container
|
||||
#' @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param Token Token Object (or use AzureActiveContext)
|
||||
#' @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
#' @param verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureBlobLS
|
||||
|
||||
#' List Blob files in a Storage account directory.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @inheritParams AzureSAGetKey
|
||||
|
||||
#' @family Storage account
|
||||
# @param AzureActiveContext Azure Context Object
|
||||
# @param Directory - Set Directory to list
|
||||
# @param Recursive - List directories recursively (Default FALSE)
|
||||
# @param StorageAccount StorageAccount
|
||||
# @param StorageKey StorageKey
|
||||
# @param Container Storage Container
|
||||
# @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
# @param Token Token Object (or use AzureActiveContext)
|
||||
# @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
# @param verbose Print Tracing information (Default False)
|
||||
#'
|
||||
#' @export
|
||||
#' @importFrom base64enc base64encode base64decode
|
||||
AzureBlobLS <- function(AzureActiveContext,Directory,Recursive=FALSE,StorageAccount,StorageKey,Container,ResourceGroup,SubscriptionID,AzToken,verbose=FALSE) {
|
||||
|
@ -812,17 +864,22 @@ AzureBlobLS <- function(AzureActiveContext,Directory,Recursive=FALSE,StorageAcco
|
|||
}
|
||||
}
|
||||
|
||||
#' @name AzureSM: AzureBlobFind
|
||||
#' @title Find File in a Storage account directory
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param StorageAccount StorageAccount
|
||||
#' @param StorageKey StorageKey
|
||||
#' @param Container Storage Container
|
||||
#' @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param Token Token Object (or use AzureActiveContext)
|
||||
#' @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
#' @param verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureBlobFind
|
||||
|
||||
#' Find File in a Storage account directory.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @inheritParams AzureSAGetKey
|
||||
|
||||
#' @family Storage account
|
||||
# @param AzureActiveContext Azure Context Object
|
||||
# @param StorageAccount StorageAccount
|
||||
# @param StorageKey StorageKey
|
||||
# @param Container Storage Container
|
||||
# @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
# @param Token Token Object (or use AzureActiveContext)
|
||||
# @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
# @param verbose Print Tracing information (Default False)
|
||||
#'
|
||||
#' @export
|
||||
#' @importFrom base64enc base64encode base64decode
|
||||
AzureBlobFind <- function(AzureActiveContext,File,StorageAccount,StorageKey,Container,ResourceGroup,SubscriptionID,AzToken,verbose=FALSE) {
|
||||
|
@ -873,18 +930,23 @@ AzureBlobFind <- function(AzureActiveContext,File,StorageAccount,StorageKey,Cont
|
|||
return(F2)
|
||||
}
|
||||
|
||||
#' @name AzureSM: AzureBlobCD
|
||||
#' @title Azure Blob change current Directory
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param Directory - Set Directory to Path (Supports (../ and ../..))
|
||||
#' @param Container Storage Container
|
||||
#' @param StorageAccount StorageAccount
|
||||
#' @param StorageKey StorageKey
|
||||
#' @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param Token Token Object (or use AzureActiveContext)
|
||||
#' @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
#' @param verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureBlobCD
|
||||
|
||||
#' Azure Blob change current Directory.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @inheritParams AzureSAGetKey
|
||||
|
||||
#' @family Storage account
|
||||
# @param AzureActiveContext Azure Context Object
|
||||
# @param Directory - Set Directory to Path (Supports (../ and ../..))
|
||||
# @param Container Storage Container
|
||||
# @param StorageAccount StorageAccount
|
||||
# @param StorageKey StorageKey
|
||||
# @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
# @param Token Token Object (or use AzureActiveContext)
|
||||
# @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
# @param verbose Print Tracing information (Default False)
|
||||
#'
|
||||
#' @export
|
||||
#' @importFrom base64enc base64encode base64decode
|
||||
AzureBlobCD <- function(AzureActiveContext,Directory,Container,File,StorageAccount,StorageKey,ResourceGroup,SubscriptionID,AzToken,verbose=FALSE) {
|
||||
|
@ -954,14 +1016,19 @@ AzureBlobCD <- function(AzureActiveContext,Directory,Container,File,StorageAccou
|
|||
return(paste0("Current Directory - ",SAI," > ",CNTR, " : " ,Directory))
|
||||
}
|
||||
|
||||
#' @name AzureSM: AzureListSA
|
||||
#' @title List Storage accounts
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
#' @param AzToken Token Object (or use AzureActiveContext)
|
||||
#' @param verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureListSA
|
||||
|
||||
#' List Storage accounts.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @inheritParams AzureSAGetKey
|
||||
|
||||
#' @family Storage account
|
||||
# @param AzureActiveContext Azure Context Object
|
||||
# @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
# @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
# @param AzToken Token Object (or use AzureActiveContext)
|
||||
# @param verbose Print Tracing information (Default False)
|
||||
#'
|
||||
#' @export
|
||||
AzureListSA <- function(AzureActiveContext,ResourceGroup,SubscriptionID,AzToken,verbose = FALSE)
|
||||
{
|
||||
|
|
|
@ -1,11 +1,8 @@
|
|||
|
||||
#' CreateAzureContext
|
||||
#'
|
||||
#' Create an AzureContext
|
||||
#' Create an AzureContext.
|
||||
#'
|
||||
#' @title AzureSM: Create an AzureContext
|
||||
#' @name CreateAzureContext
|
||||
#' @rdname CreateAzureContext
|
||||
#' @family Context Object
|
||||
#' @export
|
||||
CreateAzureContext <- function(){
|
||||
AzEnv <- new.env(parent = globalenv())
|
||||
|
@ -16,26 +13,21 @@ CreateAzureContext <- function(){
|
|||
return(1)
|
||||
}
|
||||
|
||||
#' DumpAzureContext
|
||||
|
||||
#' Dumps the contents of the AzureContext.
|
||||
#'
|
||||
#' Dumps the contents of the AzureContext
|
||||
#'
|
||||
#' @title AzureSM: Dumps the contents of the AzureContext
|
||||
#' @param Azure Context Object
|
||||
#' @name DumpAzureContext
|
||||
#' @rdname DumpAzureContext
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @family Context Object
|
||||
#' @export
|
||||
|
||||
DumpAzureContext <- function(AzEnv)
|
||||
{
|
||||
ls.str(envir = AzEnv)
|
||||
DumpAzureContext <- function(AzureActiveContext){
|
||||
ls.str(envir = AzureActiveContext)
|
||||
}
|
||||
|
||||
#' AzureSM: SetAzureContext
|
||||
|
||||
#' Updates the value of an AzureContext variable.
|
||||
#'
|
||||
#' Updates the value of an AzureContext variable
|
||||
#' @title AzureSM: Updates the value of an AzureContext variable
|
||||
#' @param Azure Context Object
|
||||
#' @param AzureActiveContext Context Object
|
||||
#' @param TID Tenant ID Object
|
||||
#' @param CID Client ID Object
|
||||
#' @param KEY Authentication KEY Object
|
||||
|
@ -52,12 +44,16 @@ DumpAzureContext <- function(AzEnv)
|
|||
#' @param HDIPassword HDIPassword Object
|
||||
#' @param Kind Kind Object
|
||||
#' @param Container Container Object
|
||||
#' @param Log Log Object#'
|
||||
#' @author Alan Weaver
|
||||
#' @name SetAzureContext
|
||||
#' @rdname SetAzureContext
|
||||
#
|
||||
# @param Log Log Object#'
|
||||
#'
|
||||
#' @export
|
||||
SetAzureContext <- function(AzureActiveContext,TID, CID, KEY,Token, SubscriptionID,ResourceGroup,StorageKey,StorageAccount,Container,Blob,VMName,HDIAdmin,HDIPassword,ClusterName,Kind,SessionID)
|
||||
SetAzureContext <- function(AzureActiveContext,TID, CID, KEY,Token,
|
||||
SubscriptionID,ResourceGroup,
|
||||
StorageKey,StorageAccount,
|
||||
Container,Blob,
|
||||
VMName,
|
||||
HDIAdmin,HDIPassword,ClusterName,Kind,SessionID)
|
||||
{
|
||||
if (!missing(TID)) AzureActiveContext$TID <- TID
|
||||
if (!missing(CID)) AzureActiveContext$CID <- CID
|
||||
|
|
166
R/AzureHDI.R
166
R/AzureHDI.R
|
@ -1,19 +1,20 @@
|
|||
#' @name AzureSM: AzureListHDI
|
||||
#' @title Get all HDInsight Clusters in default Subscription or details for a specified ClusterName
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
#' Get all HDInsight Clusters in default Subscription or details for a specified ClusterName.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @param ClusterName ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param Token Token Object (or use AzureActiveContext)
|
||||
#' @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
# @param Token Token Object (or use AzureActiveContext)
|
||||
#' @param verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureListHDI
|
||||
#'
|
||||
#' @family HDInsight
|
||||
#'
|
||||
#' @return Returns Dataframe of HDInsight Clusters
|
||||
#' @export
|
||||
AzureListHDI <- function(AzureActiveContext,ResourceGroup,ClusterName="*",SUBID,ATI,Name, Type,Location,verbose = FALSE) {
|
||||
AzureListHDI <- function(AzureActiveContext,ResourceGroup,ClusterName="*",
|
||||
SubscriptionID,ATI,Name, Type,Location,verbose = FALSE) {
|
||||
|
||||
AzureCheckToken(AzureActiveContext)
|
||||
if(missing(ATI)) {AT <- AzureActiveContext$Token} else (AT = ATI)
|
||||
if(missing(SUBID)) {SUBIDI <- AzureActiveContext$SubscriptionID} else (SUBIDI = SUBID)
|
||||
if(missing(SubscriptionID)) {SUBIDI <- AzureActiveContext$SubscriptionID} else (SUBIDI = SubscriptionID)
|
||||
if(missing(ResourceGroup)) {RGI <- AzureActiveContext$ResourceGroup} else (RGI = ResourceGroup)
|
||||
verbosity <- if(verbose) httr::verbose(TRUE) else NULL
|
||||
|
||||
|
@ -99,15 +100,14 @@ AzureListHDI <- function(AzureActiveContext,ResourceGroup,ClusterName="*",SUBID,
|
|||
return(t(dfn))
|
||||
}
|
||||
|
||||
#' @name AzureSM: AzureHDIConf
|
||||
#' @title Get Configuration Information for a specified ClusterName
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param ClusterName ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param Token Token Object (or use AzureActiveContext)
|
||||
#' @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
#' @param verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureHDIConf
|
||||
|
||||
#' Get Configuration Information for a specified ClusterName.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @inheritParams AzureListHDI
|
||||
#'
|
||||
#' @family HDInsight
|
||||
#'
|
||||
#' @return Returns Dataframe of HDInsight Clusters information
|
||||
#' @export
|
||||
AzureHDIConf <- function(AzureActiveContext,ClusterName,ResourceGroup,SUBID,ATI,Name, Type,Location,verbose = FALSE) {
|
||||
|
@ -154,18 +154,24 @@ AzureHDIConf <- function(AzureActiveContext,ClusterName,ResourceGroup,SUBID,ATI,
|
|||
|
||||
return(t(dfn))
|
||||
}
|
||||
#' @name AzureSM: AzureResizeHDI
|
||||
#' @title Resize a HDInsight CLuster Role
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param ClusterName ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param Role Role Type (Worker, Head, Edge)
|
||||
#' @param Size Desired size of Role Type
|
||||
#' @param MODE MODE Sync/Async
|
||||
#' @param Token Token Object (or use AzureActiveContext)
|
||||
#' @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
#' @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureResizeHDI
|
||||
|
||||
|
||||
#' Resize a HDInsight CLuster Role.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @inheritParams AzureListHDI
|
||||
#'
|
||||
#' @family HDInsight
|
||||
# @param AzureActiveContext Azure Context Object
|
||||
# @param ClusterName ResourceGroup Object (or use AzureActiveContext)
|
||||
# @param Role Role Type (Worker, Head, Edge)
|
||||
# @param Size Desired size of Role Type
|
||||
# @param MODE MODE Sync/Async
|
||||
# @param Token Token Object (or use AzureActiveContext)
|
||||
# @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
# @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
# @param verbose Print Tracing information (Default False)
|
||||
#'
|
||||
#' @export
|
||||
AzureResizeHDI <- function(AzureActiveContext,ClusterName, Role="worker", Size=2, Mode="Sync",AzToken, SubscriptionID,ResourceGroup,verbose = FALSE) {
|
||||
AzureCheckToken(AzureActiveContext)
|
||||
|
@ -235,15 +241,14 @@ AzureResizeHDI <- function(AzureActiveContext,ClusterName, Role="worker", Size=2
|
|||
return("Done")
|
||||
}
|
||||
|
||||
#' @name AzureSM: AzureDeleteHDI
|
||||
#' @title Delete Specifed HDInsight Cluster
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param ClusterName ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param Token Token Object (or use AzureActiveContext)
|
||||
#' @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
#' @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureDeleteHDI
|
||||
|
||||
#' Delete Specifed HDInsight Cluster.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @inheritParams AzureListHDI
|
||||
#'
|
||||
#' @family HDInsight
|
||||
#'
|
||||
#' @return Returns Dataframe of HDInsight Clusters information
|
||||
#' @export
|
||||
AzureDeleteHDI <- function(AzureActiveContext,ClusterName,AzToken, SubscriptionID,ResourceGroup,verbose = FALSE) {
|
||||
|
@ -271,23 +276,34 @@ AzureDeleteHDI <- function(AzureActiveContext,ClusterName,AzToken, SubscriptionI
|
|||
return("Delete Request Accepted")
|
||||
}
|
||||
|
||||
#' @name AzureSM:
|
||||
#' @title Create Specifed HDInsight Cluster
|
||||
#' @param AzureActiveContext - Azure Context Object
|
||||
#' @param ClusterName - ResourceGroup Object (or use AzureActiveContext)
|
||||
|
||||
#' Create Specifed HDInsight Cluster.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @inheritParams AzureListHDI
|
||||
#'
|
||||
#' @family HDInsight
|
||||
# @param AzureActiveContext - Azure Context Object
|
||||
# @param ClusterName - ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param Location - Location String
|
||||
#' @param Kind - Kind (spark/hadoop) DEFAULT{spark}
|
||||
#' @param StorageAcc - Storage Account Name
|
||||
#' @param SKey - Storage Key
|
||||
# @param StorageAcc - Storage Account Name
|
||||
# @param SKey - Storage Key
|
||||
#' @param Workers - # of Workers (Default 2)
|
||||
#' @param ResourceGroup - ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param AzToken - Token Object (or use AzureActiveContext)
|
||||
#' @param SubscriptionID - SubscriptionID Object (or use AzureActiveContext)
|
||||
#' @param verbose - Print Tracing information (Default False)
|
||||
#' @rdname AzureCreateHDI
|
||||
# @param ResourceGroup - ResourceGroup Object (or use AzureActiveContext)
|
||||
# @param AzToken - Token Object (or use AzureActiveContext)
|
||||
# @param SubscriptionID - SubscriptionID Object (or use AzureActiveContext)
|
||||
# @param verbose - Print Tracing information (Default False)
|
||||
#'
|
||||
#' @return Returns Success Message
|
||||
#' @export
|
||||
AzureCreateHDI <- function(AzureActiveContext,ClusterName,Location,Kind = "spark", StorageAcc, SKey, Version="3.4", Workers=2,AdminUser,AdminPassword,SSHUser,SSHPassword,HiveServer,HiveDB,HiveUser,HivePassword,ResourceGroup,AzToken, SubscriptionID,Mode="Sync",verbose = FALSE) {
|
||||
AzureCreateHDI <- function(AzureActiveContext,ClusterName,
|
||||
Location,Kind = "spark",
|
||||
StorageAcc, SKey, Version="3.4", Workers=2,
|
||||
AdminUser,AdminPassword,
|
||||
SSHUser,SSHPassword,
|
||||
HiveServer,HiveDB,HiveUser,HivePassword,
|
||||
ResourceGroup,AzToken, SubscriptionID,Mode="Sync",verbose = FALSE) {
|
||||
AzureCheckToken(AzureActiveContext)
|
||||
|
||||
if(missing(ResourceGroup)) {RGI <- AzureActiveContext$ResourceGroup} else (RGI = ResourceGroup)
|
||||
|
@ -488,24 +504,27 @@ AzureCreateHDI <- function(AzureActiveContext,ClusterName,Location,Kind = "spark
|
|||
return("Done")
|
||||
}
|
||||
|
||||
#' @name AzureSM: AzureRunScriptAction
|
||||
#' @title Run Script Action on HDI Cluster
|
||||
#' @param AzureActiveContext - Azure Context Object
|
||||
|
||||
#' Run Script Action on HDI Cluster.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @inheritParams AzureListHDI
|
||||
#' @inheritParams AzureListVM
|
||||
#'
|
||||
#' @param ScriptName - Identifier for Custom action scrript operation
|
||||
#' @param ScriptURL - URL to custom action script (Sring)
|
||||
#' @param Roles - Specificy the Roles to apply action string (workernode,headnode,edgenode)
|
||||
# @param Roles - Specificy the Roles to apply action string (workernode,headnode,edgenode)
|
||||
#' @param HeadNode - install on head nodes (default FALSE)
|
||||
#' @param WorkerNode - install on worker nodes (default FALSE)
|
||||
#' @param EdgeNode - install on worker nodes (default FALSE)
|
||||
#' @param ClusterName - ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param ResourceGroup - ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param AzToken - Token Object (or use AzureActiveContext)
|
||||
#' @param SubscriptionID - SubscriptionID Object (or use AzureActiveContext)
|
||||
#' @param verbose - Print Tracing information (Default False)
|
||||
#' @rdname AzureCreateHDI
|
||||
#'
|
||||
#' @family HDInsight
|
||||
#' @return Returns Success Message
|
||||
#' @export
|
||||
AzureRunScriptAction <- function(AzureActiveContext,ScriptName = "script1",ScriptURL, HeadNode=TRUE,WorkerNode=FALSE,EdgeNode=FALSE,ClusterName,ResourceGroup,Parameters="",AzToken, SubscriptionID,verbose = FALSE) {
|
||||
AzureRunScriptAction <- function(AzureActiveContext,ScriptName = "script1",ScriptURL,
|
||||
HeadNode=TRUE,WorkerNode=FALSE,EdgeNode=FALSE,
|
||||
ClusterName,ResourceGroup,Parameters="",
|
||||
AzToken, SubscriptionID,verbose = FALSE) {
|
||||
AzureCheckToken(AzureActiveContext)
|
||||
if(missing(ClusterName)) {CN <- AzureActiveContext$ClusterName} else (CN = ClusterName)
|
||||
if(missing(ResourceGroup)) {RGI <- AzureActiveContext$ResourceGroup} else (RGI = ResourceGroup)
|
||||
|
@ -566,22 +585,23 @@ AzureRunScriptAction <- function(AzureActiveContext,ScriptName = "script1",Scrip
|
|||
return("Accepted")
|
||||
}
|
||||
|
||||
#' @name AzureSM: AzureScriptActionHistory
|
||||
#' @title Get all HDInsight Script Action Historyfor a specified ClusterName
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param ClusterName ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param Token Token Object (or use AzureActiveContext)
|
||||
#' @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
#' @param verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureListHDI
|
||||
|
||||
#' Get all HDInsight Script Action Historyfor a specified ClusterName.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @inheritParams AzureListHDI
|
||||
#' @inheritParams AzureRunScriptAction
|
||||
#'
|
||||
#' @family HDInsight
|
||||
#'
|
||||
#' @return Returns Dataframe of HDInsight Clusters
|
||||
#' @export
|
||||
AzureScriptActionHistory <- function(AzureActiveContext,ResourceGroup,ClusterName="*",SUBID,ATI,Name, Type,verbose = FALSE) {
|
||||
AzureScriptActionHistory <- function(AzureActiveContext,ResourceGroup,
|
||||
ClusterName="*",SubscriptionID,ATI,Name, Type,verbose = FALSE) {
|
||||
AzureCheckToken(AzureActiveContext)
|
||||
if(missing(ATI)) {AT <- AzureActiveContext$Token} else (AT = ATI)
|
||||
if(missing(ClusterName)) {CN <- AzureActiveContext$ClusterName} else (CN = ClusterName)
|
||||
if(missing(SUBID)) {SUBIDI <- AzureActiveContext$SubscriptionID} else (SUBIDI = SUBID)
|
||||
if(missing(SubscriptionID)) {SUBIDI <- AzureActiveContext$SubscriptionID} else (SUBIDI = SubscriptionID)
|
||||
if(missing(ResourceGroup)) {RGI <- AzureActiveContext$ResourceGroup} else (RGI = ResourceGroup)
|
||||
verbosity <- if(verbose) httr::verbose(TRUE) else NULL
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
#' @name AzureSM: AzureHiveStatus
|
||||
#' @title Get Status of a HDI Hive Service/Version
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param ClusterName ClusterName
|
||||
#' @param HDIAdmin HDIAdmin - HDinsight Administrator Name
|
||||
#' @param HDIPassword HDinsight Administrator Name
|
||||
#' @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureHiveStatus
|
||||
#' Get Status of a HDI Hive Service/Version.
|
||||
#'
|
||||
# @param AzureActiveContext Azure Context Object
|
||||
# @param ClusterName ClusterName
|
||||
# @param HDIAdmin HDIAdmin - HDinsight Administrator Name
|
||||
# @param HDIPassword HDinsight Administrator Name
|
||||
# @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
# @param verbose Print Tracing information (Default False)
|
||||
#'
|
||||
#' @export
|
||||
AzureHiveStatus <- function(AzureActiveContext,ClusterName,HDIAdmin,HDIPassword,verbose = FALSE) {
|
||||
HA = ""
|
||||
|
@ -35,16 +35,17 @@ AzureHiveStatus <- function(AzureActiveContext,ClusterName,HDIAdmin,HDIPassword,
|
|||
return(paste("Status:",df$status," Version:",df$version))
|
||||
|
||||
}
|
||||
#' @name AzureSM: AzureHiveSQL
|
||||
#' @title Submit SQL command to Hive Service
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param CMD SQl COmmand String
|
||||
#' @param ClusterName ClusterName
|
||||
#' @param HDIAdmin HDIAdmin - HDinsight Administrator Name
|
||||
#' @param HDIPassword HDinsight Administrator Name
|
||||
#' @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param Verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureHiveSQL
|
||||
|
||||
|
||||
#' Submit SQL command to Hive Service.
|
||||
# @param AzureActiveContext Azure Context Object
|
||||
# @param CMD SQl COmmand String
|
||||
# @param ClusterName ClusterName
|
||||
# @param HDIAdmin HDIAdmin - HDinsight Administrator Name
|
||||
# @param HDIPassword HDinsight Administrator Name
|
||||
# @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
# @param Verbose Print Tracing information (Default False)
|
||||
#'
|
||||
#' @export
|
||||
AzureHiveSQL <- function(AzureActiveContext,CMD,ClusterName,HDIAdmin,HDIPassword,Path="wasb:///tmp/",verbose = FALSE) {
|
||||
HA = ""
|
||||
|
|
|
@ -1,15 +1,13 @@
|
|||
#' @name AzureSM: AzureAuthenticate
|
||||
#' @title Authenticates against Azure Active Directory application
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param TID Tenant ID Object
|
||||
#' @param CID Client ID Object
|
||||
#' @param KEY Authentication KEY Object
|
||||
#' Authenticates against Azure Active Directory application.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @param verbose Print Tracing information (Default False)
|
||||
#'
|
||||
#' @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/}
|
||||
#' @rdname AzureAuthenticate
|
||||
#' @name AzureAuthenticate
|
||||
#'
|
||||
#' @return Retunrs Azure Tokem and sets AzureContext Token
|
||||
#' @family Resources
|
||||
#' @export
|
||||
AzureAuthenticate <- function(AzureActiveContext,TID, CID, KEY,verbose = FALSE) {
|
||||
|
||||
|
@ -50,9 +48,12 @@ AzureAuthenticate <- function(AzureActiveContext,TID, CID, KEY,verbose = FALSE)
|
|||
return("Authentication Suceeded : Key Obtained")
|
||||
}
|
||||
|
||||
#' @name AzureSM: AzureCheckToken
|
||||
#' @title Check the timestamp of a Token and Renew if needed.
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
|
||||
|
||||
#' Check the timestamp of a Token and Renew if needed.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @family Resources
|
||||
#' @export
|
||||
AzureCheckToken <- function(AzureActiveContext) {
|
||||
if (is.null(AzureActiveContext$EXPIRY)) print (stop("Not Authenticated: Use AzureAuthenticate"))
|
||||
|
@ -65,14 +66,16 @@ AzureCheckToken <- function(AzureActiveContext) {
|
|||
return("OK")
|
||||
}
|
||||
|
||||
#' @name AzureSM: AzureListSubscriptions
|
||||
#' @title Get available Subscriptions
|
||||
|
||||
#' Get available Subscriptions.
|
||||
#'
|
||||
#' @description Get available Subscriptions
|
||||
#' @param Azure Context Object
|
||||
#' @param Token Token Object (or use AzureActiveContext)
|
||||
#' @param Verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureListSubscriptions
|
||||
#'
|
||||
#' @return Returns Dataframe of SubscriptionID sets AzureContext SubscriptionID
|
||||
#' @family Resources
|
||||
#' @export
|
||||
AzureListSubscriptions <- function(AzureActiveContext,ATI,verbose = FALSE) {
|
||||
if(missing(ATI)) {AT <- AzureActiveContext$Token} else (AT = ATI)
|
||||
|
@ -91,14 +94,14 @@ AzureListSubscriptions <- function(AzureActiveContext,ATI,verbose = FALSE) {
|
|||
return(df1)
|
||||
}
|
||||
|
||||
#' @name AzureSM: AzureListRG
|
||||
#' @title Get all Resource Groups in default Subscription
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param Token Token Object (or use AzureActiveContext)
|
||||
#' @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
#' @param Verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureListRG
|
||||
|
||||
#' Get all Resource Groups in default Subscription.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @family Resources
|
||||
#'
|
||||
#' @return Returns Dataframe of ResourceGroups
|
||||
#' @family Resources
|
||||
#' @export
|
||||
AzureListRG <- function(AzureActiveContext,SUBID,AT,verbose = FALSE) {
|
||||
AzureCheckToken(AzureActiveContext)
|
||||
|
@ -125,17 +128,20 @@ AzureListRG <- function(AzureActiveContext,SUBID,AT,verbose = FALSE) {
|
|||
return(dfn)
|
||||
}
|
||||
|
||||
#' @name AzureSM: AzureListAllRecources
|
||||
#' @title Get all Resource in default Subscription
|
||||
|
||||
#' Get all Resource in default Subscription.
|
||||
#'
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param Token Token Object (or use AzureActiveContext)
|
||||
#' @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
#' @param Verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureListAllRecources
|
||||
#'
|
||||
#' @return Returns Dataframe of Resources
|
||||
#' @family Resources
|
||||
#' @export
|
||||
AzureListAllRecources <- function(AzureActiveContext,ResourceGroup,SUBID,AT,Name, Type, Location,verbose = FALSE) {
|
||||
AzureListAllRecources <- function(AzureActiveContext,ResourceGroup,
|
||||
SUBID,AT,Name, Type, Location,verbose = FALSE) {
|
||||
|
||||
AzureCheckToken(AzureActiveContext)
|
||||
|
||||
|
@ -185,15 +191,19 @@ AzureListAllRecources <- function(AzureActiveContext,ResourceGroup,SUBID,AT,Name
|
|||
}
|
||||
|
||||
|
||||
#' @name AzureCreateResourceGroup: AzureListAllRecources
|
||||
#' @title Create a ResourceGroup
|
||||
#' @param AzureActiveContext - Azure Context Object
|
||||
#' @param ResourceGroup - ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param AT - Token Object (or use AzureActiveContext)
|
||||
#' @param SUBID - SubscriptionID Object (or use AzureActiveContext)
|
||||
#' @param Verbose - Print Tracing information (Default False)
|
||||
#' @rdname AzureCreateResourceGroup
|
||||
#' Create a ResourceGroup.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @family Resources
|
||||
#'
|
||||
# @param AzureActiveContext - Azure Context Object
|
||||
# @param ResourceGroup - ResourceGroup Object (or use AzureActiveContext)
|
||||
# @param AT - Token Object (or use AzureActiveContext)
|
||||
# @param SUBID - SubscriptionID Object (or use AzureActiveContext)
|
||||
# @param Verbose - Print Tracing information (Default False)
|
||||
#'
|
||||
#' @return Returns Dataframe of Resources
|
||||
#' @family Resources
|
||||
#' @export
|
||||
AzureCreateResourceGroup <- function(AzureActiveContext,ResourceGroup,Location,SUBID,AT,verbose=FALSE) {
|
||||
AzureCheckToken(AzureActiveContext)
|
||||
|
@ -223,15 +233,19 @@ AzureCreateResourceGroup <- function(AzureActiveContext,ResourceGroup,Location,S
|
|||
return("Create Request Submitted")
|
||||
}
|
||||
|
||||
#' @name AzureDeleteResourceGroup: AzureListAllRecources
|
||||
#' @title Delete a ResourceGroup with all Resources
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
#' @param Token Token Object (or use AzureActiveContext)
|
||||
#' @param Verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureDeleteResourceGroup
|
||||
|
||||
#' Delete a ResourceGroup with all Resources.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @family Resources
|
||||
# @param AzureActiveContext Azure Context Object
|
||||
# @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
# @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
# @param Token Token Object (or use AzureActiveContext)
|
||||
# @param Verbose Print Tracing information (Default False)
|
||||
#'
|
||||
#' @return Returns Dataframe of Resources
|
||||
#' @family Resources
|
||||
#' @export
|
||||
AzureDeleteResourceGroup <- function(AzureActiveContext,ResourceGroup,SUBID,AT, Type,verbose=FALSE) {
|
||||
AzureCheckToken(AzureActiveContext)
|
||||
|
|
103
R/AzureSpark.R
103
R/AzureSpark.R
|
@ -1,12 +1,14 @@
|
|||
#' @name AzureSM: AzureSparkNewSession
|
||||
#' @title Create new Spark Session
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' Create new Spark Session.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#'
|
||||
#' @param ClusterName ClusterName
|
||||
#' @param HDIAdmin HDIAdmin - HDinsight Administrator Name
|
||||
#' @param HDIPassword HDinsight Administrator Name
|
||||
#' @param Kind Kind Spark/PySpark/Spark
|
||||
#' @param verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureSparkNewSession
|
||||
#'
|
||||
#' @family Spark
|
||||
#' @export
|
||||
AzureSparkNewSession <- function(AzureActiveContext,ClusterName,HDIAdmin,HDIPassword,Kind = "spark",verbose = FALSE) {
|
||||
|
||||
|
@ -47,14 +49,13 @@ AzureSparkNewSession <- function(AzureActiveContext,ClusterName,HDIAdmin,HDIPass
|
|||
return(df$id)
|
||||
}
|
||||
|
||||
#' @name AzureSM: AzureSparkListSessions
|
||||
#' @title List Spark Sessions
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param ClusterName ClusterName
|
||||
#' @param HDIAdmin HDIAdmin - HDinsight Administrator Name
|
||||
#' @param HDIPassword HDinsight Administrator Name
|
||||
#' @param Verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureSparkListSessions
|
||||
|
||||
#' List Spark Sessions.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @inheritParams AzureSparkNewSession
|
||||
#'
|
||||
#' @family Spark
|
||||
#' @export
|
||||
AzureSparkListSessions <- function(AzureActiveContext,ClusterName,HDIAdmin,HDIPassword,verbose = FALSE) {
|
||||
HA = ""
|
||||
|
@ -94,15 +95,14 @@ AzureSparkListSessions <- function(AzureActiveContext,ClusterName,HDIAdmin,HDIPa
|
|||
|
||||
return(dfn)
|
||||
}
|
||||
#' @name AzureSM: AzureSparkStopSession
|
||||
#' @title Stop a Spark Sessions
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param ClusterName ClusterName
|
||||
#' @param HDIAdmin HDIAdmin - HDinsight Administrator Name
|
||||
#' @param HDIPassword HDinsight Administrator Name
|
||||
#' @param SessionID SessionID see AzureSparkListSessions)
|
||||
#' @param Verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureSparkStopSession
|
||||
|
||||
|
||||
#' Stop a Spark Sessions.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @inheritParams AzureSparkNewSession
|
||||
#'
|
||||
#' @family Spark
|
||||
#' @export
|
||||
AzureSparkStopSession <- function(AzureActiveContext,ClusterName,HDIAdmin,HDIPassword,SessionID,verbose = FALSE) {
|
||||
|
||||
|
@ -142,16 +142,13 @@ AzureSparkStopSession <- function(AzureActiveContext,ClusterName,HDIAdmin,HDIPas
|
|||
return("Done")
|
||||
}
|
||||
|
||||
#' @name AzureSM: AzureSparkCMD
|
||||
#' @title Send Spark Statements/comamnds (REPL/Interactive mode)
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param ClusterName ClusterName
|
||||
#' @param HDIAdmin HDIAdmin - HDinsight Administrator Name
|
||||
#' @param HDIPassword HDinsight Administrator Name
|
||||
#' @param SessionID SessionID
|
||||
#' @param CMD CMD
|
||||
#' @param Verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureSparkCMD
|
||||
|
||||
#' Send Spark Statements/comamnds (REPL/Interactive mode).
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @inheritParams AzureSparkNewSession
|
||||
#'
|
||||
#' @family Spark
|
||||
#' @export
|
||||
AzureSparkCMD <- function(AzureActiveContext,CMD,ClusterName,HDIAdmin,HDIPassword,SessionID,verbose = FALSE) {
|
||||
|
||||
|
@ -225,15 +222,13 @@ AzureSparkCMD <- function(AzureActiveContext,CMD,ClusterName,HDIAdmin,HDIPasswor
|
|||
|
||||
}
|
||||
|
||||
#' @name AzureSM: AzureSparkJob
|
||||
#' @title Submit Spark Job (Batch mode)
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param ClusterName ClusterName
|
||||
#' @param HDIAdmin HDIAdmin - HDinsight Administrator Name
|
||||
#' @param HDIPassword HDinsight Administrator Name
|
||||
#' @param FILE FILE
|
||||
#' @param Verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureSparkJob
|
||||
|
||||
#' Submit Spark Job (Batch mode).
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @inheritParams AzureSparkNewSession
|
||||
#'
|
||||
#' @family Spark
|
||||
#' @export
|
||||
AzureSparkJob <- function(AzureActiveContext,FILE,ClusterName,HDIAdmin,HDIPassword, Log="URL",verbose = FALSE) {
|
||||
|
||||
|
@ -322,14 +317,13 @@ AzureSparkJob <- function(AzureActiveContext,FILE,ClusterName,HDIAdmin,HDIPasswo
|
|||
return(STATE)
|
||||
}
|
||||
|
||||
#' @name AzureSM: AzureSparkListJobs
|
||||
#' @title List Spark Jobs (Batch mode)
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param ClusterName ClusterName
|
||||
#' @param HDIAdmin HDIAdmin - HDinsight Administrator Name
|
||||
#' @param HDIPassword HDinsight Administrator Name
|
||||
#' @param Verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureSparkListJobs
|
||||
|
||||
#' List Spark Jobs (Batch mode).
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @inheritParams AzureSparkNewSession
|
||||
#'
|
||||
#' @family Spark
|
||||
#' @return (manually direct output to Blob fule /SQL in script)
|
||||
#' @export
|
||||
AzureSparkListJobs <- function(AzureActiveContext,ClusterName,HDIAdmin,HDIPassword,KIND,verbose = FALSE) {
|
||||
|
@ -371,11 +365,14 @@ AzureSparkListJobs <- function(AzureActiveContext,ClusterName,HDIAdmin,HDIPasswo
|
|||
return(dfn)
|
||||
}
|
||||
|
||||
#' @name AzureSM: AzureSparkShowURL
|
||||
#' @title Show Spark Log Output
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param URL (From Batch Job)
|
||||
#' @rdname AzureSparkShowURL
|
||||
|
||||
#' Show Spark Log Output.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @inheritParams AzureSparkNewSession
|
||||
#'
|
||||
#' @family Spark
|
||||
#'
|
||||
#' @return Show Log in Browser
|
||||
#' @export
|
||||
AzureSparkShowURL <- function(AzureActiveContext,URL) {
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
#' @name AzureSM: AzureDeployTemplate
|
||||
#' @title Submit a Azure Resource ManagerTemplate
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param DeplName DeplName
|
||||
#' @param TemplateURL TemplateURL
|
||||
#' @param ParamURL ParamURL
|
||||
#' @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param Token Token Object (or use AzureActiveContext)
|
||||
#' @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
#' @param verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureDeployTemplate
|
||||
#' Submit a Azure Resource ManagerTemplate.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
# @param AzureActiveContext Azure Context Object
|
||||
# @param DeplName DeplName
|
||||
# @param TemplateURL TemplateURL
|
||||
# @param ParamURL ParamURL
|
||||
# @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
# @param Token Token Object (or use AzureActiveContext)
|
||||
# @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
# @param verbose Print Tracing information (Default False)
|
||||
#'
|
||||
#' @export
|
||||
AzureDeployTemplate <- function(AzureActiveContext,DeplName,TemplateURL,ParamURL,TemplateJSON,ParamJSON,Mode="Sync",ResourceGroup,SubscriptionID,AzToken, verbose = FALSE) {
|
||||
AzureCheckToken(AzureActiveContext)
|
||||
|
@ -99,14 +100,15 @@ AzureDeployTemplate <- function(AzureActiveContext,DeplName,TemplateURL,ParamURL
|
|||
return("OK")
|
||||
}
|
||||
|
||||
#' @name AzureSM: AzureDeployStatus
|
||||
#' @title Check Template DeployStatus
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param DeplName DeplName
|
||||
#' @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param Token Token Object (or use AzureActiveContext)
|
||||
#' @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
#' @param Verbose Print Tracing information (Default False)
|
||||
|
||||
#' Check Template DeployStatus.
|
||||
#'
|
||||
# @param AzureActiveContext Azure Context Object
|
||||
# @param DeplName DeplName
|
||||
# @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
# @param Token Token Object (or use AzureActiveContext)
|
||||
# @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
# @param Verbose Print Tracing information (Default False)
|
||||
#' @export
|
||||
AzureDeployStatus <- function(AzureActiveContext,DeplName,ResourceGroup, SubscriptionID,AzToken,verbose = FALSE) {
|
||||
AzureCheckToken(AzureActiveContext)
|
||||
|
@ -131,14 +133,16 @@ AzureDeployStatus <- function(AzureActiveContext,DeplName,ResourceGroup, Subscri
|
|||
return(df$properties$provisioningState)
|
||||
}
|
||||
|
||||
#' @name AzureSM: AzureDeleteDeploy
|
||||
#' @title Delete Template Deployment
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param DeplName DeplName
|
||||
#' @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param Token Token Object (or use AzureActiveContext)
|
||||
#' @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
#' @param Verbose Print Tracing information (Default False)
|
||||
|
||||
#' Delete Template Deployment.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
# @param AzureActiveContext Azure Context Object
|
||||
# @param DeplName DeplName
|
||||
# @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
# @param Token Token Object (or use AzureActiveContext)
|
||||
# @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
# @param Verbose Print Tracing information (Default False)
|
||||
#' @export
|
||||
AzureDeleteDeploy <- function(AzureActiveContext,DeplName,ResourceGroup,SubscriptionID,AzToken,verbose = FALSE) {
|
||||
AzureCheckToken(AzureActiveContext)
|
||||
|
|
85
R/AzureVM.R
85
R/AzureVM.R
|
@ -1,14 +1,16 @@
|
|||
#' @name AzureSM: AzureListVM
|
||||
#' @title List VMs in a Subscription
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' List VMs in a Subscription.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param Location Azure Resource Location
|
||||
#' @param Token Token Object (or use AzureActiveContext)
|
||||
#' @param AzToken Token Object (or use AzureActiveContext)
|
||||
#' @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
#' @param verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureListVM
|
||||
#'
|
||||
#' @family Virtual Machine
|
||||
#' @export
|
||||
AzureListVM <- function(AzureActiveContext,ResourceGroup, Location,SubscriptionID,AzToken,verbose=FALSE) {
|
||||
AzureListVM <- function(AzureActiveContext,ResourceGroup, Location,SubscriptionID,
|
||||
AzToken,verbose=FALSE) {
|
||||
AzureCheckToken(AzureActiveContext)
|
||||
if(missing(AzToken)) {AT <- AzureActiveContext$Token} else (AT = AzToken)
|
||||
if(missing(SubscriptionID)) {SUBIDI <- AzureActiveContext$SubscriptionID} else (SUBIDI = SubscriptionID)
|
||||
|
@ -50,16 +52,15 @@ AzureListVM <- function(AzureActiveContext,ResourceGroup, Location,SubscriptionI
|
|||
|
||||
return(dfn)
|
||||
}
|
||||
#' @name AzureSM: AzureListVM
|
||||
#' @title Start a Virtual Machine
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
|
||||
|
||||
#' Start a Virtual Machine.
|
||||
#'
|
||||
#' @inheritParams AzureListVM
|
||||
#' @param VMName Virtual Machine Name
|
||||
#' @param Sync - Wait for operation to complete "Sync" (Default)
|
||||
#' @param Token Token Object (or use AzureActiveContext)
|
||||
#' @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
#' @param Verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureStartVM
|
||||
#' @param Mode Wait for operation to complete "Sync" (Default)
|
||||
#'
|
||||
#' @family Virtual Machine
|
||||
#' @export
|
||||
AzureStartVM <- function(AzureActiveContext,ResourceGroup, VMName, Mode="Sync",SubscriptionID,AzToken,verbose=FALSE) {
|
||||
AzureCheckToken(AzureActiveContext)
|
||||
|
@ -126,16 +127,14 @@ AzureStartVM <- function(AzureActiveContext,ResourceGroup, VMName, Mode="Sync",S
|
|||
return("Done")
|
||||
}
|
||||
|
||||
#' @name AzureSM: AzureStopVM
|
||||
#' @title Stop a Virtual Machine
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param VMName Virtual Machine Name
|
||||
#' @param Sync - Wait for operation to complete "Sync" (Default)
|
||||
#' @param Token Token Object (or use AzureActiveContext)
|
||||
#' @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
#' @param Verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureStopVM
|
||||
|
||||
#' Stop a Virtual Machine.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @inheritParams AzureListVM
|
||||
#' @inheritParams AzureStartVM
|
||||
#'
|
||||
#' @family Virtual Machine
|
||||
#' @export
|
||||
AzureStopVM <- function(AzureActiveContext,ResourceGroup, VMName,Mode="Sync",SubscriptionID,AzToken,verbose=FALSE) {
|
||||
AzureCheckToken(AzureActiveContext)
|
||||
|
@ -201,17 +200,17 @@ AzureStopVM <- function(AzureActiveContext,ResourceGroup, VMName,Mode="Sync",Sub
|
|||
return(rc1)
|
||||
}
|
||||
|
||||
#' @name AzureSM: AzureVMStatus
|
||||
#' @title Get Status of a Virtual Machine
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param VMName Virtual Machine Name
|
||||
#' @param Token Token Object (or use AzureActiveContext)
|
||||
#' @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
#' @param Verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureVMStatus
|
||||
|
||||
#' Get Status of a Virtual Machine.
|
||||
#'
|
||||
#' @inheritParams SetAzureContext
|
||||
#' @inheritParams AzureListVM
|
||||
#' @inheritParams AzureStartVM
|
||||
#'
|
||||
#' @family Virtual Machine
|
||||
#' @export
|
||||
AzureVMStatus <- function(AzureActiveContext,ResourceGroup, VMName,SubscriptionID,AzToken,Ignore="N",verbose=FALSE) {
|
||||
AzureVMStatus <- function(AzureActiveContext,ResourceGroup, VMName,
|
||||
SubscriptionID,AzToken,Ignore="N",verbose=FALSE) {
|
||||
AzureCheckToken(AzureActiveContext)
|
||||
|
||||
if(missing(AzToken)) {AT <- AzureActiveContext$Token} else (AT = AzToken)
|
||||
|
@ -244,15 +243,13 @@ AzureVMStatus <- function(AzureActiveContext,ResourceGroup, VMName,SubscriptionI
|
|||
|
||||
return("Submitted")
|
||||
}
|
||||
#' @name AzureSM: AzureDeleteVM
|
||||
#' @title Delete a Virtual Machine
|
||||
#' @param AzureActiveContext Azure Context Object
|
||||
#' @param ResourceGroup ResourceGroup Object (or use AzureActiveContext)
|
||||
#' @param VMName Virtual Machine Name
|
||||
#' @param Token Token Object (or use AzureActiveContext)
|
||||
#' @param SubscriptionID SubscriptionID Object (or use AzureActiveContext)
|
||||
#' @param Verbose Print Tracing information (Default False)
|
||||
#' @rdname AzureDeleteVM
|
||||
|
||||
|
||||
#' Delete a Virtual Machine.
|
||||
#'
|
||||
#' @inheritParams AzureListVM
|
||||
#' @inheritParams AzureStartVM
|
||||
#' @family Virtual Machine
|
||||
#' @export
|
||||
AzureDeleteVM <- function(AzureActiveContext,ResourceGroup, VMName,SubscriptionID,AzToken,Mode="Sync",verbose=FALSE) {
|
||||
AzureCheckToken(AzureActiveContext)
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureResources.R
|
||||
\name{AzureSM: AzureAuthenticate}
|
||||
\name{AzureAuthenticate}
|
||||
\alias{AzureAuthenticate}
|
||||
\alias{AzureSM: AzureAuthenticate}
|
||||
\title{Authenticates against Azure Active Directory application}
|
||||
\title{Authenticates against Azure Active Directory application.}
|
||||
\usage{
|
||||
AzureAuthenticate(AzureActiveContext, TID, CID, KEY, verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
|
||||
\item{TID}{Tenant ID Object}
|
||||
|
||||
|
@ -21,10 +20,21 @@ AzureAuthenticate(AzureActiveContext, TID, CID, KEY, verbose = 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}},
|
||||
\code{\link{AzureCreateResourceGroup}},
|
||||
\code{\link{AzureDeleteResourceGroup}},
|
||||
\code{\link{AzureListAllRecources}},
|
||||
\code{\link{AzureListRG}},
|
||||
\code{\link{AzureListSubscriptions}}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,30 +1,41 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureBlob.R
|
||||
\name{AzureSM: AzureBlobCD}
|
||||
\name{AzureBlobCD}
|
||||
\alias{AzureBlobCD}
|
||||
\alias{AzureSM: AzureBlobCD}
|
||||
\title{Azure Blob change current Directory}
|
||||
\title{Azure Blob change current Directory.}
|
||||
\usage{
|
||||
AzureBlobCD(AzureActiveContext, Directory, Container, File, StorageAccount,
|
||||
StorageKey, ResourceGroup, SubscriptionID, AzToken, verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
|
||||
\item{Directory}{- Set Directory to Path (Supports (../ and ../..))}
|
||||
\item{Container}{Container Object}
|
||||
|
||||
\item{Container}{Storage Container}
|
||||
\item{StorageAccount}{StorageAccount Object}
|
||||
|
||||
\item{StorageAccount}{StorageAccount}
|
||||
\item{StorageKey}{StorageKey Object}
|
||||
|
||||
\item{StorageKey}{StorageKey}
|
||||
\item{ResourceGroup}{ResourceGroup Object}
|
||||
|
||||
\item{ResourceGroup}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
\item{SubscriptionID}{SubscriptionID Object}
|
||||
|
||||
\item{SubscriptionID}{SubscriptionID Object (or use AzureActiveContext)}
|
||||
|
||||
\item{verbose}{Print Tracing information (Default False)}
|
||||
|
||||
\item{Token}{Token Object (or use AzureActiveContext)}
|
||||
\item{AzToken}{Token Object (or use AzureActiveContext)}
|
||||
}
|
||||
\description{
|
||||
Azure Blob change current Directory.
|
||||
}
|
||||
\seealso{
|
||||
Other Storage account: \code{\link{AzureBlobFind}},
|
||||
\code{\link{AzureBlobLS}},
|
||||
\code{\link{AzureCreateSAContainer}},
|
||||
\code{\link{AzureCreateStorageAccount}},
|
||||
\code{\link{AzureDeleteSAContainer}},
|
||||
\code{\link{AzureDeleteStorageAccount}},
|
||||
\code{\link{AzureGetBlob}},
|
||||
\code{\link{AzureListSABlobs}},
|
||||
\code{\link{AzureListSAContainers}},
|
||||
\code{\link{AzureListSA}}, \code{\link{AzurePutBlob}},
|
||||
\code{\link{AzureSAGetKey}}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,28 +1,41 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureBlob.R
|
||||
\name{AzureSM: AzureBlobFind}
|
||||
\name{AzureBlobFind}
|
||||
\alias{AzureBlobFind}
|
||||
\alias{AzureSM: AzureBlobFind}
|
||||
\title{Find File in a Storage account directory}
|
||||
\title{Find File in a Storage account directory.}
|
||||
\usage{
|
||||
AzureBlobFind(AzureActiveContext, File, StorageAccount, StorageKey, Container,
|
||||
ResourceGroup, SubscriptionID, AzToken, verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
|
||||
\item{StorageAccount}{StorageAccount}
|
||||
\item{StorageAccount}{StorageAccount Object}
|
||||
|
||||
\item{StorageKey}{StorageKey}
|
||||
\item{StorageKey}{StorageKey Object}
|
||||
|
||||
\item{Container}{Storage Container}
|
||||
\item{Container}{Container Object}
|
||||
|
||||
\item{ResourceGroup}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
\item{ResourceGroup}{ResourceGroup Object}
|
||||
|
||||
\item{SubscriptionID}{SubscriptionID Object (or use AzureActiveContext)}
|
||||
\item{SubscriptionID}{SubscriptionID Object}
|
||||
|
||||
\item{verbose}{Print Tracing information (Default False)}
|
||||
|
||||
\item{Token}{Token Object (or use AzureActiveContext)}
|
||||
\item{AzToken}{Token Object (or use AzureActiveContext)}
|
||||
}
|
||||
\description{
|
||||
Find File in a Storage account directory.
|
||||
}
|
||||
\seealso{
|
||||
Other Storage account: \code{\link{AzureBlobCD}},
|
||||
\code{\link{AzureBlobLS}},
|
||||
\code{\link{AzureCreateSAContainer}},
|
||||
\code{\link{AzureCreateStorageAccount}},
|
||||
\code{\link{AzureDeleteSAContainer}},
|
||||
\code{\link{AzureDeleteStorageAccount}},
|
||||
\code{\link{AzureGetBlob}},
|
||||
\code{\link{AzureListSABlobs}},
|
||||
\code{\link{AzureListSAContainers}},
|
||||
\code{\link{AzureListSA}}, \code{\link{AzurePutBlob}},
|
||||
\code{\link{AzureSAGetKey}}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,33 +1,42 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureBlob.R
|
||||
\name{AzureSM: AzureBlobLS}
|
||||
\name{AzureBlobLS}
|
||||
\alias{AzureBlobLS}
|
||||
\alias{AzureSM: AzureBlobLS}
|
||||
\title{List Blob files in a Storage account directory}
|
||||
\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}{Azure Context Object}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
|
||||
\item{Directory}{- Set Directory to list}
|
||||
\item{StorageAccount}{StorageAccount Object}
|
||||
|
||||
\item{Recursive}{- List directories recursively (Default FALSE)}
|
||||
\item{StorageKey}{StorageKey Object}
|
||||
|
||||
\item{StorageAccount}{StorageAccount}
|
||||
\item{Container}{Container Object}
|
||||
|
||||
\item{StorageKey}{StorageKey}
|
||||
\item{ResourceGroup}{ResourceGroup Object}
|
||||
|
||||
\item{Container}{Storage Container}
|
||||
\item{SubscriptionID}{SubscriptionID Object}
|
||||
|
||||
\item{ResourceGroup}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
|
||||
\item{SubscriptionID}{SubscriptionID Object (or use AzureActiveContext)}
|
||||
|
||||
\item{verbose}{Print Tracing information (Default False)}
|
||||
|
||||
\item{Token}{Token Object (or use AzureActiveContext)}
|
||||
\item{AzToken}{Token Object (or use AzureActiveContext)}
|
||||
}
|
||||
\description{
|
||||
List Blob files in a Storage account directory.
|
||||
}
|
||||
\seealso{
|
||||
Other Storage account: \code{\link{AzureBlobCD}},
|
||||
\code{\link{AzureBlobFind}},
|
||||
\code{\link{AzureCreateSAContainer}},
|
||||
\code{\link{AzureCreateStorageAccount}},
|
||||
\code{\link{AzureDeleteSAContainer}},
|
||||
\code{\link{AzureDeleteStorageAccount}},
|
||||
\code{\link{AzureGetBlob}},
|
||||
\code{\link{AzureListSABlobs}},
|
||||
\code{\link{AzureListSAContainers}},
|
||||
\code{\link{AzureListSA}}, \code{\link{AzurePutBlob}},
|
||||
\code{\link{AzureSAGetKey}}
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureResources.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}},
|
||||
\code{\link{AzureCreateResourceGroup}},
|
||||
\code{\link{AzureDeleteResourceGroup}},
|
||||
\code{\link{AzureListAllRecources}},
|
||||
\code{\link{AzureListRG}},
|
||||
\code{\link{AzureListSubscriptions}}
|
||||
}
|
||||
|
|
@ -1,71 +1,42 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureHDI.R
|
||||
\name{AzureSM:}
|
||||
\name{AzureCreateHDI}
|
||||
\alias{AzureCreateHDI}
|
||||
\alias{AzureRunScriptAction}
|
||||
\alias{AzureSM:}
|
||||
\alias{AzureSM: AzureRunScriptAction}
|
||||
\title{Create Specifed HDInsight Cluster}
|
||||
\title{Create Specifed HDInsight Cluster.}
|
||||
\usage{
|
||||
AzureCreateHDI(AzureActiveContext, ClusterName, Location, Kind = "spark",
|
||||
StorageAcc, SKey, Version = "3.4", Workers = 2, AdminUser, AdminPassword,
|
||||
SSHUser, SSHPassword, HiveServer, HiveDB, HiveUser, HivePassword,
|
||||
ResourceGroup, AzToken, SubscriptionID, Mode = "Sync", verbose = FALSE)
|
||||
|
||||
AzureRunScriptAction(AzureActiveContext, ScriptName = "script1", ScriptURL,
|
||||
HeadNode = TRUE, WorkerNode = FALSE, EdgeNode = FALSE, ClusterName,
|
||||
ResourceGroup, Parameters = "", AzToken, SubscriptionID, verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{- Azure Context Object}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
|
||||
\item{ClusterName}{- ResourceGroup Object (or use AzureActiveContext)}
|
||||
\item{ClusterName}{ClusterName Object}
|
||||
|
||||
\item{Location}{- Location String}
|
||||
|
||||
\item{Kind}{- Kind (spark/hadoop) DEFAULT{spark}}
|
||||
|
||||
\item{StorageAcc}{- Storage Account Name}
|
||||
|
||||
\item{SKey}{- Storage Key}
|
||||
|
||||
\item{Workers}{- # of Workers (Default 2)}
|
||||
|
||||
\item{ResourceGroup}{- ResourceGroup Object (or use AzureActiveContext)}
|
||||
\item{ResourceGroup}{ResourceGroup Object}
|
||||
|
||||
\item{AzToken}{- Token Object (or use AzureActiveContext)}
|
||||
\item{SubscriptionID}{SubscriptionID Object}
|
||||
|
||||
\item{SubscriptionID}{- SubscriptionID Object (or use AzureActiveContext)}
|
||||
|
||||
\item{verbose}{- Print Tracing information (Default False)}
|
||||
|
||||
\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{AzureActiveContext}{- Azure Context Object}
|
||||
|
||||
\item{Roles}{- Specificy the Roles to apply action string (workernode,headnode,edgenode)}
|
||||
|
||||
\item{ClusterName}{- ResourceGroup Object (or use AzureActiveContext)}
|
||||
|
||||
\item{ResourceGroup}{- ResourceGroup Object (or use AzureActiveContext)}
|
||||
|
||||
\item{AzToken}{- Token Object (or use AzureActiveContext)}
|
||||
|
||||
\item{SubscriptionID}{- SubscriptionID Object (or use AzureActiveContext)}
|
||||
|
||||
\item{verbose}{- Print Tracing information (Default False)}
|
||||
\item{verbose}{Print Tracing information (Default False)}
|
||||
}
|
||||
\value{
|
||||
Returns Success Message
|
||||
|
||||
Returns Success Message
|
||||
}
|
||||
\description{
|
||||
Create Specifed HDInsight Cluster.
|
||||
}
|
||||
\seealso{
|
||||
Other HDInsight: \code{\link{AzureDeleteHDI}},
|
||||
\code{\link{AzureHDIConf}}, \code{\link{AzureListHDI}},
|
||||
\code{\link{AzureResizeHDI}},
|
||||
\code{\link{AzureRunScriptAction}},
|
||||
\code{\link{AzureScriptActionHistory}}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,25 +1,36 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureResources.R
|
||||
\name{AzureCreateResourceGroup: AzureListAllRecources}
|
||||
\name{AzureCreateResourceGroup}
|
||||
\alias{AzureCreateResourceGroup}
|
||||
\alias{AzureCreateResourceGroup: AzureListAllRecources}
|
||||
\title{Create a ResourceGroup}
|
||||
\title{Create a ResourceGroup.}
|
||||
\usage{
|
||||
AzureCreateResourceGroup(AzureActiveContext, ResourceGroup, Location, SUBID, AT,
|
||||
verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{- Azure Context Object}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
|
||||
\item{ResourceGroup}{- ResourceGroup Object (or use AzureActiveContext)}
|
||||
|
||||
\item{SUBID}{- SubscriptionID Object (or use AzureActiveContext)}
|
||||
|
||||
\item{AT}{- Token Object (or use AzureActiveContext)}
|
||||
|
||||
\item{Verbose}{- Print Tracing information (Default False)}
|
||||
\item{ResourceGroup}{ResourceGroup Object}
|
||||
}
|
||||
\value{
|
||||
Returns Dataframe of Resources
|
||||
}
|
||||
\description{
|
||||
Create a ResourceGroup.
|
||||
}
|
||||
\seealso{
|
||||
Other Resources: \code{\link{AzureAuthenticate}},
|
||||
\code{\link{AzureCheckToken}},
|
||||
\code{\link{AzureDeleteResourceGroup}},
|
||||
\code{\link{AzureListAllRecources}},
|
||||
\code{\link{AzureListRG}},
|
||||
\code{\link{AzureListSubscriptions}}
|
||||
|
||||
Other Resources: \code{\link{AzureAuthenticate}},
|
||||
\code{\link{AzureCheckToken}},
|
||||
\code{\link{AzureDeleteResourceGroup}},
|
||||
\code{\link{AzureListAllRecources}},
|
||||
\code{\link{AzureListRG}},
|
||||
\code{\link{AzureListSubscriptions}}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,28 +1,40 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureBlob.R
|
||||
\name{AzureSM: AzureCreateSAContainer}
|
||||
\name{AzureCreateSAContainer}
|
||||
\alias{AzureCreateSAContainer}
|
||||
\alias{AzureSM: AzureCreateSAContainer}
|
||||
\title{Create Storage Containers in a specified Storage Account}
|
||||
\title{Create Storage Containers in a specified Storage Account.}
|
||||
\usage{
|
||||
AzureCreateSAContainer(AzureActiveContext, Container, StorageAccount,
|
||||
StorageKey, ResourceGroup, AzToken, SubscriptionID, verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
|
||||
\item{Container}{- Storage Container}
|
||||
\item{Container}{Container Object}
|
||||
|
||||
\item{StorageAccount}{StorageAccount}
|
||||
\item{StorageAccount}{StorageAccount Object}
|
||||
|
||||
\item{StorageKey}{StorageKey}
|
||||
\item{StorageKey}{StorageKey Object}
|
||||
|
||||
\item{ResourceGroup}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
\item{ResourceGroup}{ResourceGroup Object}
|
||||
|
||||
\item{SubscriptionID}{SubscriptionID Object (or use AzureActiveContext)}
|
||||
\item{AzToken}{Token Object (or use AzureActiveContext)}
|
||||
|
||||
\item{verbose}{Print Tracing information (Default False)}
|
||||
|
||||
\item{Token}{Token Object (or use AzureActiveContext)}
|
||||
\item{SubscriptionID}{SubscriptionID Object}
|
||||
}
|
||||
\description{
|
||||
Create Storage Containers in a specified Storage Account.
|
||||
}
|
||||
\seealso{
|
||||
Other Storage account: \code{\link{AzureBlobCD}},
|
||||
\code{\link{AzureBlobFind}}, \code{\link{AzureBlobLS}},
|
||||
\code{\link{AzureCreateStorageAccount}},
|
||||
\code{\link{AzureDeleteSAContainer}},
|
||||
\code{\link{AzureDeleteStorageAccount}},
|
||||
\code{\link{AzureGetBlob}},
|
||||
\code{\link{AzureListSABlobs}},
|
||||
\code{\link{AzureListSAContainers}},
|
||||
\code{\link{AzureListSA}}, \code{\link{AzurePutBlob}},
|
||||
\code{\link{AzureSAGetKey}}
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,36 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureBlob.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 (or use AzureActiveContext)}
|
||||
|
||||
\item{ResourceGroup}{ResourceGroup Object}
|
||||
|
||||
\item{SubscriptionID}{SubscriptionID Object}
|
||||
}
|
||||
\description{
|
||||
Create an Azure Storage Account.
|
||||
}
|
||||
\seealso{
|
||||
Other Storage account: \code{\link{AzureBlobCD}},
|
||||
\code{\link{AzureBlobFind}}, \code{\link{AzureBlobLS}},
|
||||
\code{\link{AzureCreateSAContainer}},
|
||||
\code{\link{AzureDeleteSAContainer}},
|
||||
\code{\link{AzureDeleteStorageAccount}},
|
||||
\code{\link{AzureGetBlob}},
|
||||
\code{\link{AzureListSABlobs}},
|
||||
\code{\link{AzureListSAContainers}},
|
||||
\code{\link{AzureListSA}}, \code{\link{AzurePutBlob}},
|
||||
\code{\link{AzureSAGetKey}}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
% 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{ResourceGroup}{ResourceGroup Object}
|
||||
|
||||
\item{SubscriptionID}{SubscriptionID Object}
|
||||
}
|
||||
\description{
|
||||
Delete Template Deployment.
|
||||
}
|
||||
|
|
@ -1,27 +1,34 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureHDI.R
|
||||
\name{AzureSM: AzureDeleteHDI}
|
||||
\name{AzureDeleteHDI}
|
||||
\alias{AzureDeleteHDI}
|
||||
\alias{AzureSM: AzureDeleteHDI}
|
||||
\title{Delete Specifed HDInsight Cluster}
|
||||
\title{Delete Specifed HDInsight Cluster.}
|
||||
\usage{
|
||||
AzureDeleteHDI(AzureActiveContext, ClusterName, AzToken, SubscriptionID,
|
||||
ResourceGroup, verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
|
||||
\item{ClusterName}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
\item{ClusterName}{ClusterName Object}
|
||||
|
||||
\item{SubscriptionID}{SubscriptionID Object (or use AzureActiveContext)}
|
||||
\item{SubscriptionID}{SubscriptionID Object}
|
||||
|
||||
\item{ResourceGroup}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
\item{ResourceGroup}{ResourceGroup Object}
|
||||
|
||||
\item{verbose}{Print Tracing information (Default False)}
|
||||
|
||||
\item{Token}{Token Object (or use AzureActiveContext)}
|
||||
}
|
||||
\value{
|
||||
Returns Dataframe of HDInsight Clusters information
|
||||
}
|
||||
\description{
|
||||
Delete Specifed HDInsight Cluster.
|
||||
}
|
||||
\seealso{
|
||||
Other HDInsight: \code{\link{AzureCreateHDI}},
|
||||
\code{\link{AzureHDIConf}}, \code{\link{AzureListHDI}},
|
||||
\code{\link{AzureResizeHDI}},
|
||||
\code{\link{AzureRunScriptAction}},
|
||||
\code{\link{AzureScriptActionHistory}}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,25 +1,36 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureResources.R
|
||||
\name{AzureDeleteResourceGroup: AzureListAllRecources}
|
||||
\name{AzureDeleteResourceGroup}
|
||||
\alias{AzureDeleteResourceGroup}
|
||||
\alias{AzureDeleteResourceGroup: AzureListAllRecources}
|
||||
\title{Delete a ResourceGroup with all Resources}
|
||||
\title{Delete a ResourceGroup with all Resources.}
|
||||
\usage{
|
||||
AzureDeleteResourceGroup(AzureActiveContext, ResourceGroup, SUBID, AT, Type,
|
||||
verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
|
||||
\item{ResourceGroup}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
|
||||
\item{SubscriptionID}{SubscriptionID Object (or use AzureActiveContext)}
|
||||
|
||||
\item{Token}{Token Object (or use AzureActiveContext)}
|
||||
|
||||
\item{Verbose}{Print Tracing information (Default False)}
|
||||
\item{ResourceGroup}{ResourceGroup Object}
|
||||
}
|
||||
\value{
|
||||
Returns Dataframe of Resources
|
||||
}
|
||||
\description{
|
||||
Delete a ResourceGroup with all Resources.
|
||||
}
|
||||
\seealso{
|
||||
Other Resources: \code{\link{AzureAuthenticate}},
|
||||
\code{\link{AzureCheckToken}},
|
||||
\code{\link{AzureCreateResourceGroup}},
|
||||
\code{\link{AzureListAllRecources}},
|
||||
\code{\link{AzureListRG}},
|
||||
\code{\link{AzureListSubscriptions}}
|
||||
|
||||
Other Resources: \code{\link{AzureAuthenticate}},
|
||||
\code{\link{AzureCheckToken}},
|
||||
\code{\link{AzureCreateResourceGroup}},
|
||||
\code{\link{AzureListAllRecources}},
|
||||
\code{\link{AzureListRG}},
|
||||
\code{\link{AzureListSubscriptions}}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,28 +1,40 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureBlob.R
|
||||
\name{AzureSM: AzureDeleteSAContainer}
|
||||
\name{AzureDeleteSAContainer}
|
||||
\alias{AzureDeleteSAContainer}
|
||||
\alias{AzureSM: AzureDeleteSAContainer}
|
||||
\title{Delete Storage Container in a specified Storage Account}
|
||||
\title{Delete Storage Container in a specified Storage Account.}
|
||||
\usage{
|
||||
AzureDeleteSAContainer(AzureActiveContext, Container, StorageAccount,
|
||||
StorageKey, ResourceGroup, AzToken, SubscriptionID, verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
|
||||
\item{Container}{- Storage Container}
|
||||
\item{Container}{Container Object}
|
||||
|
||||
\item{StorageAccount}{StorageAccount}
|
||||
\item{StorageAccount}{StorageAccount Object}
|
||||
|
||||
\item{StorageKey}{StorageKey}
|
||||
\item{StorageKey}{StorageKey Object}
|
||||
|
||||
\item{ResourceGroup}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
\item{ResourceGroup}{ResourceGroup Object}
|
||||
|
||||
\item{SubscriptionID}{SubscriptionID Object (or use AzureActiveContext)}
|
||||
\item{AzToken}{Token Object (or use AzureActiveContext)}
|
||||
|
||||
\item{verbose}{Print Tracing information (Default False)}
|
||||
|
||||
\item{Token}{Token Object (or use AzureActiveContext)}
|
||||
\item{SubscriptionID}{SubscriptionID Object}
|
||||
}
|
||||
\description{
|
||||
Delete Storage Container in a specified Storage Account.
|
||||
}
|
||||
\seealso{
|
||||
Other Storage account: \code{\link{AzureBlobCD}},
|
||||
\code{\link{AzureBlobFind}}, \code{\link{AzureBlobLS}},
|
||||
\code{\link{AzureCreateSAContainer}},
|
||||
\code{\link{AzureCreateStorageAccount}},
|
||||
\code{\link{AzureDeleteStorageAccount}},
|
||||
\code{\link{AzureGetBlob}},
|
||||
\code{\link{AzureListSABlobs}},
|
||||
\code{\link{AzureListSAContainers}},
|
||||
\code{\link{AzureListSA}}, \code{\link{AzurePutBlob}},
|
||||
\code{\link{AzureSAGetKey}}
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,36 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureBlob.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 (or use AzureActiveContext)}
|
||||
|
||||
\item{ResourceGroup}{ResourceGroup Object}
|
||||
|
||||
\item{SubscriptionID}{SubscriptionID Object}
|
||||
}
|
||||
\description{
|
||||
Delete an Azure Storage Account.
|
||||
}
|
||||
\seealso{
|
||||
Other Storage account: \code{\link{AzureBlobCD}},
|
||||
\code{\link{AzureBlobFind}}, \code{\link{AzureBlobLS}},
|
||||
\code{\link{AzureCreateSAContainer}},
|
||||
\code{\link{AzureCreateStorageAccount}},
|
||||
\code{\link{AzureDeleteSAContainer}},
|
||||
\code{\link{AzureGetBlob}},
|
||||
\code{\link{AzureListSABlobs}},
|
||||
\code{\link{AzureListSAContainers}},
|
||||
\code{\link{AzureListSA}}, \code{\link{AzurePutBlob}},
|
||||
\code{\link{AzureSAGetKey}}
|
||||
}
|
||||
|
|
@ -1,15 +1,14 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureVM.R
|
||||
\name{AzureSM: AzureDeleteVM}
|
||||
\name{AzureDeleteVM}
|
||||
\alias{AzureDeleteVM}
|
||||
\alias{AzureSM: AzureDeleteVM}
|
||||
\title{Delete a Virtual Machine}
|
||||
\title{Delete a Virtual Machine.}
|
||||
\usage{
|
||||
AzureDeleteVM(AzureActiveContext, ResourceGroup, VMName, SubscriptionID,
|
||||
AzToken, Mode = "Sync", verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
|
||||
\item{ResourceGroup}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
|
||||
|
@ -17,8 +16,18 @@ AzureDeleteVM(AzureActiveContext, ResourceGroup, VMName, SubscriptionID,
|
|||
|
||||
\item{SubscriptionID}{SubscriptionID Object (or use AzureActiveContext)}
|
||||
|
||||
\item{Token}{Token Object (or use AzureActiveContext)}
|
||||
\item{AzToken}{Token Object (or use AzureActiveContext)}
|
||||
|
||||
\item{Verbose}{Print Tracing information (Default False)}
|
||||
\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: \code{\link{AzureListVM}},
|
||||
\code{\link{AzureStartVM}}, \code{\link{AzureStopVM}},
|
||||
\code{\link{AzureVMStatus}}
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureTemplate.R
|
||||
\name{AzureDeployStatus}
|
||||
\alias{AzureDeployStatus}
|
||||
\title{Check Template DeployStatus.}
|
||||
\usage{
|
||||
AzureDeployStatus(AzureActiveContext, DeplName, ResourceGroup, SubscriptionID,
|
||||
AzToken, verbose = FALSE)
|
||||
}
|
||||
\description{
|
||||
Check Template DeployStatus.
|
||||
}
|
||||
|
|
@ -1,29 +1,21 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureTemplate.R
|
||||
\name{AzureSM: AzureDeployTemplate}
|
||||
\name{AzureDeployTemplate}
|
||||
\alias{AzureDeployTemplate}
|
||||
\alias{AzureSM: AzureDeployTemplate}
|
||||
\title{Submit a Azure Resource ManagerTemplate}
|
||||
\title{Submit a Azure Resource ManagerTemplate.}
|
||||
\usage{
|
||||
AzureDeployTemplate(AzureActiveContext, DeplName, TemplateURL, ParamURL,
|
||||
TemplateJSON, ParamJSON, Mode = "Sync", ResourceGroup, SubscriptionID,
|
||||
AzToken, verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
|
||||
\item{DeplName}{DeplName}
|
||||
\item{ResourceGroup}{ResourceGroup Object}
|
||||
|
||||
\item{TemplateURL}{TemplateURL}
|
||||
|
||||
\item{ParamURL}{ParamURL}
|
||||
|
||||
\item{ResourceGroup}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
|
||||
\item{SubscriptionID}{SubscriptionID Object (or use AzureActiveContext)}
|
||||
|
||||
\item{verbose}{Print Tracing information (Default False)}
|
||||
|
||||
\item{Token}{Token Object (or use AzureActiveContext)}
|
||||
\item{SubscriptionID}{SubscriptionID Object}
|
||||
}
|
||||
\description{
|
||||
Submit a Azure Resource ManagerTemplate.
|
||||
}
|
||||
|
||||
|
|
|
@ -1,35 +1,43 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureBlob.R
|
||||
\name{AzureSM: AzureGetBlob}
|
||||
\name{AzureGetBlob}
|
||||
\alias{AzureGetBlob}
|
||||
\alias{AzureSM: AzureGetBlob}
|
||||
\title{Get contents from a specifed Storage Blob}
|
||||
\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}{Azure Context Object}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
|
||||
\item{Blob}{Blob Directory (leave for current directory)}
|
||||
\item{Blob}{Blob Object}
|
||||
|
||||
\item{StorageAccount}{StorageAccount}
|
||||
\item{StorageAccount}{StorageAccount Object}
|
||||
|
||||
\item{StorageKey}{StorageKey}
|
||||
\item{StorageKey}{StorageKey Object}
|
||||
|
||||
\item{Container}{Storage Container}
|
||||
\item{Container}{Container Object}
|
||||
|
||||
\item{ResourceGroup}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
\item{ResourceGroup}{ResourceGroup Object}
|
||||
|
||||
\item{SubscriptionID}{SubscriptionID Object (or use AzureActiveContext)}
|
||||
\item{SubscriptionID}{SubscriptionID Object}
|
||||
|
||||
\item{verbose}{Print Tracing information (Default False)}
|
||||
|
||||
\item{Blob}{Blob Name}
|
||||
|
||||
\item{Blob}{Type ("Text" or "Raw")}
|
||||
|
||||
\item{Token}{Token Object (or use AzureActiveContext)}
|
||||
\item{AzToken}{Token Object (or use AzureActiveContext)}
|
||||
}
|
||||
\description{
|
||||
Get contents from a specifed Storage Blob.
|
||||
}
|
||||
\seealso{
|
||||
Other Storage account: \code{\link{AzureBlobCD}},
|
||||
\code{\link{AzureBlobFind}}, \code{\link{AzureBlobLS}},
|
||||
\code{\link{AzureCreateSAContainer}},
|
||||
\code{\link{AzureCreateStorageAccount}},
|
||||
\code{\link{AzureDeleteSAContainer}},
|
||||
\code{\link{AzureDeleteStorageAccount}},
|
||||
\code{\link{AzureListSABlobs}},
|
||||
\code{\link{AzureListSAContainers}},
|
||||
\code{\link{AzureListSA}}, \code{\link{AzurePutBlob}},
|
||||
\code{\link{AzureSAGetKey}}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,27 +1,32 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureHDI.R
|
||||
\name{AzureSM: AzureHDIConf}
|
||||
\name{AzureHDIConf}
|
||||
\alias{AzureHDIConf}
|
||||
\alias{AzureSM: AzureHDIConf}
|
||||
\title{Get Configuration Information for a specified ClusterName}
|
||||
\title{Get Configuration Information for a specified ClusterName.}
|
||||
\usage{
|
||||
AzureHDIConf(AzureActiveContext, ClusterName, ResourceGroup, SUBID, ATI, Name,
|
||||
Type, Location, verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
|
||||
\item{ClusterName}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
\item{ClusterName}{ClusterName Object}
|
||||
|
||||
\item{ResourceGroup}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
\item{ResourceGroup}{ResourceGroup Object}
|
||||
|
||||
\item{verbose}{Print Tracing information (Default False)}
|
||||
|
||||
\item{Token}{Token Object (or use AzureActiveContext)}
|
||||
|
||||
\item{SubscriptionID}{SubscriptionID Object (or use AzureActiveContext)}
|
||||
}
|
||||
\value{
|
||||
Returns Dataframe of HDInsight Clusters information
|
||||
}
|
||||
\description{
|
||||
Get Configuration Information for a specified ClusterName.
|
||||
}
|
||||
\seealso{
|
||||
Other HDInsight: \code{\link{AzureCreateHDI}},
|
||||
\code{\link{AzureDeleteHDI}}, \code{\link{AzureListHDI}},
|
||||
\code{\link{AzureResizeHDI}},
|
||||
\code{\link{AzureRunScriptAction}},
|
||||
\code{\link{AzureScriptActionHistory}}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,26 +1,13 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureHive.R
|
||||
\name{AzureSM: AzureHiveSQL}
|
||||
\name{AzureHiveSQL}
|
||||
\alias{AzureHiveSQL}
|
||||
\alias{AzureSM: AzureHiveSQL}
|
||||
\title{Submit SQL command to Hive Service}
|
||||
\title{Submit SQL command to Hive Service.}
|
||||
\usage{
|
||||
AzureHiveSQL(AzureActiveContext, CMD, ClusterName, HDIAdmin, HDIPassword,
|
||||
Path = "wasb:///tmp/", verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
|
||||
\item{CMD}{SQl COmmand String}
|
||||
|
||||
\item{ClusterName}{ClusterName}
|
||||
|
||||
\item{HDIAdmin}{HDIAdmin - HDinsight Administrator Name}
|
||||
|
||||
\item{HDIPassword}{HDinsight Administrator Name}
|
||||
|
||||
\item{ResourceGroup}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
|
||||
\item{Verbose}{Print Tracing information (Default False)}
|
||||
\description{
|
||||
Submit SQL command to Hive Service.
|
||||
}
|
||||
|
||||
|
|
|
@ -1,24 +1,13 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureHive.R
|
||||
\name{AzureSM: AzureHiveStatus}
|
||||
\name{AzureHiveStatus}
|
||||
\alias{AzureHiveStatus}
|
||||
\alias{AzureSM: AzureHiveStatus}
|
||||
\title{Get Status of a HDI Hive Service/Version}
|
||||
\title{Get Status of a HDI Hive Service/Version.}
|
||||
\usage{
|
||||
AzureHiveStatus(AzureActiveContext, ClusterName, HDIAdmin, HDIPassword,
|
||||
verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
|
||||
\item{ClusterName}{ClusterName}
|
||||
|
||||
\item{HDIAdmin}{HDIAdmin - HDinsight Administrator Name}
|
||||
|
||||
\item{HDIPassword}{HDinsight Administrator Name}
|
||||
|
||||
\item{verbose}{Print Tracing information (Default False)}
|
||||
|
||||
\item{ResourceGroup}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
\description{
|
||||
Get Status of a HDI Hive Service/Version.
|
||||
}
|
||||
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureResources.R
|
||||
\name{AzureSM: AzureListAllRecources}
|
||||
\name{AzureListAllRecources}
|
||||
\alias{AzureListAllRecources}
|
||||
\alias{AzureSM: AzureListAllRecources}
|
||||
\title{Get all Resource in default Subscription}
|
||||
\title{Get all Resource in default Subscription.}
|
||||
\usage{
|
||||
AzureListAllRecources(AzureActiveContext, ResourceGroup, SUBID, AT, Name, Type,
|
||||
Location, verbose = FALSE)
|
||||
|
@ -22,4 +21,15 @@ AzureListAllRecources(AzureActiveContext, ResourceGroup, SUBID, AT, Name, Type,
|
|||
\value{
|
||||
Returns Dataframe of Resources
|
||||
}
|
||||
\description{
|
||||
Get all Resource in default Subscription.
|
||||
}
|
||||
\seealso{
|
||||
Other Resources: \code{\link{AzureAuthenticate}},
|
||||
\code{\link{AzureCheckToken}},
|
||||
\code{\link{AzureCreateResourceGroup}},
|
||||
\code{\link{AzureDeleteResourceGroup}},
|
||||
\code{\link{AzureListRG}},
|
||||
\code{\link{AzureListSubscriptions}}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,46 +1,34 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureHDI.R
|
||||
\name{AzureSM: AzureListHDI}
|
||||
\name{AzureListHDI}
|
||||
\alias{AzureListHDI}
|
||||
\alias{AzureSM: AzureListHDI}
|
||||
\alias{AzureSM: AzureScriptActionHistory}
|
||||
\alias{AzureScriptActionHistory}
|
||||
\title{Get all HDInsight Clusters in default Subscription or details for a specified ClusterName}
|
||||
\title{Get all HDInsight Clusters in default Subscription or details for a specified ClusterName.}
|
||||
\usage{
|
||||
AzureListHDI(AzureActiveContext, ResourceGroup, ClusterName = "*", SUBID, ATI,
|
||||
Name, Type, Location, verbose = FALSE)
|
||||
|
||||
AzureScriptActionHistory(AzureActiveContext, ResourceGroup, ClusterName = "*",
|
||||
SUBID, ATI, Name, Type, verbose = FALSE)
|
||||
AzureListHDI(AzureActiveContext, ResourceGroup, ClusterName = "*",
|
||||
SubscriptionID, ATI, Name, Type, Location, verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
|
||||
\item{ResourceGroup}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
\item{ResourceGroup}{ResourceGroup Object}
|
||||
|
||||
\item{ClusterName}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
|
||||
\item{verbose}{Print Tracing information (Default False)}
|
||||
|
||||
\item{Token}{Token Object (or use AzureActiveContext)}
|
||||
|
||||
\item{SubscriptionID}{SubscriptionID Object (or use AzureActiveContext)}
|
||||
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
|
||||
\item{ResourceGroup}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
|
||||
\item{ClusterName}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
|
||||
\item{Token}{Token Object (or use AzureActiveContext)}
|
||||
|
||||
\item{SubscriptionID}{SubscriptionID Object (or use AzureActiveContext)}
|
||||
\item{SubscriptionID}{SubscriptionID Object}
|
||||
|
||||
\item{verbose}{Print Tracing information (Default False)}
|
||||
}
|
||||
\value{
|
||||
Returns Dataframe of HDInsight Clusters
|
||||
|
||||
Returns Dataframe of HDInsight Clusters
|
||||
}
|
||||
\description{
|
||||
Get all HDInsight Clusters in default Subscription or details for a specified ClusterName.
|
||||
}
|
||||
\seealso{
|
||||
Other HDInsight: \code{\link{AzureCreateHDI}},
|
||||
\code{\link{AzureDeleteHDI}}, \code{\link{AzureHDIConf}},
|
||||
\code{\link{AzureResizeHDI}},
|
||||
\code{\link{AzureRunScriptAction}},
|
||||
\code{\link{AzureScriptActionHistory}}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,22 +1,33 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureResources.R
|
||||
\name{AzureSM: AzureListRG}
|
||||
\name{AzureListRG}
|
||||
\alias{AzureListRG}
|
||||
\alias{AzureSM: AzureListRG}
|
||||
\title{Get all Resource Groups in default Subscription}
|
||||
\title{Get all Resource Groups in default Subscription.}
|
||||
\usage{
|
||||
AzureListRG(AzureActiveContext, SUBID, AT, verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
|
||||
\item{Token}{Token Object (or use AzureActiveContext)}
|
||||
|
||||
\item{SubscriptionID}{SubscriptionID Object (or use AzureActiveContext)}
|
||||
|
||||
\item{Verbose}{Print Tracing information (Default False)}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
}
|
||||
\value{
|
||||
Returns Dataframe of ResourceGroups
|
||||
}
|
||||
\description{
|
||||
Get all Resource Groups in default Subscription.
|
||||
}
|
||||
\seealso{
|
||||
Other Resources: \code{\link{AzureAuthenticate}},
|
||||
\code{\link{AzureCheckToken}},
|
||||
\code{\link{AzureCreateResourceGroup}},
|
||||
\code{\link{AzureDeleteResourceGroup}},
|
||||
\code{\link{AzureListAllRecources}},
|
||||
\code{\link{AzureListSubscriptions}}
|
||||
|
||||
Other Resources: \code{\link{AzureAuthenticate}},
|
||||
\code{\link{AzureCheckToken}},
|
||||
\code{\link{AzureCreateResourceGroup}},
|
||||
\code{\link{AzureDeleteResourceGroup}},
|
||||
\code{\link{AzureListAllRecources}},
|
||||
\code{\link{AzureListSubscriptions}}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,22 +1,34 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureBlob.R
|
||||
\name{AzureSM: AzureListSA}
|
||||
\name{AzureListSA}
|
||||
\alias{AzureListSA}
|
||||
\alias{AzureSM: AzureListSA}
|
||||
\title{List Storage accounts}
|
||||
\title{List Storage accounts.}
|
||||
\usage{
|
||||
AzureListSA(AzureActiveContext, ResourceGroup, SubscriptionID, AzToken,
|
||||
verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
|
||||
\item{ResourceGroup}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
\item{ResourceGroup}{ResourceGroup Object}
|
||||
|
||||
\item{SubscriptionID}{SubscriptionID Object (or use AzureActiveContext)}
|
||||
\item{SubscriptionID}{SubscriptionID Object}
|
||||
|
||||
\item{AzToken}{Token Object (or use AzureActiveContext)}
|
||||
|
||||
\item{verbose}{Print Tracing information (Default False)}
|
||||
}
|
||||
\description{
|
||||
List Storage accounts.
|
||||
}
|
||||
\seealso{
|
||||
Other Storage account: \code{\link{AzureBlobCD}},
|
||||
\code{\link{AzureBlobFind}}, \code{\link{AzureBlobLS}},
|
||||
\code{\link{AzureCreateSAContainer}},
|
||||
\code{\link{AzureCreateStorageAccount}},
|
||||
\code{\link{AzureDeleteSAContainer}},
|
||||
\code{\link{AzureDeleteStorageAccount}},
|
||||
\code{\link{AzureGetBlob}},
|
||||
\code{\link{AzureListSABlobs}},
|
||||
\code{\link{AzureListSAContainers}},
|
||||
\code{\link{AzurePutBlob}}, \code{\link{AzureSAGetKey}}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,28 +1,40 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureBlob.R
|
||||
\name{AzureSM: AzureListSABlobs}
|
||||
\name{AzureListSABlobs}
|
||||
\alias{AzureListSABlobs}
|
||||
\alias{AzureSM: AzureListSABlobs}
|
||||
\title{List Storage Containers for Specified Storage Account}
|
||||
\title{List Storage Containers for Specified Storage Account.}
|
||||
\usage{
|
||||
AzureListSABlobs(AzureActiveContext, StorageAccount, StorageKey, Container,
|
||||
ResourceGroup, SubscriptionID, AzToken, verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
|
||||
\item{StorageAccount}{StorageAccount}
|
||||
\item{StorageAccount}{StorageAccount Object}
|
||||
|
||||
\item{StorageKey}{StorageKey}
|
||||
\item{StorageKey}{StorageKey Object}
|
||||
|
||||
\item{Container}{Storage Container}
|
||||
\item{Container}{Container Object}
|
||||
|
||||
\item{ResourceGroup}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
\item{ResourceGroup}{ResourceGroup Object}
|
||||
|
||||
\item{SubscriptionID}{SubscriptionID Object (or use AzureActiveContext)}
|
||||
\item{SubscriptionID}{SubscriptionID Object}
|
||||
|
||||
\item{AzToken}{Token Object (or use AzureActiveContext)}
|
||||
|
||||
\item{verbose}{Print Tracing information (Default False)}
|
||||
}
|
||||
\description{
|
||||
List Storage Containers for Specified Storage Account.
|
||||
}
|
||||
\seealso{
|
||||
Other Storage account: \code{\link{AzureBlobCD}},
|
||||
\code{\link{AzureBlobFind}}, \code{\link{AzureBlobLS}},
|
||||
\code{\link{AzureCreateSAContainer}},
|
||||
\code{\link{AzureCreateStorageAccount}},
|
||||
\code{\link{AzureDeleteSAContainer}},
|
||||
\code{\link{AzureDeleteStorageAccount}},
|
||||
\code{\link{AzureGetBlob}},
|
||||
\code{\link{AzureListSAContainers}},
|
||||
\code{\link{AzureListSA}}, \code{\link{AzurePutBlob}},
|
||||
\code{\link{AzureSAGetKey}}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,26 +1,38 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureBlob.R
|
||||
\name{AzureSM: AzureListSAContainers}
|
||||
\name{AzureListSAContainers}
|
||||
\alias{AzureListSAContainers}
|
||||
\alias{AzureSM: AzureListSAContainers}
|
||||
\title{List Storage Containers for Specified Storage Account}
|
||||
\title{List Storage Containers for Specified Storage Account.}
|
||||
\usage{
|
||||
AzureListSAContainers(AzureActiveContext, StorageAccount, StorageKey,
|
||||
ResourceGroup, AzToken, SubscriptionID, verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
|
||||
\item{StorageAccount}{StorageAccount}
|
||||
\item{StorageAccount}{StorageAccount Object}
|
||||
|
||||
\item{StorageKey}{StorageKey}
|
||||
\item{StorageKey}{StorageKey Object}
|
||||
|
||||
\item{ResourceGroup}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
\item{ResourceGroup}{ResourceGroup Object}
|
||||
|
||||
\item{SubscriptionID}{SubscriptionID Object (or use AzureActiveContext)}
|
||||
\item{AzToken}{Token Object (or use AzureActiveContext)}
|
||||
|
||||
\item{verbose}{Print Tracing information (Default False)}
|
||||
|
||||
\item{Token}{Token Object (or use AzureActiveContext)}
|
||||
\item{SubscriptionID}{SubscriptionID Object}
|
||||
}
|
||||
\description{
|
||||
List Storage Containers for Specified Storage Account.
|
||||
}
|
||||
\seealso{
|
||||
Other Storage account: \code{\link{AzureBlobCD}},
|
||||
\code{\link{AzureBlobFind}}, \code{\link{AzureBlobLS}},
|
||||
\code{\link{AzureCreateSAContainer}},
|
||||
\code{\link{AzureCreateStorageAccount}},
|
||||
\code{\link{AzureDeleteSAContainer}},
|
||||
\code{\link{AzureDeleteStorageAccount}},
|
||||
\code{\link{AzureGetBlob}},
|
||||
\code{\link{AzureListSABlobs}},
|
||||
\code{\link{AzureListSA}}, \code{\link{AzurePutBlob}},
|
||||
\code{\link{AzureSAGetKey}}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureResources.R
|
||||
\name{AzureSM: AzureListSubscriptions}
|
||||
\name{AzureListSubscriptions}
|
||||
\alias{AzureListSubscriptions}
|
||||
\alias{AzureSM: AzureListSubscriptions}
|
||||
\title{Get available Subscriptions}
|
||||
\title{Get available Subscriptions.}
|
||||
\usage{
|
||||
AzureListSubscriptions(AzureActiveContext, ATI, verbose = FALSE)
|
||||
}
|
||||
|
@ -20,4 +19,12 @@ Returns Dataframe of SubscriptionID sets AzureContext SubscriptionID
|
|||
\description{
|
||||
Get available Subscriptions
|
||||
}
|
||||
\seealso{
|
||||
Other Resources: \code{\link{AzureAuthenticate}},
|
||||
\code{\link{AzureCheckToken}},
|
||||
\code{\link{AzureCreateResourceGroup}},
|
||||
\code{\link{AzureDeleteResourceGroup}},
|
||||
\code{\link{AzureListAllRecources}},
|
||||
\code{\link{AzureListRG}}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,15 +1,14 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureVM.R
|
||||
\name{AzureSM: AzureListVM}
|
||||
\name{AzureListVM}
|
||||
\alias{AzureListVM}
|
||||
\alias{AzureSM: AzureListVM}
|
||||
\title{List VMs in a Subscription}
|
||||
\title{List VMs in a Subscription.}
|
||||
\usage{
|
||||
AzureListVM(AzureActiveContext, ResourceGroup, Location, SubscriptionID,
|
||||
AzToken, verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
|
||||
\item{ResourceGroup}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
|
||||
|
@ -17,8 +16,16 @@ AzureListVM(AzureActiveContext, ResourceGroup, Location, SubscriptionID,
|
|||
|
||||
\item{SubscriptionID}{SubscriptionID Object (or use AzureActiveContext)}
|
||||
|
||||
\item{verbose}{Print Tracing information (Default False)}
|
||||
\item{AzToken}{Token Object (or use AzureActiveContext)}
|
||||
|
||||
\item{Token}{Token Object (or use AzureActiveContext)}
|
||||
\item{verbose}{Print Tracing information (Default False)}
|
||||
}
|
||||
\description{
|
||||
List VMs in a Subscription.
|
||||
}
|
||||
\seealso{
|
||||
Other Virtual Machine: \code{\link{AzureDeleteVM}},
|
||||
\code{\link{AzureStartVM}}, \code{\link{AzureStopVM}},
|
||||
\code{\link{AzureVMStatus}}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,37 +1,43 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureBlob.R
|
||||
\name{AzureSM: AzurePutBlob}
|
||||
\name{AzurePutBlob}
|
||||
\alias{AzurePutBlob}
|
||||
\alias{AzureSM: AzurePutBlob}
|
||||
\title{Write contents to a specifed Storage Blob}
|
||||
\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}{-Azure Context Object}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
|
||||
\item{Blob}{- Blob Name}
|
||||
\item{Blob}{Blob Object}
|
||||
|
||||
\item{Contents}{- Object to Store or Value}
|
||||
\item{StorageAccount}{StorageAccount Object}
|
||||
|
||||
\item{File}{- Local FileName to Store in Azure Blob}
|
||||
\item{StorageKey}{StorageKey Object}
|
||||
|
||||
\item{Directory}{- Directory location (leave for current directory)}
|
||||
\item{Container}{Container Object}
|
||||
|
||||
\item{StorageAccount}{- StorageAccount}
|
||||
\item{ResourceGroup}{ResourceGroup Object}
|
||||
|
||||
\item{StorageKey}{- StorageKey}
|
||||
\item{SubscriptionID}{SubscriptionID Object}
|
||||
|
||||
\item{Container}{- Storage Container}
|
||||
|
||||
\item{ResourceGroup}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
|
||||
\item{SubscriptionID}{- SubscriptionID Object (or use AzureActiveContext)}
|
||||
|
||||
\item{verbose}{- Print Tracing information (Default False)}
|
||||
|
||||
\item{Token}{- Token Object (or use AzureActiveContext)}
|
||||
\item{AzToken}{Token Object (or use AzureActiveContext)}
|
||||
}
|
||||
\description{
|
||||
Write contents to a specifed Storage Blob.
|
||||
}
|
||||
\seealso{
|
||||
Other Storage account: \code{\link{AzureBlobCD}},
|
||||
\code{\link{AzureBlobFind}}, \code{\link{AzureBlobLS}},
|
||||
\code{\link{AzureCreateSAContainer}},
|
||||
\code{\link{AzureCreateStorageAccount}},
|
||||
\code{\link{AzureDeleteSAContainer}},
|
||||
\code{\link{AzureDeleteStorageAccount}},
|
||||
\code{\link{AzureGetBlob}},
|
||||
\code{\link{AzureListSABlobs}},
|
||||
\code{\link{AzureListSAContainers}},
|
||||
\code{\link{AzureListSA}}, \code{\link{AzureSAGetKey}}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,30 +1,31 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureHDI.R
|
||||
\name{AzureSM: AzureResizeHDI}
|
||||
\name{AzureResizeHDI}
|
||||
\alias{AzureResizeHDI}
|
||||
\alias{AzureSM: AzureResizeHDI}
|
||||
\title{Resize a HDInsight CLuster Role}
|
||||
\title{Resize a HDInsight CLuster Role.}
|
||||
\usage{
|
||||
AzureResizeHDI(AzureActiveContext, ClusterName, Role = "worker", Size = 2,
|
||||
Mode = "Sync", AzToken, SubscriptionID, ResourceGroup, verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
|
||||
\item{ClusterName}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
\item{ClusterName}{ClusterName Object}
|
||||
|
||||
\item{Role}{Role Type (Worker, Head, Edge)}
|
||||
\item{SubscriptionID}{SubscriptionID Object}
|
||||
|
||||
\item{Size}{Desired size of Role Type}
|
||||
|
||||
\item{SubscriptionID}{SubscriptionID Object (or use AzureActiveContext)}
|
||||
|
||||
\item{ResourceGroup}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
\item{ResourceGroup}{ResourceGroup Object}
|
||||
|
||||
\item{verbose}{Print Tracing information (Default False)}
|
||||
|
||||
\item{MODE}{MODE Sync/Async}
|
||||
|
||||
\item{Token}{Token Object (or use AzureActiveContext)}
|
||||
}
|
||||
\description{
|
||||
Resize a HDInsight CLuster Role.
|
||||
}
|
||||
\seealso{
|
||||
Other HDInsight: \code{\link{AzureCreateHDI}},
|
||||
\code{\link{AzureDeleteHDI}}, \code{\link{AzureHDIConf}},
|
||||
\code{\link{AzureListHDI}},
|
||||
\code{\link{AzureRunScriptAction}},
|
||||
\code{\link{AzureScriptActionHistory}}
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,46 @@
|
|||
% 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{AzToken}{Token Object (or use AzureActiveContext)}
|
||||
|
||||
\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: \code{\link{AzureCreateHDI}},
|
||||
\code{\link{AzureDeleteHDI}}, \code{\link{AzureHDIConf}},
|
||||
\code{\link{AzureListHDI}}, \code{\link{AzureResizeHDI}},
|
||||
\code{\link{AzureScriptActionHistory}}
|
||||
}
|
||||
|
|
@ -1,52 +1,36 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureBlob.R
|
||||
\name{AzureSM: AzureSAGetKey}
|
||||
\alias{AzureCreateStorageAccount}
|
||||
\alias{AzureDeleteStorageAccount}
|
||||
\name{AzureSAGetKey}
|
||||
\alias{AzureSAGetKey}
|
||||
\alias{AzureSM: AzureCreateStorageAccount}
|
||||
\alias{AzureSM: AzureDeleteStorageAccount}
|
||||
\alias{AzureSM: AzureSAGetKey}
|
||||
\title{Get the Storage Keys for Specified Storage Account}
|
||||
\title{Get the Storage Keys for Specified Storage Account.}
|
||||
\usage{
|
||||
AzureSAGetKey(AzureActiveContext, StorageAccount, AzToken, ResourceGroup,
|
||||
SubscriptionID, verbose = FALSE)
|
||||
|
||||
AzureCreateStorageAccount(AzureActiveContext, StorageAccount, AzToken,
|
||||
ResourceGroup, SubscriptionID, verbose = FALSE)
|
||||
|
||||
AzureDeleteStorageAccount(AzureActiveContext, StorageAccount, AzToken,
|
||||
ResourceGroup, SubscriptionID, verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
|
||||
\item{StorageAccount}{StorageAccount}
|
||||
|
||||
\item{ResourceGroup}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
\item{AzToken}{Token Object (or use AzureActiveContext)}
|
||||
|
||||
\item{verbose}{Print Tracing information (Default False)}
|
||||
\item{ResourceGroup}{ResourceGroup Object}
|
||||
|
||||
\item{Token}{Token Object (or use AzureActiveContext)}
|
||||
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
|
||||
\item{StorageAccount}{StorageAccount}
|
||||
|
||||
\item{Token}{Token Object (or use AzureActiveContext)}
|
||||
|
||||
\item{ResourceGroup}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
|
||||
\item{verbose}{Print Tracing information (Default False)}
|
||||
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
|
||||
\item{StorageAccount}{StorageAccount}
|
||||
|
||||
\item{Token}{Token Object (or use AzureActiveContext)}
|
||||
|
||||
\item{ResourceGroup}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
|
||||
\item{verbose}{Print Tracing information (Default False)}
|
||||
\item{SubscriptionID}{SubscriptionID Object}
|
||||
}
|
||||
\description{
|
||||
Get the Storage Keys for Specified Storage Account.
|
||||
}
|
||||
\seealso{
|
||||
Other Storage account: \code{\link{AzureBlobCD}},
|
||||
\code{\link{AzureBlobFind}}, \code{\link{AzureBlobLS}},
|
||||
\code{\link{AzureCreateSAContainer}},
|
||||
\code{\link{AzureCreateStorageAccount}},
|
||||
\code{\link{AzureDeleteSAContainer}},
|
||||
\code{\link{AzureDeleteStorageAccount}},
|
||||
\code{\link{AzureGetBlob}},
|
||||
\code{\link{AzureListSABlobs}},
|
||||
\code{\link{AzureListSAContainers}},
|
||||
\code{\link{AzureListSA}}, \code{\link{AzurePutBlob}}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureResources.R
|
||||
\name{AzureSM: AzureCheckToken}
|
||||
\alias{AzureCheckToken}
|
||||
\alias{AzureSM: AzureCheckToken}
|
||||
\title{Check the timestamp of a Token and Renew if needed.}
|
||||
\usage{
|
||||
AzureCheckToken(AzureActiveContext)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
}
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureTemplate.R
|
||||
\name{AzureSM: AzureDeleteDeploy}
|
||||
\alias{AzureDeleteDeploy}
|
||||
\alias{AzureSM: AzureDeleteDeploy}
|
||||
\title{Delete Template Deployment}
|
||||
\usage{
|
||||
AzureDeleteDeploy(AzureActiveContext, DeplName, ResourceGroup, SubscriptionID,
|
||||
AzToken, verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
|
||||
\item{DeplName}{DeplName}
|
||||
|
||||
\item{ResourceGroup}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
|
||||
\item{SubscriptionID}{SubscriptionID Object (or use AzureActiveContext)}
|
||||
|
||||
\item{Token}{Token Object (or use AzureActiveContext)}
|
||||
|
||||
\item{Verbose}{Print Tracing information (Default False)}
|
||||
}
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureTemplate.R
|
||||
\name{AzureSM: AzureDeployStatus}
|
||||
\alias{AzureDeployStatus}
|
||||
\alias{AzureSM: AzureDeployStatus}
|
||||
\title{Check Template DeployStatus}
|
||||
\usage{
|
||||
AzureDeployStatus(AzureActiveContext, DeplName, ResourceGroup, SubscriptionID,
|
||||
AzToken, verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
|
||||
\item{DeplName}{DeplName}
|
||||
|
||||
\item{ResourceGroup}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
|
||||
\item{SubscriptionID}{SubscriptionID Object (or use AzureActiveContext)}
|
||||
|
||||
\item{Token}{Token Object (or use AzureActiveContext)}
|
||||
|
||||
\item{Verbose}{Print Tracing information (Default False)}
|
||||
}
|
||||
|
|
@ -0,0 +1,33 @@
|
|||
% 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 Historyfor a specified ClusterName.}
|
||||
\usage{
|
||||
AzureScriptActionHistory(AzureActiveContext, ResourceGroup, ClusterName = "*",
|
||||
SubscriptionID, ATI, Name, Type, verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
|
||||
\item{ResourceGroup}{ResourceGroup Object}
|
||||
|
||||
\item{ClusterName}{ClusterName Object}
|
||||
|
||||
\item{SubscriptionID}{SubscriptionID Object}
|
||||
|
||||
\item{verbose}{Print Tracing information (Default False)}
|
||||
}
|
||||
\value{
|
||||
Returns Dataframe of HDInsight Clusters
|
||||
}
|
||||
\description{
|
||||
Get all HDInsight Script Action Historyfor a specified ClusterName.
|
||||
}
|
||||
\seealso{
|
||||
Other HDInsight: \code{\link{AzureCreateHDI}},
|
||||
\code{\link{AzureDeleteHDI}}, \code{\link{AzureHDIConf}},
|
||||
\code{\link{AzureListHDI}}, \code{\link{AzureResizeHDI}},
|
||||
\code{\link{AzureRunScriptAction}}
|
||||
}
|
||||
|
|
@ -1,26 +1,34 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureSpark.R
|
||||
\name{AzureSM: AzureSparkCMD}
|
||||
\alias{AzureSM: AzureSparkCMD}
|
||||
\name{AzureSparkCMD}
|
||||
\alias{AzureSparkCMD}
|
||||
\title{Send Spark Statements/comamnds (REPL/Interactive mode)}
|
||||
\title{Send Spark Statements/comamnds (REPL/Interactive mode).}
|
||||
\usage{
|
||||
AzureSparkCMD(AzureActiveContext, CMD, ClusterName, HDIAdmin, HDIPassword,
|
||||
SessionID, verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
|
||||
\item{CMD}{CMD}
|
||||
\item{ClusterName}{ClusterName Object}
|
||||
|
||||
\item{ClusterName}{ClusterName}
|
||||
\item{HDIAdmin}{HDIAdmin Object}
|
||||
|
||||
\item{HDIAdmin}{HDIAdmin - HDinsight Administrator Name}
|
||||
\item{HDIPassword}{HDIPassword Object}
|
||||
|
||||
\item{HDIPassword}{HDinsight Administrator Name}
|
||||
\item{SessionID}{SessionID Object}
|
||||
|
||||
\item{SessionID}{SessionID}
|
||||
|
||||
\item{Verbose}{Print Tracing information (Default False)}
|
||||
\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}}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,24 +1,32 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureSpark.R
|
||||
\name{AzureSM: AzureSparkJob}
|
||||
\alias{AzureSM: AzureSparkJob}
|
||||
\name{AzureSparkJob}
|
||||
\alias{AzureSparkJob}
|
||||
\title{Submit Spark Job (Batch mode)}
|
||||
\title{Submit Spark Job (Batch mode).}
|
||||
\usage{
|
||||
AzureSparkJob(AzureActiveContext, FILE, ClusterName, HDIAdmin, HDIPassword,
|
||||
Log = "URL", verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
|
||||
\item{FILE}{FILE}
|
||||
\item{ClusterName}{ClusterName Object}
|
||||
|
||||
\item{ClusterName}{ClusterName}
|
||||
\item{HDIAdmin}{HDIAdmin Object}
|
||||
|
||||
\item{HDIAdmin}{HDIAdmin - HDinsight Administrator Name}
|
||||
\item{HDIPassword}{HDIPassword Object}
|
||||
|
||||
\item{HDIPassword}{HDinsight Administrator Name}
|
||||
|
||||
\item{Verbose}{Print Tracing information (Default False)}
|
||||
\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}}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,25 +1,35 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureSpark.R
|
||||
\name{AzureSM: AzureSparkListJobs}
|
||||
\alias{AzureSM: AzureSparkListJobs}
|
||||
\name{AzureSparkListJobs}
|
||||
\alias{AzureSparkListJobs}
|
||||
\title{List Spark Jobs (Batch mode)}
|
||||
\title{List Spark Jobs (Batch mode).}
|
||||
\usage{
|
||||
AzureSparkListJobs(AzureActiveContext, ClusterName, HDIAdmin, HDIPassword, KIND,
|
||||
verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
|
||||
\item{ClusterName}{ClusterName}
|
||||
\item{ClusterName}{ClusterName Object}
|
||||
|
||||
\item{HDIAdmin}{HDIAdmin - HDinsight Administrator Name}
|
||||
\item{HDIAdmin}{HDIAdmin Object}
|
||||
|
||||
\item{HDIPassword}{HDinsight Administrator Name}
|
||||
\item{HDIPassword}{HDIPassword Object}
|
||||
|
||||
\item{Verbose}{Print Tracing information (Default False)}
|
||||
\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}}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,22 +1,32 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureSpark.R
|
||||
\name{AzureSM: AzureSparkListSessions}
|
||||
\alias{AzureSM: AzureSparkListSessions}
|
||||
\name{AzureSparkListSessions}
|
||||
\alias{AzureSparkListSessions}
|
||||
\title{List Spark Sessions}
|
||||
\title{List Spark Sessions.}
|
||||
\usage{
|
||||
AzureSparkListSessions(AzureActiveContext, ClusterName, HDIAdmin, HDIPassword,
|
||||
verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
|
||||
\item{ClusterName}{ClusterName}
|
||||
\item{ClusterName}{ClusterName Object}
|
||||
|
||||
\item{HDIAdmin}{HDIAdmin - HDinsight Administrator Name}
|
||||
\item{HDIAdmin}{HDIAdmin Object}
|
||||
|
||||
\item{HDIPassword}{HDinsight Administrator Name}
|
||||
\item{HDIPassword}{HDIPassword Object}
|
||||
|
||||
\item{Verbose}{Print Tracing information (Default False)}
|
||||
\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}}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,15 +1,14 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureSpark.R
|
||||
\name{AzureSM: AzureSparkNewSession}
|
||||
\alias{AzureSM: AzureSparkNewSession}
|
||||
\name{AzureSparkNewSession}
|
||||
\alias{AzureSparkNewSession}
|
||||
\title{Create new Spark Session}
|
||||
\title{Create new Spark Session.}
|
||||
\usage{
|
||||
AzureSparkNewSession(AzureActiveContext, ClusterName, HDIAdmin, HDIPassword,
|
||||
Kind = "spark", verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
|
||||
\item{ClusterName}{ClusterName}
|
||||
|
||||
|
@ -21,4 +20,15 @@ AzureSparkNewSession(AzureActiveContext, ClusterName, HDIAdmin, HDIPassword,
|
|||
|
||||
\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}}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,18 +1,26 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureSpark.R
|
||||
\name{AzureSM: AzureSparkShowURL}
|
||||
\alias{AzureSM: AzureSparkShowURL}
|
||||
\name{AzureSparkShowURL}
|
||||
\alias{AzureSparkShowURL}
|
||||
\title{Show Spark Log Output}
|
||||
\title{Show Spark Log Output.}
|
||||
\usage{
|
||||
AzureSparkShowURL(AzureActiveContext, URL)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
|
||||
\item{URL}{(From Batch Job)}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
}
|
||||
\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}}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,24 +1,34 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureSpark.R
|
||||
\name{AzureSM: AzureSparkStopSession}
|
||||
\alias{AzureSM: AzureSparkStopSession}
|
||||
\name{AzureSparkStopSession}
|
||||
\alias{AzureSparkStopSession}
|
||||
\title{Stop a Spark Sessions}
|
||||
\title{Stop a Spark Sessions.}
|
||||
\usage{
|
||||
AzureSparkStopSession(AzureActiveContext, ClusterName, HDIAdmin, HDIPassword,
|
||||
SessionID, verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
|
||||
\item{ClusterName}{ClusterName}
|
||||
\item{ClusterName}{ClusterName Object}
|
||||
|
||||
\item{HDIAdmin}{HDIAdmin - HDinsight Administrator Name}
|
||||
\item{HDIAdmin}{HDIAdmin Object}
|
||||
|
||||
\item{HDIPassword}{HDinsight Administrator Name}
|
||||
\item{HDIPassword}{HDIPassword Object}
|
||||
|
||||
\item{SessionID}{SessionID see AzureSparkListSessions)}
|
||||
\item{SessionID}{SessionID Object}
|
||||
|
||||
\item{Verbose}{Print Tracing information (Default False)}
|
||||
\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}}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,26 +1,33 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureVM.R
|
||||
\name{AzureSM: AzureListVM}
|
||||
\alias{AzureSM: AzureListVM}
|
||||
\name{AzureStartVM}
|
||||
\alias{AzureStartVM}
|
||||
\title{Start a Virtual Machine}
|
||||
\title{Start a Virtual Machine.}
|
||||
\usage{
|
||||
AzureStartVM(AzureActiveContext, ResourceGroup, VMName, Mode = "Sync",
|
||||
SubscriptionID, AzToken, verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
|
||||
\item{ResourceGroup}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
|
||||
\item{VMName}{Virtual Machine Name}
|
||||
|
||||
\item{Mode}{Wait for operation to complete "Sync" (Default)}
|
||||
|
||||
\item{SubscriptionID}{SubscriptionID Object (or use AzureActiveContext)}
|
||||
|
||||
\item{Sync}{- Wait for operation to complete "Sync" (Default)}
|
||||
\item{AzToken}{Token Object (or use AzureActiveContext)}
|
||||
|
||||
\item{Token}{Token Object (or use AzureActiveContext)}
|
||||
|
||||
\item{Verbose}{Print Tracing information (Default False)}
|
||||
\item{verbose}{Print Tracing information (Default False)}
|
||||
}
|
||||
\description{
|
||||
Start a Virtual Machine.
|
||||
}
|
||||
\seealso{
|
||||
Other Virtual Machine: \code{\link{AzureDeleteVM}},
|
||||
\code{\link{AzureListVM}}, \code{\link{AzureStopVM}},
|
||||
\code{\link{AzureVMStatus}}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,26 +1,33 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureVM.R
|
||||
\name{AzureSM: AzureStopVM}
|
||||
\alias{AzureSM: AzureStopVM}
|
||||
\name{AzureStopVM}
|
||||
\alias{AzureStopVM}
|
||||
\title{Stop a Virtual Machine}
|
||||
\title{Stop a Virtual Machine.}
|
||||
\usage{
|
||||
AzureStopVM(AzureActiveContext, ResourceGroup, VMName, Mode = "Sync",
|
||||
SubscriptionID, AzToken, verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
|
||||
\item{ResourceGroup}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
\item{ResourceGroup}{ResourceGroup Object}
|
||||
|
||||
\item{VMName}{Virtual Machine Name}
|
||||
\item{VMName}{VMName Object}
|
||||
|
||||
\item{SubscriptionID}{SubscriptionID Object (or use AzureActiveContext)}
|
||||
\item{Mode}{Wait for operation to complete "Sync" (Default)}
|
||||
|
||||
\item{Sync}{- Wait for operation to complete "Sync" (Default)}
|
||||
\item{SubscriptionID}{SubscriptionID Object}
|
||||
|
||||
\item{Token}{Token Object (or use AzureActiveContext)}
|
||||
\item{AzToken}{Token Object (or use AzureActiveContext)}
|
||||
|
||||
\item{Verbose}{Print Tracing information (Default False)}
|
||||
\item{verbose}{Print Tracing information (Default False)}
|
||||
}
|
||||
\description{
|
||||
Stop a Virtual Machine.
|
||||
}
|
||||
\seealso{
|
||||
Other Virtual Machine: \code{\link{AzureDeleteVM}},
|
||||
\code{\link{AzureListVM}}, \code{\link{AzureStartVM}},
|
||||
\code{\link{AzureVMStatus}}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,24 +1,31 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/AzureVM.R
|
||||
\name{AzureSM: AzureVMStatus}
|
||||
\alias{AzureSM: AzureVMStatus}
|
||||
\name{AzureVMStatus}
|
||||
\alias{AzureVMStatus}
|
||||
\title{Get Status of a Virtual Machine}
|
||||
\title{Get Status of a Virtual Machine.}
|
||||
\usage{
|
||||
AzureVMStatus(AzureActiveContext, ResourceGroup, VMName, SubscriptionID,
|
||||
AzToken, Ignore = "N", verbose = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{AzureActiveContext}{Azure Context Object}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
|
||||
\item{ResourceGroup}{ResourceGroup Object (or use AzureActiveContext)}
|
||||
\item{ResourceGroup}{ResourceGroup Object}
|
||||
|
||||
\item{VMName}{Virtual Machine Name}
|
||||
\item{VMName}{VMName Object}
|
||||
|
||||
\item{SubscriptionID}{SubscriptionID Object (or use AzureActiveContext)}
|
||||
\item{SubscriptionID}{SubscriptionID Object}
|
||||
|
||||
\item{Token}{Token Object (or use AzureActiveContext)}
|
||||
\item{AzToken}{Token Object (or use AzureActiveContext)}
|
||||
|
||||
\item{Verbose}{Print Tracing information (Default False)}
|
||||
\item{verbose}{Print Tracing information (Default False)}
|
||||
}
|
||||
\description{
|
||||
Get Status of a Virtual Machine.
|
||||
}
|
||||
\seealso{
|
||||
Other Virtual Machine: \code{\link{AzureDeleteVM}},
|
||||
\code{\link{AzureListVM}}, \code{\link{AzureStartVM}},
|
||||
\code{\link{AzureStopVM}}
|
||||
}
|
||||
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
% Please edit documentation in R/AzureContextObject.R
|
||||
\name{CreateAzureContext}
|
||||
\alias{CreateAzureContext}
|
||||
\title{AzureSM: Create an AzureContext}
|
||||
\title{Create an AzureContext.}
|
||||
\usage{
|
||||
CreateAzureContext()
|
||||
}
|
||||
\description{
|
||||
CreateAzureContext
|
||||
Create an AzureContext.
|
||||
}
|
||||
\details{
|
||||
Create an AzureContext
|
||||
\seealso{
|
||||
Other Context Object: \code{\link{DumpAzureContext}}
|
||||
}
|
||||
|
||||
|
|
|
@ -2,17 +2,17 @@
|
|||
% Please edit documentation in R/AzureContextObject.R
|
||||
\name{DumpAzureContext}
|
||||
\alias{DumpAzureContext}
|
||||
\title{AzureSM: Dumps the contents of the AzureContext}
|
||||
\title{Dumps the contents of the AzureContext.}
|
||||
\usage{
|
||||
DumpAzureContext(AzEnv)
|
||||
DumpAzureContext(AzureActiveContext)
|
||||
}
|
||||
\arguments{
|
||||
\item{Azure}{Context Object}
|
||||
\item{AzureActiveContext}{Context Object}
|
||||
}
|
||||
\description{
|
||||
DumpAzureContext
|
||||
Dumps the contents of the AzureContext.
|
||||
}
|
||||
\details{
|
||||
Dumps the contents of the AzureContext
|
||||
\seealso{
|
||||
Other Context Object: \code{\link{CreateAzureContext}}
|
||||
}
|
||||
|
||||
|
|
|
@ -2,13 +2,15 @@
|
|||
% Please edit documentation in R/AzureContextObject.R
|
||||
\name{SetAzureContext}
|
||||
\alias{SetAzureContext}
|
||||
\title{AzureSM: Updates the value of an AzureContext variable}
|
||||
\title{Updates the value of an AzureContext variable.}
|
||||
\usage{
|
||||
SetAzureContext(AzureActiveContext, TID, CID, KEY, Token, 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}
|
||||
|
@ -40,18 +42,8 @@ SetAzureContext(AzureActiveContext, TID, CID, KEY, Token, SubscriptionID,
|
|||
\item{Kind}{Kind Object}
|
||||
|
||||
\item{SessionID}{SessionID Object}
|
||||
|
||||
\item{Azure}{Context Object}
|
||||
|
||||
\item{Log}{Log Object#'}
|
||||
}
|
||||
\description{
|
||||
AzureSM: SetAzureContext
|
||||
}
|
||||
\details{
|
||||
Updates the value of an AzureContext variable
|
||||
}
|
||||
\author{
|
||||
Alan Weaver
|
||||
Updates the value of an AzureContext variable.
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче