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

com.microsoft.azure.management.network.IPAllocationMethod Maven / Gradle / Ivy

There is a newer version: 1.41.4
Show newest version
/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.management.network;

import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;

/**
 * Defines values for IPAllocationMethod.
 */
public final class IPAllocationMethod extends ExpandableStringEnum {
    /** Static value Static for IPAllocationMethod. */
    public static final IPAllocationMethod STATIC = fromString("Static");

    /** Static value Dynamic for IPAllocationMethod. */
    public static final IPAllocationMethod DYNAMIC = fromString("Dynamic");

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy