models_v2.target_vm_credentials_6 module

class models_v2.target_vm_credentials_6.TargetVmCredentials6(username=None, password=None)[source]

Bases: object

Implementation of the ‘TargetVmCredentials6’ model.

Specifies credentials to access the target VM. This is required if bringDisksOnline is set to true and useExistingAgent set to false.

Attributes:

username (string): Specifies the username to access target entity. password (string): Specifies the password to access target entity.

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.