Skip to content
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 @@ -485,6 +485,7 @@
"type": "string",
"description": "The application Condition's Operator, for example Contains for id or In for list of possible IDs, see examples",
"enum": [
"Contains",
"Equals",
"In"
],
Expand All @@ -496,6 +497,10 @@
"value": "Contains",
"description": "Checks that the string value of the data defined in Property contains the given value"
},
{
"value": "Equals",
"description": "Checks that the string value of the data defined in Property equals the given value"
},
{
"value": "In",
"description": "Checks that the string value of the data defined in Property equals any of the given values (exact fit)"
Expand Down
14 changes: 14 additions & 0 deletions specification/security/resource-manager/readme.csharp.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,20 @@ csharp:
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
clear-output-folder: true

directive:
- from: securityContacts.json
where: $.definitions.SecurityContactProperties.properties.alertNotifications.properties.state
transform: >
$['x-ms-enum']['name'] = 'SecurityAlertNotificationState';
- from: securityContacts.json
where: $.definitions.SecurityContactProperties.properties.notificationsByRole.properties.state
transform: >
$['x-ms-enum']['name'] = 'SecurityAlertNotificationByRoleState';
- from: swagger-document
where: $.parameters.AscLocation
transform: >
$['x-ms-parameter-location'] = 'client';
```

``` yaml $(csharp) && !$(multiapi) && !$(profile)
Expand Down