示例#1
0
 /// <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();
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the ConnectionMonitor class.
 /// </summary>
 /// <param name="source">Describes the source of connection
 /// monitor.</param>
 /// <param name="destination">Describes the destination of connection
 /// monitor.</param>
 /// <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 ConnectionMonitor(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 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>
 /// <param name="endpoints">List of connection monitor
 /// endpoints.</param>
 /// <param name="testConfigurations">List of connection monitor test
 /// configurations.</param>
 /// <param name="testGroups">List of connection monitor test
 /// groups.</param>
 /// <param name="outputs">List of connection monitor outputs.</param>
 /// <param name="notes">Optional notes to be associated with the
 /// connection monitor.</param>
 public ConnectionMonitorParameters(ConnectionMonitorSource source = default(ConnectionMonitorSource), ConnectionMonitorDestination destination = default(ConnectionMonitorDestination), bool?autoStart = default(bool?), int?monitoringIntervalInSeconds = default(int?), IList <ConnectionMonitorEndpoint> endpoints = default(IList <ConnectionMonitorEndpoint>), IList <ConnectionMonitorTestConfiguration> testConfigurations = default(IList <ConnectionMonitorTestConfiguration>), IList <ConnectionMonitorTestGroup> testGroups = default(IList <ConnectionMonitorTestGroup>), IList <ConnectionMonitorOutput> outputs = default(IList <ConnectionMonitorOutput>), string notes = default(string))
 {
     Source      = source;
     Destination = destination;
     AutoStart   = autoStart;
     MonitoringIntervalInSeconds = monitoringIntervalInSeconds;
     Endpoints          = endpoints;
     TestConfigurations = testConfigurations;
     TestGroups         = testGroups;
     Outputs            = outputs;
     Notes = notes;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the ConnectionMonitorResult class.
 /// </summary>
 /// <param name="source">Describes the source of connection
 /// monitor.</param>
 /// <param name="destination">Describes the destination of connection
 /// monitor.</param>
 /// <param name="name">Name of the connection monitor.</param>
 /// <param name="id">ID of the connection monitor.</param>
 /// <param name="etag">A unique read-only string that changes whenever
 /// the resource is updated.</param>
 /// <param name="type">Connection monitor type.</param>
 /// <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>
 /// <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 ConnectionMonitorResult(ConnectionMonitorSource source, ConnectionMonitorDestination destination, string name = default(string), string id = default(string), string etag = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), bool?autoStart = default(bool?), int?monitoringIntervalInSeconds = default(int?), string provisioningState = default(string), System.DateTime?startTime = default(System.DateTime?), string monitoringStatus = default(string))
 {
     Name        = name;
     Id          = id;
     Etag        = etag;
     Type        = type;
     Location    = location;
     Tags        = tags;
     Source      = source;
     Destination = destination;
     AutoStart   = autoStart;
     MonitoringIntervalInSeconds = monitoringIntervalInSeconds;
     ProvisioningState           = provisioningState;
     StartTime        = startTime;
     MonitoringStatus = monitoringStatus;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the ConnectionMonitorResult class.
 /// </summary>
 /// <param name="name">Name of the connection monitor.</param>
 /// <param name="id">ID of the connection monitor.</param>
 /// <param name="etag">A unique read-only string that changes whenever
 /// the resource is updated.</param>
 /// <param name="type">Connection monitor type.</param>
 /// <param name="location">Connection monitor location.</param>
 /// <param name="tags">Connection monitor tags.</param>
 /// <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>
 /// <param name="endpoints">List of connection monitor
 /// endpoints.</param>
 /// <param name="testConfigurations">List of connection monitor test
 /// configurations.</param>
 /// <param name="testGroups">List of connection monitor test
 /// groups.</param>
 /// <param name="outputs">List of connection monitor outputs.</param>
 /// <param name="notes">Optional notes to be associated with the
 /// connection monitor.</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>
 /// <param name="connectionMonitorType">Type of connection monitor.
 /// Possible values include: 'MultiEndpoint',
 /// 'SingleSourceDestination'</param>
 public ConnectionMonitorResult(string name = default(string), string id = default(string), string etag = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), ConnectionMonitorSource source = default(ConnectionMonitorSource), ConnectionMonitorDestination destination = default(ConnectionMonitorDestination), bool?autoStart = default(bool?), int?monitoringIntervalInSeconds = default(int?), IList <ConnectionMonitorEndpoint> endpoints = default(IList <ConnectionMonitorEndpoint>), IList <ConnectionMonitorTestConfiguration> testConfigurations = default(IList <ConnectionMonitorTestConfiguration>), IList <ConnectionMonitorTestGroup> testGroups = default(IList <ConnectionMonitorTestGroup>), IList <ConnectionMonitorOutput> outputs = default(IList <ConnectionMonitorOutput>), string notes = default(string), string provisioningState = default(string), System.DateTime?startTime = default(System.DateTime?), string monitoringStatus = default(string), string connectionMonitorType = default(string))
 {
     Name        = name;
     Id          = id;
     Etag        = etag;
     Type        = type;
     Location    = location;
     Tags        = tags;
     Source      = source;
     Destination = destination;
     AutoStart   = autoStart;
     MonitoringIntervalInSeconds = monitoringIntervalInSeconds;
     Endpoints          = endpoints;
     TestConfigurations = testConfigurations;
     TestGroups         = testGroups;
     Outputs            = outputs;
     Notes                 = notes;
     ProvisioningState     = provisioningState;
     StartTime             = startTime;
     MonitoringStatus      = monitoringStatus;
     ConnectionMonitorType = connectionMonitorType;
     CustomInit();
 }