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.

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.

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