Skip to content

Commit

Permalink
regex fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Umang Shah committed Sep 6, 2024
1 parent 3369acb commit 7be9406
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 @@ -40,7 +40,7 @@
"description": "Service-defined resource names such as 'default' which are reserved resource names.",
"required": true,
"type": "string",
"pattern": "^[a-zA-Z\d-_]{1,128}$",
"pattern": "^[a-zA-Z0-9-_]{1,128}$",
"enum": [
"default"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@
"description": "The ID that uniquely identifies a billing profile.",
"required": true,
"type": "string",
"pattern": "^[a-zA-Z\d-_]{1,128}$",
"pattern": "^[a-zA-Z0-9-_]{1,128}$",
"x-ms-parameter-location": "method"
},
"customerName": {
Expand All @@ -264,7 +264,7 @@
"description": "The ID that uniquely identifies a customer.",
"required": true,
"type": "string",
"pattern": "^[a-zA-Z\d-_]{1,128}$",
"pattern": "^[a-zA-Z0-9-_]{1,128}$",
"x-ms-parameter-location": "method"
},
"invoiceSectionName": {
Expand All @@ -273,7 +273,7 @@
"description": "The ID that uniquely identifies an invoice section.",
"required": true,
"type": "string",
"pattern": "^[a-zA-Z\d-_]{1,128}$",
"pattern": "^[a-zA-Z0-9-_]{1,128}$",
"x-ms-parameter-location": "method"
},
"departmentName": {
Expand All @@ -282,7 +282,7 @@
"description": "The name of the department.",
"required": true,
"type": "string",
"pattern": "^[a-zA-Z\d-_]{1,128}$",
"pattern": "^[a-zA-Z0-9-_]{1,128}$",
"x-ms-parameter-location": "method"
},
"enrollmentAccountName": {
Expand All @@ -291,7 +291,7 @@
"description": "The name of the enrollment account.",
"required": true,
"type": "string",
"pattern": "^[a-zA-Z\d-_]{1,128}$",
"pattern": "^[a-zA-Z0-9-_]{1,128}$",
"x-ms-parameter-location": "method"
},
"subscriptionId": {
Expand Down

0 comments on commit 7be9406

Please sign in to comment.