-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ResourceHealthMetadataEntityData.cs
55 lines (49 loc) · 2.68 KB
/
ResourceHealthMetadataEntityData.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
49
50
51
52
53
54
55
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
using Azure.ResourceManager.Models;
using Azure.ResourceManager.ResourceHealth.Models;
namespace Azure.ResourceManager.ResourceHealth
{
/// <summary>
/// A class representing the ResourceHealthMetadataEntity data model.
/// The metadata entity contract.
/// </summary>
public partial class ResourceHealthMetadataEntityData : ResourceData
{
/// <summary> Initializes a new instance of ResourceHealthMetadataEntityData. </summary>
internal ResourceHealthMetadataEntityData()
{
DependsOn = new ChangeTrackingList<string>();
ApplicableScenarios = new ChangeTrackingList<MetadataEntityScenario>();
SupportedValues = new ChangeTrackingList<MetadataSupportedValueDetail>();
}
/// <summary> Initializes a new instance of ResourceHealthMetadataEntityData. </summary>
/// <param name="id"> The id. </param>
/// <param name="name"> The name. </param>
/// <param name="resourceType"> The resourceType. </param>
/// <param name="systemData"> The systemData. </param>
/// <param name="displayName"> The display name. </param>
/// <param name="dependsOn"> The list of keys on which this entity depends on. </param>
/// <param name="applicableScenarios"> The list of scenarios applicable to this metadata entity. </param>
/// <param name="supportedValues"> The list of supported values. </param>
internal ResourceHealthMetadataEntityData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string displayName, IReadOnlyList<string> dependsOn, IReadOnlyList<MetadataEntityScenario> applicableScenarios, IReadOnlyList<MetadataSupportedValueDetail> supportedValues) : base(id, name, resourceType, systemData)
{
DisplayName = displayName;
DependsOn = dependsOn;
ApplicableScenarios = applicableScenarios;
SupportedValues = supportedValues;
}
/// <summary> The display name. </summary>
public string DisplayName { get; }
/// <summary> The list of keys on which this entity depends on. </summary>
public IReadOnlyList<string> DependsOn { get; }
/// <summary> The list of scenarios applicable to this metadata entity. </summary>
public IReadOnlyList<MetadataEntityScenario> ApplicableScenarios { get; }
/// <summary> The list of supported values. </summary>
public IReadOnlyList<MetadataSupportedValueDetail> SupportedValues { get; }
}
}