Skip to main content

load_balancer_probes

Creates, updates, deletes, gets or lists a load_balancer_probes resource.

Overview

Nameload_balancer_probes
TypeResource
Idazure.network.load_balancer_probes

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringResource ID.
namestringName of the resource.
etagstringA unique read-only string that changes whenever the resource is updated.
intervalInSecondsintegerThe interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.
loadBalancingRulesarrayThe load balancer rules that use this probe.
noHealthyBackendsBehaviorstringDetermines how new connections are handled by the load balancer when all backend instances are probed down. Known values are: "AllProbedDown" and "AllProbedUp". (AllProbedDown, AllProbedUp)
numberOfProbesintegerThe number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.
portintegerThe port for communicating the probe. Possible values range from 1 to 65535, inclusive. Required.
probeThresholdintegerThe number of consecutive successful or failed probes in order to allow or deny traffic from being delivered to this endpoint. After failing the number of consecutive probes equal to this value, the endpoint will be taken out of rotation and require the same number of successful consecutive probes to be placed back in rotation.
protocolstringThe protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful. Required. Known values are: "Http", "Tcp", and "Https". (Http, Tcp, Https)
provisioningStatestringThe provisioning state of the probe resource. Known values are: "Failed", "Succeeded", "Canceled", "Creating", "Updating", and "Deleting". (Failed, Succeeded, Canceled, Creating, Updating, Deleting)
requestPathstringThe URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.
typestringResource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, load_balancer_name, probe_name, subscription_idGets load balancer probe.
listselectresource_group_name, load_balancer_name, subscription_idGets all the load balancer probes.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
load_balancer_namestringThe name of the load balancer. Required.
probe_namestringThe name of the probe. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Gets load balancer probe.

SELECT
id,
name,
etag,
intervalInSeconds,
loadBalancingRules,
noHealthyBackendsBehavior,
numberOfProbes,
port,
probeThreshold,
protocol,
provisioningState,
requestPath,
type
FROM azure.network.load_balancer_probes
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND load_balancer_name = '{{ load_balancer_name }}' -- required
AND probe_name = '{{ probe_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;