Skip to content

TrackedResourceValidation: needs to be split #1941

Closed

Description

Tracked Resource failing validation is: "{0}". Validation Failed: {1}.
A Tracked Resource must have:
1. A Get Operation
2. A ListByResourceGroup operation with x-ms-pageable extension and
3. A ListBySubscriptionId operation with x-ms-pageable extension.
4. "type","location","tags" should not be used in the RP property bag named "properties".

Let's remove #1, because we already have rule M3027, rest need to be split in separate rules
#2 and #3, should be applied to models only from responses.
#4 should be applied to all tracked resources, not just the ones in responses, the rule should just be applied in the first/top level of "properties".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions