Skip to content

Commit 7240f99

Browse files
author
Ami Hollander
committed
fixes
1 parent a6084ca commit 7240f99

File tree

7 files changed

+17
-29
lines changed

7 files changed

+17
-29
lines changed

specification/security/resource-manager/Microsoft.Security/preview/2025-10-01-preview/examples/OperationResults/GetOperationResultInProgress.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
"parameters": {
33
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
44
"location": "eastus",
5-
"operationId": "00000000-0000-0000-0000-000000000001",
5+
"operationId": "00000000-0000-0000-0000-000000000000",
66
"api-version": "2025-10-01-preview"
77
},
88
"responses": {
99
"202": {
1010
"headers": {
11-
"Location": "https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/locations/eastus/operationResults/00000000-0000-0000-0000-000000000001?api-version=2025-10-01-preview",
11+
"Location": "https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-10-01-preview",
1212
"Retry-After": "10"
1313
}
1414
}

specification/security/resource-manager/Microsoft.Security/preview/2025-10-01-preview/examples/OperationResults/GetOperationResultNoContent.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"parameters": {
33
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
4-
"location": "westeurope",
5-
"operationId": "44444444-4444-4444-4444-444444444444",
4+
"location": "eastus",
5+
"operationId": "00000000-0000-0000-0000-000000000000",
66
"api-version": "2025-10-01-preview"
77
},
88
"responses": {

specification/security/resource-manager/Microsoft.Security/preview/2025-10-01-preview/examples/OperationStatuses/GetOperationStatus.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@
1313
"status": "Succeeded",
1414
"startTime": "2025-10-01T10:00:00.000Z",
1515
"endTime": "2025-10-01T10:05:00.000Z",
16-
"percentComplete": 100.0,
17-
"properties": {
18-
"resourceId": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myResourceGroup/providers/Microsoft.Security/privateLinks/myPrivateLink"
19-
}
16+
"percentComplete": 100.0
2017
}
2118
}
2219
}

specification/security/resource-manager/Microsoft.Security/preview/2025-10-01-preview/examples/OperationStatuses/GetOperationStatusCanceled.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@
1313
"status": "Canceled",
1414
"startTime": "2025-10-01T09:00:00.000Z",
1515
"endTime": "2025-10-01T09:01:15.000Z",
16-
"percentComplete": 25.0,
17-
"properties": {
18-
"resourceId": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myResourceGroup/providers/Microsoft.Security/privateLinks/myPrivateLink"
19-
}
16+
"percentComplete": 25.0
2017
}
2118
}
2219
}

specification/security/resource-manager/Microsoft.Security/preview/2025-10-01-preview/examples/OperationStatuses/GetOperationStatusFailed.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@
2525
"target": "groupIds"
2626
}
2727
]
28-
},
29-
"properties": {
30-
"resourceId": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myResourceGroup/providers/Microsoft.Security/privateLinks/myPrivateLink"
3128
}
3229
}
3330
}

specification/security/resource-manager/Microsoft.Security/preview/2025-10-01-preview/examples/OperationStatuses/GetOperationStatusInProgress.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@
1212
"name": "11111111-1111-1111-1111-111111111111",
1313
"status": "InProgress",
1414
"startTime": "2025-10-01T10:00:00.000Z",
15-
"percentComplete": 45.5,
16-
"properties": {
17-
"resourceId": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myResourceGroup/providers/Microsoft.Security/privateLinks/myPrivateLink"
18-
}
15+
"percentComplete": 45.5
1916
}
2017
}
2118
}

specification/security/resource-manager/Microsoft.Security/preview/2025-10-01-preview/operationResults.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@
3737
"/subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{location}/operationResults/{operationId}": {
3838
"get": {
3939
"x-ms-examples": {
40-
"Get operation result - Completed (200)": {
40+
"Get operation result - Completed": {
4141
"$ref": "./examples/OperationResults/GetOperationResult.json"
4242
},
43-
"Get operation result - In Progress (202)": {
43+
"Get operation result - InProgress": {
4444
"$ref": "./examples/OperationResults/GetOperationResultInProgress.json"
4545
},
46-
"Get operation result - No Content (204)": {
46+
"Get operation result - NoContent": {
4747
"$ref": "./examples/OperationResults/GetOperationResultNoContent.json"
4848
},
4949
"Get operation result - Error": {
@@ -53,7 +53,7 @@
5353
"tags": [
5454
"OperationResults"
5555
],
56-
"description": "Returns operation results for long running operations executing DELETE or PATCH on the resource.",
56+
"description": "Returns operation results for long running operations.",
5757
"operationId": "OperationResults_Get",
5858
"parameters": [
5959
{
@@ -71,24 +71,24 @@
7171
],
7272
"responses": {
7373
"200": {
74-
"description": "Successfully retrieved the operation result."
74+
"description": "The operation has completed successfully."
7575
},
7676
"202": {
7777
"description": "The operation is still in progress.",
7878
"headers": {
7979
"Location": {
80-
"type": "string",
81-
"description": "URL for determining when an operation has completed. Check OperationResult resources this URL to determine the result of the asynchronous operation."
80+
"description": "URL to query for status of the operation.",
81+
"type": "string"
8282
},
8383
"Retry-After": {
84+
"description": "The recommended number of seconds to wait before calling the URI specified in the Location header.",
8485
"type": "integer",
85-
"format": "int32",
86-
"description": "The recommended number of seconds to wait before calling the URI specified in Location."
86+
"format": "int32"
8787
}
8888
}
8989
},
9090
"204": {
91-
"description": "No Content. The operation completed successfully but returned no content."
91+
"description": "The operation has completed successfully with no content."
9292
},
9393
"default": {
9494
"description": "Error response describing why the operation failed.",

0 commit comments

Comments
 (0)