com.azure.resourcemanager.recoveryservicesbackup.models.ProtectedItemHealthStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-recoveryservicesbackup Show documentation
Show all versions of azure-resourcemanager-recoveryservicesbackup Show documentation
This package contains Microsoft Azure SDK for RecoveryServicesBackup Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Open API 2.0 Specs for Azure RecoveryServices Backup service. Package tag package-2024-04.
// 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;
/**
* Health status of the backup item, evaluated based on last heartbeat received.
*/
public final class ProtectedItemHealthStatus extends ExpandableStringEnum {
/**
* Static value Invalid for ProtectedItemHealthStatus.
*/
public static final ProtectedItemHealthStatus INVALID = fromString("Invalid");
/**
* Static value Healthy for ProtectedItemHealthStatus.
*/
public static final ProtectedItemHealthStatus HEALTHY = fromString("Healthy");
/**
* Static value Unhealthy for ProtectedItemHealthStatus.
*/
public static final ProtectedItemHealthStatus UNHEALTHY = fromString("Unhealthy");
/**
* Static value NotReachable for ProtectedItemHealthStatus.
*/
public static final ProtectedItemHealthStatus NOT_REACHABLE = fromString("NotReachable");
/**
* Static value IRPending for ProtectedItemHealthStatus.
*/
public static final ProtectedItemHealthStatus IRPENDING = fromString("IRPending");
/**
* Creates a new instance of ProtectedItemHealthStatus value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public ProtectedItemHealthStatus() {
}
/**
* Creates or finds a ProtectedItemHealthStatus from its string representation.
*
* @param name a name to look for.
* @return the corresponding ProtectedItemHealthStatus.
*/
@JsonCreator
public static ProtectedItemHealthStatus fromString(String name) {
return fromString(name, ProtectedItemHealthStatus.class);
}
/**
* Gets known ProtectedItemHealthStatus values.
*
* @return known ProtectedItemHealthStatus values.
*/
public static Collection values() {
return values(ProtectedItemHealthStatus.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy