TelemetryEndpointAuth Class

  • java.lang.Object
    • com.azure.ai.agents.models.TelemetryEndpointAuth

Implements

public class TelemetryEndpointAuth
implements JsonSerializable<TelemetryEndpointAuth>

Authentication configuration for a telemetry endpoint.

Constructor Summary

Constructor Description
TelemetryEndpointAuth()

Creates an instance of TelemetryEndpointAuth class.

Method Summary

Modifier and Type Method and Description
static TelemetryEndpointAuth fromJson(JsonReader jsonReader)

Reads an instance of TelemetryEndpointAuth from the JsonReader.

TelemetryEndpointAuthType getType()

Get the type property: The authentication type.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

TelemetryEndpointAuth

public TelemetryEndpointAuth()

Creates an instance of TelemetryEndpointAuth class.

Method Details

fromJson

public static TelemetryEndpointAuth fromJson(JsonReader jsonReader)

Reads an instance of TelemetryEndpointAuth from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TelemetryEndpointAuth if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the TelemetryEndpointAuth.

getType

public TelemetryEndpointAuthType getType()

Get the type property: The authentication type.

Returns:

the type value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to