HealthDeidentificationModelFactory.DeidentificationJob Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of DeidentificationJob.
public static Azure.Health.Deidentification.DeidentificationJob DeidentificationJob (string name = default, Azure.Health.Deidentification.SourceStorageLocation sourceLocation = default, Azure.Health.Deidentification.TargetStorageLocation targetLocation = default, Azure.Health.Deidentification.OperationType? operation = default, Azure.Health.Deidentification.DocumentDataType? dataType = default, string redactionFormat = default, Azure.Health.Deidentification.JobStatus status = default, Azure.ResponseError error = default, DateTimeOffset lastUpdatedAt = default, DateTimeOffset createdAt = default, DateTimeOffset? startedAt = default, Azure.Health.Deidentification.JobSummary summary = default);
static member DeidentificationJob : string * Azure.Health.Deidentification.SourceStorageLocation * Azure.Health.Deidentification.TargetStorageLocation * Nullable<Azure.Health.Deidentification.OperationType> * Nullable<Azure.Health.Deidentification.DocumentDataType> * string * Azure.Health.Deidentification.JobStatus * Azure.ResponseError * DateTimeOffset * DateTimeOffset * Nullable<DateTimeOffset> * Azure.Health.Deidentification.JobSummary -> Azure.Health.Deidentification.DeidentificationJob
Public Shared Function DeidentificationJob (Optional name As String = Nothing, Optional sourceLocation As SourceStorageLocation = Nothing, Optional targetLocation As TargetStorageLocation = Nothing, Optional operation As Nullable(Of OperationType) = Nothing, Optional dataType As Nullable(Of DocumentDataType) = Nothing, Optional redactionFormat As String = Nothing, Optional status As JobStatus = Nothing, Optional error As ResponseError = Nothing, Optional lastUpdatedAt As DateTimeOffset = Nothing, Optional createdAt As DateTimeOffset = Nothing, Optional startedAt As Nullable(Of DateTimeOffset) = Nothing, Optional summary As JobSummary = Nothing) As DeidentificationJob
Parameters
- name
- String
The name of a job.
- sourceLocation
- SourceStorageLocation
Storage location to perform the operation on.
- targetLocation
- TargetStorageLocation
Target location to store output of operation.
- operation
- Nullable<OperationType>
Operation to perform on the input documents.
- dataType
- Nullable<DocumentDataType>
Data type of the input documents.
- redactionFormat
- String
Format of the redacted output. Only valid when Operation is Redact.
- status
- JobStatus
Current status of a job.
- error
- ResponseError
Error when job fails in it's entirety.
- lastUpdatedAt
- DateTimeOffset
Date and time when the job was completed.
If the job is canceled, this is the time when the job was canceled.
If the job failed, this is the time when the job failed.
- createdAt
- DateTimeOffset
Date and time when the job was created.
- startedAt
- Nullable<DateTimeOffset>
Date and time when the job was started.
- summary
- JobSummary
Summary of a job. Exists only when the job is completed.
Returns
A new DeidentificationJob instance for mocking.
Applies to
Azure SDK for .NET