forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoperationStatuses.json
More file actions
107 lines (107 loc) · 3.69 KB
/
operationStatuses.json
File metadata and controls
107 lines (107 loc) · 3.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"swagger": "2.0",
"info": {
"title": "ApiManagementClient",
"description": "Resource provider operation status.",
"version": "2023-09-01-preview"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/locations/{location}/operationStatuses/{operationId}": {
"get": {
"operationId": "OperationStatus_Get",
"description": "Returns the current status of an async operation.",
"x-ms-examples": {
"Get operation status": {
"$ref": "./examples/ApiManagementGetOperationStatus.json"
}
},
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/OperationIdParameter"
}
],
"responses": {
"200": {
"description": "Requested operation status",
"schema": {
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/locations/{location}/operationResults/{operationId}": {
"get": {
"tags": [
"OperationResults"
],
"description": "Returns operation results for long running operations executing DELETE or PATCH on the resource.",
"operationId": "OperationsResults_Get",
"x-ms-examples": {
"DeleteOperationResult": {
"$ref": "./examples/ApiManagementGetOperationResult.json"
}
},
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/OperationIdParameter"
}
],
"responses": {
"200": {
"description": "Successfully retrieved the operation result."
},
"202": {
"description": "The operation is still in progress.",
"headers": {
"Location": {
"type": "string",
"description": "URL for determining when an operation has completed."
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
}
}
}
}
}