Skip to content

Commit f241bcc

Browse files
author
SDKAuto
committed
CodeGen from PR 11806 in Azure/azure-rest-api-specs
Merge f70db4f93dd7f108c3b922a4af8ca6b111ce6d2a into 206d0326939ad6f0ec2e0d83a946a76464648462
1 parent 74efa08 commit f241bcc

File tree

43 files changed

+7386
-278
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+7386
-278
lines changed

sdk/compute/mgmt-v2020_06_01/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<parent>
1212
<groupId>com.microsoft.azure</groupId>
1313
<artifactId>azure-arm-parent</artifactId>
14-
<version>1.3.2</version>
15-
<relativePath>../../parents/azure-arm-parent/pom.xml</relativePath>
14+
<version>1.1.0</version>
15+
<relativePath>../../../pom.management.xml</relativePath>
1616
</parent>
1717
<artifactId>azure-mgmt-compute</artifactId>
1818
<version>1.0.0-beta</version>
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.compute.v2020_06_01;
10+
11+
import java.util.Collection;
12+
import com.fasterxml.jackson.annotation.JsonCreator;
13+
import com.microsoft.rest.ExpandableStringEnum;
14+
15+
/**
16+
* Defines values for ExecutionState.
17+
*/
18+
public final class ExecutionState extends ExpandableStringEnum<ExecutionState> {
19+
/** Static value Unknown for ExecutionState. */
20+
public static final ExecutionState UNKNOWN = fromString("Unknown");
21+
22+
/** Static value Pending for ExecutionState. */
23+
public static final ExecutionState PENDING = fromString("Pending");
24+
25+
/** Static value Running for ExecutionState. */
26+
public static final ExecutionState RUNNING = fromString("Running");
27+
28+
/** Static value Failed for ExecutionState. */
29+
public static final ExecutionState FAILED = fromString("Failed");
30+
31+
/** Static value Succeeded for ExecutionState. */
32+
public static final ExecutionState SUCCEEDED = fromString("Succeeded");
33+
34+
/** Static value TimedOut for ExecutionState. */
35+
public static final ExecutionState TIMED_OUT = fromString("TimedOut");
36+
37+
/** Static value Canceled for ExecutionState. */
38+
public static final ExecutionState CANCELED = fromString("Canceled");
39+
40+
/**
41+
* Creates or finds a ExecutionState from its string representation.
42+
* @param name a name to look for
43+
* @return the corresponding ExecutionState
44+
*/
45+
@JsonCreator
46+
public static ExecutionState fromString(String name) {
47+
return fromString(name, ExecutionState.class);
48+
}
49+
50+
/**
51+
* @return known ExecutionState values
52+
*/
53+
public static Collection<ExecutionState> values() {
54+
return values(ExecutionState.class);
55+
}
56+
}

0 commit comments

Comments
 (0)