Skip to content

Commit bc2c2c9

Browse files
authored
Synchronous delete and typo fix (#37852)
* Synchronous delete and typo fix * Update for synchronous deletion * Synchronous delete update
1 parent 7f46242 commit bc2c2c9

File tree

3 files changed

+9
-54
lines changed

3 files changed

+9
-54
lines changed

specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/cognitiveservices.json

Lines changed: 7 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -5329,19 +5329,8 @@
53295329
}
53305330
],
53315331
"responses": {
5332-
"202": {
5333-
"description": "Accepted",
5334-
"headers": {
5335-
"Location": {
5336-
"description": "URI to poll for asynchronous operation result.",
5337-
"type": "string"
5338-
},
5339-
"Retry-After": {
5340-
"description": "Duration the client should wait between requests, in seconds.",
5341-
"type": "integer",
5342-
"format": "int32"
5343-
}
5344-
}
5332+
"200": {
5333+
"description": "OK"
53455334
},
53465335
"204": {
53475336
"description": "No Content"
@@ -5353,10 +5342,6 @@
53535342
}
53545343
}
53555344
},
5356-
"x-ms-long-running-operation": true,
5357-
"x-ms-long-running-operation-options": {
5358-
"final-state-via": "location"
5359-
},
53605345
"x-ms-examples": {
53615346
"Delete OutboundRule": {
53625347
"$ref": "./examples/ManagedNetwork/deleteRuleV2.json"
@@ -5367,7 +5352,7 @@
53675352
"tags": [
53685353
"ManagedNetwork"
53695354
],
5370-
"summary": "The GET API for retrieveing a single outbound rule of the managed network associated with the cognitive services account.",
5355+
"summary": "The GET API for retrieving a single outbound rule of the managed network associated with the cognitive services account.",
53715356
"operationId": "OutboundRule_Get",
53725357
"produces": [
53735358
"application/json"
@@ -5501,7 +5486,7 @@
55015486
"tags": [
55025487
"ManagedNetwork"
55035488
],
5504-
"summary": "The GET API for retrieveing the list of outbound rules of the managed network associated with the cognitive services account.",
5489+
"summary": "The GET API for retrieving the list of outbound rules of the managed network associated with the cognitive services account.",
55055490
"operationId": "OutboundRule_List",
55065491
"produces": [
55075492
"application/json"
@@ -6054,7 +6039,7 @@
60546039
"tags": [
60556040
"AgentApplication"
60566041
],
6057-
"summary": "Delete Agent Application (asynchronous).",
6042+
"summary": "Delete Agent Application.",
60586043
"operationId": "AgentApplications_Delete",
60596044
"produces": [
60606045
"application/json"
@@ -6081,26 +6066,8 @@
60816066
}
60826067
],
60836068
"responses": {
6084-
"202": {
6085-
"description": "Accepted",
6086-
"headers": {
6087-
"x-ms-async-operation-timeout": {
6088-
"description": "Timeout for the client to use when polling the asynchronous operation.",
6089-
"type": "string",
6090-
"format": "duration"
6091-
},
6092-
"Location": {
6093-
"description": "URI to poll for asynchronous operation result.",
6094-
"type": "string"
6095-
},
6096-
"Retry-After": {
6097-
"description": "Duration the client should wait between requests, in seconds.",
6098-
"type": "integer",
6099-
"format": "int32",
6100-
"maximum": 600,
6101-
"minimum": 10
6102-
}
6103-
}
6069+
"200": {
6070+
"description": "OK"
61046071
},
61056072
"204": {
61066073
"description": "No Content"
@@ -6116,10 +6083,6 @@
61166083
"Delete Account Agent Application.": {
61176084
"$ref": "./examples/AgentApplication/delete.json"
61186085
}
6119-
},
6120-
"x-ms-long-running-operation": true,
6121-
"x-ms-long-running-operation-options": {
6122-
"final-state-via": "location"
61236086
}
61246087
},
61256088
"get": {

specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/AgentApplication/delete.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,7 @@
77
"api-version": "2025-10-01-preview"
88
},
99
"responses": {
10-
"202": {
11-
"headers": {
12-
"Location": "eastus"
13-
}
14-
},
10+
"200": {},
1511
"204": {}
1612
}
1713
}

specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/ManagedNetwork/deleteRuleV2.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@
88
"api-version": "2025-10-01-preview"
99
},
1010
"responses": {
11-
"202": {
12-
"headers": {
13-
"Location": "location_url_to_poll_for_status"
14-
}
15-
},
11+
"200": {},
1612
"204": {}
1713
}
1814
}

0 commit comments

Comments
 (0)