Share via


SubscriptionExtensions.GetBillingAccountPolicies(TenantResource) Method

Definition

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

public static Azure.ResourceManager.Subscription.BillingAccountPolicyCollection GetBillingAccountPolicies (this Azure.ResourceManager.Resources.TenantResource tenantResource);
static member GetBillingAccountPolicies : Azure.ResourceManager.Resources.TenantResource -> Azure.ResourceManager.Subscription.BillingAccountPolicyCollection
<Extension()>
Public Function GetBillingAccountPolicies (tenantResource As TenantResource) As BillingAccountPolicyCollection

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

Returns

An object representing collection of BillingAccountPolicyResources and their operations over a BillingAccountPolicyResource.

Exceptions

tenantResource is null.

Applies to