DiscoveryTask Class

Definition

Task resource.

public class DiscoveryTask : System.ClientModel.Primitives.IJsonModel<Azure.AI.Discovery.DiscoveryTask>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Discovery.DiscoveryTask>
type DiscoveryTask = class
    interface IJsonModel<DiscoveryTask>
    interface IPersistableModel<DiscoveryTask>
Public Class DiscoveryTask
Implements IJsonModel(Of DiscoveryTask), IPersistableModel(Of DiscoveryTask)
Inheritance
DiscoveryTask
Implements

Constructors

Name Description
DiscoveryTask()

Initializes a new instance of DiscoveryTask.

Properties

Name Description
AssignedTo

Application or user assigned to this task.

Comments

Comments or notes about the task.

CreatedAt

The timestamp when the resource was created.

CreatedBy

The ID of the user who created this resource.

CreatedByType

Type of entity that created the resource (User, Application, System, or custom type).

DependsOn

IDs of tasks that must complete before this task can be executed.

Description

The description of the task.

ExecutionHistory

History of execution events for this task.

InvestigationId

The investigation identifier associated with the task.

LastModifiedAt

The timestamp when the resource was last updated.

LastModifiedBy

The ID of the user who updated this resource.

LastModifiedByType

The type of user who updated this resource.

Name

The unique identifier of the task.

ParentId

ID of the parent task if this is a subtask.

Priority

The priority of the task.

RelatedTo

IDs of tasks that are related to this task.

Status

The current status of the task.

StorageAssetIds

List of storage assets related to the task.

TaskResult

Task execution result with text and storage assets.

Title

The title of the task.

ValidationRequirements

Array of validation requirements for the task.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Operators

Name Description
Explicit(Response to DiscoveryTask)
Implicit(DiscoveryTask to RequestContent)

Explicit Interface Implementations

Name Description
IJsonModel<DiscoveryTask>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<DiscoveryTask>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<DiscoveryTask>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<DiscoveryTask>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<DiscoveryTask>.Write(ModelReaderWriterOptions)

Applies to