Traceback (most recent call last):


 "/opt/ansible/env/lib/python3.6/site-packages/knack/cli.py", line 206, in invoke

cmd_result = self.invocation.execute(args)


 "/opt/ansible/env/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 603, in execute

raise ex


 "/opt/ansible/env/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 661, in _run_jobs_serially

results.append(self._run_job(expanded_arg, cmd_copy))


 "/opt/ansible/env/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 654, in _run_job

six.reraise(*sys.exc_info())


 "/opt/ansible/env/lib/python3.6/site-packages/six.py", line 693, in reraise

raise value


 "/opt/ansible/env/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 631, in _run_job

result = cmd_copy(params)


 "/opt/ansible/env/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 305, in __call__

return self.handler(*args, **kwargs)


 "/opt/ansible/env/lib/python3.6/site-packages/azure/cli/core/__init__.py", line 485, in default_command_handler

return op(**command_args)


 "/opt/ansible/env/lib/python3.6/site-packages/azure/cli/command_modules/vm/custom.py", line 777, in list_vm_ip_addresses

nics = network_client.network_interfaces.list_all()


 "/opt/ansible/env/lib/python3.6/site-packages/azure/mgmt/network/network_management_client.py", line 2022, in network_interfaces

raise NotImplementedError("APIVersion {} is not available".format(api_version))
NotImplementedError: APIVersion 2019-04-01 is not available

Traceback (most recent call last):

 "/usr/lib/python2.7/threading.py", line 808, in __bootstrap_inner
self.run()

 "/usr/local/lib/python2.7/dist-packages/paramiko/transport.py", line 1462, in run
emsg = '%s (%d)' % (e.args[1], e.args[0])IndexError: tuple index out of range