Class ObservabilityProfile
java.lang.Object
com.azure.resourcemanager.appnetwork.models.ObservabilityProfile
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ObservabilityProfile>
public final class ObservabilityProfile
extends Object
implements com.azure.json.JsonSerializable<ObservabilityProfile>
AppLinkMember observability profile.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ObservabilityProfilefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ObservabilityProfile from the JsonReader.metrics()Get the metrics property: Metrics configuration.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) withMetrics(MetricsProfile metrics) Set the metrics property: Metrics configuration.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ObservabilityProfile
public ObservabilityProfile()Creates an instance of ObservabilityProfile class.
-
-
Method Details
-
metrics
Get the metrics property: Metrics configuration.- Returns:
- the metrics value.
-
withMetrics
Set the metrics property: Metrics configuration.- Parameters:
metrics- the metrics value to set.- Returns:
- the ObservabilityProfile object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ObservabilityProfile>- Throws:
IOException
-
fromJson
public static ObservabilityProfile fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ObservabilityProfile from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ObservabilityProfile 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 ObservabilityProfile.
-