@azure-tools/typespec-azure-core 0.43.0-dev.3 → 0.43.0-dev.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/foundations.tsp +8 -6
- package/package.json +1 -1
package/lib/foundations.tsp
CHANGED
|
@@ -15,21 +15,23 @@ namespace Azure.Core.Foundations;
|
|
|
15
15
|
* Enum describing allowed operation states.
|
|
16
16
|
*/
|
|
17
17
|
@lroStatus
|
|
18
|
-
|
|
18
|
+
union OperationState {
|
|
19
19
|
@doc("The operation has not started.")
|
|
20
|
-
NotStarted,
|
|
20
|
+
NotStarted: "NotStarted",
|
|
21
21
|
|
|
22
22
|
@doc("The operation is in progress.")
|
|
23
|
-
Running,
|
|
23
|
+
Running: "Running",
|
|
24
24
|
|
|
25
25
|
@doc("The operation has completed successfully.")
|
|
26
|
-
Succeeded,
|
|
26
|
+
Succeeded: "Succeeded",
|
|
27
27
|
|
|
28
28
|
@doc("The operation has failed.")
|
|
29
|
-
Failed,
|
|
29
|
+
Failed: "Failed",
|
|
30
30
|
|
|
31
31
|
@doc("The operation has been canceled by the user.")
|
|
32
|
-
Canceled,
|
|
32
|
+
Canceled: "Canceled",
|
|
33
|
+
|
|
34
|
+
string,
|
|
33
35
|
}
|
|
34
36
|
|
|
35
37
|
/**
|
package/package.json
CHANGED