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

[Resources] Add expressionEvaluationOptions property to swagger #11174

Merged
merged 1 commit into from
Oct 20, 2020
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 @@ -4476,6 +4476,10 @@
"onErrorDeployment": {
"$ref": "#/definitions/OnErrorDeployment",
"description": "The deployment on error behavior."
},
"expressionEvaluationOptions": {
"$ref": "#/definitions/ExpressionEvaluationOptions",
"description": "Specifies whether template expressions are evaluated within the scope of the parent template or nested template. Only applicable to nested templates. If not specified, default value is outer."
}
},
"required": [
Expand Down Expand Up @@ -6184,6 +6188,24 @@
"description": "The error reported by the operation."
}
}
},
"ExpressionEvaluationOptions": {
"properties": {
"scope": {
"type": "string",
"description": "The scope to be used for evaluation of parameters, variables and functions in a nested template.",
"enum": [
"NotSpecified",
"Outer",
"Inner"
],
"x-ms-enum": {
"name": "ExpressionEvaluationOptionsScopeType",
"modelAsString": true
}
}
},
"description": "Specifies whether template expressions are evaluated within the scope of the parent template or nested template."
}
},
"parameters": {
Expand Down