models.restore_object_params module

class models.restore_object_params.RestoreObjectParams(action=None, datastore_entity=None, power_state_config=None, rename_restored_object_param=None, resource_pool_entity=None, restore_parent_source=None, restored_objects_network_config=None, view_name=None)[source]

Bases: object

Implementation of the ‘RestoreObjectParams’ model.

TODO: type model description here.

Attributes:

action (int): The action to perform. datastore_entity (EntityProto): Specifies the attributes and the

latest statistics about an entity.

power_state_config (PowerStateConfigProto): TODO: type description

here.

rename_restored_object_param (RenameObjectParamProto): Message to

specify the prefix/suffix added to rename an object. At least one of prefix or suffix must be specified. Please note that both prefix and suffix can be specified.

resource_pool_entity (EntityProto): Specifies the attributes and the

latest statistics about an entity.

restore_parent_source (EntityProto): Specifies the attributes and the

latest statistics about an entity.

restored_objects_network_config (RestoredObjectNetworkConfigProto):

TODO: type description here.

view_name (string): Target view into which the objects are to be

cloned.

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.