| | 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.Collections.Generic; |
| | 9 | |
|
| | 10 | | namespace Azure.ResourceManager.Network.Models |
| | 11 | | { |
| | 12 | | /// <summary> Parameters that define the operation to create a connection monitor. </summary> |
| | 13 | | public partial class ConnectionMonitor |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of ConnectionMonitor. </summary> |
| 0 | 16 | | public ConnectionMonitor() |
| | 17 | | { |
| 0 | 18 | | } |
| | 19 | |
|
| | 20 | | /// <summary> Initializes a new instance of ConnectionMonitor. </summary> |
| | 21 | | /// <param name="location"> Connection monitor location. </param> |
| | 22 | | /// <param name="tags"> Connection monitor tags. </param> |
| | 23 | | /// <param name="source"> Describes the source of connection monitor. </param> |
| | 24 | | /// <param name="destination"> Describes the destination of connection monitor. </param> |
| | 25 | | /// <param name="autoStart"> Determines if the connection monitor will start automatically once created. </param |
| | 26 | | /// <param name="monitoringIntervalInSeconds"> Monitoring interval in seconds. </param> |
| | 27 | | /// <param name="endpoints"> List of connection monitor endpoints. </param> |
| | 28 | | /// <param name="testConfigurations"> List of connection monitor test configurations. </param> |
| | 29 | | /// <param name="testGroups"> List of connection monitor test groups. </param> |
| | 30 | | /// <param name="outputs"> List of connection monitor outputs. </param> |
| | 31 | | /// <param name="notes"> Optional notes to be associated with the connection monitor. </param> |
| 0 | 32 | | internal ConnectionMonitor(string location, IDictionary<string, string> tags, ConnectionMonitorSource source, Co |
| | 33 | | { |
| 0 | 34 | | Location = location; |
| 0 | 35 | | Tags = tags; |
| 0 | 36 | | Source = source; |
| 0 | 37 | | Destination = destination; |
| 0 | 38 | | AutoStart = autoStart; |
| 0 | 39 | | MonitoringIntervalInSeconds = monitoringIntervalInSeconds; |
| 0 | 40 | | Endpoints = endpoints; |
| 0 | 41 | | TestConfigurations = testConfigurations; |
| 0 | 42 | | TestGroups = testGroups; |
| 0 | 43 | | Outputs = outputs; |
| 0 | 44 | | Notes = notes; |
| 0 | 45 | | } |
| | 46 | |
|
| | 47 | | /// <summary> Connection monitor location. </summary> |
| 0 | 48 | | public string Location { get; set; } |
| | 49 | | /// <summary> Connection monitor tags. </summary> |
| 0 | 50 | | public IDictionary<string, string> Tags { get; set; } |
| | 51 | | /// <summary> Describes the source of connection monitor. </summary> |
| 0 | 52 | | public ConnectionMonitorSource Source { get; set; } |
| | 53 | | /// <summary> Describes the destination of connection monitor. </summary> |
| 0 | 54 | | public ConnectionMonitorDestination Destination { get; set; } |
| | 55 | | /// <summary> Determines if the connection monitor will start automatically once created. </summary> |
| 0 | 56 | | public bool? AutoStart { get; set; } |
| | 57 | | /// <summary> Monitoring interval in seconds. </summary> |
| 0 | 58 | | public int? MonitoringIntervalInSeconds { get; set; } |
| | 59 | | /// <summary> List of connection monitor endpoints. </summary> |
| 0 | 60 | | public IList<ConnectionMonitorEndpoint> Endpoints { get; set; } |
| | 61 | | /// <summary> List of connection monitor test configurations. </summary> |
| 0 | 62 | | public IList<ConnectionMonitorTestConfiguration> TestConfigurations { get; set; } |
| | 63 | | /// <summary> List of connection monitor test groups. </summary> |
| 0 | 64 | | public IList<ConnectionMonitorTestGroup> TestGroups { get; set; } |
| | 65 | | /// <summary> List of connection monitor outputs. </summary> |
| 0 | 66 | | public IList<ConnectionMonitorOutput> Outputs { get; set; } |
| | 67 | | /// <summary> Optional notes to be associated with the connection monitor. </summary> |
| 0 | 68 | | public string Notes { get; set; } |
| | 69 | | } |
| | 70 | | } |