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.compute;
import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;
Defines values for OrchestrationMode.
/**
* Defines values for OrchestrationMode.
*/
public final class OrchestrationMode extends ExpandableStringEnum<OrchestrationMode> {
Static value Uniform for OrchestrationMode. /** Static value Uniform for OrchestrationMode. */
public static final OrchestrationMode UNIFORM = fromString("Uniform");
Static value Flexible for OrchestrationMode. /** Static value Flexible for OrchestrationMode. */
public static final OrchestrationMode FLEXIBLE = fromString("Flexible");
Creates or finds a OrchestrationMode from its string representation.
Params: - name – a name to look for
Returns: the corresponding OrchestrationMode
/**
* Creates or finds a OrchestrationMode from its string representation.
* @param name a name to look for
* @return the corresponding OrchestrationMode
*/
@JsonCreator
public static OrchestrationMode fromString(String name) {
return fromString(name, OrchestrationMode.class);
}
Returns: known OrchestrationMode values
/**
* @return known OrchestrationMode values
*/
public static Collection<OrchestrationMode> values() {
return values(OrchestrationMode.class);
}
}