Skip to content

Commit

Permalink
support discrimitor and readonly at same time (Azure#11480)
Browse files Browse the repository at this point in the history
* support discrimitor and readonly at same time

* add trenton file and overrides
  • Loading branch information
chenjianfei2017 authored and giromm2ms committed Dec 20, 2020
1 parent 93cb224 commit 018199a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1208,11 +1208,7 @@
},
"sourceResourceSettings": {
"description": "Gets or sets the source resource settings.",
"allOf": [
{
"$ref": "#/definitions/ResourceSettings"
}
],
"$ref": "#/definitions/ResourceSettings",
"readOnly": true
},
"moveStatus": {
Expand Down
20 changes: 20 additions & 0 deletions specification/resourcemover/resource-manager/readme.trenton.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

## trenton

These settings apply only when `--trenton` is specified on the command line.

``` yaml $(trenton)
trenton:
cli-name: resourcemover
package-name: resourcemover
clear-output-folder: true
output-folder: $(trenton-output-folder)/resourcemover
```
``` yaml $(trenton)
overrides:
- where:
property: dependsOn
set:
- SchemaName: "dependency"
```

0 comments on commit 018199a

Please sign in to comment.