Skip to content
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 @@ -3794,6 +3794,35 @@
"modelAsString": true
}
},
"NotebookParameter": {
"description": "Notebook parameter.",
"type": "object",
"properties": {
"value": {
"type": "object",
"description": "Notebook parameter value. Type: string (or Expression with resultType string).",
"x-nullable": true
},
"type": {
"description": "Notebook parameter type.",
"$ref": "#/definitions/NotebookParameterType"
}
}
},
"NotebookParameterType": {
"description": "Notebook parameter type.",
"type": "string",
"enum": [
"string",
"int",
"float",
"bool"
],
Comment on lines +3812 to +3820
Copy link
Copy Markdown
Contributor

@idear1203 idear1203 Nov 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we also need to support dynamic expression?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From studio, dynamic expression is supported in value, not in type.

"x-ms-enum": {
"name": "NotebookParameterType",
"modelAsString": true
}
},
"CopySink": {
"discriminator": "type",
"description": "A copy activity sink.",
Expand Down Expand Up @@ -7180,7 +7209,10 @@
},
"parameters": {
"description": "Notebook parameters.",
"$ref": "../artifacts.json#/definitions/ParameterValueSpecification"
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/NotebookParameter"
}
}
},
"required": [
Expand Down