Skip to content

Commit 4e361b1

Browse files
authored
add examples about updating load balancer IPs (#8875)
1 parent 4479fb5 commit 4e361b1

File tree

1 file changed

+4
-1
lines changed
  • src/k8s-runtime/azext_k8s_runtime/aaz/latest/k8s_runtime/load_balancer

1 file changed

+4
-1
lines changed

src/k8s-runtime/azext_k8s_runtime/aaz/latest/k8s_runtime/load_balancer/_update.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,11 @@
1717
class Update(AAZCommand):
1818
"""Update a LoadBalancer
1919
20-
:example: Update a load balancer
20+
:example: Update a load balancer advertise mode
2121
az k8s-runtime load-balancer update --load-balancer-name testlb1 --resource-uri subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/example/providers/Microsoft.Kubernetes/connectedClusters/cluster1 --advertise-mode ARP
22+
23+
:example: Update a load balancer IP address
24+
az k8s-runtime load-balancer update --load-balancer-name testlb1 --resource-uri subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/example/providers/Microsoft.Kubernetes/connectedClusters/cluster1 --addresses "192.168.50.1/32"
2225
"""
2326

2427
_aaz_info = {

0 commit comments

Comments
 (0)