forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from a2138923c04dc6f3e78d396b0e96cb51b0420163
- Loading branch information
SDK Automation
committed
Nov 5, 2020
1 parent
b9c9e55
commit 7a6c484
Showing
8 changed files
with
228 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
...ava/com/microsoft/azure/management/resources/v2020_06_01/ExpressionEvaluationOptions.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.resources.v2020_06_01; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* Specifies whether template expressions are evaluated within the scope of the | ||
* parent template or nested template. | ||
*/ | ||
public class ExpressionEvaluationOptions { | ||
/** | ||
* The scope to be used for evaluation of parameters, variables and | ||
* functions in a nested template. Possible values include: 'NotSpecified', | ||
* 'Outer', 'Inner'. | ||
*/ | ||
@JsonProperty(value = "scope") | ||
private ExpressionEvaluationOptionsScopeType scope; | ||
|
||
/** | ||
* Get the scope to be used for evaluation of parameters, variables and functions in a nested template. Possible values include: 'NotSpecified', 'Outer', 'Inner'. | ||
* | ||
* @return the scope value | ||
*/ | ||
public ExpressionEvaluationOptionsScopeType scope() { | ||
return this.scope; | ||
} | ||
|
||
/** | ||
* Set the scope to be used for evaluation of parameters, variables and functions in a nested template. Possible values include: 'NotSpecified', 'Outer', 'Inner'. | ||
* | ||
* @param scope the scope value to set | ||
* @return the ExpressionEvaluationOptions object itself. | ||
*/ | ||
public ExpressionEvaluationOptions withScope(ExpressionEvaluationOptionsScopeType scope) { | ||
this.scope = scope; | ||
return this; | ||
} | ||
|
||
} |
44 changes: 44 additions & 0 deletions
44
...icrosoft/azure/management/resources/v2020_06_01/ExpressionEvaluationOptionsScopeType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.resources.v2020_06_01; | ||
|
||
import java.util.Collection; | ||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.microsoft.rest.ExpandableStringEnum; | ||
|
||
/** | ||
* Defines values for ExpressionEvaluationOptionsScopeType. | ||
*/ | ||
public final class ExpressionEvaluationOptionsScopeType extends ExpandableStringEnum<ExpressionEvaluationOptionsScopeType> { | ||
/** Static value NotSpecified for ExpressionEvaluationOptionsScopeType. */ | ||
public static final ExpressionEvaluationOptionsScopeType NOT_SPECIFIED = fromString("NotSpecified"); | ||
|
||
/** Static value Outer for ExpressionEvaluationOptionsScopeType. */ | ||
public static final ExpressionEvaluationOptionsScopeType OUTER = fromString("Outer"); | ||
|
||
/** Static value Inner for ExpressionEvaluationOptionsScopeType. */ | ||
public static final ExpressionEvaluationOptionsScopeType INNER = fromString("Inner"); | ||
|
||
/** | ||
* Creates or finds a ExpressionEvaluationOptionsScopeType from its string representation. | ||
* @param name a name to look for | ||
* @return the corresponding ExpressionEvaluationOptionsScopeType | ||
*/ | ||
@JsonCreator | ||
public static ExpressionEvaluationOptionsScopeType fromString(String name) { | ||
return fromString(name, ExpressionEvaluationOptionsScopeType.class); | ||
} | ||
|
||
/** | ||
* @return known ExpressionEvaluationOptionsScopeType values | ||
*/ | ||
public static Collection<ExpressionEvaluationOptionsScopeType> values() { | ||
return values(ExpressionEvaluationOptionsScopeType.class); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters