-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
GalleryImageVersionSafetyProfile.cs
38 lines (32 loc) · 2.19 KB
/
GalleryImageVersionSafetyProfile.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
namespace Azure.ResourceManager.Compute.Models
{
/// <summary> This is the safety profile of the Gallery Image Version. </summary>
public partial class GalleryImageVersionSafetyProfile : GalleryArtifactSafetyProfileBase
{
/// <summary> Initializes a new instance of <see cref="GalleryImageVersionSafetyProfile"/>. </summary>
public GalleryImageVersionSafetyProfile()
{
PolicyViolations = new ChangeTrackingList<GalleryImageVersionPolicyViolation>();
}
/// <summary> Initializes a new instance of <see cref="GalleryImageVersionSafetyProfile"/>. </summary>
/// <param name="allowDeletionOfReplicatedLocations"> Indicates whether or not removing this Gallery Image Version from replicated regions is allowed. </param>
/// <param name="serializedAdditionalRawData"> Keeps track of any properties unknown to the library. </param>
/// <param name="isReportedForPolicyViolation"> Indicates whether this image has been reported as violating Microsoft's policies. </param>
/// <param name="policyViolations"> A list of Policy Violations that have been reported for this Gallery Image Version. </param>
internal GalleryImageVersionSafetyProfile(bool? allowDeletionOfReplicatedLocations, IDictionary<string, BinaryData> serializedAdditionalRawData, bool? isReportedForPolicyViolation, IReadOnlyList<GalleryImageVersionPolicyViolation> policyViolations) : base(allowDeletionOfReplicatedLocations, serializedAdditionalRawData)
{
IsReportedForPolicyViolation = isReportedForPolicyViolation;
PolicyViolations = policyViolations;
}
/// <summary> Indicates whether this image has been reported as violating Microsoft's policies. </summary>
public bool? IsReportedForPolicyViolation { get; }
/// <summary> A list of Policy Violations that have been reported for this Gallery Image Version. </summary>
public IReadOnlyList<GalleryImageVersionPolicyViolation> PolicyViolations { get; }
}
}