Пример #1
0
 /// <summary>
 /// Initializes a new instance of the AzureReachabilityReport class.
 /// </summary>
 /// <param name="aggregationLevel">The aggregation level of Azure
 /// reachability report. Can be Country, State or City.</param>
 /// <param name="reachabilityReport">List of Azure reachability report
 /// items.</param>
 public AzureReachabilityReport(string aggregationLevel, AzureReachabilityReportLocation providerLocation, IList <AzureReachabilityReportItem> reachabilityReport)
 {
     AggregationLevel   = aggregationLevel;
     ProviderLocation   = providerLocation;
     ReachabilityReport = reachabilityReport;
     CustomInit();
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the AzureReachabilityReportParameters
 /// class.
 /// </summary>
 /// <param name="startTime">The start time for the Azure reachability
 /// report.</param>
 /// <param name="endTime">The end time for the Azure reachability
 /// report.</param>
 /// <param name="providers">List of Internet service providers.</param>
 /// <param name="azureLocations">Optional Azure regions to scope the
 /// query to.</param>
 public AzureReachabilityReportParameters(AzureReachabilityReportLocation providerLocation, System.DateTime startTime, System.DateTime endTime, IList <string> providers = default(IList <string>), IList <string> azureLocations = default(IList <string>))
 {
     ProviderLocation = providerLocation;
     Providers        = providers;
     AzureLocations   = azureLocations;
     StartTime        = startTime;
     EndTime          = endTime;
     CustomInit();
 }