Open krupakar1329 opened 2 months ago
https://learn.microsoft.com/en-us/rest/api/storagerp/private-endpoint-connections/put?view=rest-storagerp-2023-05-01&tabs=HTTP
2023-05-01
Trying to approve the private endpoint connection , which is in Approved state shouldnt throw error for idempotent operations. But getting
│ { │ "error": { │ "code": "InvalidValuesForRequestParameters", │ "message": "Values for request parameters are invalid: privateLinkServiceConnectionState.status." │ }
Api can be hit any number of times for PUT operation
1) Create a manual approval private endpoint 2) Use https://learn.microsoft.com/en-us/rest/api/storagerp/private-endpoint-connections/put?view=rest-storagerp-2023-05-01&tabs=HTTP to approve private endpoint 3) Run step2 again , it shouldn't throw error. but it giving error
No response
@golddove Please help take a look, thanks.
@triciarosario Please help take a look, thanks.
API Spec link
https://learn.microsoft.com/en-us/rest/api/storagerp/private-endpoint-connections/put?view=rest-storagerp-2023-05-01&tabs=HTTP
API Spec version
2023-05-01
Describe the bug
Trying to approve the private endpoint connection , which is in Approved state shouldnt throw error for idempotent operations. But getting
Expected behavior
Api can be hit any number of times for PUT operation
Actual behavior
Reproduction Steps
1) Create a manual approval private endpoint 2) Use https://learn.microsoft.com/en-us/rest/api/storagerp/private-endpoint-connections/put?view=rest-storagerp-2023-05-01&tabs=HTTP to approve private endpoint 3) Run step2 again , it shouldn't throw error. but it giving error
Environment
No response