Skip to content Skip to sidebar Skip to footer

Getting All The Properties Of A Vnet Using Python | List Function Only Gives Name

Thanks in advance, I wanted to get the region property of a vnet but using list function it only gives name property. Do we have to use another function to get the full details? cu

Solution 1:

it should be re.location instead of re.region.

and I just found that you can fetch all the properties of virtual network with print(re). Then you can use any properties in the output.

enter image description here

FYI: The doc of VirtualNetwork class, which lists the properties.

Post a Comment for "Getting All The Properties Of A Vnet Using Python | List Function Only Gives Name"