-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
OperationalInsightsWorkspacePurgeContent.cs
36 lines (30 loc) · 1.51 KB
/
OperationalInsightsWorkspacePurgeContent.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;
using Azure.Core;
namespace Azure.ResourceManager.OperationalInsights.Models
{
/// <summary> Describes the body of a purge request for an App Insights Workspace. </summary>
public partial class OperationalInsightsWorkspacePurgeContent
{
/// <summary> Initializes a new instance of OperationalInsightsWorkspacePurgeContent. </summary>
/// <param name="table"> Table from which to purge data. </param>
/// <param name="filters"> The set of columns and filters (queries) to run over them to purge the resulting data. </param>
/// <exception cref="ArgumentNullException"> <paramref name="table"/> or <paramref name="filters"/> is null. </exception>
public OperationalInsightsWorkspacePurgeContent(string table, IEnumerable<OperationalInsightsWorkspacePurgeFilter> filters)
{
Argument.AssertNotNull(table, nameof(table));
Argument.AssertNotNull(filters, nameof(filters));
Table = table;
Filters = filters.ToList();
}
/// <summary> Table from which to purge data. </summary>
public string Table { get; }
/// <summary> The set of columns and filters (queries) to run over them to purge the resulting data. </summary>
public IList<OperationalInsightsWorkspacePurgeFilter> Filters { get; }
}
}