Skip to content

Commit

Permalink
add minLength:1 prop to required strings (#23109)
Browse files Browse the repository at this point in the history
  • Loading branch information
forteddyt authored Mar 17, 2023
1 parent ab9a82e commit f5b686a
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5756,6 +5756,7 @@
},
"uri": {
"description": "[Required] Input Asset URI.",
"minLength": 1,
"pattern": "[a-zA-Z0-9_]",
"type": "string"
}
Expand Down Expand Up @@ -6052,6 +6053,7 @@
},
"storeName": {
"description": "[Required] Azure Data Lake store name.",
"minLength": 1,
"pattern": "[a-zA-Z0-9_]",
"type": "string",
"x-ms-mutability": [
Expand All @@ -6078,6 +6080,7 @@
"properties": {
"accountName": {
"description": "[Required] Storage account name.",
"minLength": 1,
"pattern": "[a-zA-Z0-9_]",
"type": "string",
"x-ms-mutability": [
Expand All @@ -6097,6 +6100,7 @@
},
"filesystem": {
"description": "[Required] The name of the Data Lake Gen2 filesystem.",
"minLength": 1,
"pattern": "[a-zA-Z0-9_]",
"type": "string",
"x-ms-mutability": [
Expand Down Expand Up @@ -6142,6 +6146,7 @@
"properties": {
"accountName": {
"description": "[Required] Storage account name.",
"minLength": 1,
"pattern": "[a-zA-Z0-9_]",
"type": "string",
"x-ms-mutability": [
Expand All @@ -6161,6 +6166,7 @@
},
"fileShareName": {
"description": "[Required] The name of the Azure file share that the datastore points to.",
"minLength": 1,
"pattern": "[a-zA-Z0-9_]",
"type": "string",
"x-ms-mutability": [
Expand Down Expand Up @@ -6576,6 +6582,7 @@
"properties": {
"contextUri": {
"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\" />",
"minLength": 1,
"pattern": "[a-zA-Z0-9_]",
"type": "string",
"example": "https://storage-account.blob.core.windows.net/azureml/DockerBuildContext/95ddede6b9b8c4e90472db3acd0a8d28/",
Expand Down Expand Up @@ -6643,6 +6650,7 @@
},
"thumbprint": {
"description": "[Required] Thumbprint of the certificate used for authentication.",
"minLength": 1,
"pattern": "[a-zA-Z0-9_]",
"type": "string"
}
Expand Down Expand Up @@ -7084,6 +7092,7 @@
},
"environmentId": {
"description": "[Required] The ARM resource ID of the Environment specification for the job.",
"minLength": 1,
"pattern": "[a-zA-Z0-9_]",
"type": "string",
"x-ms-mutability": [
Expand Down Expand Up @@ -7399,6 +7408,7 @@
"properties": {
"expression": {
"description": "[Required] Specifies cron expression of schedule.\r\nThe expression should follow NCronTab format.",
"minLength": 1,
"pattern": "[a-zA-Z0-9_]",
"type": "string"
}
Expand Down Expand Up @@ -7798,6 +7808,7 @@
},
"dataUri": {
"description": "[Required] Uri of the data. Usage/meaning depends on Microsoft.MachineLearning.ManagementFrontEnd.Contracts.V20221001.Assets.DataVersionBase.DataType",
"minLength": 1,
"pattern": "[a-zA-Z0-9_]",
"type": "string",
"x-ms-mutability": [
Expand Down Expand Up @@ -8939,6 +8950,7 @@
"properties": {
"assetId": {
"description": "[Required] ARM resource ID of the asset.",
"minLength": 1,
"pattern": "[a-zA-Z0-9_]",
"type": "string"
}
Expand Down Expand Up @@ -10521,6 +10533,7 @@
"properties": {
"value": {
"description": "[Required] Literal value for the input.",
"minLength": 1,
"pattern": "[a-zA-Z0-9_]",
"type": "string"
}
Expand Down Expand Up @@ -11035,6 +11048,7 @@
},
"primaryMetric": {
"description": "[Required] Name of the metric to optimize.",
"minLength": 1,
"pattern": "[a-zA-Z0-9_]",
"type": "string"
}
Expand Down Expand Up @@ -12092,6 +12106,7 @@
"properties": {
"path": {
"description": "[Required] The path for the route.",
"minLength": 1,
"pattern": "[a-zA-Z0-9_]",
"type": "string"
},
Expand Down Expand Up @@ -12709,6 +12724,7 @@
"properties": {
"name": {
"description": "[Required] The name of the SKU. Ex - P3. It is typically a letter+number code.",
"minLength": 1,
"pattern": "[a-zA-Z0-9_]",
"type": "string"
},
Expand Down Expand Up @@ -13482,6 +13498,7 @@
},
"environmentId": {
"description": "[Required] The ARM resource ID of the Environment specification for the job.",
"minLength": 1,
"pattern": "[a-zA-Z0-9_]",
"type": "string"
},
Expand Down

0 comments on commit f5b686a

Please sign in to comment.