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

package com.azure.resourcemanager.hybridnetwork.models;

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

/** Specifies how the virtual machine should be created. */
public final class DiskCreateOptionTypes extends ExpandableStringEnum<DiskCreateOptionTypes> {
    /** Static value Unknown for DiskCreateOptionTypes. */
    public static final DiskCreateOptionTypes UNKNOWN = fromString("Unknown");

    /** Static value Empty for DiskCreateOptionTypes. */
    public static final DiskCreateOptionTypes EMPTY = fromString("Empty");

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

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