| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | using System; |
| | 9 | |
|
| | 10 | | namespace Azure.ResourceManager.Compute.Models |
| | 11 | | { |
| | 12 | | /// <summary> Api request input for LogAnalytics getRequestRateByInterval Api. </summary> |
| | 13 | | public partial class RequestRateByIntervalInput : LogAnalyticsInputBase |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of RequestRateByIntervalInput. </summary> |
| | 16 | | /// <param name="blobContainerSasUri"> SAS Uri of the logging blob container to which LogAnalytics Api writes ou |
| | 17 | | /// <param name="fromTime"> From time of the query. </param> |
| | 18 | | /// <param name="toTime"> To time of the query. </param> |
| | 19 | | /// <param name="intervalLength"> Interval value in minutes used to create LogAnalytics call rate logs. </param> |
| 0 | 20 | | public RequestRateByIntervalInput(string blobContainerSasUri, DateTimeOffset fromTime, DateTimeOffset toTime, In |
| | 21 | | { |
| 0 | 22 | | if (blobContainerSasUri == null) |
| | 23 | | { |
| 0 | 24 | | throw new ArgumentNullException(nameof(blobContainerSasUri)); |
| | 25 | | } |
| | 26 | |
|
| 0 | 27 | | IntervalLength = intervalLength; |
| 0 | 28 | | } |
| | 29 | |
|
| | 30 | | /// <summary> Initializes a new instance of RequestRateByIntervalInput. </summary> |
| | 31 | | /// <param name="blobContainerSasUri"> SAS Uri of the logging blob container to which LogAnalytics Api writes ou |
| | 32 | | /// <param name="fromTime"> From time of the query. </param> |
| | 33 | | /// <param name="toTime"> To time of the query. </param> |
| | 34 | | /// <param name="groupByThrottlePolicy"> Group query result by Throttle Policy applied. </param> |
| | 35 | | /// <param name="groupByOperationName"> Group query result by Operation Name. </param> |
| | 36 | | /// <param name="groupByResourceName"> Group query result by Resource Name. </param> |
| | 37 | | /// <param name="intervalLength"> Interval value in minutes used to create LogAnalytics call rate logs. </param> |
| 0 | 38 | | internal RequestRateByIntervalInput(string blobContainerSasUri, DateTimeOffset fromTime, DateTimeOffset toTime, |
| | 39 | | { |
| 0 | 40 | | IntervalLength = intervalLength; |
| 0 | 41 | | } |
| | 42 | |
|
| | 43 | | /// <summary> Interval value in minutes used to create LogAnalytics call rate logs. </summary> |
| 0 | 44 | | public IntervalInMins IntervalLength { get; } |
| | 45 | | } |
| | 46 | | } |