forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding new resource type for alerts meta data (Azure#6459)
* Alerts meta data api * Added example for alerts meta data resource type * Added identifier parameter to examples/AlertsMetaData_MonitorService.json file * Fix value of identifier parameter in examples/AlertsMetaData_MonitorService.json file * Fix value of identifier parameter in examples/AlertsMetaData_MonitorService.json file * Added one more enum value for identifier enum * Added remove added extra enum value for identifier enum * Added enum for identifier in definitions * Rename identifier in definitions to metadataIdentifier * Added enum for metadataIdentifier in definitions * Added enum for metadataIdentifier in definitions * Update test title in AlertsManagement.json * Schematic changes * Added defination for monitor service * Added defination for monitor service * Added defination for monitor service * Use discriminator for data of alerts meta properties * Fix error * Fix error
- Loading branch information
1 parent
21f1fc6
commit 54f111d
Showing
2 changed files
with
199 additions
and
1 deletion.
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
89 changes: 89 additions & 0 deletions
89
...t.AlertsManagement/preview/2019-05-05-preview/examples/AlertsMetaData_MonitorService.json
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,89 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-05-05-preview", | ||
"identifier": "MonitorServiceList" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"metadataIdentifier": "MonitorServiceList", | ||
"data": [ | ||
{ | ||
"name": "ActivityLog Administrative", | ||
"displayName": "Activity Log - Administrative" | ||
}, | ||
{ | ||
"name": "ActivityLog Autoscale", | ||
"displayName": "Activity Log - Autoscale" | ||
}, | ||
{ | ||
"name": "ActivityLog Policy", | ||
"displayName": "Activity Log - Policy" | ||
}, | ||
{ | ||
"name": "ActivityLog Recommendation", | ||
"displayName": "Activity Log - Recommendation" | ||
}, | ||
{ | ||
"name": "ActivityLog Security", | ||
"displayName": "Activity Log - Security" | ||
}, | ||
{ | ||
"name": "Application Insights", | ||
"displayName": "Application Insights" | ||
}, | ||
{ | ||
"name": "Azure Backup", | ||
"displayName": "Azure Backup" | ||
}, | ||
{ | ||
"name": "Custom", | ||
"displayName": "Custom" | ||
}, | ||
{ | ||
"name": "Data Box Edge", | ||
"displayName": "Data Box Edge" | ||
}, | ||
{ | ||
"name": "VM Insights", | ||
"displayName": "VM Insights" | ||
}, | ||
{ | ||
"name": "Log Analytics", | ||
"displayName": "Log Analytics" | ||
}, | ||
{ | ||
"name": "Nagios", | ||
"displayName": "NAGIOS" | ||
}, | ||
{ | ||
"name": "Platform", | ||
"displayName": "Platform" | ||
}, | ||
{ | ||
"name": "Resource Health", | ||
"displayName": "Resource Health" | ||
}, | ||
{ | ||
"name": "SCOM", | ||
"displayName": "SCOM" | ||
}, | ||
{ | ||
"name": "ServiceHealth", | ||
"displayName": "Service Health" | ||
}, | ||
{ | ||
"name": "Smart Detector", | ||
"displayName": "SmartDetector" | ||
}, | ||
{ | ||
"name": "Zabbix", | ||
"displayName": "ZABBIX" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |