ArmNetworkModelFactory.ApplicationGatewayProbe 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.
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
Resource ID.
- name
- String
Resource name.
- resourceType
- Nullable<ResourceType>
Resource type.
- 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 probing interval in seconds. This is the time interval between two consecutive probes. Acceptable values are from 1 second to 86400 seconds.
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.
The probe retry count. Backend server is marked down after consecutive probe failure count reaches UnhealthyThreshold. Acceptable values are from 1 second to 20.
Whether the host header should be picked from the backend http settings. Default value is false.
Whether the server name indication should be picked from the backend settings for Tls protocol. Default value is false.
Minimum number of servers that are always marked healthy. Default value is 0.
Criterion for classifying a healthy probe response.
- provisioningState
- Nullable<NetworkProvisioningState>
The provisioning state of the probe resource.
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
Azure SDK for .NET