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

com.azure.resourcemanager.storage.models.State Maven / Gradle / Ivy

There is a newer version: 2.44.0
Show 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.storage.models;

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

/**
 * Gets the state of virtual network rule.
 */
public final class State extends ExpandableStringEnum {
    /**
     * Static value Provisioning for State.
     */
    public static final State PROVISIONING = fromString("Provisioning");

    /**
     * Static value Deprovisioning for State.
     */
    public static final State DEPROVISIONING = fromString("Deprovisioning");

    /**
     * Static value Succeeded for State.
     */
    public static final State SUCCEEDED = fromString("Succeeded");

    /**
     * Static value Failed for State.
     */
    public static final State FAILED = fromString("Failed");

    /**
     * Static value NetworkSourceDeleted for State.
     */
    public static final State NETWORK_SOURCE_DELETED = fromString("NetworkSourceDeleted");

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy