Share via


CreateMemoryStoreRequest Constructors

Definition

Overloads

CreateMemoryStoreRequest()

Source:
CreateMemoryStoreRequest.cs

Initializes a new instance of CreateMemoryStoreRequest for deserialization.

public CreateMemoryStoreRequest();
Public Sub New ()

Applies to

CreateMemoryStoreRequest(String, MemoryStoreDefinition)

Source:
CreateMemoryStoreRequest.cs

Initializes a new instance of CreateMemoryStoreRequest.

public CreateMemoryStoreRequest(string name, Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemoryStoreDefinition definition);
new Azure.AI.AgentServer.Contracts.Generated.MemoryStore.CreateMemoryStoreRequest : string * Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemoryStoreDefinition -> Azure.AI.AgentServer.Contracts.Generated.MemoryStore.CreateMemoryStoreRequest
Public Sub New (name As String, definition As MemoryStoreDefinition)

Parameters

name
String

The name of the memory store.

definition
MemoryStoreDefinition

The memory store definition. Please note MemoryStoreDefinition is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include MemoryStoreDefaultDefinition.

Exceptions

name or definition is null.

Applies to

CreateMemoryStoreRequest(String, String, IReadOnlyDictionary<String,String>, MemoryStoreDefinition, IDictionary<String,BinaryData>)

Source:
CreateMemoryStoreRequest.cs

Initializes a new instance of CreateMemoryStoreRequest.

public CreateMemoryStoreRequest(string name, string description, System.Collections.Generic.IReadOnlyDictionary<string,string> metadata, Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemoryStoreDefinition definition, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData);
new Azure.AI.AgentServer.Contracts.Generated.MemoryStore.CreateMemoryStoreRequest : string * string * System.Collections.Generic.IReadOnlyDictionary<string, string> * Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemoryStoreDefinition * System.Collections.Generic.IDictionary<string, BinaryData> -> Azure.AI.AgentServer.Contracts.Generated.MemoryStore.CreateMemoryStoreRequest
Public Sub New (name As String, description As String, metadata As IReadOnlyDictionary(Of String, String), definition As MemoryStoreDefinition, serializedAdditionalRawData As IDictionary(Of String, BinaryData))

Parameters

name
String

The name of the memory store.

description
String

A human-readable description of the memory store.

metadata
IReadOnlyDictionary<String,String>

Arbitrary key-value metadata to associate with the memory store.

definition
MemoryStoreDefinition

The memory store definition. Please note MemoryStoreDefinition is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include MemoryStoreDefaultDefinition.

serializedAdditionalRawData
IDictionary<String,BinaryData>

Keeps track of any properties unknown to the library.

Applies to