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

com.azure.resourcemanager.network.models.ApplicationGatewayBackendHealthStatus Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure Network Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt

There is a newer version: 2.44.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.resourcemanager.network.models;

import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;

/** Application gateway backend health status. */
public class ApplicationGatewayBackendHealthStatus extends ExpandableStringEnum {
    /** Unknown health status. */
    public static final ApplicationGatewayBackendHealthStatus UNKNOWN =
        fromString(ApplicationGatewayBackendHealthServerHealth.UNKNOWN.toString());

    /** The server is up. */
    public static final ApplicationGatewayBackendHealthStatus UP =
        fromString(ApplicationGatewayBackendHealthServerHealth.UP.toString());

    /** The server is down. */
    public static final ApplicationGatewayBackendHealthStatus DOWN =
        fromString(ApplicationGatewayBackendHealthServerHealth.DOWN.toString());

    /** Partial health status. */
    public static final ApplicationGatewayBackendHealthStatus PARTIAL =
        fromString(ApplicationGatewayBackendHealthServerHealth.PARTIAL.toString());

    /** The server is draining. */
    public static final ApplicationGatewayBackendHealthStatus DRAINING =
        fromString(ApplicationGatewayBackendHealthServerHealth.DRAINING.toString());

    /** The server is unhealthy. */
    public static final ApplicationGatewayBackendHealthStatus UNHEALTHY = fromString("Unhealthy");

    /**
     * Finds or creates a backend health status based on the specified name.
     *
     * @param name a name
     * @return an instance of ApplicationGatewayBackendHealthStatus
     */
    public static ApplicationGatewayBackendHealthStatus fromString(String name) {
        return fromString(name, ApplicationGatewayBackendHealthStatus.class);
    }

    /** @return known application gateway backend health statuses */
    public static Collection values() {
        return values(ApplicationGatewayBackendHealthStatus.class);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy