legacy_azure {pins} | R Documentation |
Azure board (legacy API)
Description
To use Microsoft Azure Storage as a board, you'll need an Azure Storage account, an Azure Storage container, and an Azure Storage key. You can sign-up and create those at portal.azure.com.
Usage
legacy_azure(
container = Sys.getenv("AZURE_STORAGE_CONTAINER"),
account = Sys.getenv("AZURE_STORAGE_ACCOUNT"),
key = Sys.getenv("AZURE_STORAGE_KEY"),
cache = NULL,
name = "azure",
...
)
board_register_azure(
name = "azure",
container = Sys.getenv("AZURE_STORAGE_CONTAINER"),
account = Sys.getenv("AZURE_STORAGE_ACCOUNT"),
key = Sys.getenv("AZURE_STORAGE_KEY"),
cache = NULL,
path = NULL,
...
)
Arguments
container |
The name of the Azure Storage container. |
account |
The name of the Azure Storage account. |
key |
The access key for the Azure Storage container. You can find this under "Access keys" in your storage account settings. The |
cache |
Cache path. Every board requires a local cache to avoid downloading files multiple times. The default stores in a standard cache location for your operating system, but you can override if needed. |
name |
An optional name used identify the board. This is no longer generally needed since you should be passing around an explicit board object. |
... |
Additional parameters required to initialize a particular board. |
path |
Subdirectory within |
Examples
## Not run:
# the following example requires an Azure Storage key
board_register_azure(
container = "pinscontainer",
account = "pinsstorage",
key = "abcabcabcabcabcabcabcabcabcab=="
)
## End(Not run)