def list_by_backup_policy(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers:nil)
      response = list_by_backup_policy_async(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def list_by_backup_policy(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers:nil)
      response = list_by_backup_policy_async(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Gets all the backup schedules in a backup policy.

 @param device_name [String] The device name
 @param backup_policy_name [String] The backup policy name.
 @param resource_group_name [String] The resource group name
 @param manager_name [String] The manager name
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [BackupScheduleList] operation results.