| | 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 | | using System.Collections.Generic; |
| | 10 | |
|
| | 11 | | namespace Azure.ResourceManager.Network.Models |
| | 12 | | { |
| | 13 | | /// <summary> Geographic and time constraints for Azure reachability report. </summary> |
| | 14 | | public partial class AzureReachabilityReportParameters |
| | 15 | | { |
| | 16 | | /// <summary> Initializes a new instance of AzureReachabilityReportParameters. </summary> |
| | 17 | | /// <param name="providerLocation"> Parameters that define a geographic location. </param> |
| | 18 | | /// <param name="startTime"> The start time for the Azure reachability report. </param> |
| | 19 | | /// <param name="endTime"> The end time for the Azure reachability report. </param> |
| 0 | 20 | | public AzureReachabilityReportParameters(AzureReachabilityReportLocation providerLocation, DateTimeOffset startT |
| | 21 | | { |
| 0 | 22 | | if (providerLocation == null) |
| | 23 | | { |
| 0 | 24 | | throw new ArgumentNullException(nameof(providerLocation)); |
| | 25 | | } |
| | 26 | |
|
| 0 | 27 | | ProviderLocation = providerLocation; |
| 0 | 28 | | StartTime = startTime; |
| 0 | 29 | | EndTime = endTime; |
| 0 | 30 | | } |
| | 31 | |
|
| | 32 | | /// <summary> Initializes a new instance of AzureReachabilityReportParameters. </summary> |
| | 33 | | /// <param name="providerLocation"> Parameters that define a geographic location. </param> |
| | 34 | | /// <param name="providers"> List of Internet service providers. </param> |
| | 35 | | /// <param name="azureLocations"> Optional Azure regions to scope the query to. </param> |
| | 36 | | /// <param name="startTime"> The start time for the Azure reachability report. </param> |
| | 37 | | /// <param name="endTime"> The end time for the Azure reachability report. </param> |
| 0 | 38 | | internal AzureReachabilityReportParameters(AzureReachabilityReportLocation providerLocation, IList<string> provi |
| | 39 | | { |
| 0 | 40 | | ProviderLocation = providerLocation; |
| 0 | 41 | | Providers = providers; |
| 0 | 42 | | AzureLocations = azureLocations; |
| 0 | 43 | | StartTime = startTime; |
| 0 | 44 | | EndTime = endTime; |
| 0 | 45 | | } |
| | 46 | |
|
| | 47 | | /// <summary> Parameters that define a geographic location. </summary> |
| 0 | 48 | | public AzureReachabilityReportLocation ProviderLocation { get; } |
| | 49 | | /// <summary> List of Internet service providers. </summary> |
| 0 | 50 | | public IList<string> Providers { get; set; } |
| | 51 | | /// <summary> Optional Azure regions to scope the query to. </summary> |
| 0 | 52 | | public IList<string> AzureLocations { get; set; } |
| | 53 | | /// <summary> The start time for the Azure reachability report. </summary> |
| 0 | 54 | | public DateTimeOffset StartTime { get; } |
| | 55 | | /// <summary> The end time for the Azure reachability report. </summary> |
| 0 | 56 | | public DateTimeOffset EndTime { get; } |
| | 57 | | } |
| | 58 | | } |