forked from Azure/azure-libraries-for-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR compute/resource-manager] Added Eviction Policy Property for …
…VirtualMachineScaleSetVMProfile for version 2017-12-01 (#64) * Generated from ab266460a5418919d40261eb06f280da380e771a comit * Generated from 57858e7e576c2e84a8ddc038e8e915497b7a2c3d Changed evictionpolicy modelasstring to true
- Loading branch information
1 parent
04dddad
commit 70abd11
Showing
2 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
41 changes: 41 additions & 0 deletions
41
...c/main/java/com/microsoft/azure/management/compute/VirtualMachineEvictionPolicyTypes.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,41 @@ | ||
/** | ||
* 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.compute; | ||
|
||
import java.util.Collection; | ||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.microsoft.rest.ExpandableStringEnum; | ||
|
||
/** | ||
* Defines values for VirtualMachineEvictionPolicyTypes. | ||
*/ | ||
public final class VirtualMachineEvictionPolicyTypes extends ExpandableStringEnum<VirtualMachineEvictionPolicyTypes> { | ||
/** Static value Deallocate for VirtualMachineEvictionPolicyTypes. */ | ||
public static final VirtualMachineEvictionPolicyTypes DEALLOCATE = fromString("Deallocate"); | ||
|
||
/** Static value Delete for VirtualMachineEvictionPolicyTypes. */ | ||
public static final VirtualMachineEvictionPolicyTypes DELETE = fromString("Delete"); | ||
|
||
/** | ||
* Creates or finds a VirtualMachineEvictionPolicyTypes from its string representation. | ||
* @param name a name to look for | ||
* @return the corresponding VirtualMachineEvictionPolicyTypes | ||
*/ | ||
@JsonCreator | ||
public static VirtualMachineEvictionPolicyTypes fromString(String name) { | ||
return fromString(name, VirtualMachineEvictionPolicyTypes.class); | ||
} | ||
|
||
/** | ||
* @return known VirtualMachineEvictionPolicyTypes values | ||
*/ | ||
public static Collection<VirtualMachineEvictionPolicyTypes> values() { | ||
return values(VirtualMachineEvictionPolicyTypes.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