Share via


HealthDeidentificationModelFactory.DeidentificationContent Method

Definition

Initializes a new instance of DeidentificationContent.

public static Azure.Health.Deidentification.DeidentificationContent DeidentificationContent (string inputText = default, Azure.Health.Deidentification.OperationType? operation = default, Azure.Health.Deidentification.DocumentDataType? dataType = default, string redactionFormat = default);
static member DeidentificationContent : string * Nullable<Azure.Health.Deidentification.OperationType> * Nullable<Azure.Health.Deidentification.DocumentDataType> * string -> Azure.Health.Deidentification.DeidentificationContent
Public Shared Function DeidentificationContent (Optional inputText As String = Nothing, Optional operation As Nullable(Of OperationType) = Nothing, Optional dataType As Nullable(Of DocumentDataType) = Nothing, Optional redactionFormat As String = Nothing) As DeidentificationContent

Parameters

inputText
String

Input text to de-identify.

operation
Nullable<OperationType>

Operation to perform on the input.

dataType
Nullable<DocumentDataType>

Data type of the input.

redactionFormat
String

Format of the redacted output. Only valid when OperationType is "Redact".

Returns

A new DeidentificationContent instance for mocking.

Applies to