Compartilhar via


AgentDetails Constructor

Definition

Initializes a new instance of the AgentDetails class.

public AgentDetails(string? agentId = default, string? agentName = default, string? agentDescription = default, string? agenticUserId = default, string? agenticUserEmail = default, string? agentBlueprintId = default, string? tenantId = default, Microsoft.Agents.A365.Observability.Runtime.Tracing.Contracts.AgentType? agentType = default, System.Net.IPAddress? agentClientIP = default, string? agentPlatformId = default, string? providerName = default, string? agentVersion = default);
new Microsoft.Agents.A365.Observability.Runtime.Tracing.Contracts.AgentDetails : string * string * string * string * string * string * string * Nullable<Microsoft.Agents.A365.Observability.Runtime.Tracing.Contracts.AgentType> * System.Net.IPAddress * string * string * string -> Microsoft.Agents.A365.Observability.Runtime.Tracing.Contracts.AgentDetails
Public Sub New (Optional agentId As String = Nothing, Optional agentName As String = Nothing, Optional agentDescription As String = Nothing, Optional agenticUserId As String = Nothing, Optional agenticUserEmail As String = Nothing, Optional agentBlueprintId As String = Nothing, Optional tenantId As String = Nothing, Optional agentType As Nullable(Of AgentType) = Nothing, Optional agentClientIP As IPAddress = Nothing, Optional agentPlatformId As String = Nothing, Optional providerName As String = Nothing, Optional agentVersion As String = Nothing)

Parameters

agentId
String

The unique identifier for the agent.

agentName
String

Optional display name for the agent.

agentDescription
String

Optional description of the agent's purpose.

agenticUserId
String

Optional agentic user ID for the agent.

agenticUserEmail
String

Optional email address for the agentic user.

agentBlueprintId
String

Optional Blueprint/Application ID for the agent.

tenantId
String

Optional Tenant ID for the agent.

agentType
Nullable<AgentType>

Optional agent type.

agentClientIP
IPAddress

Optional client IP address of the agent.

agentPlatformId
String

Optional platform ID for the agent.

providerName
String

Optional provider name (e.g., openai, anthropic).

agentVersion
String

Optional version of the agent (e.g., "1.0.0", "2025-05-01").

Remarks

Certification Requirements: The following parameters must be set for the agent to pass certification requirements, and these values override any of the same values specified in the BaggageBuilder class:

  • agentId
  • agentName
  • agentDescription
  • agenticUserId
  • agenticUserEmail
  • agentBlueprintId

While many parameters are optional in the API, they must be provided (not null) to meet certification requirements. Learn more about certification requirements

Either agentId or agentPlatformId should be provided to identify the agent.

Applies to