Skip to content

Commit

Permalink
Merge pull request #22 from rrahulms/patch-3
Browse files Browse the repository at this point in the history
Change route and security policy to use ActivatedResourceReference fo…
  • Loading branch information
rrahulms authored Nov 20, 2021
2 parents b7ef25e + 05282f7 commit b53ee49
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
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

0 comments on commit b53ee49

Please sign in to comment.