Partager via


OrchestrationServiceSummary Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.OrchestrationServiceSummary

Implements

public final class OrchestrationServiceSummary
implements JsonSerializable<OrchestrationServiceSummary>

Summary for an orchestration service of a virtual machine scale set.

Constructor Summary

Constructor Description
OrchestrationServiceSummary()

Creates an instance of OrchestrationServiceSummary class.

Method Summary

Modifier and Type Method and Description
static OrchestrationServiceSummary fromJson(JsonReader jsonReader)

Reads an instance of OrchestrationServiceSummary from the JsonReader.

OffsetDateTime lastStatusChangeTime()

Get the lastStatusChangeTime property: The last UTC time when the operation status changed.

OrchestrationServiceOperationStatus latestOperationStatus()

Get the latestOperationStatus property: The latest operation status of the service.

OrchestrationServiceNames serviceName()

Get the serviceName property: The name of the service.

OrchestrationServiceState serviceState()

Get the serviceState property: The current state of the service.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

OrchestrationServiceSummary

public OrchestrationServiceSummary()

Creates an instance of OrchestrationServiceSummary class.

Method Details

fromJson

public static OrchestrationServiceSummary fromJson(JsonReader jsonReader)

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.

lastStatusChangeTime

public OffsetDateTime 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.

latestOperationStatus

public OrchestrationServiceOperationStatus 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.

serviceName

public OrchestrationServiceNames serviceName()

Get the serviceName property: The name of the service.

Returns:

the serviceName value.

serviceState

public OrchestrationServiceState serviceState()

Get the serviceState property: The current state of the service.

Returns:

the serviceState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to