Open konrad-jamrozik opened 1 year ago
Link to the pipeline where error is seen - https://dev.azure.com/azure-sdk/internal/_build/results?buildId=2604647&view=ms.vss-test-web.build-test-results-tab
@raych1 confirmed in the Teams thread that LintDiff appears to report a false positive.
Some details of the bogus error:
<html>
<body>
<!--StartFragment-->
Rule
--
❌ RequiredPropertiesMissingInResourceModel
<!--EndFragment-->
</body>
</html>Rule
❌ [RequiredPropertiesMissingInResourceModel](https://github.com/Azure/azure-openapi-validator/blob/main/docs/required-properties-missing-in-resource-model.md)
Messges
Model definition 'HyperVSite' must have the properties 'name', 'id' and 'type' in its hierarchy and these properties must be marked as readonly.
Location: [Microsoft.OffAzure/stable/2022-10-27/migrate.json](https://github.com/Azure/azure-rest-api-specs/blob/81aece4a388def0c7cec404a915e0879b78df64f/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2022-10-27/migrate.json#L12646)
Model definition 'ImportSiteResource' must have the properties 'name', 'id' and 'type' in its hierarchy and these properties must be marked as readonly.
Location: [Microsoft.OffAzure/stable/2022-10-27/migrate.json](https://github.com/Azure/azure-rest-api-specs/blob/81aece4a388def0c7cec404a915e0879b78df64f/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2022-10-27/migrate.json#L13613)
Model definition 'MasterSite' must have the properties 'name', 'id' and 'type' in its hierarchy and these properties must be marked as readonly.
Location: [Microsoft.OffAzure/stable/2022-10-27/migrate.json](https://github.com/Azure/azure-rest-api-specs/blob/81aece4a388def0c7cec404a915e0879b78df64f/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2022-10-27/migrate.json#L13883)
Model definition 'ServerSiteResource' must have the properties 'name', 'id' and 'type' in its hierarchy and these properties must be marked as readonly.
Location: [Microsoft.OffAzure/stable/2022-10-27/migrate.json](https://github.com/Azure/azure-rest-api-specs/blob/81aece4a388def0c7cec404a915e0879b78df64f/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2022-10-27/migrate.json#L15271)
Model definition 'V20200201DeleteImportMachinesJob' must have the properties 'name', 'id' and 'type' in its hierarchy and these properties must be marked as readonly.
Location: [Microsoft.OffAzure/stable/2022-10-27/migrate.json](https://github.com/Azure/azure-rest-api-specs/blob/81aece4a388def0c7cec404a915e0879b78df64f/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2022-10-27/migrate.json#L17321)
Model definition 'VMwareSite' must have the properties 'name', 'id' and 'type' in its hierarchy and these properties must be marked as readonly.
Location: [Microsoft.OffAzure/stable/2022-10-27/migrate.json](https://github.com/Azure/azure-rest-api-specs/blob/81aece4a388def0c7cec404a915e0879b78df64f/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2022-10-27/migrate.json#L17679)
Another potential occurrence of this problem:
This is not false alarm. Please see this Teams channel here
Please see here