ExpressionEvaluationOptions Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. ExpressionEvaluationOptions
- com.
Implements
public final class ExpressionEvaluationOptions
implements JsonSerializable<ExpressionEvaluationOptions>
Specifies whether template expressions are evaluated within the scope of the parent template or nested template.
Constructor Summary
Constructor | Description |
---|---|
ExpressionEvaluationOptions() |
Creates an instance of Expression |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Expression |
fromJson(JsonReader jsonReader)
Reads an instance of Expression |
Expression |
scope()
Get the scope property: The scope to be used for evaluation of parameters, variables and functions in a nested template. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Expression |
withScope(ExpressionEvaluationOptionsScopeType scope)
Set the scope property: The scope to be used for evaluation of parameters, variables and functions in a nested template. |
Methods inherited from java.lang.Object
Constructor Details
ExpressionEvaluationOptions
public ExpressionEvaluationOptions()
Creates an instance of ExpressionEvaluationOptions class.
Method Details
fromJson
public static ExpressionEvaluationOptions fromJson(JsonReader jsonReader)
Reads an instance of ExpressionEvaluationOptions from the JsonReader.
Parameters:
Returns:
Throws:
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:
toJson
validate
public void validate()
Validates the instance.
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:
Returns:
Applies to
Azure SDK for Java