@microsoft/agents-a365-runtime package
类
| AgenticAuthenticationService | |
| PowerPlatformApiDiscovery | |
| Utility |
实用工具类为代理运行时作提供帮助程序方法。 |
类型别名
| ClusterCategory |
函数
| get |
从环境变量中获取群集类别。 |
| get |
从环境变量中获取 MCP 平台身份验证范围。 |
| get |
返回对可观测性服务进行身份验证的范围 |
| is |
如果当前环境是开发环境,则返回 true。 |
函数详细信息
getClusterCategory()
从环境变量中获取群集类别。
function getClusterCategory(): string
返回
string
CLUSTER_CATEGORY env var 中的群集类别默认为“prod”。
getMcpPlatformAuthenticationScope()
从环境变量中获取 MCP 平台身份验证范围。
function getMcpPlatformAuthenticationScope(): string
返回
string
MCP 平台身份验证范围从 MCP_PLATFORM_AUTHENTICATION_SCOPE env var,默认为生产范围。
getObservabilityAuthenticationScope()
返回对可观测性服务进行身份验证的范围
function getObservabilityAuthenticationScope(): string[]
返回
string[]
当前环境的身份验证范围。
isDevelopmentEnvironment()
如果当前环境是开发环境,则返回 true。
function isDevelopmentEnvironment(): boolean
返回
boolean
如果当前环境正在开发,则为 True;否则为 false。