// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.deviceupdate.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/** The provisioning state of private link group ID. */
public final class GroupIdProvisioningState extends ExpandableStringEnum<GroupIdProvisioningState> {
    /** Static value Succeeded for GroupIdProvisioningState. */
    public static final GroupIdProvisioningState SUCCEEDED = fromString("Succeeded");

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

    /** Static value Canceled for GroupIdProvisioningState. */
    public static final GroupIdProvisioningState CANCELED = fromString("Canceled");

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

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