ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics
- com.
Implements
public final class ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics
implements JsonSerializable<ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics>
Application Monitoring OpenTelemetry Metrics Profile for AKS. Collects OpenTelemetry metrics 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 |
|---|---|
| ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics() |
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
ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics
public ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics()
Creates an instance of ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics class.
Method Details
enabled
public Boolean enabled()
Get the enabled property: Indicates if Application Monitoring OpenTelemetry Metrics is enabled or not.
Returns:
fromJson
public static ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics fromJson(JsonReader jsonReader)
Reads an instance of ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics from the JsonReader.
Parameters:
Returns:
Throws:
grpcPort
public Long grpcPort()
Get the grpcPort property: The host port for OpenTelemetry GRPC metrics. If not specified, the default port is 28334.
Returns:
httpPort
public Long httpPort()
Get the httpPort property: The host port for OpenTelemetry HTTP/PROTOBUF metrics. If not specified, the default port is 28333.
Returns:
toJson
validate
public void validate()
Validates the instance.
withEnabled
public ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics withEnabled(Boolean enabled)
Set the enabled property: Indicates if Application Monitoring OpenTelemetry Metrics is enabled or not.
Parameters:
Returns:
withGrpcPort
public ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics withGrpcPort(Long grpcPort)
Set the grpcPort property: The host port for OpenTelemetry GRPC metrics. If not specified, the default port is 28334.
Parameters:
Returns:
withHttpPort
public ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics withHttpPort(Long httpPort)
Set the httpPort property: The host port for OpenTelemetry HTTP/PROTOBUF metrics. If not specified, the default port is 28333.
Parameters:
Returns: