Class OrchestrationServiceSummary
java.lang.Object
com.azure.resourcemanager.compute.models.OrchestrationServiceSummary
- All Implemented Interfaces:
com.azure.json.JsonSerializable<OrchestrationServiceSummary>
public final class OrchestrationServiceSummary
extends Object
implements com.azure.json.JsonSerializable<OrchestrationServiceSummary>
Summary for an orchestration service of a virtual machine scale set.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of OrchestrationServiceSummary class. -
Method Summary
Modifier and TypeMethodDescriptionstatic OrchestrationServiceSummaryfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of OrchestrationServiceSummary from the JsonReader.Get the lastStatusChangeTime property: The last UTC time when the operation status changed.Get the latestOperationStatus property: The latest operation status of the service.Get the serviceName property: The name of the service.Get the serviceState property: The current state of the service.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.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
-
OrchestrationServiceSummary
public OrchestrationServiceSummary()Creates an instance of OrchestrationServiceSummary class.
-
-
Method Details
-
serviceName
Get the serviceName property: The name of the service.- Returns:
- the serviceName value.
-
serviceState
Get the serviceState property: The current state of the service.- Returns:
- the serviceState value.
-
latestOperationStatus
Get the latestOperationStatus property: The latest operation status of the service. Minimum API version for this property is 2025-04-01.- Returns:
- the latestOperationStatus value.
-
lastStatusChangeTime
Get the lastStatusChangeTime property: The last UTC time when the operation status changed. Minimum API version for this property is 2025-04-01.- Returns:
- the lastStatusChangeTime value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<OrchestrationServiceSummary>- Throws:
IOException
-
fromJson
public static OrchestrationServiceSummary fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of OrchestrationServiceSummary from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of OrchestrationServiceSummary 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 OrchestrationServiceSummary.
-