/
ExcelPerformanceDetail.cs
39 lines (33 loc) · 1.97 KB
/
ExcelPerformanceDetail.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;
using System.Collections.Generic;
namespace Azure.ResourceManager.MigrationDiscoverySap.Models
{
/// <summary> The SAP instance specific performance data for Excel import. </summary>
public partial class ExcelPerformanceDetail : PerformanceDetail
{
/// <summary> Initializes a new instance of <see cref="ExcelPerformanceDetail"/>. </summary>
internal ExcelPerformanceDetail()
{
DataSource = SapDiscoveryDataSource.Excel;
}
/// <summary> Initializes a new instance of <see cref="ExcelPerformanceDetail"/>. </summary>
/// <param name="dataSource"> The data source of the performance data. </param>
/// <param name="serializedAdditionalRawData"> Keeps track of any properties unknown to the library. </param>
/// <param name="maxCpuLoad"> Provide the max CPU percentage load on the server. Omit the percentage symbol while filling this value. </param>
/// <param name="totalSourceDbSizeGB"> Provide the source Database size in GB. Applicable only if SAP instance type for this server instance is 'DB'. </param>
internal ExcelPerformanceDetail(SapDiscoveryDataSource dataSource, IDictionary<string, BinaryData> serializedAdditionalRawData, int? maxCpuLoad, int? totalSourceDbSizeGB) : base(dataSource, serializedAdditionalRawData)
{
MaxCpuLoad = maxCpuLoad;
TotalSourceDbSizeGB = totalSourceDbSizeGB;
DataSource = dataSource;
}
/// <summary> Provide the max CPU percentage load on the server. Omit the percentage symbol while filling this value. </summary>
public int? MaxCpuLoad { get; }
/// <summary> Provide the source Database size in GB. Applicable only if SAP instance type for this server instance is 'DB'. </summary>
public int? TotalSourceDbSizeGB { get; }
}
}