/// <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 /// <Protocol>://<host>:<port><path>.</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="backendAddressPool">Reference of backend pool of /// application gateway to which probe request will be sent.</param> /// <param name="backendHttpSettings">Reference of backend http setting /// of application gateway to be used for test probe.</param> public ApplicationGatewayOnDemandProbe(ApplicationGatewayProtocol protocol = default(ApplicationGatewayProtocol), string host = default(string), string path = default(string), int?timeout = default(int?), bool?pickHostNameFromBackendHttpSettings = default(bool?), ApplicationGatewayProbeHealthResponseMatch match = default(ApplicationGatewayProbeHealthResponseMatch), Management.ResourceManager.Fluent.SubResource backendAddressPool = default(Management.ResourceManager.Fluent.SubResource), Management.ResourceManager.Fluent.SubResource backendHttpSettings = default(Management.ResourceManager.Fluent.SubResource)) { Protocol = protocol; Host = host; Path = path; Timeout = timeout; PickHostNameFromBackendHttpSettings = pickHostNameFromBackendHttpSettings; Match = match; BackendAddressPool = backendAddressPool; BackendHttpSettings = backendHttpSettings; CustomInit(); }
/// <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 /// <Protocol>://<host>:<port><path>.</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(ApplicationGatewayProtocol protocol = default(ApplicationGatewayProtocol), 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(); }
/// <summary> /// Initializes a new instance of the ApplicationGatewayProbeInner /// class. /// </summary> /// <param name="protocol">Protocol. 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 /// <Protocol>://<host>:<port><path></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 resource that is unique within a /// resource group. This name can be used to access the /// resource.</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 ApplicationGatewayProbeInner(string id = default(string), ApplicationGatewayProtocol protocol = default(ApplicationGatewayProtocol), 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(); }