Share via


BillingExtensions.GetBillingProperty(SubscriptionResource) Method

Definition

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.

public static Azure.ResourceManager.Billing.BillingPropertyResource GetBillingProperty (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource);
static member GetBillingProperty : Azure.ResourceManager.Resources.SubscriptionResource -> Azure.ResourceManager.Billing.BillingPropertyResource
<Extension()>
Public Function GetBillingProperty (subscriptionResource As SubscriptionResource) As BillingPropertyResource

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

Returns

Returns a BillingPropertyResource object.

Exceptions

subscriptionResource is null.

Applies to