Language

CognitiveServicesProjectToolControlEntry Class

Definition

Identifies a tool by its canonical type and optional MCP server URL or connector.

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

Constructors

Name Description
CognitiveServicesProjectToolControlEntry(CognitiveServicesProjectToolControlType)

Initializes a new instance of CognitiveServicesProjectToolControlEntry.

Properties

Name Description
ConnectorId

The opaque MCP connector catalog identifier, not an Azure resource ID. Applies only to type mcp and cannot be specified together with serverUrl.

ServerUri

The absolute HTTPS URL or URL pattern of an MCP server, stored as a string to support wildcards. The entire URL may contain at most one literal '' across its hostname, path, query, and fragment. Supported patterns include https://.contoso.com/mcp, https://contoso.com/mcp/, https://contoso.com/mcp?tenant=, and https://contoso.com/mcp#*. A hostname wildcard must be the leftmost label. The URL must not contain user information. Applies only to type mcp and cannot be specified together with connectorId.

Type

The canonical tool type. For type mcp, exactly one of serverUrl or connectorId must be specified. Other tool types must omit both properties.

Methods

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

Explicit Interface Implementations

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

Applies to