azure.mgmt.billing.models module¶
-
exception
azure.mgmt.billing.models.
ErrorResponseException
(deserialize, response, *args)[source]¶ Bases:
msrest.exceptions.HttpOperationError
Server responsed with exception of type: ‘ErrorResponse’.
- Parameters
deserialize – A deserializer
response – Server response to be deserialized.
-
class
azure.mgmt.billing.models.
EnrollmentAccount
[source]¶ Bases:
azure.mgmt.billing.models.resource.Resource
An enrollment account resource.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.billing.models.
BillingPeriod
[source]¶ Bases:
azure.mgmt.billing.models.resource.Resource
A billing period resource.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.billing.models.
DownloadUrl
[source]¶ Bases:
msrest.serialization.Model
A secure URL that can be used to download a PDF invoice until the URL expires.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
expiry_time (datetime) – The time in UTC at which this download URL will expire.
url (str) – The URL to the PDF file.
-
class
azure.mgmt.billing.models.
ErrorDetails
[source]¶ Bases:
msrest.serialization.Model
The details of the error.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.billing.models.
ErrorResponse
(error=None)[source]¶ Bases:
msrest.serialization.Model
Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.
- Parameters
error (ErrorDetails) – The details of the error.
-
class
azure.mgmt.billing.models.
Invoice
(download_url=None)[source]¶ Bases:
azure.mgmt.billing.models.resource.Resource
An invoice resource can be used download a PDF version of an invoice.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
download_url (DownloadUrl) – A secure link to download the PDF version of an invoice. The link will cease to work after its expiry time is reached.
-
class
azure.mgmt.billing.models.
OperationDisplay
[source]¶ Bases:
msrest.serialization.Model
The object that represents the operation.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.billing.models.
Operation
(display=None)[source]¶ Bases:
msrest.serialization.Model
A Billing REST API operation.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
name (str) – Operation name: {provider}/{resource}/{operation}.
- Parameters
display (OperationDisplay) – The object that represents the operation.
-
class
azure.mgmt.billing.models.
Resource
[source]¶ Bases:
msrest.serialization.Model
The Resource model definition.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.billing.models.
EnrollmentAccountPaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
EnrollmentAccount
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.billing.models.
BillingPeriodPaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
BillingPeriod
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.