在Azure存储服务的错误消息中找到错字 [英] Found typo in an error message in Azure Storage Service

查看:100
本文介绍了在Azure存储服务的错误消息中找到错字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我被要求在Twitter上在此论坛上发布有关错字的信息:


I was asked on twitter to post about the typo in this forum:

当调用"cloudBlobClient.GetContainerReference("Reinke-Wins"))时,出现异常,并带有message ='The 指定的资源名称包含无效字符.'

我下载了一个Blob存储示例,只是想要一个更好的容器名称,却不知道它必须是小写字母.

/索伦

When calling 'cloudBlobClient.GetContainerReference("Reinke-Wins")' i get an exception with message= 'The specifed resource name contains invalid characters.'

I had downloaded a Blob Storage example, and just wanted a better container name, without knowing it has to be lower case.

/Søren

#Azure存储服务

#Azure Storage Service

推荐答案

容器名称必须是有效的DNS名称,并符合以下命名规则:

  1. 容器名称必须开头
  2. 每个破折号(-)之前必须紧跟字母和数字;不允许连续的破折号
  3. 容器名称的长度必须在3到63个字符之间.
  1. Container names must start with a letter or number, and can contain only letters, numbers, and the dash (-) character.
  2. Every dash (-) character must be immediately preceded and followed by a letter or number; consecutive dashes are not permitted in container names.
  3. All letters in a container name must be lowercase.
  4. Container names must be from 3 through 63 characters long.

示例:



有关更多信息,建议您参考 命名和引用容器,Blob和元数据.



For more information, suggest you to refer Naming and Referencing Containers, Blobs, and Metadata.


-----------------------------------------------------------------------------------------------

span>

If this answer was helpful, click "Mark as Answer" or "Up-Vote". To provide additional feedback on your forum experience, click here


这篇关于在Azure存储服务的错误消息中找到错字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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