Exemple #1
0
 /// <summary>
 /// Returns the total number of alerts, per tenant, that haven't been read by
 /// the current user.
 /// </summary>
 /// <remarks>
 /// Required permissions: Alerts.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 public static ODataResponseInt64 GetUnreadCount(this IAlerts operations)
 {
     return(operations.GetUnreadCountAsync().GetAwaiter().GetResult());
 }
Exemple #2
0
 /// <summary>
 /// Returns the total number of alerts, per tenant, that haven't been read by
 /// the current user.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Monitoring or
 /// Monitoring.Read.
 ///
 /// Required permissions: Alerts.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='expand'>
 /// Indicates the related entities to be represented inline. The maximum depth
 /// is 2.
 /// </param>
 /// <param name='select'>
 /// Limits the properties returned in the result.
 /// </param>
 public static ODataValueOfInt64 GetUnreadCount(this IAlerts operations, string expand = default(string), string select = default(string))
 {
     return(operations.GetUnreadCountAsync(expand, select).GetAwaiter().GetResult());
 }