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