Skip to content
New issue

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

Change route and security policy to use ActivatedResourceReference fo… #22

Merged
merged 2 commits into from
Nov 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4366,7 +4366,7 @@
"description": "List of domains.",
"type": "array",
"items": {
"$ref": "./cdn.json#/definitions/ResourceReference"
"$ref": "./cdn.json#/definitions/ActivatedResourceReference"
}
},
"patternsToMatch": {
Expand Down Expand Up @@ -5092,7 +5092,7 @@
"description": "Domains referenced by this endpoint.",
"type": "array",
"items": {
"$ref": "./cdn.json#/definitions/ResourceReference"
"$ref": "./cdn.json#/definitions/ActivatedResourceReference"
}
},
"originGroup": {
Expand Down Expand Up @@ -5795,4 +5795,4 @@
"description": "Name of the Resource group within the Azure subscription."
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4546,6 +4546,20 @@
"description": "Reference to another resource.",
"x-ms-azure-resource": true
},
"ActivatedResourceReference": {
"properties": {
"id": {
"type": "string",
"description": "Resource ID."
},
"IsActive": {
"type": "boolean",
"description": "Whether the resource is active or inactive"
}
},
"description": "Reference to another resource along with its state.",
"x-ms-azure-resource": true
},
"GeoFilter": {
"description": "Rules defining user's geo access within a CDN endpoint.",
"type": "object",
Expand Down