Skip to content

Commit d88cf36

Browse files
committed
Add second renaming
1 parent aa2c097 commit d88cf36

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

specification/security/resource-manager/readme.csharp.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,20 @@ csharp:
1212
payload-flattening-threshold: 2
1313
clear-output-folder: true
1414

15-
directive:
15+
directive:
1616
- from: securityContacts.json
1717
where: $.definitions.SecurityContactProperties.properties.alertNotifications.properties.state
18-
transform: >
19-
$['x-ms-enum']['name'] = 'stateEnum';
18+
transform: >
19+
$['x-ms-enum']['name'] = 'SecurityAlertNotificationState';
20+
- from: securityContacts.json
21+
where: $.definitions.SecurityContactProperties.properties.notificationsByRole.properties.state
22+
transform: >
23+
$['x-ms-enum']['name'] = 'SecurityAlertNotificationByRoleState';
2024
```
2125
2226
``` yaml $(csharp) && !$(multiapi) && !$(profile)
2327
namespace: Microsoft.Azure.Management.Security
2428
output-folder: $(csharp-sdks-folder)/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Generated
25-
26-
directive:
27-
- from: securityContacts.json
28-
where: $.definitions.SecurityContactProperties.properties.alertNotifications.properties.state
29-
transform: >
30-
$['x-ms-enum']['name'] = 'stateEnum';
3129
```
3230
3331
## Batch settings

0 commit comments

Comments
 (0)