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 OrchestrationServiceState.
/**
* Defines values for OrchestrationServiceState.
*/
public final class OrchestrationServiceState extends ExpandableStringEnum<OrchestrationServiceState> {
Static value NotRunning for OrchestrationServiceState. /** Static value NotRunning for OrchestrationServiceState. */
public static final OrchestrationServiceState NOT_RUNNING = fromString("NotRunning");
Static value Running for OrchestrationServiceState. /** Static value Running for OrchestrationServiceState. */
public static final OrchestrationServiceState RUNNING = fromString("Running");
Static value Suspended for OrchestrationServiceState. /** Static value Suspended for OrchestrationServiceState. */
public static final OrchestrationServiceState SUSPENDED = fromString("Suspended");
Creates or finds a OrchestrationServiceState from its string representation.
Params: - name – a name to look for
Returns: the corresponding OrchestrationServiceState
/**
* Creates or finds a OrchestrationServiceState from its string representation.
* @param name a name to look for
* @return the corresponding OrchestrationServiceState
*/
@JsonCreator
public static OrchestrationServiceState fromString(String name) {
return fromString(name, OrchestrationServiceState.class);
}
Returns: known OrchestrationServiceState values
/**
* @return known OrchestrationServiceState values
*/
public static Collection<OrchestrationServiceState> values() {
return values(OrchestrationServiceState.class);
}
}