1- """Get monitoring for a vSI device."""
1+ """Get monitoring for a VSI device."""
22# :license: MIT, see LICENSE for more details.
33
44import click
@@ -22,12 +22,12 @@ def cli(env, identifier):
2222
2323 monitoring = vsi .get_instance (identifier )
2424
25- table .add_row (['domain ' , monitoring .get ('fullyQualifiedDomainName' )])
26- table .add_row (['public Ip' , monitoring .get ('primaryIpAddress' )])
27- table .add_row (['private Ip' , monitoring .get ('primaryBackendIpAddress' )])
28- table .add_row (['location ' , monitoring ['datacenter' ]['longName' ]])
25+ table .add_row (['Domain ' , monitoring .get ('fullyQualifiedDomainName' )])
26+ table .add_row (['Public Ip' , monitoring .get ('primaryIpAddress' )])
27+ table .add_row (['Private Ip' , monitoring .get ('primaryBackendIpAddress' )])
28+ table .add_row (['Location ' , monitoring ['datacenter' ]['longName' ]])
2929
30- monitoring_table = formatting .Table (['Id' , 'ipAddress ' , 'status ' , 'type ' , 'notify ' ])
30+ monitoring_table = formatting .Table (['Id' , 'IpAddress ' , 'Status ' , 'Type ' , 'Notify ' ])
3131 for monitor in monitoring ['networkMonitors' ]:
3232 monitoring_table .add_row ([monitor .get ('id' ), monitor .get ('ipAddress' ), monitor .get ('status' ),
3333 monitor ['queryType' ]['name' ], monitor ['responseAction' ]['actionDescription' ]])
0 commit comments