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

com.azure.resourcemanager.compute.models.VirtualMachineSize 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.
package com.azure.resourcemanager.compute.models;

import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.resources.fluentcore.arm.models.HasName;

/** A type representing virtual machine size available for a subscription in a region. */
@Fluent
public interface VirtualMachineSize extends HasName {
    /** @return the number of cores supported by the VM size */
    int numberOfCores();

    /** @return the OS disk size allowed by the VM size */
    int osDiskSizeInMB();

    /** @return the resource disk size allowed by the VM size */
    int resourceDiskSizeInMB();

    /** @return the memory size supported by the VM size */
    int memoryInMB();

    /** @return the maximum number of data disks allowed by a VM size */
    int maxDataDiskCount();

    /**
     * The virtual machine size type if the sku describes sku for virtual machine resource type.
     *
     * 

The size can be used for {@link VirtualMachine.DefinitionStages.WithVMSize#withSize(VirtualMachineSizeTypes)} * and {@link VirtualMachine.Update#withSize(VirtualMachineSizeTypes)}. * * @return the virtual machine size type */ VirtualMachineSizeTypes virtualMachineSizeType(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy