diff --git a/VERSION b/VERSION index 1629e1f3..94acd658 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1!11.1.7 +1!11.1.8 diff --git a/pycloudlib/azure/instance.py b/pycloudlib/azure/instance.py index b7a288a0..19c187c4 100644 --- a/pycloudlib/azure/instance.py +++ b/pycloudlib/azure/instance.py @@ -290,7 +290,10 @@ def add_network_interface(self, **kwargs) -> str: "tags": None, } nic_name = f"{self.name}-nic-{us}" - nic_poller = self._network_client.network_interfaces.begin_create_or_update( + # The SDK types `parameters` as a `NetworkInterface` model (or raw bytes), + # but it also accepts the ARM-shaped dict we build above, which is what the + # rest of this module passes. Ignore the narrower overload, not the call. + nic_poller = self._network_client.network_interfaces.begin_create_or_update( # type: ignore[call-overload] self._instance["rg_name"], nic_name, default_config,