ArmAppContainersModelFactory.McpServerSettings Method

Definition

The settings of the MCP (Model Context Protocol) server for this session pool.

public static Azure.ResourceManager.AppContainers.Models.McpServerSettings McpServerSettings(bool? isMcpServerEnabled = default, bool? isMcpServerApiKeyDisabled = default, Uri mcpServerEndpoint = default);
static member McpServerSettings : Nullable<bool> * Nullable<bool> * Uri -> Azure.ResourceManager.AppContainers.Models.McpServerSettings
Public Shared Function McpServerSettings (Optional isMcpServerEnabled As Nullable(Of Boolean) = Nothing, Optional isMcpServerApiKeyDisabled As Nullable(Of Boolean) = Nothing, Optional mcpServerEndpoint As Uri = Nothing) As McpServerSettings

Parameters

isMcpServerEnabled
Nullable<Boolean>

Indicates whether the MCP server is enabled.

isMcpServerApiKeyDisabled
Nullable<Boolean>

Indicates whether the MCP server API key is disabled.

mcpServerEndpoint
Uri

The endpoint of the MCP server.

Returns

A new McpServerSettings instance for mocking.

Applies to