Skip to content

allAzureNativeStorageAccountsFromAzure

Retrieves list of all storage Accounts in a subscription.

Arguments

Argument Type Description
azureSubscriptionRubrikId (required) UUID! Rubrik ID of the Azure Subscription.

Returns

[AzureNativeStorageAccount!]!

Sample

query AllAzureNativeStorageAccountsFromAzure($azureSubscriptionRubrikId: UUID!) {
  allAzureNativeStorageAccountsFromAzure(azureSubscriptionRubrikId: $azureSubscriptionRubrikId) {
    id
    name
    region
    resourceGroupName
  }
}
{
  "azureSubscriptionRubrikId": "00000000-0000-0000-0000-000000000000"
}
{
  "data": {
    "allAzureNativeStorageAccountsFromAzure": [
      {
        "id": "example-string",
        "name": "example-string",
        "region": "AUSTRALIA_CENTRAL",
        "resourceGroupName": "example-string",
        "tags": [
          {
            "key": "example-string",
            "value": "example-string"
          }
        ]
      }
    ]
  }
}