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.resources;
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 NotSpecified for ProvisioningState. /** Static value NotSpecified for ProvisioningState. */
public static final ProvisioningState NOT_SPECIFIED = fromString("NotSpecified");
Static value Accepted for ProvisioningState. /** Static value Accepted for ProvisioningState. */
public static final ProvisioningState ACCEPTED = fromString("Accepted");
Static value Running for ProvisioningState. /** Static value Running for ProvisioningState. */
public static final ProvisioningState RUNNING = fromString("Running");
Static value Ready for ProvisioningState. /** Static value Ready for ProvisioningState. */
public static final ProvisioningState READY = fromString("Ready");
Static value Creating for ProvisioningState. /** Static value Creating for ProvisioningState. */
public static final ProvisioningState CREATING = fromString("Creating");
Static value Created for ProvisioningState. /** Static value Created for ProvisioningState. */
public static final ProvisioningState CREATED = fromString("Created");
Static value Deleting for ProvisioningState. /** Static value Deleting for ProvisioningState. */
public static final ProvisioningState DELETING = fromString("Deleting");
Static value Deleted for ProvisioningState. /** Static value Deleted for ProvisioningState. */
public static final ProvisioningState DELETED = fromString("Deleted");
Static value Canceled for ProvisioningState. /** Static value Canceled for ProvisioningState. */
public static final ProvisioningState CANCELED = fromString("Canceled");
Static value Failed for ProvisioningState. /** Static value Failed for ProvisioningState. */
public static final ProvisioningState FAILED = fromString("Failed");
Static value Succeeded for ProvisioningState. /** Static value Succeeded for ProvisioningState. */
public static final ProvisioningState SUCCEEDED = fromString("Succeeded");
Static value Updating for ProvisioningState. /** Static value Updating for ProvisioningState. */
public static final ProvisioningState UPDATING = fromString("Updating");
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);
}
}