@@ -431,10 +431,10 @@ def get_long_running_output(response):
431
431
download_invoice .metadata = {'url' : '/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoices/{invoiceName}/download' }
432
432
433
433
434
- def _download_multiple_modern_invoice_initial (
434
+ def _download_multiple_billing_profile_invoices_initial (
435
435
self , billing_account_name , download_urls , custom_headers = None , raw = False , ** operation_config ):
436
436
# Construct URL
437
- url = self .download_multiple_modern_invoice .metadata ['url' ]
437
+ url = self .download_multiple_billing_profile_invoices .metadata ['url' ]
438
438
path_format_arguments = {
439
439
'billingAccountName' : self ._serialize .url ("billing_account_name" , billing_account_name , 'str' )
440
440
}
@@ -482,9 +482,9 @@ def _download_multiple_modern_invoice_initial(
482
482
483
483
return deserialized
484
484
485
- def download_multiple_modern_invoice (
485
+ def download_multiple_billing_profile_invoices (
486
486
self , billing_account_name , download_urls , custom_headers = None , raw = False , polling = True , ** operation_config ):
487
- """Gets a URL to download an multiple invoices documents (invoice pdf, tax
487
+ """Gets a URL to download multiple invoice documents (invoice pdf, tax
488
488
receipts, credit notes) as a zip file. The operation is supported for
489
489
billing accounts with agreement type Microsoft Partner Agreement or
490
490
Microsoft Customer Agreement.
@@ -509,7 +509,7 @@ def download_multiple_modern_invoice(
509
509
:raises:
510
510
:class:`ErrorResponseException<azure.mgmt.billing.models.ErrorResponseException>`
511
511
"""
512
- raw_result = self ._download_multiple_modern_invoice_initial (
512
+ raw_result = self ._download_multiple_billing_profile_invoices_initial (
513
513
billing_account_name = billing_account_name ,
514
514
download_urls = download_urls ,
515
515
custom_headers = custom_headers ,
@@ -538,7 +538,7 @@ def get_long_running_output(response):
538
538
elif polling is False : polling_method = NoPolling ()
539
539
else : polling_method = polling
540
540
return LROPoller (self ._client , raw_result , get_long_running_output , polling_method )
541
- download_multiple_modern_invoice .metadata = {'url' : '/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/downloadDocuments' }
541
+ download_multiple_billing_profile_invoices .metadata = {'url' : '/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/downloadDocuments' }
542
542
543
543
def list_by_billing_subscription (
544
544
self , period_start_date , period_end_date , custom_headers = None , raw = False , ** operation_config ):
@@ -773,10 +773,10 @@ def get_long_running_output(response):
773
773
download_billing_subscription_invoice .metadata = {'url' : '/providers/Microsoft.Billing/billingAccounts/default/billingSubscriptions/{subscriptionId}/invoices/{invoiceName}/download' }
774
774
775
775
776
- def _download_multiple_billing_subscription_invoice_initial (
776
+ def _download_multiple_billing_subscription_invoices_initial (
777
777
self , download_urls , custom_headers = None , raw = False , ** operation_config ):
778
778
# Construct URL
779
- url = self .download_multiple_billing_subscription_invoice .metadata ['url' ]
779
+ url = self .download_multiple_billing_subscription_invoices .metadata ['url' ]
780
780
path_format_arguments = {
781
781
'subscriptionId' : self ._serialize .url ("self.config.subscription_id" , self .config .subscription_id , 'str' )
782
782
}
@@ -824,9 +824,9 @@ def _download_multiple_billing_subscription_invoice_initial(
824
824
825
825
return deserialized
826
826
827
- def download_multiple_billing_subscription_invoice (
827
+ def download_multiple_billing_subscription_invoices (
828
828
self , download_urls , custom_headers = None , raw = False , polling = True , ** operation_config ):
829
- """Gets a URL to download multiple invoices documents (invoice pdf, tax
829
+ """Gets a URL to download multiple invoice documents (invoice pdf, tax
830
830
receipts, credit notes) as a zip file.
831
831
832
832
:param download_urls: An array of download urls for individual
@@ -846,7 +846,7 @@ def download_multiple_billing_subscription_invoice(
846
846
:raises:
847
847
:class:`ErrorResponseException<azure.mgmt.billing.models.ErrorResponseException>`
848
848
"""
849
- raw_result = self ._download_multiple_billing_subscription_invoice_initial (
849
+ raw_result = self ._download_multiple_billing_subscription_invoices_initial (
850
850
download_urls = download_urls ,
851
851
custom_headers = custom_headers ,
852
852
raw = True ,
@@ -874,4 +874,4 @@ def get_long_running_output(response):
874
874
elif polling is False : polling_method = NoPolling ()
875
875
else : polling_method = polling
876
876
return LROPoller (self ._client , raw_result , get_long_running_output , polling_method )
877
- download_multiple_billing_subscription_invoice .metadata = {'url' : '/providers/Microsoft.Billing/billingAccounts/default/billingSubscriptions/{subscriptionId}/downloadDocuments' }
877
+ download_multiple_billing_subscription_invoices .metadata = {'url' : '/providers/Microsoft.Billing/billingAccounts/default/billingSubscriptions/{subscriptionId}/downloadDocuments' }
0 commit comments