Udostępnij za pośrednictwem


BillingExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.Billing.

public static class BillingExtensions
type BillingExtensions = class
Public Module BillingExtensions
Inheritance
BillingExtensions

Methods

DownloadDocumentsByBillingSubscriptionInvoice(TenantResource, WaitUntil, String, IEnumerable<BillingDocumentDownloadRequestContent>, CancellationToken)

Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/default/billingSubscriptions/{subscriptionId}/downloadDocuments
  • Operation Id: Invoices_DownloadDocumentsByBillingSubscription
  • Default Api Version: 2024-04-01
DownloadDocumentsByBillingSubscriptionInvoiceAsync(TenantResource, WaitUntil, String, IEnumerable<BillingDocumentDownloadRequestContent>, CancellationToken)

Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/default/billingSubscriptions/{subscriptionId}/downloadDocuments
  • Operation Id: Invoices_DownloadDocumentsByBillingSubscription
  • Default Api Version: 2024-04-01
GetBillingAccount(TenantResource, String, CancellationToken)

Gets a billing account by its ID.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}
  • Operation Id: BillingAccounts_Get
  • Default Api Version: 2024-04-01
  • Resource: BillingAccountResource
GetBillingAccountAsync(TenantResource, String, CancellationToken)

Gets a billing account by its ID.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}
  • Operation Id: BillingAccounts_Get
  • Default Api Version: 2024-04-01
  • Resource: BillingAccountResource
GetBillingAccountPaymentMethodResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingAccountPaymentMethodResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingAccountPaymentMethodResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingAccountPaymentMethodResource(ResourceIdentifier) instead.

GetBillingAccountPolicyResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingAccountPolicyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a BillingAccountPolicyResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingAccountPolicyResource(ResourceIdentifier) instead.

GetBillingAccountResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingAccountResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a BillingAccountResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingAccountResource(ResourceIdentifier) instead.

GetBillingAccounts(TenantResource)

Gets a collection of BillingAccountResources in the TenantResource. MockingTo mock this method, please mock GetBillingAccounts() instead.

GetBillingAgreementResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingAgreementResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingAgreementResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingAgreementResource(ResourceIdentifier) instead.

GetBillingAssociatedTenantResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingAssociatedTenantResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingAssociatedTenantResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingAssociatedTenantResource(ResourceIdentifier) instead.

GetBillingCustomerPolicyResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingCustomerPolicyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingCustomerPolicyResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingCustomerPolicyResource(ResourceIdentifier) instead.

GetBillingCustomerResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingCustomerResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingCustomerResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingCustomerResource(ResourceIdentifier) instead.

GetBillingCustomerRoleAssignmentResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingCustomerRoleAssignmentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a BillingCustomerRoleAssignmentResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingCustomerRoleAssignmentResource(ResourceIdentifier) instead.

GetBillingCustomerRoleDefinitionResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingCustomerRoleDefinitionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a BillingCustomerRoleDefinitionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingCustomerRoleDefinitionResource(ResourceIdentifier) instead.

GetBillingDepartmentEnrollmentAccountResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingDepartmentEnrollmentAccountResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a BillingDepartmentEnrollmentAccountResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingDepartmentEnrollmentAccountResource(ResourceIdentifier) instead.

GetBillingDepartmentResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingDepartmentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingDepartmentResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingDepartmentResource(ResourceIdentifier) instead.

GetBillingDepartmentRoleAssignmentResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingDepartmentRoleAssignmentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a BillingDepartmentRoleAssignmentResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingDepartmentRoleAssignmentResource(ResourceIdentifier) instead.

GetBillingDepartmentRoleDefinitionResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingDepartmentRoleDefinitionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a BillingDepartmentRoleDefinitionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingDepartmentRoleDefinitionResource(ResourceIdentifier) instead.

GetBillingEnrollmentAccountResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingEnrollmentAccountResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingEnrollmentAccountResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingEnrollmentAccountResource(ResourceIdentifier) instead.

GetBillingEnrollmentAccountRoleAssignmentResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingEnrollmentAccountRoleAssignmentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a BillingEnrollmentAccountRoleAssignmentResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingEnrollmentAccountRoleAssignmentResource(ResourceIdentifier) instead.

GetBillingEnrollmentAccountRoleDefinitionResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingEnrollmentAccountRoleDefinitionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a BillingEnrollmentAccountRoleDefinitionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingEnrollmentAccountRoleDefinitionResource(ResourceIdentifier) instead.

GetBillingInvoiceResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingInvoiceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingInvoiceResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingInvoiceResource(ResourceIdentifier) instead.

GetBillingInvoiceSectionResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingInvoiceSectionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a BillingInvoiceSectionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingInvoiceSectionResource(ResourceIdentifier) instead.

GetBillingInvoiceSectionRoleAssignmentResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingInvoiceSectionRoleAssignmentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a BillingInvoiceSectionRoleAssignmentResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingInvoiceSectionRoleAssignmentResource(ResourceIdentifier) instead.

GetBillingInvoiceSectionRoleDefinitionResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingInvoiceSectionRoleDefinitionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a BillingInvoiceSectionRoleDefinitionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingInvoiceSectionRoleDefinitionResource(ResourceIdentifier) instead.

GetBillingPaymentMethod(TenantResource, String, CancellationToken)

Gets a payment method owned by the caller.

  • Request Path: /providers/Microsoft.Billing/paymentMethods/{paymentMethodName}
  • Operation Id: PaymentMethods_GetByUser
  • Default Api Version: 2024-04-01
  • Resource: BillingPaymentMethodResource
GetBillingPaymentMethodAsync(TenantResource, String, CancellationToken)

Gets a payment method owned by the caller.

  • Request Path: /providers/Microsoft.Billing/paymentMethods/{paymentMethodName}
  • Operation Id: PaymentMethods_GetByUser
  • Default Api Version: 2024-04-01
  • Resource: BillingPaymentMethodResource
GetBillingPaymentMethodLinkResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingPaymentMethodLinkResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a BillingPaymentMethodLinkResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingPaymentMethodLinkResource(ResourceIdentifier) instead.

GetBillingPaymentMethodResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingPaymentMethodResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a BillingPaymentMethodResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingPaymentMethodResource(ResourceIdentifier) instead.

GetBillingPaymentMethods(TenantResource)

Gets a collection of BillingPaymentMethodResources in the TenantResource. MockingTo mock this method, please mock GetBillingPaymentMethods() instead.

GetBillingProductResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingProductResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingProductResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingProductResource(ResourceIdentifier) instead.

GetBillingProfileCustomerPolicyResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingProfileCustomerPolicyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, ServiceDefinedResourceName) to create a BillingProfileCustomerPolicyResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingProfileCustomerPolicyResource(ResourceIdentifier) instead.

GetBillingProfileCustomerResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingProfileCustomerResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a BillingProfileCustomerResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingProfileCustomerResource(ResourceIdentifier) instead.

GetBillingProfilePolicyResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingProfilePolicyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingProfilePolicyResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingProfilePolicyResource(ResourceIdentifier) instead.

GetBillingProfileResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingProfileResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingProfileResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingProfileResource(ResourceIdentifier) instead.

GetBillingProfileRoleAssignmentResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingProfileRoleAssignmentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a BillingProfileRoleAssignmentResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingProfileRoleAssignmentResource(ResourceIdentifier) instead.

GetBillingProfileRoleDefinitionResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingProfileRoleDefinitionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a BillingProfileRoleDefinitionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingProfileRoleDefinitionResource(ResourceIdentifier) instead.

GetBillingProfileSubscriptionResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingProfileSubscriptionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a BillingProfileSubscriptionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingProfileSubscriptionResource(ResourceIdentifier) instead.

GetBillingProperty(SubscriptionResource)

Gets an object representing a BillingPropertyResource along with the instance operations that can be performed on it in the SubscriptionResource. MockingTo mock this method, please mock GetBillingProperty() instead.

GetBillingPropertyResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingPropertyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a BillingPropertyResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingPropertyResource(ResourceIdentifier) instead.

GetBillingRequest(TenantResource, String, CancellationToken)

Gets a billing request by its ID.

  • Request Path: /providers/Microsoft.Billing/billingRequests/{billingRequestName}
  • Operation Id: BillingRequests_Get
  • Default Api Version: 2024-04-01
  • Resource: BillingRequestResource
GetBillingRequestAsync(TenantResource, String, CancellationToken)

Gets a billing request by its ID.

  • Request Path: /providers/Microsoft.Billing/billingRequests/{billingRequestName}
  • Operation Id: BillingRequests_Get
  • Default Api Version: 2024-04-01
  • Resource: BillingRequestResource
GetBillingRequestResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingRequestResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a BillingRequestResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingRequestResource(ResourceIdentifier) instead.

GetBillingRequests(TenantResource)

Gets a collection of BillingRequestResources in the TenantResource. MockingTo mock this method, please mock GetBillingRequests() instead.

GetBillingReservationOrderResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingReservationOrderResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingReservationOrderResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingReservationOrderResource(ResourceIdentifier) instead.

GetBillingReservationResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingReservationResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a BillingReservationResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingReservationResource(ResourceIdentifier) instead.

GetBillingRoleAssignmentResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingRoleAssignmentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingRoleAssignmentResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingRoleAssignmentResource(ResourceIdentifier) instead.

GetBillingRoleDefinitionResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingRoleDefinitionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingRoleDefinitionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingRoleDefinitionResource(ResourceIdentifier) instead.

GetBillingSavingsPlanModelResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingSavingsPlanModelResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a BillingSavingsPlanModelResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingSavingsPlanModelResource(ResourceIdentifier) instead.

GetBillingSubscriptionAliasResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingSubscriptionAliasResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingSubscriptionAliasResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingSubscriptionAliasResource(ResourceIdentifier) instead.

GetBillingSubscriptionResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingSubscriptionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingSubscriptionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingSubscriptionResource(ResourceIdentifier) instead.

GetBillingTransferDetailResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingTransferDetailResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a BillingTransferDetailResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingTransferDetailResource(ResourceIdentifier) instead.

GetDefaultBillingInvoice(TenantResource, String, CancellationToken)

Gets an invoice by ID. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/default/invoices/{invoiceName}
  • Operation Id: Invoices_Get
  • Default Api Version: 2024-04-01
  • Resource: DefaultBillingInvoiceResource
GetDefaultBillingInvoiceAsync(TenantResource, String, CancellationToken)

Gets an invoice by ID. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/default/invoices/{invoiceName}
  • Operation Id: Invoices_Get
  • Default Api Version: 2024-04-01
  • Resource: DefaultBillingInvoiceResource
GetDefaultBillingInvoiceResource(ArmClient, ResourceIdentifier)

Gets an object representing a DefaultBillingInvoiceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a DefaultBillingInvoiceResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDefaultBillingInvoiceResource(ResourceIdentifier) instead.

GetDefaultBillingInvoices(TenantResource)

Gets a collection of DefaultBillingInvoiceResources in the TenantResource. MockingTo mock this method, please mock GetDefaultBillingInvoices() instead.

GetPartnerTransferDetailResource(ArmClient, ResourceIdentifier)

Gets an object representing a PartnerTransferDetailResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a PartnerTransferDetailResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPartnerTransferDetailResource(ResourceIdentifier) instead.

GetRecipientTransferDetail(TenantResource, String, CancellationToken)

Gets a transfer request by ID. The caller must be the recipient of the transfer request.

  • Request Path: /providers/Microsoft.Billing/transfers/{transferName}
  • Operation Id: RecipientTransfers_Get
  • Default Api Version: 2024-04-01
  • Resource: RecipientTransferDetailResource
GetRecipientTransferDetailAsync(TenantResource, String, CancellationToken)

Gets a transfer request by ID. The caller must be the recipient of the transfer request.

  • Request Path: /providers/Microsoft.Billing/transfers/{transferName}
  • Operation Id: RecipientTransfers_Get
  • Default Api Version: 2024-04-01
  • Resource: RecipientTransferDetailResource
GetRecipientTransferDetailResource(ArmClient, ResourceIdentifier)

Gets an object representing a RecipientTransferDetailResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a RecipientTransferDetailResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetRecipientTransferDetailResource(ResourceIdentifier) instead.

GetRecipientTransferDetails(TenantResource)

Gets a collection of RecipientTransferDetailResources in the TenantResource. MockingTo mock this method, please mock GetRecipientTransferDetails() instead.

GetSavingsPlanOrderModelResource(ArmClient, ResourceIdentifier)

Gets an object representing a SavingsPlanOrderModelResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a SavingsPlanOrderModelResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSavingsPlanOrderModelResource(ResourceIdentifier) instead.

GetSubscriptionBillingInvoice(TenantResource, String, String, CancellationToken)

Gets an invoice by subscription ID and invoice ID. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/default/billingSubscriptions/{subscriptionId}/invoices/{invoiceName}
  • Operation Id: Invoices_GetByBillingSubscription
  • Default Api Version: 2024-04-01
  • Resource: SubscriptionBillingInvoiceResource
GetSubscriptionBillingInvoiceAsync(TenantResource, String, String, CancellationToken)

Gets an invoice by subscription ID and invoice ID. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/default/billingSubscriptions/{subscriptionId}/invoices/{invoiceName}
  • Operation Id: Invoices_GetByBillingSubscription
  • Default Api Version: 2024-04-01
  • Resource: SubscriptionBillingInvoiceResource
GetSubscriptionBillingInvoiceResource(ArmClient, ResourceIdentifier)

Gets an object representing a SubscriptionBillingInvoiceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a SubscriptionBillingInvoiceResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSubscriptionBillingInvoiceResource(ResourceIdentifier) instead.

GetSubscriptionBillingInvoices(TenantResource, String)

Gets a collection of SubscriptionBillingInvoiceResources in the TenantResource. MockingTo mock this method, please mock GetSubscriptionBillingInvoices(String) instead.

GetSubscriptionPolicy(SubscriptionResource)

Gets an object representing a SubscriptionPolicyResource along with the instance operations that can be performed on it in the SubscriptionResource. MockingTo mock this method, please mock GetSubscriptionPolicy() instead.

GetSubscriptionPolicyResource(ArmClient, ResourceIdentifier)

Gets an object representing a SubscriptionPolicyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a SubscriptionPolicyResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSubscriptionPolicyResource(ResourceIdentifier) instead.

ValidateAddres(TenantResource, BillingAddressDetails, CancellationToken)

Validates an address. Use the operation to validate an address before using it as soldTo or a billTo address.

  • Request Path: /providers/Microsoft.Billing/validateAddress
  • Operation Id: Address_Validate
  • Default Api Version: 2024-04-01
ValidateAddresAsync(TenantResource, BillingAddressDetails, CancellationToken)

Validates an address. Use the operation to validate an address before using it as soldTo or a billTo address.

  • Request Path: /providers/Microsoft.Billing/validateAddress
  • Operation Id: Address_Validate
  • Default Api Version: 2024-04-01

Applies to