Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.containerservice;
import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;
Defines values for AgentPoolMode.
/**
* Defines values for AgentPoolMode.
*/
public final class AgentPoolMode extends ExpandableStringEnum<AgentPoolMode> {
Static value System for AgentPoolMode. /** Static value System for AgentPoolMode. */
public static final AgentPoolMode SYSTEM = fromString("System");
Static value User for AgentPoolMode. /** Static value User for AgentPoolMode. */
public static final AgentPoolMode USER = fromString("User");
Creates or finds a AgentPoolMode from its string representation.
Params: - name – a name to look for
Returns: the corresponding AgentPoolMode
/**
* Creates or finds a AgentPoolMode from its string representation.
* @param name a name to look for
* @return the corresponding AgentPoolMode
*/
@JsonCreator
public static AgentPoolMode fromString(String name) {
return fromString(name, AgentPoolMode.class);
}
Returns: known AgentPoolMode values
/**
* @return known AgentPoolMode values
*/
public static Collection<AgentPoolMode> values() {
return values(AgentPoolMode.class);
}
}