Поделиться через


AgentPoolDeleteMachinesParameter Class

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

Implements

public final class AgentPoolDeleteMachinesParameter
implements JsonSerializable<AgentPoolDeleteMachinesParameter>

Specifies a list of machine names from the agent pool to be deleted.

Constructor Summary

Constructor Description
AgentPoolDeleteMachinesParameter()

Creates an instance of AgentPoolDeleteMachinesParameter class.

Method Summary

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

Reads an instance of AgentPoolDeleteMachinesParameter from the JsonReader.

List<String> machineNames()

Get the machineNames property: The agent pool machine names.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AgentPoolDeleteMachinesParameter withMachineNames(List<String> machineNames)

Set the machineNames property: The agent pool machine names.

Methods inherited from java.lang.Object

Constructor Details

AgentPoolDeleteMachinesParameter

public AgentPoolDeleteMachinesParameter()

Creates an instance of AgentPoolDeleteMachinesParameter class.

Method Details

fromJson

public static AgentPoolDeleteMachinesParameter fromJson(JsonReader jsonReader)

Reads an instance of AgentPoolDeleteMachinesParameter from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AgentPoolDeleteMachinesParameter if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

machineNames

public List<String> machineNames()

Get the machineNames property: The agent pool machine names.

Returns:

the machineNames value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withMachineNames

public AgentPoolDeleteMachinesParameter withMachineNames(List<String> machineNames)

Set the machineNames property: The agent pool machine names.

Parameters:

machineNames - the machineNames value to set.

Returns:

the AgentPoolDeleteMachinesParameter object itself.

Applies to