AgentPoolDeleteMachinesParameter Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. AgentPoolDeleteMachinesParameter
- com.
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 Agent |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Agent |
fromJson(JsonReader jsonReader)
Reads an instance of Agent |
| List<String> |
machineNames()
Get the machine |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Agent |
withMachineNames(List<String> machineNames)
Set the machine |
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:
Returns:
Throws:
machineNames
public List<String> machineNames()
Get the machineNames property: The agent pool machine names.
Returns:
toJson
validate
public void validate()
Validates the instance.
withMachineNames
public AgentPoolDeleteMachinesParameter withMachineNames(List<String> machineNames)
Set the machineNames property: The agent pool machine names.
Parameters:
Returns: