azure.mgmt.billing.models module¶
-
exception
azure.mgmt.billing.models.ErrorResponseException(deserialize, response, *args)[source]¶ Bases:
msrest.exceptions.HttpOperationErrorServer 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.ResourceAn enrollment account resource.
Variables are only populated by the server, and will be ignored when sending a request.
Variables:
-
class
azure.mgmt.billing.models.BillingPeriod[source]¶ Bases:
azure.mgmt.billing.models.resource.ResourceA billing period resource.
Variables are only populated by the server, and will be ignored when sending a request.
Variables: - id (str) – Resource Id.
- name (str) – Resource name.
- type (str) – Resource type.
- billing_period_start_date (date) – The start of the date range covered by the billing period.
- billing_period_end_date (date) – The end of the date range covered by the billing period.
- invoice_ids (list[str]) – Array of invoice ids that associated with.
-
class
azure.mgmt.billing.models.DownloadUrl[source]¶ Bases:
msrest.serialization.ModelA 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.ModelThe details of the error.
Variables are only populated by the server, and will be ignored when sending a request.
Variables:
-
class
azure.mgmt.billing.models.ErrorResponse(error=None)[source]¶ Bases:
msrest.serialization.ModelError 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.ResourceAn 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: - id (str) – Resource Id.
- name (str) – Resource name.
- type (str) – Resource type.
- invoice_period_start_date (date) – The start of the date range covered by the invoice.
- invoice_period_end_date (date) – The end of the date range covered by the invoice.
- billing_period_ids (list[str]) – Array of billing perdiod ids that the invoice is attributed to.
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.ModelThe object that represents the operation.
Variables are only populated by the server, and will be ignored when sending a request.
Variables:
-
class
azure.mgmt.billing.models.Operation(display=None)[source]¶ Bases:
msrest.serialization.ModelA 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.ModelThe Resource model definition.
Variables are only populated by the server, and will be ignored when sending a request.
Variables:
-
class
azure.mgmt.billing.models.EnrollmentAccountPaged(*args, **kwargs)[source]¶ Bases:
msrest.paging.PagedA paging container for iterating over a list of
EnrollmentAccountobject
-
class
azure.mgmt.billing.models.BillingPeriodPaged(*args, **kwargs)[source]¶ Bases:
msrest.paging.PagedA paging container for iterating over a list of
BillingPeriodobject