Skip to content

Commit

Permalink
Remove name check from client side (#13492)
Browse files Browse the repository at this point in the history
* remove name validation from client side

* remove name check from deploymentScripts swagger

* remove name check from previous swagger versions

* remove pattern from resourcegroupname parameter
  • Loading branch information
tjegbejimba authored Apr 14, 2021
1 parent b10ed6b commit 5ebfcd4
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 82 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1540,7 +1540,6 @@
"required": true,
"type": "string",
"description": "The name of the resource group with the deployment to delete. The name is case insensitive.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
Expand Down Expand Up @@ -1583,7 +1582,6 @@
"required": true,
"type": "string",
"description": "The name of the resource group with the deployment to check. The name is case insensitive.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
Expand Down Expand Up @@ -1626,7 +1624,6 @@
"required": true,
"type": "string",
"description": "The name of the resource group to deploy the resources to. The name is case insensitive. The resource group must already exist.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
Expand Down Expand Up @@ -1695,7 +1692,6 @@
"required": true,
"type": "string",
"description": "The name of the resource group. The name is case insensitive.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
Expand Down Expand Up @@ -1740,7 +1736,6 @@
"required": true,
"type": "string",
"description": "The name of the resource group. The name is case insensitive.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
Expand Down Expand Up @@ -1782,7 +1777,6 @@
"required": true,
"type": "string",
"description": "The name of the resource group the template will be deployed to. The name is case insensitive.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
Expand Down Expand Up @@ -1844,7 +1838,6 @@
"required": true,
"type": "string",
"description": "The name of the resource group the template will be deployed to. The name is case insensitive.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
Expand Down Expand Up @@ -1919,7 +1912,6 @@
"required": true,
"type": "string",
"description": "The name of the resource group. The name is case insensitive.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
Expand Down Expand Up @@ -1963,7 +1955,6 @@
"required": true,
"type": "string",
"description": "The name of the resource group with the deployments to get. The name is case insensitive.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
Expand Down Expand Up @@ -2321,7 +2312,6 @@
"required": true,
"type": "string",
"description": "The resource group with the resources to get.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
Expand Down Expand Up @@ -2388,7 +2378,6 @@
"required": true,
"type": "string",
"description": "The name of the resource group to check. The name is case insensitive.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
Expand Down Expand Up @@ -2432,7 +2421,6 @@
"required": true,
"type": "string",
"description": "The name of the resource group to create or update. Can include alphanumeric, underscore, parentheses, hyphen, period (except at end), and Unicode characters that match the allowed characters.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
Expand Down Expand Up @@ -2487,7 +2475,6 @@
"required": true,
"type": "string",
"description": "The name of the resource group to delete. The name is case insensitive.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
Expand Down Expand Up @@ -2542,7 +2529,6 @@
"required": true,
"type": "string",
"description": "The name of the resource group to get. The name is case insensitive.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
Expand Down Expand Up @@ -2582,7 +2568,6 @@
"required": true,
"type": "string",
"description": "The name of the resource group to update. The name is case insensitive.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
Expand Down Expand Up @@ -2741,7 +2726,6 @@
"required": true,
"type": "string",
"description": "The name of the resource group containing the resources to move.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
Expand Down Expand Up @@ -2793,7 +2777,6 @@
"required": true,
"type": "string",
"description": "The name of the resource group containing the resources to validate for move.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
Expand Down Expand Up @@ -2901,7 +2884,6 @@
"required": true,
"type": "string",
"description": "The name of the resource group containing the resource to check. The name is case insensitive.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
Expand Down Expand Up @@ -2975,7 +2957,6 @@
"required": true,
"type": "string",
"description": "The name of the resource group that contains the resource to delete. The name is case insensitive.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
Expand Down Expand Up @@ -3053,7 +3034,6 @@
"required": true,
"type": "string",
"description": "The name of the resource group for the resource. The name is case insensitive.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
Expand Down Expand Up @@ -3146,7 +3126,6 @@
"required": true,
"type": "string",
"description": "The name of the resource group for the resource. The name is case insensitive.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
Expand Down Expand Up @@ -3233,7 +3212,6 @@
"required": true,
"type": "string",
"description": "The name of the resource group containing the resource to get. The name is case insensitive.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
Expand Down Expand Up @@ -4093,7 +4071,6 @@
"required": true,
"type": "string",
"description": "The name of the resource group. The name is case insensitive.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
Expand Down Expand Up @@ -4144,7 +4121,6 @@
"required": true,
"type": "string",
"description": "The name of the resource group. The name is case insensitive.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
},
Expand Down Expand Up @@ -5262,8 +5238,7 @@
},
"kind": {
"type": "string",
"description": "The kind of the resource.",
"pattern": "^[-\\w\\._,\\(\\)]+$"
"description": "The kind of the resource."
},
"managedBy": {
"type": "string",
Expand Down Expand Up @@ -6255,7 +6230,6 @@
"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._\\(\\)]+$",
"x-ms-parameter-location": "method",
"minLength": 1,
"maxLength": 64,
Expand Down
Loading

0 comments on commit 5ebfcd4

Please sign in to comment.