Condividi tramite


ServerFarmInstanceDetailsInner Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.fluent.models.ServerFarmInstanceDetailsInner

Implements

public final class ServerFarmInstanceDetailsInner
implements JsonSerializable<ServerFarmInstanceDetailsInner>

Represents instance details for an app service plan.

Method Summary

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

Reads an instance of ServerFarmInstanceDetailsInner from the JsonReader.

Integer instanceCount()

Get the instanceCount property: The total number of instances.

List<ServerFarmInstance> instances()

Get the instances property: The list of server farm instances.

String serverFarmName()

Get the serverFarmName property: The server farm name.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static ServerFarmInstanceDetailsInner fromJson(JsonReader jsonReader)

Reads an instance of ServerFarmInstanceDetailsInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

instanceCount

public Integer instanceCount()

Get the instanceCount property: The total number of instances.

Returns:

the instanceCount value.

instances

public List<ServerFarmInstance> instances()

Get the instances property: The list of server farm instances.

Returns:

the instances value.

serverFarmName

public String serverFarmName()

Get the serverFarmName property: The server farm name.

Returns:

the serverFarmName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to