Skip to content

Commit

Permalink
Add expressionEvaluationOptions property to swagger (#11174)
Browse files Browse the repository at this point in the history
Co-authored-by: Filiz Topatan <[email protected]>
  • Loading branch information
filizt and Filiz Topatan authored Oct 20, 2020
1 parent cc483e7 commit a3733cc
Showing 1 changed file with 22 additions and 0 deletions.
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

0 comments on commit a3733cc

Please sign in to comment.