PriceSheetOperations Class

PriceSheetOperations 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.

Inheritance
builtins.object
PriceSheetOperations

Constructor

PriceSheetOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

models

Alias to model classes used in this operation group.

Methods

get

Gets the price sheet for a scope by subscriptionId. Price sheet is available via this API only for May 1, 2014 or later.

get_by_billing_period

Get the price sheet for a scope by subscriptionId and billing period. Price sheet is available via this API only for May 1, 2014 or later.

get

Gets the price sheet for a scope by subscriptionId. Price sheet is available via this API only for May 1, 2014 or later.

get(expand=None, skiptoken=None, top=None, **kwargs)

Parameters

expand
str
default value: None

May be used to expand the properties/meterDetails within a price sheet. By default, these fields are not included when returning price sheet.

skiptoken
str
default value: None

Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.

top
int
default value: None

May be used to limit the number of results to the top N results.

cls
callable

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

Returns

PriceSheetResult, or the result of cls(response)

Return type

get_by_billing_period

Get the price sheet for a scope by subscriptionId and billing period. Price sheet is available via this API only for May 1, 2014 or later.

get_by_billing_period(billing_period_name, expand=None, skiptoken=None, top=None, **kwargs)

Parameters

billing_period_name
str
Required

Billing Period Name.

expand
str
default value: None

May be used to expand the properties/meterDetails within a price sheet. By default, these fields are not included when returning price sheet.

skiptoken
str
default value: None

Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.

top
int
default value: None

May be used to limit the number of results to the top N results.

cls
callable

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

Returns

PriceSheetResult, or the result of cls(response)

Return type

Attributes

models

models = <module 'azure.mgmt.consumption.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.6.8\\x64\\lib\\site-packages\\azure\\mgmt\\consumption\\models\\__init__.py'>