Freigeben über


CognitiveServicesVersionedAgentReference Class

Definition

Type modeling a reference to a version of an agent definition.

public class CognitiveServicesVersionedAgentReference : Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAgentReferenceProperties, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesVersionedAgentReference>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesVersionedAgentReference>
type CognitiveServicesVersionedAgentReference = class
    inherit CognitiveServicesAgentReferenceProperties
    interface IJsonModel<CognitiveServicesVersionedAgentReference>
    interface IPersistableModel<CognitiveServicesVersionedAgentReference>
Public Class CognitiveServicesVersionedAgentReference
Inherits CognitiveServicesAgentReferenceProperties
Implements IJsonModel(Of CognitiveServicesVersionedAgentReference), IPersistableModel(Of CognitiveServicesVersionedAgentReference)
Inheritance
CognitiveServicesVersionedAgentReference
Implements

Constructors

Name Description
CognitiveServicesVersionedAgentReference()

Initializes a new instance of CognitiveServicesVersionedAgentReference.

Properties

Name Description
AgentId

Gets the agent's unique identifier within the organization (subscription).

(Inherited from CognitiveServicesAgentReferenceProperties)
AgentName

Gets the agent's name (unique within the project/app).

(Inherited from CognitiveServicesAgentReferenceProperties)
AgentVersion

Gets the agent's version (unique for each agent lineage).

Methods

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

Explicit Interface Implementations

Name Description
IJsonModel<CognitiveServicesAgentReferenceProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from CognitiveServicesAgentReferenceProperties)
IJsonModel<CognitiveServicesAgentReferenceProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from CognitiveServicesAgentReferenceProperties)
IJsonModel<CognitiveServicesVersionedAgentReference>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<CognitiveServicesVersionedAgentReference>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<CognitiveServicesAgentReferenceProperties>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from CognitiveServicesAgentReferenceProperties)
IPersistableModel<CognitiveServicesAgentReferenceProperties>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from CognitiveServicesAgentReferenceProperties)
IPersistableModel<CognitiveServicesAgentReferenceProperties>.Write(ModelReaderWriterOptions) (Inherited from CognitiveServicesAgentReferenceProperties)
IPersistableModel<CognitiveServicesVersionedAgentReference>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<CognitiveServicesVersionedAgentReference>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<CognitiveServicesVersionedAgentReference>.Write(ModelReaderWriterOptions)

Applies to