ReservationsOperations Class

ReservationsOperations 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
ReservationsOperations

Constructor

ReservationsOperations(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

list_by_billing_account

Lists the reservations for a billing account and the roll up counts of reservations group by provisioning states.

list_by_billing_profile

Lists the reservations for a billing profile and the roll up counts of reservations group by provisioning state.

list_by_billing_account

Lists the reservations for a billing account and the roll up counts of reservations group by provisioning states.

list_by_billing_account(billing_account_name, filter=None, orderby=None, refresh_summary=None, selected_state=None, **kwargs)

Parameters

billing_account_name
str
Required

The ID that uniquely identifies a billing account.

filter
str
default value: None

May be used to filter by reservation properties. The filter supports 'eq', 'or', and 'and'. It does not currently support 'ne', 'gt', 'le', 'ge', or 'not'.

orderby
str
default value: None

May be used to sort order by reservation properties.

refresh_summary
str
default value: None

To indicate whether to refresh the roll up counts of the reservations group by provisioning states.

selected_state
str
default value: None

The selected provisioning state.

cls
callable

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

Returns

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

Return type

list_by_billing_profile

Lists the reservations for a billing profile and the roll up counts of reservations group by provisioning state.

list_by_billing_profile(billing_account_name, billing_profile_name, filter=None, orderby=None, refresh_summary=None, selected_state=None, **kwargs)

Parameters

billing_account_name
str
Required

The ID that uniquely identifies a billing account.

billing_profile_name
str
Required

The ID that uniquely identifies a billing profile.

filter
str
default value: None

May be used to filter by reservation properties. The filter supports 'eq', 'or', and 'and'. It does not currently support 'ne', 'gt', 'le', 'ge', or 'not'.

orderby
str
default value: None

May be used to sort order by reservation properties.

refresh_summary
str
default value: None

To indicate whether to refresh the roll up counts of the reservations group by provisioning state.

selected_state
str
default value: None

The selected provisioning state.

cls
callable

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

Returns

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

Return type

Attributes

models

models = <module 'azure.mgmt.billing.models' from 'c:\\hostedtoolcache\\windows\\python\\3.6.8\\x64\\lib\\site-packages\\azure\\mgmt\\billing\\models\\__init__.py'>