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

com.azure.resourcemanager.apimanagement.models.ConnectivityCheckProtocol Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for ApiManagement Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. ApiManagement Client. Package tag package-2022-08.

The 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.apimanagement.models;

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

/**
 * The request's protocol. Specific protocol configuration can be available based on this selection. The specified
 * destination address must be coherent with this value.
 */
public final class ConnectivityCheckProtocol extends ExpandableStringEnum {
    /**
     * Static value TCP for ConnectivityCheckProtocol.
     */
    public static final ConnectivityCheckProtocol TCP = fromString("TCP");

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

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy