Skip to content

Commit 7cc0a47

Browse files
Updating extension id regex (Azure#15152)
1 parent 2b4fc08 commit 7cc0a47

File tree

2 files changed

+6
-6
lines changed
  • specification/agrifood
    • data-plane/Microsoft.AgFoodPlatform/preview/2021-03-31-preview
    • resource-manager/Microsoft.AgFoodPlatform/preview/2020-05-12-preview

2 files changed

+6
-6
lines changed

specification/agrifood/data-plane/Microsoft.AgFoodPlatform/preview/2021-03-31-preview/agfood.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9015,7 +9015,7 @@
90159015
"description": "Id of the weather extension. This signifies the source from where the weather data is fetched (eg. DTN.ClearAg).",
90169016
"required": true,
90179017
"type": "string",
9018-
"pattern": "^[A-za-z]{3,50}[.][A-za-z]{3,100}$"
9018+
"pattern": "^[a-zA-Z]{3,50}[.][a-zA-Z]{3,100}$"
90199019
},
90209020
{
90219021
"in": "query",
@@ -12093,7 +12093,7 @@
1209312093
"description": "Id of the weather extension. This signifies the source from where the weather data is fetched (eg. DTN.ClearAg).",
1209412094
"maxLength": 100,
1209512095
"minLength": 2,
12096-
"pattern": "^[A-za-z]{3,50}[.][A-za-z]{3,100}$",
12096+
"pattern": "^[a-zA-Z]{3,50}[.][a-zA-Z]{3,100}$",
1209712097
"type": "string"
1209812098
},
1209912099
"extensionApiName": {
@@ -12204,7 +12204,7 @@
1220412204
"description": "Id of the weather extension. This signifies the source from where the weather data was fetched (eg. DTN.ClearAg).",
1220512205
"maxLength": 100,
1220612206
"minLength": 2,
12207-
"pattern": "^[A-za-z]{3,50}[.][A-za-z]{3,100}$",
12207+
"pattern": "^[a-zA-Z]{3,50}[.][a-zA-Z]{3,100}$",
1220812208
"type": "string"
1220912209
},
1221012210
"farmerId": {

specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2020-05-12-preview/agfood.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@
382382
"description": "farmBeatsExtensionId to be queried.",
383383
"required": true,
384384
"type": "string",
385-
"pattern": "^[A-za-z]{3,50}[.][A-za-z]{3,100}$"
385+
"pattern": "^[a-zA-Z]{3,50}[.][a-zA-Z]{3,100}$"
386386
},
387387
{
388388
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -833,7 +833,7 @@
833833
"properties": {
834834
"extensionId": {
835835
"description": "Extension Id.",
836-
"pattern": "^[A-za-z]{3,50}[.][A-za-z]{3,100}$",
836+
"pattern": "^[a-zA-Z]{3,50}[.][a-zA-Z]{3,100}$",
837837
"type": "string",
838838
"readOnly": true
839839
},
@@ -973,7 +973,7 @@
973973
"description": "FarmBeatsExtension ID.",
974974
"maxLength": 100,
975975
"minLength": 2,
976-
"pattern": "^[A-za-z]{3,50}[.][A-za-z]{3,100}$",
976+
"pattern": "^[a-zA-Z]{3,50}[.][a-zA-Z]{3,100}$",
977977
"type": "string",
978978
"readOnly": true
979979
},

0 commit comments

Comments
 (0)