ArmNetworkModelFactory.ApplicationGatewayProbe Method

Definition

Initializes a new instance of ApplicationGatewayProbe.

public static Azure.ResourceManager.Network.Models.ApplicationGatewayProbe ApplicationGatewayProbe (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, Azure.ResourceManager.Network.Models.ApplicationGatewayProtocol? protocol = default, string host = default, string path = default, int? intervalInSeconds = default, int? timeoutInSeconds = default, int? unhealthyThreshold = default, bool? pickHostNameFromBackendHttpSettings = default, bool? pickHostNameFromBackendSettings = default, int? minServers = default, Azure.ResourceManager.Network.Models.ApplicationGatewayProbeHealthResponseMatch match = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, int? port = default);
static member ApplicationGatewayProbe : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * Nullable<Azure.ResourceManager.Network.Models.ApplicationGatewayProtocol> * string * string * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<int> * Azure.ResourceManager.Network.Models.ApplicationGatewayProbeHealthResponseMatch * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<int> -> Azure.ResourceManager.Network.Models.ApplicationGatewayProbe
Public Shared Function ApplicationGatewayProbe (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional protocol As Nullable(Of ApplicationGatewayProtocol) = Nothing, Optional host As String = Nothing, Optional path As String = Nothing, Optional intervalInSeconds As Nullable(Of Integer) = Nothing, Optional timeoutInSeconds As Nullable(Of Integer) = Nothing, Optional unhealthyThreshold As Nullable(Of Integer) = Nothing, Optional pickHostNameFromBackendHttpSettings As Nullable(Of Boolean) = Nothing, Optional pickHostNameFromBackendSettings As Nullable(Of Boolean) = Nothing, Optional minServers As Nullable(Of Integer) = Nothing, Optional match As ApplicationGatewayProbeHealthResponseMatch = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional port As Nullable(Of Integer) = Nothing) As ApplicationGatewayProbe

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

etag
Nullable<ETag>

A unique read-only string that changes whenever the resource is updated.

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>.

intervalInSeconds
Nullable<Int32>

The probing interval in seconds. This is the time interval between two consecutive probes. Acceptable values are from 1 second to 86400 seconds.

timeoutInSeconds
Nullable<Int32>

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.

unhealthyThreshold
Nullable<Int32>

The probe retry count. Backend server is marked down after consecutive probe failure count reaches UnhealthyThreshold. Acceptable values are from 1 second to 20.

pickHostNameFromBackendHttpSettings
Nullable<Boolean>

Whether the host header should be picked from the backend http settings. Default value is false.

pickHostNameFromBackendSettings
Nullable<Boolean>

Whether the server name indication should be picked from the backend settings for Tls protocol. Default value is false.

minServers
Nullable<Int32>

Minimum number of servers that are always marked healthy. Default value is 0.

match
ApplicationGatewayProbeHealthResponseMatch

Criterion for classifying a healthy probe response.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the probe resource.

port
Nullable<Int32>

Custom port which will be used for probing the backend servers. The valid value ranges from 1 to 65535. In case not set, port from http settings will be used. This property is valid for Basic, Standard_v2 and WAF_v2 only.

Returns

A new ApplicationGatewayProbe instance for mocking.

Applies to