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

com.azure.resourcemanager.compute.models.DiffDiskPlacement Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure Compute Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt

There is a newer version: 2.44.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.compute.models;

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

/**
 * Specifies the ephemeral disk placement for operating system disk. This property can be used by user in the request to
 * choose the location i.e, cache disk, resource disk or nvme disk space for Ephemeral OS disk provisioning. For more
 * information on Ephemeral OS disk size requirements, please refer Ephemeral OS disk size requirements for Windows VM
 * at https://docs.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VM at
 * https://docs.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements. Minimum api-version for
 * NvmeDisk: 2024-03-01.
 */
public final class DiffDiskPlacement extends ExpandableStringEnum {
    /**
     * Static value CacheDisk for DiffDiskPlacement.
     */
    public static final DiffDiskPlacement CACHE_DISK = fromString("CacheDisk");

    /**
     * Static value ResourceDisk for DiffDiskPlacement.
     */
    public static final DiffDiskPlacement RESOURCE_DISK = fromString("ResourceDisk");

    /**
     * Static value NvmeDisk for DiffDiskPlacement.
     */
    public static final DiffDiskPlacement NVME_DISK = fromString("NvmeDisk");

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy