Share via


AzureFunctionBinding Class

Definition

The structure for keeping storage queue name and URI.

public class AzureFunctionBinding : Azure.AI.AgentServer.Contracts.Generated.Common.IUtf8JsonSerializable, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.AzureFunctionBinding>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.AzureFunctionBinding>
type AzureFunctionBinding = class
    interface IUtf8JsonSerializable
    interface IJsonModel<AzureFunctionBinding>
    interface IPersistableModel<AzureFunctionBinding>
Public Class AzureFunctionBinding
Implements IJsonModel(Of AzureFunctionBinding), IPersistableModel(Of AzureFunctionBinding), IUtf8JsonSerializable
Inheritance
AzureFunctionBinding
Implements

Constructors

Name Description
AzureFunctionBinding()

Initializes a new instance of AzureFunctionBinding for deserialization.

AzureFunctionBinding(AzureFunctionBindingType, AzureFunctionStorageQueue, IDictionary<String,BinaryData>)

Initializes a new instance of AzureFunctionBinding.

AzureFunctionBinding(AzureFunctionStorageQueue)

Initializes a new instance of AzureFunctionBinding.

Properties

Name Description
StorageQueue

Storage queue.

Type

The type of binding, which is always 'storage_queue'.

Methods

Name Description
DeserializeAzureFunctionBinding(JsonElement, ModelReaderWriterOptions)
FromResponse(Response)

Deserializes the model from a raw response.

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
ToRequestContent()

Convert into a RequestContent.

Explicit Interface Implementations

Name Description
IJsonModel<AzureFunctionBinding>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AzureFunctionBinding>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AzureFunctionBinding>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AzureFunctionBinding>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AzureFunctionBinding>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IUtf8JsonSerializable.Write(Utf8JsonWriter)

Applies to