class AzureStorage {

    public String getImageStorageName(AzureCredentialView acv, CloudContext cloudContext, CloudStack cloudStack) {
        if (azureResourceGroupMetadataProvider.useSingleResourceGroup(cloudStack)) {
            String resourceGroupName = azureResourceGroupMetadataProvider.getResourceGroupName(cloudContext, cloudStack);
            return getPersistentStorageName(imageStorePrefix, acv, cloudContext.getLocation().getRegion().value(), resourceGroupName);
        } else {
            return getPersistentStorageName(imageStorePrefix, acv, cloudContext.getLocation().getRegion().value(), null);
        }
    }

}