ibm-cloud-infrastructure - Softlayer Virtual Guest - Invalid value provided for tags
问题描述
I am setting the tag value for a Virtual Guest with the following method
vs_object.setTags
I am setting the tag value with ( ) in it. And its giving error that
XMLRPC::FaultException: Invalid value provided for 'tags'. Invalid tag names:Key:121 software (sd log)
When I remove the curly bracket the set tag method works. Please let me know which all special characters are not allowed while setting the tag. This link did not provide much information about the allowed characters in tags
解决方案
这里有关于标签 调用 API 方法 SoftLayer_Virtual_Guest/setTags.json 由于“无效标签名称”而失败的允许值的信息
允许的字符是 AZ、0-9、空格、_(下划线)、-(连字符)、. (句点)和:(冒号),
您还可以查看Softlayer :标记设备以了解有关标记的更多信息
推荐阅读
- javascript - 学习如何构建一个重新生成的数组列表
- reactjs - 动态组件测试覆盖的延迟加载
- android - Android studio - 每次清理然后安装
- sql - oracle 11G如何单独导出数据库
- nginx - 从 nginx 中删除了网站,但仍然可以通过 URL 访问,只需使用 HTTPS
- jenkins - java.io.IOException:无法通过代理隧道。代理返回“HTTP/1.1 403 Forbidden”
- python - 具有分类值的散景 hbar 示例 = 白框
- python - 我将如何处理与 C++ 字典中的字典等效的 pythons?
- python - 如何将特殊字符列表替换为熊猫数据框中的单个字符
- java - NullPointerException at org.bouncycastle.crypto.signers.PSSSigner.generateSignature(未知来源)~[bcprov-ext-jdk15on-1.61.jar:1.61.0.0]