-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
CheckPolicyRestrictionsContent.cs
33 lines (27 loc) · 1.4 KB
/
CheckPolicyRestrictionsContent.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.PolicyInsights.Models
{
/// <summary> The check policy restrictions parameters describing the resource that is being evaluated. </summary>
public partial class CheckPolicyRestrictionsContent
{
/// <summary> Initializes a new instance of <see cref="CheckPolicyRestrictionsContent"/>. </summary>
/// <param name="resourceDetails"> The information about the resource that will be evaluated. </param>
/// <exception cref="ArgumentNullException"> <paramref name="resourceDetails"/> is null. </exception>
public CheckPolicyRestrictionsContent(CheckRestrictionsResourceDetails resourceDetails)
{
Argument.AssertNotNull(resourceDetails, nameof(resourceDetails));
ResourceDetails = resourceDetails;
PendingFields = new ChangeTrackingList<PendingField>();
}
/// <summary> The information about the resource that will be evaluated. </summary>
public CheckRestrictionsResourceDetails ResourceDetails { get; }
/// <summary> The list of fields and values that should be evaluated for potential restrictions. </summary>
public IList<PendingField> PendingFields { get; }
}
}