Skip to content

Commit c616709

Browse files
bvigliettaBen Viglietta
authored andcommitted
Remove operationStatuses endpoint from Swagger (Azure#14153)
Co-authored-by: Ben Viglietta <benvi@ntdev.microsoft.com>
1 parent a6a9ef1 commit c616709

File tree

2 files changed

+0
-140
lines changed

2 files changed

+0
-140
lines changed

specification/communication/resource-manager/Microsoft.Communication/stable/2020-08-20/CommunicationService.json

Lines changed: 0 additions & 114 deletions
Original file line numberDiff line numberDiff line change
@@ -173,52 +173,6 @@
173173
}
174174
}
175175
},
176-
"/providers/Microsoft.Communication/locations/{location}/operationStatuses/{operationId}": {
177-
"get": {
178-
"description": "Gets the current status of an async operation.",
179-
"operationId": "OperationStatuses_Get",
180-
"summary": "Get Operation Status",
181-
"tags": [
182-
"OperationStatus"
183-
],
184-
"parameters": [
185-
{
186-
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
187-
},
188-
{
189-
"$ref": "#/parameters/LocationParameter"
190-
},
191-
{
192-
"$ref": "#/parameters/OperationIdParameter"
193-
}
194-
],
195-
"consumes": [
196-
"application/json"
197-
],
198-
"responses": {
199-
"200": {
200-
"description": "The requested operation status",
201-
"schema": {
202-
"$ref": "#/definitions/OperationStatus"
203-
}
204-
},
205-
"default": {
206-
"description": "Error response describing why the operation failed.",
207-
"schema": {
208-
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
209-
}
210-
}
211-
},
212-
"produces": [
213-
"application/json"
214-
],
215-
"x-ms-examples": {
216-
"Get OperationStatus": {
217-
"$ref": "./examples/getOperationStatus.json"
218-
}
219-
}
220-
}
221-
},
222176
"/subscriptions/{subscriptionId}/providers/Microsoft.Communication/communicationServices": {
223177
"get": {
224178
"description": "Handles requests to list all resources in a subscription.",
@@ -703,58 +657,6 @@
703657
}
704658
}
705659
},
706-
"OperationStatus": {
707-
"description": "The current status of an async operation",
708-
"type": "object",
709-
"properties": {
710-
"id": {
711-
"description": "Fully qualified ID for the operation status.",
712-
"type": "string",
713-
"readOnly": true
714-
},
715-
"status": {
716-
"description": "Provisioning state of the resource.",
717-
"enum": [
718-
"Succeeded",
719-
"Failed",
720-
"Canceled",
721-
"Creating",
722-
"Deleting",
723-
"Moving"
724-
],
725-
"type": "string",
726-
"readOnly": true,
727-
"x-ms-enum": {
728-
"name": "Status",
729-
"modelAsString": true
730-
}
731-
},
732-
"startTime": {
733-
"description": "The start time of the operation",
734-
"type": "string",
735-
"readOnly": true,
736-
"format": "date-time"
737-
},
738-
"endTime": {
739-
"description": "The end time of the operation",
740-
"type": "string",
741-
"readOnly": true,
742-
"format": "date-time"
743-
},
744-
"percentComplete": {
745-
"description": "Percent of the operation that is complete",
746-
"type": "number",
747-
"readOnly": true,
748-
"minimum": 0,
749-
"maximum": 100
750-
},
751-
"error": {
752-
"description": "Operation Error message",
753-
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse",
754-
"x-ms-client-flatten": true
755-
}
756-
}
757-
},
758660
"CommunicationServiceResourceList": {
759661
"description": "Object that includes an array of CommunicationServices and a possible link for next set.",
760662
"type": "object",
@@ -938,22 +840,6 @@
938840
"required": true,
939841
"type": "string",
940842
"x-ms-parameter-location": "method"
941-
},
942-
"LocationParameter": {
943-
"name": "location",
944-
"in": "path",
945-
"description": "The Azure region",
946-
"required": true,
947-
"type": "string",
948-
"x-ms-parameter-location": "method"
949-
},
950-
"OperationIdParameter": {
951-
"name": "operationId",
952-
"in": "path",
953-
"description": "The ID of an ongoing async operation",
954-
"required": true,
955-
"type": "string",
956-
"x-ms-parameter-location": "method"
957843
}
958844
}
959845
}

specification/communication/resource-manager/Microsoft.Communication/stable/2020-08-20/examples/getOperationStatus.json

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)