NotificationContent(String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of NotificationContent.
public NotificationContent (string alertType);
new Azure.ResourceManager.Monitor.Models.NotificationContent : string -> Azure.ResourceManager.Monitor.Models.NotificationContent
Public Sub New (alertType As String)
Parameters
- alertType
- String
The value of the supported alert type. Supported alert type values are: servicehealth, metricstaticthreshold, metricsdynamicthreshold, logalertv2, smartalert, webtestalert, logalertv1numresult, logalertv1metricmeasurement, resourcehealth, activitylog, actualcostbudget, forecastedbudget.
Exceptions
alertType
is null.
Applies to
Azure SDK for .NET