All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.recoveryservicesbackup.models.ResourceHealthStatus Maven / Gradle / Ivy

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.recoveryservicesbackup.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/**
 * Resource Health Status.
 */
public final class ResourceHealthStatus extends ExpandableStringEnum {
    /**
     * Static value Healthy for ResourceHealthStatus.
     */
    public static final ResourceHealthStatus HEALTHY = fromString("Healthy");

    /**
     * Static value TransientDegraded for ResourceHealthStatus.
     */
    public static final ResourceHealthStatus TRANSIENT_DEGRADED = fromString("TransientDegraded");

    /**
     * Static value PersistentDegraded for ResourceHealthStatus.
     */
    public static final ResourceHealthStatus PERSISTENT_DEGRADED = fromString("PersistentDegraded");

    /**
     * Static value TransientUnhealthy for ResourceHealthStatus.
     */
    public static final ResourceHealthStatus TRANSIENT_UNHEALTHY = fromString("TransientUnhealthy");

    /**
     * Static value PersistentUnhealthy for ResourceHealthStatus.
     */
    public static final ResourceHealthStatus PERSISTENT_UNHEALTHY = fromString("PersistentUnhealthy");

    /**
     * Static value Invalid for ResourceHealthStatus.
     */
    public static final ResourceHealthStatus INVALID = fromString("Invalid");

    /**
     * Creates a new instance of ResourceHealthStatus value.
     * 
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public ResourceHealthStatus() {
    }

    /**
     * Creates or finds a ResourceHealthStatus from its string representation.
     * 
     * @param name a name to look for.
     * @return the corresponding ResourceHealthStatus.
     */
    @JsonCreator
    public static ResourceHealthStatus fromString(String name) {
        return fromString(name, ResourceHealthStatus.class);
    }

    /**
     * Gets known ResourceHealthStatus values.
     * 
     * @return known ResourceHealthStatus values.
     */
    public static Collection values() {
        return values(ResourceHealthStatus.class);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy