azure.mgmt.compute.v2019_04_01.operations module

class azure.mgmt.compute.v2019_04_01.operations.ResourceSkusOperations(client, config, serializer, deserializer)[source]

Bases: object

ResourceSkusOperations operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Variables

models – Alias to model classes used in this operation group.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

list(filter: Optional[str] = None, **kwargs: Any) → Iterable[‘models.ResourceSkusResult’][source]

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

param filter

The filter to apply on the operation. Only location filter is supported

currently.
type filter

str

keyword callable cls

A custom type or function that will be passed the direct response

return

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

rtype

~azure.core.paging.ItemPaged[~azure.mgmt.compute.v2019_04_01.models.ResourceSkusResult]

raises

~azure.core.exceptions.HttpResponseError

models = <module 'azure.mgmt.compute.v2019_04_01.models' from '/home/vsts/work/1/s/sdk/compute/azure-mgmt-compute/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/compute/v2019_04_01/models/__init__.py'>