Skip to content

Commit 2caa781

Browse files
utsrkrJoshLove-msft
authored andcommitted
Add error and intervention actions. (Azure#23301)
Add error and intervention actions.
1 parent 1833637 commit 2caa781

File tree

1 file changed

+47
-0
lines changed
  • specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01

1 file changed

+47
-0
lines changed

specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/databox.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1896,6 +1896,53 @@
18961896
"description": "To indicate if enumeration of data is in progress. \r\nUntil this is true, the TotalBytesToProcess may not be valid.",
18971897
"type": "boolean",
18981898
"readOnly": true
1899+
},
1900+
"error": {
1901+
"$ref": "#/definitions/CloudError",
1902+
"description": "Error, if any, in the stage",
1903+
"readOnly": true
1904+
},
1905+
"actions": {
1906+
"description": "Available actions on the job.",
1907+
"uniqueItems": false,
1908+
"type": "array",
1909+
"items": {
1910+
"enum": [
1911+
"None",
1912+
"MoveToCleanUpDevice",
1913+
"Resume",
1914+
"Restart",
1915+
"ReachOutToOperation"
1916+
],
1917+
"type": "string",
1918+
"x-ms-enum": {
1919+
"name": "CustomerResolutionCode",
1920+
"modelAsExtensible": true,
1921+
"values": [
1922+
{
1923+
"value": "None",
1924+
"description": "No Resolution Yet"
1925+
},
1926+
{
1927+
"value": "MoveToCleanUpDevice",
1928+
"description": "Clean the device"
1929+
},
1930+
{
1931+
"value": "Resume",
1932+
"description": "Resume the job to same stage"
1933+
},
1934+
{
1935+
"description": "Restart whole action.",
1936+
"value": "Restart"
1937+
},
1938+
{
1939+
"description": "Reach out to operation for further action.",
1940+
"value": "ReachOutToOperation"
1941+
}
1942+
]
1943+
}
1944+
},
1945+
"readOnly": true
18991946
}
19001947
}
19011948
},

0 commit comments

Comments
 (0)