Partager via


VirtualMachineSizesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ComputeManagementClient's

<xref:virtual_machine_sizes> attribute.

Inheritance
builtins.object
VirtualMachineSizesOperations

Constructor

VirtualMachineSizesOperations(*args, **kwargs)

Methods

list

This API is deprecated. Use Resources Skus.

list

This API is deprecated. Use Resources Skus.

list(location: str, **kwargs: Any) -> Iterable[VirtualMachineSize]

Parameters

Name Description
location
Required
str

The location upon which virtual-machine-sizes is queried. Required.

Returns

Type Description

An iterator like instance of either VirtualMachineSize or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.compute.v2020_06_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\compute\\v2020_06_01\\models\\__init__.py'>