-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ServiceSpecification.cs
37 lines (31 loc) · 1.45 KB
/
ServiceSpecification.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.AppService.Models
{
/// <summary> Resource metrics service provided by Microsoft.Insights resource provider. </summary>
public partial class ServiceSpecification
{
/// <summary> Initializes a new instance of <see cref="ServiceSpecification"/>. </summary>
internal ServiceSpecification()
{
MetricSpecifications = new ChangeTrackingList<MetricSpecification>();
LogSpecifications = new ChangeTrackingList<LogSpecification>();
}
/// <summary> Initializes a new instance of <see cref="ServiceSpecification"/>. </summary>
/// <param name="metricSpecifications"></param>
/// <param name="logSpecifications"></param>
internal ServiceSpecification(IReadOnlyList<MetricSpecification> metricSpecifications, IReadOnlyList<LogSpecification> logSpecifications)
{
MetricSpecifications = metricSpecifications;
LogSpecifications = logSpecifications;
}
/// <summary> Gets the metric specifications. </summary>
public IReadOnlyList<MetricSpecification> MetricSpecifications { get; }
/// <summary> Gets the log specifications. </summary>
public IReadOnlyList<LogSpecification> LogSpecifications { get; }
}
}