Azure表存储名称-无效字符 [英] Azure table storage names - invalid characters

查看:75
本文介绍了Azure表存储名称-无效字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Azure表存储中具有以下表名.表名是在我的应用程序中自动生成的,然后使用table.CreateIfNotExists(tableName)创建.有些工作,有些则没有.当我深入研究错误时,扩展的错误信息告诉我资源名称包含无效字符-但是我不知所措,无法找出失败名称中的无效字符-任何人都可以发现这一点吗?

I have the following table names in Azure table storage. Table names are generated automatically in my application and then created using table.CreateIfNotExists(tableName). Some work and some don't. When I dig into the error the extended error information tells me that the resource name contains invalid characters - however I am at a loss to work out what is invalid in the failing names - can anyone spot this?

8836461cc98249bea59dc5f6790d40edstk365developmentusers

–指定的资源名称包含无效字符

– the specified resource name contains invalid characters

8836461cc98249bea59dc5f6790d40edstk365developmenttasks

–指定的资源名称包含无效字符

– the specified resource name contains invalid characters

af0589646af645b98f749d92a5b2ee25stk365developmentusers

–有效

推荐答案

表名不能以数字开头.因此,以8开头的第一个示例无效.

Table names cannot start with a number. So your first example, starting with 8, isn't valid.

表名也限制为63个字符.您尚未显示如何生成名称,但这也可能是您遇到的限制.

Table names are also limited to 63 characters. You haven't shown how you're generating names, but that could also be a limitation you're running into.

完整规则详细信息为这里.

这篇关于Azure表存储名称-无效字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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