Open
Description
API Spec link
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
│ {
│ "error": {
│ "code": "InvalidValuesForRequestParameters",
│ "message": "Values for request parameters are invalid: privateLinkServiceConnectionState.status."
│ }
Expected behavior
Api can be hit any number of times for PUT operation
Actual behavior
│ {
│ "error": {
│ "code": "InvalidValuesForRequestParameters",
│ "message": "Values for request parameters are invalid: privateLinkServiceConnectionState.status."
│ }
Reproduction Steps
- Create a manual approval private endpoint
- 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
- Run step2 again , it shouldn't throw error. but it giving error
Environment
No response
Metadata
Metadata
Assignees
Labels
This issue is related to a management-plane library.Workflow: This issue is responsible by Azure service team.Storage Service (Queues, Blobs, Files)This issue requires a change to an existing behavior in the product in order to be resolved.Issues that are reported by GitHub users external to the Azure organization.The issue doesn't require a change to the product in order to be resolved. Most issues start as that