Skip to content

Commit 764b430

Browse files
utsrkrUttaran Sarkar
authored andcommitted
fix swagger s360 (Azure#22793)
Co-authored-by: Uttaran Sarkar <[email protected]>
1 parent c0f77b8 commit 764b430

File tree

2 files changed

+188
-0
lines changed

2 files changed

+188
-0
lines changed

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

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2023,6 +2023,53 @@
20232023
"description": "To indicate if enumeration of data is in progress. \r\nUntil this is true, the TotalBytesToProcess may not be valid.",
20242024
"type": "boolean",
20252025
"readOnly": true
2026+
},
2027+
"error": {
2028+
"$ref": "#/definitions/CloudError",
2029+
"description": "Error, if any, in the stage",
2030+
"readOnly": true
2031+
},
2032+
"actions": {
2033+
"description": "Available actions on the job.",
2034+
"uniqueItems": false,
2035+
"type": "array",
2036+
"items": {
2037+
"enum": [
2038+
"None",
2039+
"MoveToCleanUpDevice",
2040+
"Resume",
2041+
"Restart",
2042+
"ReachOutToOperation"
2043+
],
2044+
"type": "string",
2045+
"x-ms-enum": {
2046+
"name": "CustomerResolutionCode",
2047+
"modelAsExtensible": true,
2048+
"values": [
2049+
{
2050+
"value": "None",
2051+
"description": "No Resolution Yet"
2052+
},
2053+
{
2054+
"value": "MoveToCleanUpDevice",
2055+
"description": "Clean the device"
2056+
},
2057+
{
2058+
"value": "Resume",
2059+
"description": "Resume the job to same stage"
2060+
},
2061+
{
2062+
"description": "Restart whole action.",
2063+
"value": "Restart"
2064+
},
2065+
{
2066+
"description": "Reach out to operation for further action.",
2067+
"value": "ReachOutToOperation"
2068+
}
2069+
]
2070+
}
2071+
},
2072+
"readOnly": true
20262073
}
20272074
}
20282075
},
@@ -2692,6 +2739,53 @@
26922739
}
26932740
]
26942741
}
2742+
},
2743+
"error": {
2744+
"$ref": "#/definitions/CloudError",
2745+
"description": "Error, if any, in the stage",
2746+
"readOnly": true
2747+
},
2748+
"actions": {
2749+
"description": "Available actions on the job.",
2750+
"uniqueItems": false,
2751+
"type": "array",
2752+
"items": {
2753+
"enum": [
2754+
"None",
2755+
"MoveToCleanUpDevice",
2756+
"Resume",
2757+
"Restart",
2758+
"ReachOutToOperation"
2759+
],
2760+
"type": "string",
2761+
"x-ms-enum": {
2762+
"name": "CustomerResolutionCode",
2763+
"modelAsExtensible": true,
2764+
"values": [
2765+
{
2766+
"value": "None",
2767+
"description": "No Resolution Yet"
2768+
},
2769+
{
2770+
"value": "MoveToCleanUpDevice",
2771+
"description": "Clean the device"
2772+
},
2773+
{
2774+
"value": "Resume",
2775+
"description": "Resume the job to same stage"
2776+
},
2777+
{
2778+
"description": "Restart whole action.",
2779+
"value": "Restart"
2780+
},
2781+
{
2782+
"description": "Reach out to operation for further action.",
2783+
"value": "ReachOutToOperation"
2784+
}
2785+
]
2786+
}
2787+
},
2788+
"readOnly": true
26952789
}
26962790
}
26972791
},

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

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2023,6 +2023,53 @@
20232023
"description": "To indicate if enumeration of data is in progress. \r\nUntil this is true, the TotalBytesToProcess may not be valid.",
20242024
"type": "boolean",
20252025
"readOnly": true
2026+
},
2027+
"error": {
2028+
"$ref": "#/definitions/CloudError",
2029+
"description": "Error, if any, in the stage",
2030+
"readOnly": true
2031+
},
2032+
"actions": {
2033+
"description": "Available actions on the job.",
2034+
"uniqueItems": false,
2035+
"type": "array",
2036+
"items": {
2037+
"enum": [
2038+
"None",
2039+
"MoveToCleanUpDevice",
2040+
"Resume",
2041+
"Restart",
2042+
"ReachOutToOperation"
2043+
],
2044+
"type": "string",
2045+
"x-ms-enum": {
2046+
"name": "CustomerResolutionCode",
2047+
"modelAsExtensible": true,
2048+
"values": [
2049+
{
2050+
"value": "None",
2051+
"description": "No Resolution Yet"
2052+
},
2053+
{
2054+
"value": "MoveToCleanUpDevice",
2055+
"description": "Clean the device"
2056+
},
2057+
{
2058+
"value": "Resume",
2059+
"description": "Resume the job to same stage"
2060+
},
2061+
{
2062+
"description": "Restart whole action.",
2063+
"value": "Restart"
2064+
},
2065+
{
2066+
"description": "Reach out to operation for further action.",
2067+
"value": "ReachOutToOperation"
2068+
}
2069+
]
2070+
}
2071+
},
2072+
"readOnly": true
20262073
}
20272074
}
20282075
},
@@ -2692,6 +2739,53 @@
26922739
}
26932740
]
26942741
}
2742+
},
2743+
"error": {
2744+
"$ref": "#/definitions/CloudError",
2745+
"description": "Error, if any, in the stage",
2746+
"readOnly": true
2747+
},
2748+
"actions": {
2749+
"description": "Available actions on the job.",
2750+
"uniqueItems": false,
2751+
"type": "array",
2752+
"items": {
2753+
"enum": [
2754+
"None",
2755+
"MoveToCleanUpDevice",
2756+
"Resume",
2757+
"Restart",
2758+
"ReachOutToOperation"
2759+
],
2760+
"type": "string",
2761+
"x-ms-enum": {
2762+
"name": "CustomerResolutionCode",
2763+
"modelAsExtensible": true,
2764+
"values": [
2765+
{
2766+
"value": "None",
2767+
"description": "No Resolution Yet"
2768+
},
2769+
{
2770+
"value": "MoveToCleanUpDevice",
2771+
"description": "Clean the device"
2772+
},
2773+
{
2774+
"value": "Resume",
2775+
"description": "Resume the job to same stage"
2776+
},
2777+
{
2778+
"description": "Restart whole action.",
2779+
"value": "Restart"
2780+
},
2781+
{
2782+
"description": "Reach out to operation for further action.",
2783+
"value": "ReachOutToOperation"
2784+
}
2785+
]
2786+
}
2787+
},
2788+
"readOnly": true
26952789
}
26962790
}
26972791
},

0 commit comments

Comments
 (0)