Skip to content

Commit

Permalink
Updating extension id regex (Azure#15152)
Browse files Browse the repository at this point in the history
  • Loading branch information
priyankajayaswal1 authored Jul 28, 2021
1 parent 2b4fc08 commit 7cc0a47
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9015,7 +9015,7 @@
"description": "Id of the weather extension. This signifies the source from where the weather data is fetched (eg. DTN.ClearAg).",
"required": true,
"type": "string",
"pattern": "^[A-za-z]{3,50}[.][A-za-z]{3,100}$"
"pattern": "^[a-zA-Z]{3,50}[.][a-zA-Z]{3,100}$"
},
{
"in": "query",
Expand Down Expand Up @@ -12093,7 +12093,7 @@
"description": "Id of the weather extension. This signifies the source from where the weather data is fetched (eg. DTN.ClearAg).",
"maxLength": 100,
"minLength": 2,
"pattern": "^[A-za-z]{3,50}[.][A-za-z]{3,100}$",
"pattern": "^[a-zA-Z]{3,50}[.][a-zA-Z]{3,100}$",
"type": "string"
},
"extensionApiName": {
Expand Down Expand Up @@ -12204,7 +12204,7 @@
"description": "Id of the weather extension. This signifies the source from where the weather data was fetched (eg. DTN.ClearAg).",
"maxLength": 100,
"minLength": 2,
"pattern": "^[A-za-z]{3,50}[.][A-za-z]{3,100}$",
"pattern": "^[a-zA-Z]{3,50}[.][a-zA-Z]{3,100}$",
"type": "string"
},
"farmerId": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@
"description": "farmBeatsExtensionId to be queried.",
"required": true,
"type": "string",
"pattern": "^[A-za-z]{3,50}[.][A-za-z]{3,100}$"
"pattern": "^[a-zA-Z]{3,50}[.][a-zA-Z]{3,100}$"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -833,7 +833,7 @@
"properties": {
"extensionId": {
"description": "Extension Id.",
"pattern": "^[A-za-z]{3,50}[.][A-za-z]{3,100}$",
"pattern": "^[a-zA-Z]{3,50}[.][a-zA-Z]{3,100}$",
"type": "string",
"readOnly": true
},
Expand Down Expand Up @@ -973,7 +973,7 @@
"description": "FarmBeatsExtension ID.",
"maxLength": 100,
"minLength": 2,
"pattern": "^[A-za-z]{3,50}[.][A-za-z]{3,100}$",
"pattern": "^[a-zA-Z]{3,50}[.][a-zA-Z]{3,100}$",
"type": "string",
"readOnly": true
},
Expand Down

0 comments on commit 7cc0a47

Please sign in to comment.