pyaz/backup/protection/__init__.py
def enable_for_vm(policy_name, resource_group, vault_name, vm, disk_list_setting=None, diskslist=None, exclude_all_data_disks=None):
    '''
    Start protecting a previously unprotected Azure VM as per the specified policy to a Recovery services vault.

    Required Parameters:
    - policy_name -- Name of the backup policy.
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - vault_name -- Name of the Recovery services vault.
    - vm -- Name or ID of the Virtual Machine to be protected.

    Optional Parameters:
    - disk_list_setting -- option to decide whether to include or exclude the disk or reset any previous settings to default behavior
    - diskslist -- List of disks to be excluded or included.
    - exclude_all_data_disks -- Option to specify to backup OS disk only.
    '''
    return _call_az("az backup protection enable-for-vm", locals())

    Start protecting a previously unprotected Azure VM as per the specified policy to a Recovery services vault.

    Required Parameters:
    - policy_name -- Name of the backup policy.
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - vault_name -- Name of the Recovery services vault.
    - vm -- Name or ID of the Virtual Machine to be protected.

    Optional Parameters:
    - disk_list_setting -- option to decide whether to include or exclude the disk or reset any previous settings to default behavior
    - diskslist -- List of disks to be excluded or included.
    - exclude_all_data_disks -- Option to specify to backup OS disk only.
    
Start protecting a previously unprotected Azure VM as per the specified policy to a Recovery services vault.
Required Parameters:
policy_name -- Name of the backup policy.
resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=`
vault_name -- Name of the Recovery services vault.
vm -- Name or ID of the Virtual Machine to be protected.

Optional Parameters:
disk_list_setting -- option to decide whether to include or exclude the disk or reset any previous settings to default behavior
diskslist -- List of disks to be excluded or included.
exclude_all_data_disks -- Option to specify to backup OS disk only.
Start protecting a previously unprotected Azure VM as per the specified policy to a Recovery services vault . Required Parameters : policy_name -- Name of the backup policy . resource_group -- Name of resource group . You can configure the default group using ` az configure -- defaults group = ` vault_name -- Name of the Recovery services vault . vm -- Name or ID of the Virtual Machine to be protected . Optional Parameters : disk_list_setting -- option to decide whether to include or exclude the disk or reset any previous settings to default behavior diskslist -- List of disks to be excluded or included . exclude_all_data_disks -- Option to specify to backup OS disk only .
def enable_for_vm(policy_name, resource_group, vault_name, vm, disk_list_setting=None, diskslist=None, exclude_all_data_disks=None):
    return _call_az("az backup protection enable-for-vm", locals())
def enable_for_vm ( policy_name , resource_group , vault_name , vm , disk_list_setting = None , diskslist = None , exclude_all_data_disks = None ) : return _call_az ( "az backup protection enable-for-vm" , locals ( ) )
Start protecting a previously unprotected Azure VM as per the specified policy to a Recovery services vault.
Start protecting a previously unprotected Azure VM as per the specified policy to a Recovery services vault .
'''
    Start protecting a previously unprotected Azure VM as per the specified policy to a Recovery services vault.

    Required Parameters:
    - policy_name -- Name of the backup policy.
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - vault_name -- Name of the Recovery services vault.
    - vm -- Name or ID of the Virtual Machine to be protected.

    Optional Parameters:
    - disk_list_setting -- option to decide whether to include or exclude the disk or reset any previous settings to default behavior
    - diskslist -- List of disks to be excluded or included.
    - exclude_all_data_disks -- Option to specify to backup OS disk only.
    '''
policy_name
resource_group
vault_name
vm
disk_list_setting
diskslist
exclude_all_data_disks