BillingExtensions.GetBillingProperty(SubscriptionResource) 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 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
Azure SDK for .NET