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

package com.azure.resourcemanager.providerhub.models;

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

/** Defines values for IdentityManagementTypes. */
public final class IdentityManagementTypes extends ExpandableStringEnum<IdentityManagementTypes> {
    /** Static value NotSpecified for IdentityManagementTypes. */
    public static final IdentityManagementTypes NOT_SPECIFIED = fromString("NotSpecified");

    /** Static value SystemAssigned for IdentityManagementTypes. */
    public static final IdentityManagementTypes SYSTEM_ASSIGNED = fromString("SystemAssigned");

    /** Static value UserAssigned for IdentityManagementTypes. */
    public static final IdentityManagementTypes USER_ASSIGNED = fromString("UserAssigned");

    /** Static value Actor for IdentityManagementTypes. */
    public static final IdentityManagementTypes ACTOR = fromString("Actor");

    /** Static value DelegatedResourceIdentity for IdentityManagementTypes. */
    public static final IdentityManagementTypes DELEGATED_RESOURCE_IDENTITY = fromString("DelegatedResourceIdentity");

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

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

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