azure.mgmt.compute.v2019_04_01.operations module

class azure.mgmt.compute.v2019_04_01.operations.ResourceSkusOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through ComputeManagementClient’s resource_skus attribute.

list(filter: Optional[str] = None, **kwargs: Any)Iterable[azure.mgmt.compute.v2019_04_01.models._models_py3.ResourceSku][source]

Gets the list of Microsoft.Compute SKUs available for your Subscription.

Parameters

filter (str) – The filter to apply on the operation. Only location filter is supported currently. Default value is None.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

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

Return type

ItemPaged[ResourceSku]

Raises

HttpResponseError

models = <module 'azure.mgmt.compute.v2019_04_01.models' from '/mnt/vss/_work/1/s/sdk/compute/azure-mgmt-compute/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/compute/v2019_04_01/models/__init__.py'>