Skip to content

Commit

Permalink
Network Watcher: Suppressing a validation message
Browse files Browse the repository at this point in the history
  • Loading branch information
irrogozh committed Apr 24, 2018
1 parent 4fc4a59 commit 020667c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions specification/network/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,23 @@ Please also specify `--go-sdk-folder=<path to the root directory of your azure-s
output-folder: $(go-sdk-folder)/services/network/mgmt/2018-02-01/network
```

## Suppression
``` yaml
directive:
- suppress: RequiredPropertiesMissingInResourceModel
from: networkwatcher.json
where: $.definitions.PacketCaptureResult
reason: Packet capture is a non tracked child resource. It has 'name' and 'id' but does not have a 'type'
- suppress: RequiredPropertiesMissingInResourceModel
from: networkwatcher.json
where: $.definitions.NetworkWatcher
reason: Network watcher has reference on resource in network.json which contain 'name, 'id' and 'type'
- suppress: DefinitionsPropertiesNamesCamelCase
from: networkwatcher.json
where: $.definitions.ProtocolConfiguration.properties.HTTPConfiguration
reason: The Connectivity check API has HTTPConfiguration property names with leading capital letters
```

### Tag: package-2018-01 and go

These settings apply only when `--tag=package-2018-01 --go` is specified on the command line.
Expand Down

0 comments on commit 020667c

Please sign in to comment.