models_v2.recover_sql_db_params module

class models_v2.recover_sql_db_params.RecoverSqlDBParams(target_environment='kSQL', sql_target_params=None, vlan_config=None)[source]

Bases: object

Implementation of the ‘Recover Sql DB params.’ model.

Specifies the parameters to recover Sql databases.

Attributes:
target_environment (string): Specifies the environment of the recovery

target. The corresponding params below must be filled out.

sql_target_params (RecoverSqlAppSnapshotParams): Specifies the params

for recovering to a sql host. Provided sql backup should be recovered to same type of target host. For Example: If you have sql backup taken from a physical host then that should be recovered to physical host only.

vlan_config (VlanConfig1): Specifies VLAN Params associated with the

recovered. If this is not specified, then the VLAN settings will be automatically selected from one of the below options: a. If VLANs are configured on Cohesity, then the VLAN host/VIP will be automatically based on the client’s (e.g. ESXI host) IP address. b. If VLANs are not configured on Cohesity, then the partition hostname or VIPs will be used for Recovery.

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.