| | 1 | | // <auto-generated> |
| | 2 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 3 | | // Licensed under the MIT License. See License.txt in the project root for |
| | 4 | | // license information. |
| | 5 | | // |
| | 6 | | // Code generated by Microsoft (R) AutoRest Code Generator. |
| | 7 | | // Changes may cause incorrect behavior and will be lost if the code is |
| | 8 | | // regenerated. |
| | 9 | | // </auto-generated> |
| | 10 | |
|
| | 11 | | namespace Microsoft.Azure.ApplicationInsights.Query.Models |
| | 12 | | { |
| | 13 | | using Newtonsoft.Json; |
| | 14 | | using System.Linq; |
| | 15 | |
|
| | 16 | | /// <summary> |
| | 17 | | /// The performance counter info |
| | 18 | | /// </summary> |
| | 19 | | public partial class EventsPerformanceCounterInfo |
| | 20 | | { |
| | 21 | | /// <summary> |
| | 22 | | /// Initializes a new instance of the EventsPerformanceCounterInfo |
| | 23 | | /// class. |
| | 24 | | /// </summary> |
| 13 | 25 | | public EventsPerformanceCounterInfo() |
| | 26 | | { |
| | 27 | | CustomInit(); |
| 13 | 28 | | } |
| | 29 | |
|
| | 30 | | /// <summary> |
| | 31 | | /// Initializes a new instance of the EventsPerformanceCounterInfo |
| | 32 | | /// class. |
| | 33 | | /// </summary> |
| | 34 | | /// <param name="value">The value of the performance counter</param> |
| | 35 | | /// <param name="name">The name of the performance counter</param> |
| | 36 | | /// <param name="category">The category of the performance |
| | 37 | | /// counter</param> |
| | 38 | | /// <param name="counter">The counter of the performance |
| | 39 | | /// counter</param> |
| | 40 | | /// <param name="instanceName">The instance name of the performance |
| | 41 | | /// counter</param> |
| | 42 | | /// <param name="instance">The instance of the performance |
| | 43 | | /// counter</param> |
| 0 | 44 | | public EventsPerformanceCounterInfo(double? value = default(double?), string name = default(string), string cate |
| | 45 | | { |
| 0 | 46 | | Value = value; |
| 0 | 47 | | Name = name; |
| 0 | 48 | | Category = category; |
| 0 | 49 | | Counter = counter; |
| 0 | 50 | | InstanceName = instanceName; |
| 0 | 51 | | Instance = instance; |
| | 52 | | CustomInit(); |
| 0 | 53 | | } |
| | 54 | |
|
| | 55 | | /// <summary> |
| | 56 | | /// An initialization method that performs custom operations like setting defaults |
| | 57 | | /// </summary> |
| | 58 | | partial void CustomInit(); |
| | 59 | |
|
| | 60 | | /// <summary> |
| | 61 | | /// Gets or sets the value of the performance counter |
| | 62 | | /// </summary> |
| | 63 | | [JsonProperty(PropertyName = "value")] |
| 17 | 64 | | public double? Value { get; set; } |
| | 65 | |
|
| | 66 | | /// <summary> |
| | 67 | | /// Gets or sets the name of the performance counter |
| | 68 | | /// </summary> |
| | 69 | | [JsonProperty(PropertyName = "name")] |
| 28 | 70 | | public string Name { get; set; } |
| | 71 | |
|
| | 72 | | /// <summary> |
| | 73 | | /// Gets or sets the category of the performance counter |
| | 74 | | /// </summary> |
| | 75 | | [JsonProperty(PropertyName = "category")] |
| 28 | 76 | | public string Category { get; set; } |
| | 77 | |
|
| | 78 | | /// <summary> |
| | 79 | | /// Gets or sets the counter of the performance counter |
| | 80 | | /// </summary> |
| | 81 | | [JsonProperty(PropertyName = "counter")] |
| 28 | 82 | | public string Counter { get; set; } |
| | 83 | |
|
| | 84 | | /// <summary> |
| | 85 | | /// Gets or sets the instance name of the performance counter |
| | 86 | | /// </summary> |
| | 87 | | [JsonProperty(PropertyName = "instanceName")] |
| 0 | 88 | | public string InstanceName { get; set; } |
| | 89 | |
|
| | 90 | | /// <summary> |
| | 91 | | /// Gets or sets the instance of the performance counter |
| | 92 | | /// </summary> |
| | 93 | | [JsonProperty(PropertyName = "instance")] |
| 28 | 94 | | public string Instance { get; set; } |
| | 95 | |
|
| | 96 | | } |
| | 97 | | } |