com.azure.resourcemanager.servicefabricmanagedclusters.models.Protocol Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-servicefabricmanagedclusters Show documentation
Show all versions of azure-resourcemanager-servicefabricmanagedclusters Show documentation
This package contains Microsoft Azure SDK for Service Fabric Managed Clusters Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Service Fabric Managed Clusters Management Client. 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.servicefabricmanagedclusters.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* The reference to the transport protocol used by the load balancing rule.
*/
public final class Protocol extends ExpandableStringEnum {
/**
* Static value tcp for Protocol.
*/
public static final Protocol TCP = fromString("tcp");
/**
* Static value udp for Protocol.
*/
public static final Protocol UDP = fromString("udp");
/**
* Creates a new instance of Protocol value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public Protocol() {
}
/**
* Creates or finds a Protocol from its string representation.
*
* @param name a name to look for.
* @return the corresponding Protocol.
*/
public static Protocol fromString(String name) {
return fromString(name, Protocol.class);
}
/**
* Gets known Protocol values.
*
* @return known Protocol values.
*/
public static Collection values() {
return values(Protocol.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy