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 90309af12bca34ec9e9360ef086302436f9b85ab
- Loading branch information
SDK Automation
committed
Sep 28, 2020
1 parent
f11ce68
commit b6437f5
Showing
21 changed files
with
4,986 additions
and
85 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
56 changes: 56 additions & 0 deletions
56
...6_01/src/main/java/com/microsoft/azure/management/compute/v2020_06_01/ExecutionState.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,56 @@ | ||
/** | ||
* 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.v2020_06_01; | ||
|
||
import java.util.Collection; | ||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.microsoft.rest.ExpandableStringEnum; | ||
|
||
/** | ||
* Defines values for ExecutionState. | ||
*/ | ||
public final class ExecutionState extends ExpandableStringEnum<ExecutionState> { | ||
/** Static value Unknown for ExecutionState. */ | ||
public static final ExecutionState UNKNOWN = fromString("Unknown"); | ||
|
||
/** Static value Pending for ExecutionState. */ | ||
public static final ExecutionState PENDING = fromString("Pending"); | ||
|
||
/** Static value Running for ExecutionState. */ | ||
public static final ExecutionState RUNNING = fromString("Running"); | ||
|
||
/** Static value Failed for ExecutionState. */ | ||
public static final ExecutionState FAILED = fromString("Failed"); | ||
|
||
/** Static value Succeeded for ExecutionState. */ | ||
public static final ExecutionState SUCCEEDED = fromString("Succeeded"); | ||
|
||
/** Static value TimedOut for ExecutionState. */ | ||
public static final ExecutionState TIMED_OUT = fromString("TimedOut"); | ||
|
||
/** Static value Canceled for ExecutionState. */ | ||
public static final ExecutionState CANCELED = fromString("Canceled"); | ||
|
||
/** | ||
* Creates or finds a ExecutionState from its string representation. | ||
* @param name a name to look for | ||
* @return the corresponding ExecutionState | ||
*/ | ||
@JsonCreator | ||
public static ExecutionState fromString(String name) { | ||
return fromString(name, ExecutionState.class); | ||
} | ||
|
||
/** | ||
* @return known ExecutionState values | ||
*/ | ||
public static Collection<ExecutionState> values() { | ||
return values(ExecutionState.class); | ||
} | ||
} |
Oops, something went wrong.