FoundryEnvironment.AgentId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The agent's stable identifier (GUID). Sourced from the FOUNDRY_AGENT_ID
environment variable. Available for container-side logic such as per-agent
routing, telemetry tagging, or custom storage partitioning. Stable across
all requests to the same agent.
public static string? AgentId { get; }
static member AgentId : string
Public Shared ReadOnly Property AgentId As String