/// <summary>
 /// Initializes a new instance of the DestinationsSpec class.
 /// </summary>
 /// <param name="logAnalytics">List of Log Analytics
 /// destinations.</param>
 /// <param name="azureMonitorMetrics">Azure Monitor Metrics
 /// destination.</param>
 public DestinationsSpec(IList <LogAnalyticsDestination> logAnalytics = default(IList <LogAnalyticsDestination>), DestinationsSpecAzureMonitorMetrics azureMonitorMetrics = default(DestinationsSpecAzureMonitorMetrics))
 {
     LogAnalytics        = logAnalytics;
     AzureMonitorMetrics = azureMonitorMetrics;
     CustomInit();
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the DataCollectionRuleDestinations
 /// class.
 /// </summary>
 /// <param name="logAnalytics">List of Log Analytics
 /// destinations.</param>
 /// <param name="azureMonitorMetrics">Azure Monitor Metrics
 /// destination.</param>
 public DataCollectionRuleDestinations(IList <LogAnalyticsDestination> logAnalytics = default(IList <LogAnalyticsDestination>), DestinationsSpecAzureMonitorMetrics azureMonitorMetrics = default(DestinationsSpecAzureMonitorMetrics))
     : base(logAnalytics, azureMonitorMetrics)
 {
     CustomInit();
 }