get_storage_account function

Get existing Azure storage account(s)

Get existing Azure storage account(s)

Methods for the AzureRMR::az_resource_group and AzureRMR::az_subscription classes.

Usage

get_storage_account(name)
list_storage_accounts()

Arguments

  • name: For get_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.

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)

See Also

create_storage_account , delete_storage_account , az_storage , Azure Storage Provider API reference

  • Maintainer: Hong Ooi
  • License: MIT + file LICENSE
  • Last published: 2022-05-25