@@ -664,6 +664,10 @@ class MigrationType:
664664
665665
666666class InterfaceGeneration (StrEnum ):
667+ """
668+ A string enum representing which interface generation a Linode is using.
669+ """
670+
667671 LEGACY_CONFIG = "legacy_config"
668672 LINODE = "linode"
669673
@@ -1896,7 +1900,22 @@ def interface_create(
18961900 ] = None ,
18971901 vpc : Optional [Union [Dict [str , Any ], LinodeInterfaceVPCOptions ]] = None ,
18981902 ** kwargs ,
1899- ):
1903+ ) -> LinodeInterface :
1904+ """
1905+ Creates a new interface under this Linode.
1906+
1907+ :param firewall: The firewall this interface should be assigned to.
1908+ :param default_route: The desired default route configuration of the new interface.
1909+ :param public: The public-specific configuration of the new interface.
1910+ If set, the new instance will be a public interface.
1911+ :param vlan: The VLAN-specific configuration of the new interface.
1912+ If set, the new instance will be a VLAN interface.
1913+ :param vpc: The VPC-specific configuration of the new interface.
1914+ If set, the new instance will be a VPC interface.
1915+
1916+ :returns: The newly created Linode Interface.
1917+ """
1918+
19001919 params = {
19011920 "firewall_id" : firewall ,
19021921 "default_route" : default_route ,
@@ -1922,6 +1941,7 @@ def interface_create(
19221941
19231942 @property
19241943 def interfaces_settings (self ):
1944+
19251945 # NOTE: We do not implement this as a Property because Property does
19261946 # not currently have a mechanism for 1:1 sub-entities.
19271947 result = self ._client .get (
0 commit comments