com.azure.resourcemanager.costmanagement.models.ExecutionStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-costmanagement Show documentation
Show all versions of azure-resourcemanager-costmanagement Show documentation
This package contains Microsoft Azure SDK for CostManagement Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. CostManagement management client provides access to CostManagement resources for Azure Enterprise Subscriptions. Package tag package-2022-10.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.costmanagement.models;
import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;
/** Defines values for ExecutionStatus. */
public final class ExecutionStatus extends ExpandableStringEnum {
/** Static value Queued for ExecutionStatus. */
public static final ExecutionStatus QUEUED = fromString("Queued");
/** Static value InProgress for ExecutionStatus. */
public static final ExecutionStatus IN_PROGRESS = fromString("InProgress");
/** Static value Completed for ExecutionStatus. */
public static final ExecutionStatus COMPLETED = fromString("Completed");
/** Static value Failed for ExecutionStatus. */
public static final ExecutionStatus FAILED = fromString("Failed");
/** Static value Timeout for ExecutionStatus. */
public static final ExecutionStatus TIMEOUT = fromString("Timeout");
/** Static value NewDataNotAvailable for ExecutionStatus. */
public static final ExecutionStatus NEW_DATA_NOT_AVAILABLE = fromString("NewDataNotAvailable");
/** Static value DataNotAvailable for ExecutionStatus. */
public static final ExecutionStatus DATA_NOT_AVAILABLE = fromString("DataNotAvailable");
/**
* Creates or finds a ExecutionStatus from its string representation.
*
* @param name a name to look for.
* @return the corresponding ExecutionStatus.
*/
@JsonCreator
public static ExecutionStatus fromString(String name) {
return fromString(name, ExecutionStatus.class);
}
/** @return known ExecutionStatus values. */
public static Collection values() {
return values(ExecutionStatus.class);
}
}