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

com.azure.resourcemanager.servicefabricmanagedclusters.models.ProbeProtocol 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.servicefabricmanagedclusters.models;

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

/**
 * the reference to the load balancer probe used by the load balancing rule.
 */
public final class ProbeProtocol extends ExpandableStringEnum {
    /**
     * Static value tcp for ProbeProtocol.
     */
    public static final ProbeProtocol TCP = fromString("tcp");

    /**
     * Static value http for ProbeProtocol.
     */
    public static final ProbeProtocol HTTP = fromString("http");

    /**
     * Static value https for ProbeProtocol.
     */
    public static final ProbeProtocol HTTPS = fromString("https");

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy