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

package com.azure.resourcemanager.connectedvmware.models;

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

/** Defines values for VirtualScsiSharing. */
public final class VirtualScsiSharing extends ExpandableStringEnum<VirtualScsiSharing> {
    /** Static value noSharing for VirtualScsiSharing. */
    public static final VirtualScsiSharing NO_SHARING = fromString("noSharing");

    /** Static value physicalSharing for VirtualScsiSharing. */
    public static final VirtualScsiSharing PHYSICAL_SHARING = fromString("physicalSharing");

    /** Static value virtualSharing for VirtualScsiSharing. */
    public static final VirtualScsiSharing VIRTUAL_SHARING = fromString("virtualSharing");

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

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