az stack-hci-vm network lb probe
Note
This reference is part of the stack-hci-vm extension for the Azure CLI (version 2.15.0 or higher). The extension will automatically install the first time you run an az stack-hci-vm network lb probe command. Learn more about extensions.
Manage health probes attached to load balancers.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az stack-hci-vm network lb probe add |
Add a TCP or HTTP health probe. |
Extension | GA |
| az stack-hci-vm network lb probe delete |
Delete a probe. |
Extension | GA |
| az stack-hci-vm network lb probe list |
List probes configured on a load balancer. |
Extension | GA |
| az stack-hci-vm network lb probe show |
Show details for a probe configuration. |
Extension | GA |
| az stack-hci-vm network lb probe update |
Update probe settings such as interval or threshold. |
Extension | GA |
az stack-hci-vm network lb probe add
Add a TCP or HTTP health probe.
az stack-hci-vm network lb probe add --lb-name
--name
--port
--protocol {Http, Tcp}
--resource-group
[--interval]
[--path]
[--threshold]
Examples
Add HTTP Probe
az stack-hci-vm network lb probe add --resource-group "test-rg" --lb-name "test-lb" --name "healthz" --protocol Http --port 8080 --path /healthz --interval 10 --threshold 2
Required Parameters
Name of the load balancer that owns the health probe.
Name of the health probe to create.
Port to probe on the backend instances.
Specify Tcp or Http.
| Property | Value |
|---|---|
| Accepted values: | Http, Tcp |
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Probe interval in seconds.
Required when protocol is Http.
Number of consecutive failures before marking backend unhealthy.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az stack-hci-vm network lb probe delete
Delete a probe.
az stack-hci-vm network lb probe delete --lb-name
--name
--resource-group
[--yes]
Examples
Delete Probe
az stack-hci-vm network lb probe delete --resource-group "test-rg" --lb-name "test-lb" --name "healthz" --yes
Required Parameters
Name of the load balancer that owns the health probe.
Name of the health probe to delete.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Do not prompt for confirmation.
| Property | Value |
|---|---|
| Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az stack-hci-vm network lb probe list
List probes configured on a load balancer.
az stack-hci-vm network lb probe list --lb-name
--resource-group
Examples
List Probes
az stack-hci-vm network lb probe list --resource-group "test-rg" --lb-name "test-lb"
Required Parameters
Name of the load balancer that owns the health probe.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az stack-hci-vm network lb probe show
Show details for a probe configuration.
az stack-hci-vm network lb probe show --lb-name
--name
--resource-group
Examples
Show Probe
az stack-hci-vm network lb probe show --resource-group "test-rg" --lb-name "test-lb" --name "probe-base"
Required Parameters
Name of the load balancer that owns the health probe.
Name of the health probe to show.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az stack-hci-vm network lb probe update
Update probe settings such as interval or threshold.
az stack-hci-vm network lb probe update --lb-name
--name
--resource-group
[--interval]
[--path]
[--port]
[--protocol {Http, Tcp}]
[--threshold]
Examples
Slow Down Probe Frequency
az stack-hci-vm network lb probe update --resource-group "test-rg" --lb-name "test-lb" --name "healthz" --interval 15 --threshold 4
Required Parameters
Name of the load balancer that owns the health probe.
Name of the health probe to update.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Updated probe interval in seconds.
Updated probe path. Provide empty string to clear.
Updated port to probe.
Updated probe protocol.
| Property | Value |
|---|---|
| Accepted values: | Http, Tcp |
Updated unhealthy threshold.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |