Share via


PendingUploadRequest Class

Definition

Represents a request for a pending upload.

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

Constructors

PendingUploadRequest()

Initializes a new instance of PendingUploadRequest.

Properties

ConnectionName

Azure Storage Account connection name to use for generating temporary SAS token.

PendingUploadId

If PendingUploadId is not provided, a random GUID will be used.

PendingUploadType

BlobReference is the only supported type.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<PendingUploadRequest>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<PendingUploadRequest>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PendingUploadRequest>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PendingUploadRequest>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<PendingUploadRequest>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to