Share this post on:

Query for multiply objects:

pawel@Azure:~$ az network public-ip list -g ThamesHospice-Azure_Prod --query [].'[ipAddress, name]'

Result:

[
[
"20.68.164.15",
"StrongswanVPN-ip"
],
[
null,
"THC-publicIp"
],
[
"52.151.117.85",
"THCCAS01-publicip"
],
[
"51.132.2.140",
"THCRDG01-publicip"
],
[
"51.11.13.30",
"THCRDG02-publicip"
],
[
"51.132.191.169",
"THCRDS01-externalip"
],
[
"40.120.60.55",
"THCRDS02-externalip"
]
]
Share this post on:

Leave a Comment

Your email address will not be published. Required fields are marked *