Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.19 KB

File metadata and controls

32 lines (23 loc) · 1.19 KB

NetworkMembership

Resource details linked to the Network.

Properties

Name Type Description Notes
resource_id str The resource identifier.
resource_type str The resource's type. Can have one of the following values: `server`, `storage` or `virtual`.
ips List[str] List of IPs associated to the resource.

Example

from pnap_network_api.models.network_membership import NetworkMembership

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

# convert the object into a dict
network_membership_dict = network_membership_instance.to_dict()
# create an instance of NetworkMembership from a dict
network_membership_from_dict = NetworkMembership.from_dict(network_membership_dict)

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