Skip to content

Commit

Permalink
CodeGen from PR 11184 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 0080e80b27157495ec138fefa3d5d8f47ea01ee5 into 284c87424fb46c892448a2644343cddc244f759c
  • Loading branch information
SDKAuto committed Nov 11, 2020
1 parent 69e4a5d commit bbb054e
Show file tree
Hide file tree
Showing 22 changed files with 5,193 additions and 89 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 bbb054e

Please sign in to comment.