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

com.azure.resourcemanager.trafficmanager.models.EndpointMonitorStatus Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure Traffic Manager 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.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.trafficmanager.models;

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

/** The monitoring status of the endpoint. */
public final class EndpointMonitorStatus extends ExpandableStringEnum {
    /** Static value CheckingEndpoint for EndpointMonitorStatus. */
    public static final EndpointMonitorStatus CHECKING_ENDPOINT = fromString("CheckingEndpoint");

    /** Static value Online for EndpointMonitorStatus. */
    public static final EndpointMonitorStatus ONLINE = fromString("Online");

    /** Static value Degraded for EndpointMonitorStatus. */
    public static final EndpointMonitorStatus DEGRADED = fromString("Degraded");

    /** Static value Disabled for EndpointMonitorStatus. */
    public static final EndpointMonitorStatus DISABLED = fromString("Disabled");

    /** Static value Inactive for EndpointMonitorStatus. */
    public static final EndpointMonitorStatus INACTIVE = fromString("Inactive");

    /** Static value Stopped for EndpointMonitorStatus. */
    public static final EndpointMonitorStatus STOPPED = fromString("Stopped");

    /** Static value Unmonitored for EndpointMonitorStatus. */
    public static final EndpointMonitorStatus UNMONITORED = fromString("Unmonitored");

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy