Load Balancer probes - az network lb probe

Evaluate probe information and define routing rules.

Commands

az network lb probe create Create a probe.
az network lb probe delete Delete a probe.
az network lb probe list List probes.
az network lb probe show Show details of a probe.
az network lb probe update Update a probe.

az network lb probe create

Create a probe.

az network lb probe create --lb-name
--name
--port
--protocol {Http, Tcp}
--resource-group
[--interval]
[--path]
[--threshold]

Examples

Create a probe on a load balancer over HTTP and port 80.

az network lb probe create -g MyResourceGroup --lb-name MyLb -n MyProbe --protocol Http --port 80 --path /

Required Parameters

--lb-name

The load balancer name.

--name -n

The name of the probe.

--port

The port to interrogate.

--protocol

The protocol to probe.

accepted values: Http, Tcp
--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

Optional Parameters

--interval

Probing time interval in seconds.

--path

The endpoint to interrogate (http only).

--threshold

The number of consecutive probe failures before an instance is deemed unhealthy.

az network lb probe delete

Delete a probe.

az network lb probe delete --lb-name
--name
--resource-group
[--no-wait]

Required Parameters

--lb-name

The name of the load balancer.

--name -n

The name of the probe.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

Optional Parameters

--no-wait

az network lb probe list

List probes.

az network lb probe list --lb-name
--resource-group

Required Parameters

--lb-name

The name of the load balancer.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

az network lb probe show

Show details of a probe.

az network lb probe show --lb-name
--name
--resource-group

Required Parameters

--lb-name

The name of the load balancer.

--name -n

The name of the probe.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

az network lb probe update

Update a probe.

az network lb probe update --lb-name
--name
--resource-group
[--add]
[--interval]
[--path]
[--port]
[--protocol {Http, Tcp}]
[--remove]
[--set]
[--threshold]

Required Parameters

--lb-name

The load balancer name.

--name -n

The name of the probe.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

Optional Parameters

--add

Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty .

--interval

Probing time interval in seconds.

--path

The endpoint to interrogate (http only).

--port

The port to interrogate.

--protocol

The protocol to probe.

accepted values: Http, Tcp
--remove

Remove a property or an element from a list. Example: --remove property.list OR --remove propertyToRemove.

--set

Update an object by specifying a property path and value to set. Example: --set property1.property2=.

--threshold

The number of consecutive probe failures before an instance is deemed unhealthy.