def METHOD_NAME(self, resource_group, storage_account_info):
    account_info = storage_account_info
    container = self.create_container(account_info)
    import time
    # create a blob
    local_file = self.create_temp_file(1)
    blob_name = self.create_random_name(prefix='blob', length=24)
    self.storage_cmd('storage blob upload -c {} -f "{}" -n {} --type block', account_info,
                     container, local_file, blob_name)
    self.assertEqual(len(self.storage_cmd('storage blob list -c {}',
                                          account_info, container).get_output_in_json()), 1)
    # set delete-policy to enable soft-delete
    self.storage_cmd('storage blob service-properties delete-policy update --enable true --days-retained 2',
                     account_info)
    self.storage_cmd('storage blob service-properties delete-policy show',
                     account_info).assert_with_checks(JMESPathCheck('enabled', True),
                                                      JMESPathCheck('days', 2))
    time.sleep(10)
    # soft-delete and check
    self.storage_cmd('storage blob delete -c {} -n {}', account_info, container, blob_name)
    self.assertEqual(len(self.storage_cmd('storage blob list -c {}',
                                          account_info, container).get_output_in_json()), 0)
    # undelete and check
    time.sleep(60)
    self.storage_cmd('storage blob undelete -c {} -n {}', account_info, container, blob_name)
    self.assertEqual(len(self.storage_cmd('storage blob list -c {}',
                                          account_info, container).get_output_in_json()), 1)