ArmNetworkModelFactory.ApplicationGatewayOnDemandProbe Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.Network.Models.ApplicationGatewayOnDemandProbe ApplicationGatewayOnDemandProbe(Azure.ResourceManager.Network.Models.ApplicationGatewayProtocol? protocol = default, string host = default, string path = default, int? timeout = default, bool? pickHostNameFromBackendHttpSettings = default, bool? enableProbeProxyProtocolHeader = default, Azure.ResourceManager.Network.Models.ApplicationGatewayProbeHealthResponseMatch match = default, Azure.Core.ResourceIdentifier backendAddressPoolId = default, Azure.Core.ResourceIdentifier backendHttpSettingsId = default);
static member ApplicationGatewayOnDemandProbe : Nullable<Azure.ResourceManager.Network.Models.ApplicationGatewayProtocol> * string * string * Nullable<int> * Nullable<bool> * Nullable<bool> * Azure.ResourceManager.Network.Models.ApplicationGatewayProbeHealthResponseMatch * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Network.Models.ApplicationGatewayOnDemandProbe
Public Shared Function ApplicationGatewayOnDemandProbe (Optional protocol As Nullable(Of ApplicationGatewayProtocol) = Nothing, Optional host As String = Nothing, Optional path As String = Nothing, Optional timeout As Nullable(Of Integer) = Nothing, Optional pickHostNameFromBackendHttpSettings As Nullable(Of Boolean) = Nothing, Optional enableProbeProxyProtocolHeader As Nullable(Of Boolean) = Nothing, Optional match As ApplicationGatewayProbeHealthResponseMatch = Nothing, Optional backendAddressPoolId As ResourceIdentifier = Nothing, Optional backendHttpSettingsId As ResourceIdentifier = Nothing) As ApplicationGatewayOnDemandProbe
Parameters
- protocol
- Nullable<ApplicationGatewayProtocol>
The protocol used for the probe.
- host
- String
Host name to send the probe to.
- path
- String
Relative path of probe. Valid path starts from '/'. Probe is sent to <Protocol>://<host>:<port><path>.
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.
Whether the host header should be picked from the backend http settings. Default value is false.
Whether to send Proxy Protocol header along with the Health Probe over TCP or TLS protocol. Default value is false.
Criterion for classifying a healthy probe response.
- backendAddressPoolId
- ResourceIdentifier
Resource ID.
- backendHttpSettingsId
- ResourceIdentifier
Resource ID.
Returns
A new ApplicationGatewayOnDemandProbe instance for mocking.