ProjectsAgentsModelFactory.HeaderTelemetryEndpointAuthentication Method
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.
Header-based secret authentication for a telemetry endpoint. The resolved secret value is injected as an HTTP header.
public static Azure.AI.Projects.Agents.HeaderTelemetryEndpointAuthentication HeaderTelemetryEndpointAuthentication(string headerName = default, string secretId = default, string secretKey = default);
static member HeaderTelemetryEndpointAuthentication : string * string * string -> Azure.AI.Projects.Agents.HeaderTelemetryEndpointAuthentication
Public Shared Function HeaderTelemetryEndpointAuthentication (Optional headerName As String = Nothing, Optional secretId As String = Nothing, Optional secretKey As String = Nothing) As HeaderTelemetryEndpointAuthentication
Parameters
- headerName
- String
The name of the HTTP header to inject the secret value into.
- secretId
- String
The identifier of the secret store or connection.
- secretKey
- String
The key within the secret to retrieve the authentication value.
Returns
A new HeaderTelemetryEndpointAuthentication instance for mocking.