/// <summary>
 /// Initializes a new instance of the ConnectionMonitorParameters
 /// class.
 /// </summary>
 /// <param name="source">Describes the source of connection
 /// monitor.</param>
 /// <param name="destination">Describes the destination of connection
 /// monitor.</param>
 /// <param name="autoStart">Determines if the connection monitor will
 /// start automatically once created.</param>
 /// <param name="monitoringIntervalInSeconds">Monitoring interval in
 /// seconds.</param>
 public ConnectionMonitorParameters(ConnectionMonitorSource source, ConnectionMonitorDestination destination, bool?autoStart = default(bool?), int?monitoringIntervalInSeconds = default(int?))
 {
     Source      = source;
     Destination = destination;
     AutoStart   = autoStart;
     MonitoringIntervalInSeconds = monitoringIntervalInSeconds;
     CustomInit();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the ConnectionMonitorInner class.
 /// </summary>
 /// <param name="location">Connection monitor location.</param>
 /// <param name="tags">Connection monitor tags.</param>
 /// <param name="autoStart">Determines if the connection monitor will
 /// start automatically once created.</param>
 /// <param name="monitoringIntervalInSeconds">Monitoring interval in
 /// seconds.</param>
 public ConnectionMonitorInner(ConnectionMonitorSource source, ConnectionMonitorDestination destination, string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), bool?autoStart = default(bool?), int?monitoringIntervalInSeconds = default(int?))
 {
     Location    = location;
     Tags        = tags;
     Source      = source;
     Destination = destination;
     AutoStart   = autoStart;
     MonitoringIntervalInSeconds = monitoringIntervalInSeconds;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the ConnectionMonitorResultInner
 /// class.
 /// </summary>
 /// <param name="source">Describes the source of connection
 /// monitor.</param>
 /// <param name="destination">Describes the destination of connection
 /// monitor.</param>
 /// <param name="etag">A unique read-only string that changes whenever
 /// the resource is updated.</param>
 /// <param name="autoStart">Determines if the connection monitor will
 /// start automatically once created.</param>
 /// <param name="monitoringIntervalInSeconds">Monitoring interval in
 /// seconds.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// connection monitor. Possible values include: 'Succeeded',
 /// 'Updating', 'Deleting', 'Failed'</param>
 /// <param name="startTime">The date and time when the connection
 /// monitor was started.</param>
 /// <param name="monitoringStatus">The monitoring status of the
 /// connection monitor.</param>
 public ConnectionMonitorResultInner(string location, ConnectionMonitorSource source, ConnectionMonitorDestination destination, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string etag = default(string), bool?autoStart = default(bool?), int?monitoringIntervalInSeconds = default(int?), ProvisioningState provisioningState = default(ProvisioningState), System.DateTime?startTime = default(System.DateTime?), string monitoringStatus = default(string))
     : base(location, id, name, type, tags)
 {
     Etag        = etag;
     Source      = source;
     Destination = destination;
     AutoStart   = autoStart;
     MonitoringIntervalInSeconds = monitoringIntervalInSeconds;
     ProvisioningState           = provisioningState;
     StartTime        = startTime;
     MonitoringStatus = monitoringStatus;
     CustomInit();
 }