get_storage_account {AzureStor} | R Documentation |
Get existing Azure storage account(s)
Description
Methods for the AzureRMR::az_resource_group and AzureRMR::az_subscription classes.
Usage
get_storage_account(name) list_storage_accounts()
Arguments
-
name
: Forget_storage_account()
, the name of the storage account.
Details
The AzureRMR::az_resource_group
class has both get_storage_account()
and list_storage_accounts()
methods, while the AzureRMR::az_subscription
class only has the latter.
Value
For get_storage_account()
, an object of class az_storage
representing the storage account.
For list_storage_accounts()
, a list of such objects.
See Also
create_storage_account, delete_storage_account, az_storage, Azure Storage Provider API reference
Examples
## Not run:
rg <- AzureRMR::az_rm$
new(tenant="myaadtenant.onmicrosoft.com", app="app_id", password="password")$
get_subscription("subscription_id")$
get_resource_group("rgname")
# get a storage account
rg$get_storage_account("mystorage")
## End(Not run)
[Package AzureStor version 3.7.0 Index]