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

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

/**
 * Specifies whether the IP configuration's private IP is IPv4 or IPv6. Default is IPv4.
 */
public final class PrivateIpAddressVersion extends ExpandableStringEnum {
    /**
     * Static value IPv4 for PrivateIpAddressVersion.
     */
    public static final PrivateIpAddressVersion IPV4 = fromString("IPv4");

    /**
     * Static value IPv6 for PrivateIpAddressVersion.
     */
    public static final PrivateIpAddressVersion IPV6 = fromString("IPv6");

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy