共用方式為


BillingExtensions.GetSubscriptionBillingInvoices Method

Definition

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