models.vlan_parameters module¶
-
class
models.vlan_parameters.
VlanParameters
(disable_vlan=None, interface_name=None, vlan=None)[source]¶ Bases:
object
Implementation of the ‘VlanParameters’ model.
Specifies VLAN parameters for the restore operation.
- Attributes:
- disable_vlan (bool): Specifies whether to use the VIPs even when VLANs
are configured on the Cluster. If configured, VLAN IP addresses are used by default. If VLANs are not configured, this flag is ignored. Set this flag to true to force using the partition VIPs when VLANs are configured on the Cluster.
- interface_name (string): Specifies the physical interface group name
to use for mounting Cohesity’s view on the remote host. If specified, Cohesity hostname or the IP address on this VLAN is used.
- vlan (int): Specifies the VLAN to use for mounting Cohesity’s view on
the remote host. If specified, Cohesity hostname or the IP address on this VLAN is used.
-
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.