Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the ApplicationGatewayOnDemandProbe
 /// class.
 /// </summary>
 /// <param name="protocol">The protocol used for the probe. Possible
 /// values include: 'Http', 'Https'</param>
 /// <param name="host">Host name to send the probe to.</param>
 /// <param name="path">Relative path of probe. Valid path starts from
 /// '/'. Probe is sent to
 /// &lt;Protocol&gt;://&lt;host&gt;:&lt;port&gt;&lt;path&gt;</param>
 /// <param name="timeout">The probe timeout in seconds. Probe marked as
 /// failed if valid response is not received with this timeout period.
 /// Acceptable values are from 1 second to 86400 seconds.</param>
 /// <param name="pickHostNameFromBackendHttpSettings">Whether the host
 /// header should be picked from the backend http settings. Default
 /// value is false.</param>
 /// <param name="match">Criterion for classifying a healthy probe
 /// response.</param>
 /// <param name="backendPoolName">Name of backend pool of application
 /// gateway to which probe request will be sent.</param>
 /// <param name="backendHttpSettingName">Name of backend http setting
 /// of application gateway to be used for test probe</param>
 public ApplicationGatewayOnDemandProbe(string protocol = default(string), string host = default(string), string path = default(string), int?timeout = default(int?), bool?pickHostNameFromBackendHttpSettings = default(bool?), ApplicationGatewayProbeHealthResponseMatch match = default(ApplicationGatewayProbeHealthResponseMatch), string backendPoolName = default(string), string backendHttpSettingName = default(string))
 {
     Protocol = protocol;
     Host     = host;
     Path     = path;
     Timeout  = timeout;
     PickHostNameFromBackendHttpSettings = pickHostNameFromBackendHttpSettings;
     Match                  = match;
     BackendPoolName        = backendPoolName;
     BackendHttpSettingName = backendHttpSettingName;
     CustomInit();
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the ApplicationGatewayProbe class.
 /// </summary>
 /// <param name="id">Resource ID.</param>
 /// <param name="protocol">The protocol used for the probe. Possible
 /// values include: 'Http', 'Https'</param>
 /// <param name="host">Host name to send the probe to.</param>
 /// <param name="path">Relative path of probe. Valid path starts from
 /// '/'. Probe is sent to
 /// &lt;Protocol&gt;://&lt;host&gt;:&lt;port&gt;&lt;path&gt;</param>
 /// <param name="interval">The probing interval in seconds. This is the
 /// time interval between two consecutive probes. Acceptable values are
 /// from 1 second to 86400 seconds.</param>
 /// <param name="timeout">The probe timeout in seconds. Probe marked as
 /// failed if valid response is not received with this timeout period.
 /// Acceptable values are from 1 second to 86400 seconds.</param>
 /// <param name="unhealthyThreshold">The probe retry count. Backend
 /// server is marked down after consecutive probe failure count reaches
 /// UnhealthyThreshold. Acceptable values are from 1 second to
 /// 20.</param>
 /// <param name="pickHostNameFromBackendHttpSettings">Whether the host
 /// header should be picked from the backend http settings. Default
 /// value is false.</param>
 /// <param name="minServers">Minimum number of servers that are always
 /// marked healthy. Default value is 0.</param>
 /// <param name="match">Criterion for classifying a healthy probe
 /// response.</param>
 /// <param name="provisioningState">Provisioning state of the backend
 /// http settings resource. Possible values are: 'Updating',
 /// 'Deleting', and 'Failed'.</param>
 /// <param name="name">Name of the probe that is unique within an
 /// Application Gateway.</param>
 /// <param name="etag">A unique read-only string that changes whenever
 /// the resource is updated.</param>
 /// <param name="type">Type of the resource.</param>
 public ApplicationGatewayProbe(string id = default(string), string protocol = default(string), string host = default(string), string path = default(string), int?interval = default(int?), int?timeout = default(int?), int?unhealthyThreshold = default(int?), bool?pickHostNameFromBackendHttpSettings = default(bool?), int?minServers = default(int?), ApplicationGatewayProbeHealthResponseMatch match = default(ApplicationGatewayProbeHealthResponseMatch), string provisioningState = default(string), string name = default(string), string etag = default(string), string type = default(string))
     : base(id)
 {
     Protocol           = protocol;
     Host               = host;
     Path               = path;
     Interval           = interval;
     Timeout            = timeout;
     UnhealthyThreshold = unhealthyThreshold;
     PickHostNameFromBackendHttpSettings = pickHostNameFromBackendHttpSettings;
     MinServers        = minServers;
     Match             = match;
     ProvisioningState = provisioningState;
     Name = name;
     Etag = etag;
     Type = type;
     CustomInit();
 }