从虚拟网络内访问天青表 [英] Accessing Azure Tables from within a virtual network

查看:178
本文介绍了从虚拟网络内访问天青表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法到虚拟网络内使用此API访问蔚蓝的桌子吗?存储帐户已创建pre-虚拟网络。目前,code正常工作(测试辅助角色),创建一个表,但失败时,我把它放在一个虚拟的网络中。

Is there any way to access an azure table using the API from within a virtual network? The storage account was created pre-virtual network. Currently, the code works fine (a test worker role) that creates a table, but fails when I place it inside a virtual network.

这是不可能的异常报告上被抛出的没有什么是诊断显示

It's not possible to report on the exception being thrown as nothing is shown in diagnostics

         CloudTable table = tableClient.GetTableReference("test");
         bool retVal = table.CreateIfNotExists();

感谢

推荐答案

我不知道你是如何创建表的客户端,但表的存储访问,通过REST调用(或通过软件开发工具包,然后让REST调用)是直接完成到存储帐户,该帐户不能的被添加到虚拟网络

I'm not sure how you're creating your table client, but Table Storage access, via REST calls (or through SDKs which then make REST calls) is done directly to the storage account, which cannot be added to a virtual network.

所有存储的调用将正常工作,无论你是从一个片premises应用使得那些电话,一个应用程序在非VNET VM /云服务/ Web应用程序/移动应用程序,或VNET内的东西。

All storage calls will work, whether you're making those calls from an on-premises app, an app in a non-vnet VM/cloud service/web app/mobile app, or something within a vnet.

这篇关于从虚拟网络内访问天青表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆