Skip to content

Commit 1c23efa

Browse files
sushil490023Sushil Upadhyay
andauthored
Co-authored-by: Sushil Upadhyay <[email protected]>
1 parent 02a1900 commit 1c23efa

File tree

1 file changed

+17
-17
lines changed
  • specification/automation/resource-manager/Microsoft.Automation/stable/2022-08-08

1 file changed

+17
-17
lines changed

specification/automation/resource-manager/Microsoft.Automation/stable/2022-08-08/runbook.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"required": true,
7171
"type": "string",
7272
"description": "The runbook name.",
73-
"pattern": "^[a-zA-Z]*-*[a-zA-Z0-9]*$"
73+
"pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$"
7474
},
7575
{
7676
"$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter"
@@ -124,7 +124,7 @@
124124
"required": true,
125125
"type": "string",
126126
"description": "The runbook name.",
127-
"pattern": "^[a-zA-Z]*-*[a-zA-Z0-9]*$"
127+
"pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$"
128128
},
129129
{
130130
"name": "runbookContent",
@@ -200,7 +200,7 @@
200200
"required": true,
201201
"type": "string",
202202
"description": "The runbook name.",
203-
"pattern": "^[a-zA-Z]*-*[a-zA-Z0-9]*$"
203+
"pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$"
204204
},
205205
{
206206
"$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter"
@@ -253,7 +253,7 @@
253253
"required": true,
254254
"type": "string",
255255
"description": "The parameters supplied to the publish runbook operation.",
256-
"pattern": "^[a-zA-Z]*-*[a-zA-Z0-9]*$"
256+
"pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$"
257257
},
258258
{
259259
"$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter"
@@ -310,7 +310,7 @@
310310
"required": true,
311311
"type": "string",
312312
"description": "The runbook name.",
313-
"pattern": "^[a-zA-Z]*-*[a-zA-Z0-9]*$"
313+
"pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$"
314314
},
315315
{
316316
"$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter"
@@ -366,7 +366,7 @@
366366
"required": true,
367367
"type": "string",
368368
"description": "The runbook name.",
369-
"pattern": "^[a-zA-Z]*-*[a-zA-Z0-9]*$"
369+
"pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$"
370370
},
371371
{
372372
"$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter"
@@ -419,7 +419,7 @@
419419
"required": true,
420420
"type": "string",
421421
"description": "The runbook name.",
422-
"pattern": "^[a-zA-Z]*-*[a-zA-Z0-9]*$"
422+
"pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$"
423423
},
424424
{
425425
"$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter"
@@ -473,7 +473,7 @@
473473
"required": true,
474474
"type": "string",
475475
"description": "The runbook name.",
476-
"pattern": "^[a-zA-Z]*-*[a-zA-Z0-9]*$"
476+
"pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$"
477477
},
478478
{
479479
"name": "parameters",
@@ -539,7 +539,7 @@
539539
"required": true,
540540
"type": "string",
541541
"description": "The runbook name.",
542-
"pattern": "^[a-zA-Z]*-*[a-zA-Z0-9]*$"
542+
"pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$"
543543
},
544544
{
545545
"name": "parameters",
@@ -599,7 +599,7 @@
599599
"required": true,
600600
"type": "string",
601601
"description": "The runbook name.",
602-
"pattern": "^[a-zA-Z]*-*[a-zA-Z0-9]*$"
602+
"pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$"
603603
},
604604
{
605605
"$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter"
@@ -700,7 +700,7 @@
700700
"required": true,
701701
"type": "string",
702702
"description": "The runbook name.",
703-
"pattern": "^[a-zA-Z]*-*[a-zA-Z0-9]*$"
703+
"pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$"
704704
},
705705
{
706706
"name": "jobStreamId",
@@ -760,7 +760,7 @@
760760
"required": true,
761761
"type": "string",
762762
"description": "The runbook name.",
763-
"pattern": "^[a-zA-Z]*-*[a-zA-Z0-9]*$"
763+
"pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$"
764764
},
765765
{
766766
"name": "$filter",
@@ -823,7 +823,7 @@
823823
"required": true,
824824
"type": "string",
825825
"description": "The parameters supplied to the create test job operation.",
826-
"pattern": "^[a-zA-Z]*-*[a-zA-Z0-9]*$"
826+
"pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$"
827827
},
828828
{
829829
"name": "parameters",
@@ -883,7 +883,7 @@
883883
"required": true,
884884
"type": "string",
885885
"description": "The runbook name.",
886-
"pattern": "^[a-zA-Z]*-*[a-zA-Z0-9]*$"
886+
"pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$"
887887
},
888888
{
889889
"$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter"
@@ -936,7 +936,7 @@
936936
"required": true,
937937
"type": "string",
938938
"description": "The runbook name.",
939-
"pattern": "^[a-zA-Z]*-*[a-zA-Z0-9]*$"
939+
"pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$"
940940
},
941941
{
942942
"$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter"
@@ -986,7 +986,7 @@
986986
"required": true,
987987
"type": "string",
988988
"description": "The runbook name.",
989-
"pattern": "^[a-zA-Z]*-*[a-zA-Z0-9]*$"
989+
"pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$"
990990
},
991991
{
992992
"$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter"
@@ -1036,7 +1036,7 @@
10361036
"required": true,
10371037
"type": "string",
10381038
"description": "The runbook name.",
1039-
"pattern": "^[a-zA-Z]*-*[a-zA-Z0-9]*$"
1039+
"pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$"
10401040
},
10411041
{
10421042
"$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter"

0 commit comments

Comments
 (0)