BillingExtensions.GetSubscriptionBillingInvoices Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a collection of SubscriptionBillingInvoiceResources in the TenantResource. MockingTo mock this method, please mock GetSubscriptionBillingInvoices(String) instead.
public static Azure.ResourceManager.Billing.SubscriptionBillingInvoiceCollection GetSubscriptionBillingInvoices (this Azure.ResourceManager.Resources.TenantResource tenantResource, string subscriptionId);
static member GetSubscriptionBillingInvoices : Azure.ResourceManager.Resources.TenantResource * string -> Azure.ResourceManager.Billing.SubscriptionBillingInvoiceCollection
<Extension()>
Public Function GetSubscriptionBillingInvoices (tenantResource As TenantResource, subscriptionId As String) As SubscriptionBillingInvoiceCollection
Parameters
- tenantResource
- TenantResource
The TenantResource instance the method will execute against.
- subscriptionId
- String
The ID that uniquely identifies a billing subscription.
Returns
An object representing collection of SubscriptionBillingInvoiceResources and their operations over a SubscriptionBillingInvoiceResource.
Exceptions
tenantResource
or subscriptionId
is null.
subscriptionId
is an empty string, and was expected to be non-empty.
Applies to
Azure SDK for .NET