We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Site Recovery
2022-10-01
The object in Swagger was described as optional but there is no omitempty label in go-azure-sdk.
optional
omitempty
Swagger Definition: https://github.com/Azure/azure-rest-api-specs/blob/main/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2022-10-01/service.json#L10876
go-azure-sdk: https://github.com/hashicorp/go-azure-sdk/blob/main/resource-manager/recoveryservicessiterecovery/2022-10-01/replicationprotecteditems/model_disableprotectioninputproperties.go#L13
{ "properties": { "replicationProviderInput": null } }
{ "error": { "code": "BadRequest", "details": [ { "activityId": "xxxx", "clientRequestId": "xxxx", "code": "FailedToStartOperation", "message": "Failed to start operation. Verify input and try operation again.", "possibleCauses": "Invalid parameters were specified.", "recommendedAction": "Verify the input and try again." } ], "message": "Failed to start operation. Verify input and try operation again." } }
{ "properties": {} }
response is HTTP 202 without body
Azure/azure-rest-api-specs#22947
The text was updated successfully, but these errors were encountered:
azurerm_site_recovery_hyperv_replicated_vm
No branches or pull requests
Is there an existing issue for this?
Community Note
Service Used
Site Recovery
API Versions Used
2022-10-01
Description
The object in Swagger was described as
optional
but there is noomitempty
label in go-azure-sdk.Swagger Definition: https://github.com/Azure/azure-rest-api-specs/blob/main/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2022-10-01/service.json#L10876
go-azure-sdk: https://github.com/hashicorp/go-azure-sdk/blob/main/resource-manager/recoveryservicessiterecovery/2022-10-01/replicationprotecteditems/model_disableprotectioninputproperties.go#L13
the correct request payload and response
the failed request payload and response
response is HTTP 202 without body
References
Azure/azure-rest-api-specs#22947
The text was updated successfully, but these errors were encountered: