VirtualMachineSizesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:virtual_machine_sizes> attribute.
- Inheritance
-
builtins.objectVirtualMachineSizesOperations
Constructor
VirtualMachineSizesOperations(*args, **kwargs)
Methods
list |
Lists all available virtual machine sizes for a subscription in a location. |
list
Lists all available virtual machine sizes for a subscription in a location.
list(location: str, **kwargs: Any) -> Iterable[VirtualMachineSize]
Parameters
Name | Description |
---|---|
location
Required
|
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.v2016_03_30.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\compute\\v2016_03_30\\models\\__init__.py'>
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for Python