Azure / Azure/azure-rest-api-specs
`Microsoft.Network/networkManagers` ListDeploymentStatus might return empty after Commit
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 444
Description
ListDeploymentStatus API:
https://github.com/Azure/azure-rest-api-specs/blob/907b79c0a6a660826e54dc1f16ea14b831b201d2/specification/network/resource-manager/Microsoft.Network/stable/2023-09-01/networkManager.json#L272-L306
Commit API:
https://github.com/Azure/azure-rest-api-specs/blob/907b79c0a6a660826e54dc1f16ea14b831b201d2/specification/network/resource-manager/Microsoft.Network/stable/2023-09-01/networkManager.json#L203-L234
coorelationId: 2a08bb20-910f-a83a-7d18-81b640e3fb99
### first ListDeploymentStatus returns empty
POST https://management.azure.com/subscriptions/sub-id/resourceGroups/backplane-avnm-resource-group/providers/Microsoft.Network/networkManagers/backplane-network-manager/listDeploymentStatus?api-version=2023-04-01
2023-12-12T19:57:23.9486802Z
List deployment status request
"RequestBody":{"deploymentTypes":["Connectivity"],"regions":["koreacentral"]}
2023-12-12T19:57:23.9711687Z
List deployment status response
"Body":"{\"skipToken\":\"\",\"value\":[]}"}
### Then submit the commit
POST https://management.azure.com/subscriptions/sub-id/resourceGroups/backplane-avnm-resource-group/providers/Microsoft.Network/networkManagers/backplane-network-manager/commit?api-version=2023-04-01
2023-12-12T19:57:24.493695Z
commit request
"RequestBody":{"commitType":"Connectivity","configurationIds":["/subscriptions/sub-id/resourceGroups/backplane-avnm-resource-group/providers/Microsoft.Network/networkManagers/backplane-network-manager/connectivityConfigurations/backplane-connectivity-config"],"targetLocations":["koreacentral"]},"ErrorMsg":""}
2023-12-12T19:57:24.5895588Z
commit response
"Body":"{\"configurationIds\":[\"/subscriptions/sub-id/resourceGroups/backplane-avnm-resource-group/providers/Microsoft.Network/networkManagers/backplane-network-manager/connectivityConfigurations/backplane-connectivity-config\"],\"targetLocations\":[\"koreacentral\"],\"commitType\":\"Connectivity\",\"commitId\":\"/subscriptions/sub-id/resourceGroups/backplane-avnm-resource-group/providers/Microsoft.Network/networkManagers/backplane-network-manager/commit/\"}"}
### after seconds, retrieve the commit through ListDeploymentStatus, still returns empty
POST https://management.azure.com/subscriptions/sub-id/resourceGroups/backplane-avnm-resource-group/providers/Microsoft.Network/networkManagers/backplane-network-manager/listDeploymentStatus?api-version=2023-04-01
2023-12-12T19:57:35.1961786Z
List deployment status request
"RequestBody":{"deploymentTypes":["Connectivity"],"regions":["koreacentral"]},"ErrorMsg":""}
2023-12-12T19:57:35.2154773Z
List deployment status response
"Body":"{\"skipToken\":\"\",\"value\":[]}"}
Contributor guide
Research direction
Start with specification/network/resource-manager/Microsoft.Network/stable/2023-09-01/networkManager.json, inspecting the ListDeploymentStatus and Commit operations linked in the report. Compare their documented requests and responses with the supplied API-version requests and observed empty results. Done means the specification accurately describes the service behavior or clearly records the required API correction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, openapi
- Domain
- api, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100