-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Microsoft Graph DevX Tooling
authored and
Microsoft Graph DevX Tooling
committed
Aug 9, 2024
1 parent
83ceab1
commit 89b82dc
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# NetworkAccess | ||
|
||
This directory contains common [AutoREST.PowerShell](https://github.com/Azure/autorest.powershell) configurations for NetworkAccess v1.0 and/or beta modules. | ||
|
||
## AutoRest Configuration | ||
|
||
> see <https://aka.ms/autorest> | ||
``` yaml | ||
require: | ||
- $(this-folder)/../readme.graph.md | ||
``` | ||
### Directives | ||
> see https://github.com/Azure/autorest/blob/master/docs/powershell/directives.md | ||
``` yaml | ||
directive: | ||
# Rename headers parameter provided in the open api file to avoid conflict with existing header property generated by Autorest for custom header support. | ||
- where: | ||
verb: New | ||
subject: ^NetworkAccessLogTraffic$ | ||
variant: CreateExpanded | ||
parameter-name: Headers | ||
set: | ||
parameter-name: AccessHeaders | ||
- where: | ||
verb: Update | ||
subject: ^NetworkAccessLogTraffic$ | ||
variant: ^(UpdateExpanded|UpdateViaIdentityExpanded)$ | ||
parameter-name: Headers | ||
set: | ||
parameter-name: AccessHeaders | ||
# Parameter BodyParameter has multiple parameter types. | ||
- where: | ||
verb: Update | ||
subject: ^NetworkAccessForwardingPolicyRule$ | ||
remove: true | ||
``` |