Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 2.53 KB

File metadata and controls

43 lines (34 loc) · 2.53 KB

IpBlock

IP Block Details.

Properties

Name Type Description Notes
id str IP Block identifier. [optional]
location str IP Block location ID. Currently this field should be set to `PHX`, `ASH`, `SGP`, `NLD`, `CHI` or `SEA`. [optional]
cidr_block_size str CIDR IP Block Size. Currently this field should be set to either `/31`, `/30`, `/29`, `/28`, `/27`, `/26`, `/25`, `/24`, `/23` or `/22`. [optional]
cidr str The IP Block in CIDR notation. [optional]
ip_version str The IP Version of the block. [optional]
status str The status of the IP Block. Can have one of the following values: `creating`, `subnetted`, `assigning` , `error assigning` , `assigned` , `unassigning` , `error unassigning` or `unassigned`. [optional]
parent_ip_block_allocation_id str IP Block parent identifier. If present, this block is subnetted from the parent IP Block. [optional]
assigned_resource_id str ID of the resource assigned to the IP Block. [optional]
assigned_resource_type str Type of the resource assigned to the IP Block. [optional]
description str The description of the IP Block. [optional]
tags List[TagAssignment] The tags assigned if any. [optional]
is_system_managed bool True if the IP block is a `system managed` block. [optional]
is_bring_your_own bool True if the IP block is a `bring your own` block. [optional]
created_on datetime Date and time when the IP block was created. [optional]

Example

from pnap_ip_api.models.ip_block import IpBlock

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

# convert the object into a dict
ip_block_dict = ip_block_instance.to_dict()
# create an instance of IpBlock from a dict
ip_block_from_dict = IpBlock.from_dict(ip_block_dict)

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