TelemetryEndpoint Class
- java.
lang. Object - com.
azure. ai. agents. models. TelemetryEndpoint
- com.
Implements
public class TelemetryEndpoint
implements JsonSerializable<TelemetryEndpoint>
A telemetry export endpoint configuration.
Constructor Summary
| Constructor | Description |
|---|---|
| TelemetryEndpoint(List<TelemetryDataKind> data) |
Creates an instance of Telemetry |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Telemetry |
fromJson(JsonReader jsonReader)
Reads an instance of Telemetry |
|
Telemetry |
getAuth()
Get the auth property: Optional authentication configuration. |
|
List<Telemetry |
getData()
Get the data property: Data types to export to this endpoint. |
|
Telemetry |
getKind()
Get the kind property: The telemetry export endpoint kind. |
|
Telemetry |
setAuth(TelemetryEndpointAuth auth)
Set the auth property: Optional authentication configuration. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
TelemetryEndpoint
public TelemetryEndpoint(List<TelemetryDataKind> data)
Creates an instance of TelemetryEndpoint class.
Parameters:
Method Details
fromJson
public static TelemetryEndpoint fromJson(JsonReader jsonReader)
Reads an instance of TelemetryEndpoint from the JsonReader.
Parameters:
Returns:
Throws:
getAuth
public TelemetryEndpointAuth getAuth()
Get the auth property: Optional authentication configuration.
Returns:
getData
public List<TelemetryDataKind> getData()
Get the data property: Data types to export to this endpoint. Use an empty array to export no data.
Returns:
getKind
public TelemetryEndpointKind getKind()
Get the kind property: The telemetry export endpoint kind.
Returns:
setAuth
public TelemetryEndpoint setAuth(TelemetryEndpointAuth auth)
Set the auth property: Optional authentication configuration.
Parameters:
Returns: