Skip to content

allAzureNativeKeyVaultsByRegionFromAzure

Retrieves a list of all key vaults in the specified region and subscription. This is required for enabling cross region export of ADE Enabled VMs. For more information, see https://learn.microsoft.com/en-us/azure/key-vault.

Arguments

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

Returns

[AzureNativeKeyVault!]!

Sample

query AllAzureNativeKeyVaultsByRegionFromAzure($azureSubscriptionRubrikId: UUID!, $region: AzureNativeRegion!) {
  allAzureNativeKeyVaultsByRegionFromAzure(
    azureSubscriptionRubrikId: $azureSubscriptionRubrikId
    region: $region
  ) {
    name
    nativeId
    resourceGroupName
  }
}
{
  "azureSubscriptionRubrikId": "00000000-0000-0000-0000-000000000000",
  "region": "AUSTRALIA_CENTRAL"
}
{
  "data": {
    "allAzureNativeKeyVaultsByRegionFromAzure": [
      {
        "name": "example-string",
        "nativeId": "example-string",
        "resourceGroupName": "example-string"
      }
    ]
  }
}