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

com.azure.resourcemanager.applicationinsights.models.PurgeState 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.applicationinsights.models;

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

/**
 * Status of the operation represented by the requested Id.
 */
public final class PurgeState extends ExpandableStringEnum {
    /**
     * Static value pending for PurgeState.
     */
    public static final PurgeState PENDING = fromString("pending");

    /**
     * Static value completed for PurgeState.
     */
    public static final PurgeState COMPLETED = fromString("completed");

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy