Class ExpressionEvaluationOptions
- java.lang.Object
-
- com.azure.resourcemanager.resources.models.ExpressionEvaluationOptions
-
public final class ExpressionEvaluationOptions extends Object
Specifies whether template expressions are evaluated within the scope of the parent template or nested template.
-
-
Constructor Summary
Constructors Constructor Description ExpressionEvaluationOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressionEvaluationOptionsScopeTypescope()Get the scope property: The scope to be used for evaluation of parameters, variables and functions in a nested template.voidvalidate()Validates the instance.ExpressionEvaluationOptionswithScope(ExpressionEvaluationOptionsScopeType scope)Set the scope property: The scope to be used for evaluation of parameters, variables and functions in a nested template.
-
-
-
Method Detail
-
scope
public ExpressionEvaluationOptionsScopeType scope()
Get the scope property: The scope to be used for evaluation of parameters, variables and functions in a nested template.- Returns:
- the scope value.
-
withScope
public ExpressionEvaluationOptions withScope(ExpressionEvaluationOptionsScopeType scope)
Set the scope property: The scope to be used for evaluation of parameters, variables and functions in a nested template.- Parameters:
scope- the scope value to set.- Returns:
- the ExpressionEvaluationOptions object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-