models.create_ip_config_parameters module¶
-
class
models.create_ip_config_parameters.
CreateIpConfigParameters
(name=None, ips=None, mtu=None, role=None, subnet_gateway=None, subnet_mask=None)[source]¶ Bases:
object
Implementation of the ‘CreateIpConfigParameters’ model.
Specifies the parameters needed for an ipconfig request.
- Attributes:
ips (list of string): Specifies the interface ips. mtu (int): Specifies the interface mtu. name (string): Specifies the interface name. role (RoleCreateIpConfigParametersEnum): Specifies the interface role.
‘kPrimary’ indicates a primary role. ‘kSecondary’ indicates a secondary role.
subnet_gateway (string): Specifies the interface gateway. subnet_mask (string): Specifies the interface subnet mask.
-
classmethod
from_dictionary
(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
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.
- Returns:
object: An instance of this structure class.