Edit

Share via


IFileEngine Interface

Definition

Interface for all engine functions.

public interface IFileEngine : IDisposable
type IFileEngine = interface
    interface IDisposable
Public Interface IFileEngine
Implements IDisposable
Implements

Properties

CustomSettings

The custom policy settings. set by the tenant admin.

DefaultSensitivityLabel

Gets the default sensitivity label.

HasClassificationRules

Gets if the policy has automatic or recommandation rules.

IsLabelingRequired

Checks whether or not the policy dictates that a document must be labeled.

LastPolicyFetchTime

Provide the time when the policy was last fetched.

MoreInfoUrl

Provide a url for looking up more information regarding the policy/labels.

PolicyDataXml

Gets policy data XML which describes the settings, labels, and rules associated with this policy

PolicyFileId

Provide the policy ID.

SensitivityLabels

Returns a list of sensitivity labels.

SensitivityTypes

List the sensitivity types associated with the policy engine.

SensitivityTypesFileId

Provide the sensitivity types file ID.

Settings

Returns the engine settings.

Methods

CreateFileHandlerAsync(Stream, String, Boolean, FileExecutionState)

Starts creating a file handler for given file stream.

CreateFileHandlerAsync(Stream, String, Boolean, FileExecutionState, Boolean)

Starts creating a file handler for given file stream.

CreateFileHandlerAsync(String, String, Boolean, FileExecutionState)

Starts creating a file handler for given file path.

CreateFileHandlerAsync(String, String, Boolean, FileExecutionState, Boolean)

Starts creating a file handler for given file path.

GetLabelById(String)

Gets the label according to the provided id.

HasWorkloadConsent(Workload)

Checks workload consent

SendApplicationAuditEvent(String, String, String)

Logs an application specific event to the audit pipeline.

Applies to