Condividi tramite


ConsumptionExtensions.GetTenantBillingPeriodConsumptionResource Method

Definition

Gets an object representing a TenantBillingPeriodConsumptionResource along with the instance operations that can be performed on it but with no data. You can use Azure.ResourceManager.Consumption.TenantBillingPeriodConsumptionResource.CreateResourceIdentifier(System.String,System.String) to create a TenantBillingPeriodConsumptionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetTenantBillingPeriodConsumptionResource(ResourceIdentifier) instead.

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a TenantBillingPeriodConsumptionResource object.

Exceptions

client is null.

Applies to