Skip to content

Commit f5b686a

Browse files
authored
add minLength:1 prop to required strings (Azure#23109)
1 parent ab9a82e commit f5b686a

File tree

1 file changed

+17
-0
lines changed
  • specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2023-04-01

1 file changed

+17
-0
lines changed

specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2023-04-01/mfe.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5756,6 +5756,7 @@
57565756
},
57575757
"uri": {
57585758
"description": "[Required] Input Asset URI.",
5759+
"minLength": 1,
57595760
"pattern": "[a-zA-Z0-9_]",
57605761
"type": "string"
57615762
}
@@ -6052,6 +6053,7 @@
60526053
},
60536054
"storeName": {
60546055
"description": "[Required] Azure Data Lake store name.",
6056+
"minLength": 1,
60556057
"pattern": "[a-zA-Z0-9_]",
60566058
"type": "string",
60576059
"x-ms-mutability": [
@@ -6078,6 +6080,7 @@
60786080
"properties": {
60796081
"accountName": {
60806082
"description": "[Required] Storage account name.",
6083+
"minLength": 1,
60816084
"pattern": "[a-zA-Z0-9_]",
60826085
"type": "string",
60836086
"x-ms-mutability": [
@@ -6097,6 +6100,7 @@
60976100
},
60986101
"filesystem": {
60996102
"description": "[Required] The name of the Data Lake Gen2 filesystem.",
6103+
"minLength": 1,
61006104
"pattern": "[a-zA-Z0-9_]",
61016105
"type": "string",
61026106
"x-ms-mutability": [
@@ -6142,6 +6146,7 @@
61426146
"properties": {
61436147
"accountName": {
61446148
"description": "[Required] Storage account name.",
6149+
"minLength": 1,
61456150
"pattern": "[a-zA-Z0-9_]",
61466151
"type": "string",
61476152
"x-ms-mutability": [
@@ -6161,6 +6166,7 @@
61616166
},
61626167
"fileShareName": {
61636168
"description": "[Required] The name of the Azure file share that the datastore points to.",
6169+
"minLength": 1,
61646170
"pattern": "[a-zA-Z0-9_]",
61656171
"type": "string",
61666172
"x-ms-mutability": [
@@ -6576,6 +6582,7 @@
65766582
"properties": {
65776583
"contextUri": {
65786584
"description": "[Required] URI of the Docker build context used to build the image. Supports blob URIs on environment creation and may return blob or Git URIs.\r\n<seealso href=\"https://docs.docker.com/engine/reference/commandline/build/#extended-description\" />",
6585+
"minLength": 1,
65796586
"pattern": "[a-zA-Z0-9_]",
65806587
"type": "string",
65816588
"example": "https://storage-account.blob.core.windows.net/azureml/DockerBuildContext/95ddede6b9b8c4e90472db3acd0a8d28/",
@@ -6643,6 +6650,7 @@
66436650
},
66446651
"thumbprint": {
66456652
"description": "[Required] Thumbprint of the certificate used for authentication.",
6653+
"minLength": 1,
66466654
"pattern": "[a-zA-Z0-9_]",
66476655
"type": "string"
66486656
}
@@ -7084,6 +7092,7 @@
70847092
},
70857093
"environmentId": {
70867094
"description": "[Required] The ARM resource ID of the Environment specification for the job.",
7095+
"minLength": 1,
70877096
"pattern": "[a-zA-Z0-9_]",
70887097
"type": "string",
70897098
"x-ms-mutability": [
@@ -7399,6 +7408,7 @@
73997408
"properties": {
74007409
"expression": {
74017410
"description": "[Required] Specifies cron expression of schedule.\r\nThe expression should follow NCronTab format.",
7411+
"minLength": 1,
74027412
"pattern": "[a-zA-Z0-9_]",
74037413
"type": "string"
74047414
}
@@ -7798,6 +7808,7 @@
77987808
},
77997809
"dataUri": {
78007810
"description": "[Required] Uri of the data. Usage/meaning depends on Microsoft.MachineLearning.ManagementFrontEnd.Contracts.V20221001.Assets.DataVersionBase.DataType",
7811+
"minLength": 1,
78017812
"pattern": "[a-zA-Z0-9_]",
78027813
"type": "string",
78037814
"x-ms-mutability": [
@@ -8939,6 +8950,7 @@
89398950
"properties": {
89408951
"assetId": {
89418952
"description": "[Required] ARM resource ID of the asset.",
8953+
"minLength": 1,
89428954
"pattern": "[a-zA-Z0-9_]",
89438955
"type": "string"
89448956
}
@@ -10521,6 +10533,7 @@
1052110533
"properties": {
1052210534
"value": {
1052310535
"description": "[Required] Literal value for the input.",
10536+
"minLength": 1,
1052410537
"pattern": "[a-zA-Z0-9_]",
1052510538
"type": "string"
1052610539
}
@@ -11035,6 +11048,7 @@
1103511048
},
1103611049
"primaryMetric": {
1103711050
"description": "[Required] Name of the metric to optimize.",
11051+
"minLength": 1,
1103811052
"pattern": "[a-zA-Z0-9_]",
1103911053
"type": "string"
1104011054
}
@@ -12092,6 +12106,7 @@
1209212106
"properties": {
1209312107
"path": {
1209412108
"description": "[Required] The path for the route.",
12109+
"minLength": 1,
1209512110
"pattern": "[a-zA-Z0-9_]",
1209612111
"type": "string"
1209712112
},
@@ -12709,6 +12724,7 @@
1270912724
"properties": {
1271012725
"name": {
1271112726
"description": "[Required] The name of the SKU. Ex - P3. It is typically a letter+number code.",
12727+
"minLength": 1,
1271212728
"pattern": "[a-zA-Z0-9_]",
1271312729
"type": "string"
1271412730
},
@@ -13482,6 +13498,7 @@
1348213498
},
1348313499
"environmentId": {
1348413500
"description": "[Required] The ARM resource ID of the Environment specification for the job.",
13501+
"minLength": 1,
1348513502
"pattern": "[a-zA-Z0-9_]",
1348613503
"type": "string"
1348713504
},

0 commit comments

Comments
 (0)