models_v2.mssql_native_object_protection_params module

class models_v2.mssql_native_object_protection_params.MssqlNativeObjectProtectionParams(objects=None, num_streams=None, with_clause=None, user_db_backup_preference_type=None, backup_system_dbs=None, use_aag_preferences_from_server=None, aag_backup_preference_type=None, full_backups_copy_only=None, pre_post_script=None, exclude_filters=None)[source]

Bases: object

Implementation of the ‘MssqlNativeObjectProtectionParams’ model.

Specifies the params to create a Native based MSSQL Object Protection.

objects (list of MssqlNativeObjectProtection): Specifies the list of

objects to be protected.

num_streams (int): Specifies the number of streams to be used. with_clause (string): Specifies the WithClause to be used. user_db_backup_preference_type (UserDbBackupPreferenceTypeEnum):

Specifies the preference type for backing up user databases on the host.

backup_system_dbs (bool): Specifies whether to backup system

databases. If not specified then parameter is set to true.

use_aag_preferences_from_server (bool): Specifies whether or not the

AAG backup preferences specified on the SQL Server host should be used.

aag_backup_preference_type (AagBackupPreferenceType1Enum): Specifies

the preference type for backing up databases that are part of an AAG. If not specified, then default preferences of the AAG server are applied. This field wont be applicable if user DB preference is set to skip AAG databases.

full_backups_copy_only (bool): Specifies whether full backups should

be copy-only.

pre_post_script (PreAndPostScriptParams): Specifies the params for pre

and post scripts.

exclude_filters (list of Filter): Specifies the list of exclusion

filters applied during the group creation or edit. These exclusion filters can be wildcard supported strings or regular expressions. Objects satisfying the will filters will be excluded during backup and also auto protected objects will be ignored if filtered by any of the filters.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary


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.


object: An instance of this structure class.