models_v2.subnet_2 module

class models_v2.subnet_2.Subnet2(id=None, name=None)[source]

Bases: object

Implementation of the ‘Subnet2’ model.

Specifies the subnet within the above virtual network.


id (long|int): Specifies the id of the object. name (string): Specifies the name of the object.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary


dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.


object: An instance of this structure class.