ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogsAndTraces Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogsAndTraces
- com.
Implements
public final class ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogsAndTraces
implements JsonSerializable<ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogsAndTraces>
Application Monitoring OpenTelemetry logs and traces profile for AKS. Collects OpenTelemetry logs and traces of the application using Azure Monitor OpenTelemetry based SDKs. See https://aka.ms/AKSAppMonitoringDocs and https://aka.ms/AzureMonitorApplicationMonitoring for an overview.
Constructor Summary
| Constructor | Description |
|---|---|
| ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogsAndTraces() |
Creates an instance of Managed |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
enabled()
Get the enabled property: Indicates if Application Monitoring Open |
|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
| Long |
grpcPort()
Get the grpc |
| Long |
httpPort()
Get the http |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Managed |
withEnabled(Boolean enabled)
Set the enabled property: Indicates if Application Monitoring Open |
|
Managed |
withGrpcPort(Long grpcPort)
Set the grpc |
|
Managed |
withHttpPort(Long httpPort)
Set the http |
Methods inherited from java.lang.Object
Constructor Details
ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogsAndTraces
public ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogsAndTraces()
Creates an instance of ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogsAndTraces class.
Method Details
enabled
public Boolean enabled()
Get the enabled property: Indicates if Application Monitoring OpenTelemetry Logs and traces is enabled or not.
Returns:
fromJson
public static ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogsAndTraces fromJson(JsonReader jsonReader)
Reads an instance of ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogsAndTraces from the JsonReader.
Parameters:
Returns:
Throws:
grpcPort
public Long grpcPort()
Get the grpcPort property: The host port for OpenTelemetry GRPC logs and traces. If not specified, the default port is 28332.
Returns:
httpPort
public Long httpPort()
Get the httpPort property: The host port for OpenTelemetry HTTP/PROTOBUF logs and traces. If not specified, the default port is 28331.
Returns:
toJson
validate
public void validate()
Validates the instance.
withEnabled
public ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogsAndTraces withEnabled(Boolean enabled)
Set the enabled property: Indicates if Application Monitoring OpenTelemetry Logs and traces is enabled or not.
Parameters:
Returns:
withGrpcPort
public ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogsAndTraces withGrpcPort(Long grpcPort)
Set the grpcPort property: The host port for OpenTelemetry GRPC logs and traces. If not specified, the default port is 28332.
Parameters:
Returns:
withHttpPort
public ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogsAndTraces withHttpPort(Long httpPort)
Set the httpPort property: The host port for OpenTelemetry HTTP/PROTOBUF logs and traces. If not specified, the default port is 28331.
Parameters:
Returns: