models.restore_acropolis_vm_param_network_config_info module

class models.restore_acropolis_vm_param_network_config_info.RestoreAcropolisVMParamNetworkConfigInfo(network_state_change=None, nic_vec=None)[source]

Bases: object

Implementation of the ‘RestoreAcropolisVMParam_NetworkConfigInfo’ model.

Proto to define the network configuration to be applied to the restored VM.

Attributes:
network_state_change (int): Network state to be applied to the

restored VM.

nic_vec (list of RestoreAcropolisVMParamNetworkConfigInfoNICSpec):

This field is applicable only if the network_state_change is set to ‘kAttachNewNetwork’.

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.