com.azure.resourcemanager.compute.models.VirtualMachineSize Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-compute Show documentation
Show all versions of azure-resourcemanager-compute Show documentation
This package contains Microsoft Azure Compute Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
// 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();
}