你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AgentPoolStatus Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.AgentPoolStatus

Implements

public final class AgentPoolStatus
implements JsonSerializable<AgentPoolStatus>

Contains read-only information about the Agent Pool.

Constructor Summary

Constructor Description
AgentPoolStatus()

Creates an instance of AgentPoolStatus class.

Method Summary

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

Reads an instance of AgentPoolStatus from the JsonReader.

ManagementError provisioningError()

Get the provisioningError property: The error detail information of the agent pool.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

AgentPoolStatus

public AgentPoolStatus()

Creates an instance of AgentPoolStatus class.

Method Details

fromJson

public static AgentPoolStatus fromJson(JsonReader jsonReader)

Reads an instance of AgentPoolStatus from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

provisioningError

public ManagementError provisioningError()

Get the provisioningError property: The error detail information of the agent pool. Preserves the detailed info of failure. If there was no error, this field is omitted.

Returns:

the provisioningError value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to