Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Latest commit

 

History

History
39 lines (30 loc) · 1.53 KB

Port.md

File metadata and controls

39 lines (30 loc) · 1.53 KB

Port

Port is a hardware port associated with a reserved or instantiated hardware device.

Properties

Name Type Description Notes
bond BondPortData [optional]
data PortData [optional]
disbond_operation_supported bool Indicates whether or not the bond can be broken on the port (when applicable). [optional]
href str [optional]
id str [optional]
name str [optional]
native_virtual_network VirtualNetwork [optional]
network_type str Composite network type of the bond [optional]
type str Type is either "NetworkBondPort" for bond ports or "NetworkPort" for bondable ethernet ports [optional]
virtual_networks List[VirtualNetwork] [optional]

Example

from equinix_metal.models.port import Port

# TODO update the JSON string below
json = "{}"
# create an instance of Port from a JSON string
port_instance = Port.from_json(json)
# print the JSON string representation of the object
print(Port.to_json())

# convert the object into a dict
port_dict = port_instance.to_dict()
# create an instance of Port from a dict
port_form_dict = port.from_dict(port_dict)

[Back to Model list] [Back to API list] [Back to README]