Share via


BillingExtensions.GetBillingCustomerResource Method

Definition

Gets an object representing a BillingCustomerResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingCustomerResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingCustomerResource(ResourceIdentifier) instead.

public static Azure.ResourceManager.Billing.BillingCustomerResource GetBillingCustomerResource (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id);
static member GetBillingCustomerResource : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Billing.BillingCustomerResource
<Extension()>
Public Function GetBillingCustomerResource (client As ArmClient, id As ResourceIdentifier) As BillingCustomerResource

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a BillingCustomerResource object.

Exceptions

client is null.

Applies to