Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Microsoft.MachineLearningServices] Add minLength:1 prop to required strings in 2023-04-01 #23109

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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