Partilhar via


AdvancedNetworkingObservability Class

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

Implements

public final class AdvancedNetworkingObservability
implements JsonSerializable<AdvancedNetworkingObservability>

Observability profile to enable advanced network metrics and flow logs with historical contexts.

Constructor Summary

Constructor Description
AdvancedNetworkingObservability()

Creates an instance of AdvancedNetworkingObservability class.

Method Summary

Modifier and Type Method and Description
Boolean enabled()

Get the enabled property: Indicates the enablement of Advanced Networking observability functionalities on clusters.

static AdvancedNetworkingObservability fromJson(JsonReader jsonReader)

Reads an instance of AdvancedNetworkingObservability from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AdvancedNetworkingObservability withEnabled(Boolean enabled)

Set the enabled property: Indicates the enablement of Advanced Networking observability functionalities on clusters.

Methods inherited from java.lang.Object

Constructor Details

AdvancedNetworkingObservability

public AdvancedNetworkingObservability()

Creates an instance of AdvancedNetworkingObservability class.

Method Details

enabled

public Boolean enabled()

Get the enabled property: Indicates the enablement of Advanced Networking observability functionalities on clusters.

Returns:

the enabled value.

fromJson

public static AdvancedNetworkingObservability fromJson(JsonReader jsonReader)

Reads an instance of AdvancedNetworkingObservability from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withEnabled

public AdvancedNetworkingObservability withEnabled(Boolean enabled)

Set the enabled property: Indicates the enablement of Advanced Networking observability functionalities on clusters.

Parameters:

enabled - the enabled value to set.

Returns:

the AdvancedNetworkingObservability object itself.

Applies to