ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation

Implements

public final class ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation
implements JsonSerializable<ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation>

Application Monitoring auto-instrumentation for AKS. Deploys a webhook that auto-instruments workloads with Microsoft OpenTelemetry Distros to collect OpenTelemetry metrics, logs, and traces. See https://aka.ms/AKSAppMonitoringDocs and https://aka.ms/AzureMonitorApplicationMonitoring for an overview.

Constructor Summary

Constructor Description
ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation()

Creates an instance of ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation class.

Method Summary

Modifier and Type Method and Description
Boolean enabled()

Get the enabled property: Indicates if Application Monitoring Auto-instrumentation is enabled or not.

static ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation withEnabled(Boolean enabled)

Set the enabled property: Indicates if Application Monitoring Auto-instrumentation is enabled or not.

Methods inherited from java.lang.Object

Constructor Details

ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation

public ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation()

Creates an instance of ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation class.

Method Details

enabled

public Boolean enabled()

Get the enabled property: Indicates if Application Monitoring Auto-instrumentation is enabled or not.

Returns:

the enabled value.

fromJson

public static ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation 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 ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withEnabled

public ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation withEnabled(Boolean enabled)

Set the enabled property: Indicates if Application Monitoring Auto-instrumentation is enabled or not.

Parameters:

enabled - the enabled value to set.

Returns:

the ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation object itself.

Applies to