az_cli_run: Run Azure CLI Wraps the Azure Command-Line Interface (CLI).

Description Usage Arguments Value Functions

View source: R/cli.R

Description

Run Azure CLI Wraps the Azure Command-Line Interface (CLI).

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
az_cli_run(
  cmd,
  req = NULL,
  opt = NULL,
  add = NULL,
  extra = NULL,
  echo_cmd = FALSE,
  echo = FALSE,
  ...
)

az_cli_run_slot(slot, ...)

Arguments

cmd, req, opt, add

Command, required, optional, additional, extra parameters, as for processx::run() add parameters are reserved for the user to pass down additional arguments to the Azure CLI. extra parameters are reserved for internal use.

echo_cmd

Whether to print the command to run to the screen.

echo

Whether to print the standard output and error to the screen. Note that the order of the standard output and error lines are not necessarily correct, as standard output is typically buffered.

...

Extra arguments are passed to process$new(), see process. Note that you cannot pass stout or stderr here, because they are used internally by run(). You can use the stdout_callback, stderr_callback, etc. arguments to manage the standard output and error, or the process class directly if you need more flexibility.

slot

The name of the deployment slot. Defaults to the production slot if not specified. Only available for higher app service plan tiers.

Value

(invisible) stdout parsed through jsonlite::fromJSON()

Functions


subugoe/AzureAppService documentation built on Nov. 24, 2020, 5:39 a.m.