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

com.azure.resourcemanager.network.models.SecurityConfigurationRuleProtocol 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

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.network.models;

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

/**
 * Network protocol this rule applies to.
 */
public final class SecurityConfigurationRuleProtocol extends ExpandableStringEnum {
    /**
     * Static value Tcp for SecurityConfigurationRuleProtocol.
     */
    public static final SecurityConfigurationRuleProtocol TCP = fromString("Tcp");

    /**
     * Static value Udp for SecurityConfigurationRuleProtocol.
     */
    public static final SecurityConfigurationRuleProtocol UDP = fromString("Udp");

    /**
     * Static value Icmp for SecurityConfigurationRuleProtocol.
     */
    public static final SecurityConfigurationRuleProtocol ICMP = fromString("Icmp");

    /**
     * Static value Esp for SecurityConfigurationRuleProtocol.
     */
    public static final SecurityConfigurationRuleProtocol ESP = fromString("Esp");

    /**
     * Static value Any for SecurityConfigurationRuleProtocol.
     */
    public static final SecurityConfigurationRuleProtocol ANY = fromString("Any");

    /**
     * Static value Ah for SecurityConfigurationRuleProtocol.
     */
    public static final SecurityConfigurationRuleProtocol AH = fromString("Ah");

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy