PrivateEndpointResourceSchemaValidation
October 10, 2022 ยท View on GitHub
Category
SDK Error
Applies to
ARM OpenAPI(swagger) specs
Output Message
The private endpoint model "{0}" schema does not conform to the common type definition.
Description
This rule is to check if the schemas used by private endpoint conform to the common privateLink. The rule will check the schemas of following models and their properties:
- PrivateEndpointConnection
- PrivateEndpointConnectionProperties
- PrivateEndpointConnectionListResult
- PrivateLinkResource
- PrivateLinkResourceProperties
- PrivateLinkResourceListResult
CreatedAt
February 23, 2021
LastModifiedAt
February 23, 2021
Why this rule is important
The schemas used by private endpoint should have same definition.
How to fix the violation
Please reference to the common private endpoint definition in privateLink.