-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
DataFeedFilter.cs
48 lines (41 loc) · 1.69 KB
/
DataFeedFilter.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Azure.AI.MetricsAdvisor.Models;
namespace Azure.AI.MetricsAdvisor.Administration
{
/// <summary>
/// Filters the result of the <see cref="MetricsAdvisorAdministrationClient.GetDataFeeds"/> and
/// <see cref="MetricsAdvisorAdministrationClient.GetDataFeedsAsync"/> operations.
/// </summary>
public class DataFeedFilter
{
/// <summary>
/// Initializes a new instance of the <see cref="DataFeedFilter"/> class.
/// </summary>
public DataFeedFilter()
{
}
/// <summary>
/// Filters the result by <see cref="DataFeed.Name"/>. Only data feeds containing the filter as a
/// substring of their names will be returned. Case insensitive.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Filters the result by <see cref="DataFeed.Creator"/>. Only data feeds containing the filter as a
/// substring of their creators will be returned. Case insensitive.
/// </summary>
public string Creator { get; set; }
/// <summary>
/// Filters the result by <see cref="DataFeed.Status"/>.
/// </summary>
public DataFeedStatus? Status { get; set; }
/// <summary>
/// Filters the result by the kind of the <see cref="DataFeedSource"/>.
/// </summary>
public DataFeedSourceKind? SourceKind { get; set; }
/// <summary>
/// Filters the result by <see cref="DataFeedGranularity.GranularityType"/>.
/// </summary>
public DataFeedGranularityType? GranularityType { get; set; }
}
}