是否有REST API来获取给定资源的所有命名规则和限制? [英] Is there a REST API to get all the naming rules and restrictions given a resource?

查看:86
本文介绍了是否有REST API来获取给定资源的所有命名规则和限制?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我提供了这种类型的资源,我想知道是否有一个REST API或类似的东西会给我所有命名资源的规则。特别是,我想知道最大长度,最小长度,禁用字符和所需的
字符。 

If I gave the type of resource, I was wondering if there was a REST API or something similar that would give me all the rules of naming a resource. In particular, I was wondering about maximum length, minimum length, forbidden characters, and required characters. 

推荐答案

您好Vtechno如果我们讨论用于APIM管理的REST API以下是
完整列表
 和关于命名资源的查询,并检查最大长度,最小长度,禁用字符和所需字符。据我所知,这些验证似乎是在UI前端而不是在服务器端。所以
遗憾的是,这些没有这样的REST API。希望这会有所帮助。 

Hi Vtechno If we discuss about REST API for APIM management Here is the complete list and regarding your query of naming a resource and checks like maximum length, minimum length, forbidden characters and required characters . As far as I know these validation seems to be on UI front rather than at the server side. So unfortunately there is no such REST API for these. Hope this will help. 





这篇关于是否有REST API来获取给定资源的所有命名规则和限制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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