Skip to content

Commit

Permalink
Generated from 90309af12bca34ec9e9360ef086302436f9b85ab
Browse files Browse the repository at this point in the history
  • Loading branch information
SDK Automation committed Sep 28, 2020
1 parent f11ce68 commit b6437f5
Show file tree
Hide file tree
Showing 21 changed files with 4,986 additions and 85 deletions.
4 changes: 2 additions & 2 deletions sdk/compute/mgmt-v2020_06_01/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.3.2</version>
<relativePath>../../parents/azure-arm-parent/pom.xml</relativePath>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-compute</artifactId>
<version>1.0.0-beta</version>
Expand Down
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);
}
}
Loading

0 comments on commit b6437f5

Please sign in to comment.