/
UserDefinedResourcesProperties.cs
39 lines (33 loc) · 2.16 KB
/
UserDefinedResourcesProperties.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using System.Linq;
namespace Azure.ResourceManager.SecurityCenter.Models
{
/// <summary> Properties of the IoT Security solution's user defined resources. </summary>
public partial class UserDefinedResourcesProperties
{
/// <summary> Initializes a new instance of UserDefinedResourcesProperties. </summary>
/// <param name="query"> Azure Resource Graph query which represents the security solution's user defined resources. Required to start with "where type != "Microsoft.Devices/IotHubs"". </param>
/// <param name="querySubscriptions"> List of Azure subscription ids on which the user defined resources query should be executed. </param>
public UserDefinedResourcesProperties(string query, IEnumerable<string> querySubscriptions)
{
Query = query;
QuerySubscriptions = querySubscriptions?.ToList();
}
/// <summary> Initializes a new instance of UserDefinedResourcesProperties. </summary>
/// <param name="query"> Azure Resource Graph query which represents the security solution's user defined resources. Required to start with "where type != "Microsoft.Devices/IotHubs"". </param>
/// <param name="querySubscriptions"> List of Azure subscription ids on which the user defined resources query should be executed. </param>
internal UserDefinedResourcesProperties(string query, IList<string> querySubscriptions)
{
Query = query;
QuerySubscriptions = querySubscriptions;
}
/// <summary> Azure Resource Graph query which represents the security solution's user defined resources. Required to start with "where type != "Microsoft.Devices/IotHubs"". </summary>
public string Query { get; set; }
/// <summary> List of Azure subscription ids on which the user defined resources query should be executed. </summary>
public IList<string> QuerySubscriptions { get; set; }
}
}