ConsumptionLegacyUsageDetail Class
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.
Legacy usage detail.
public class ConsumptionLegacyUsageDetail : Azure.ResourceManager.Consumption.Models.ConsumptionUsageDetail
type ConsumptionLegacyUsageDetail = class
inherit ConsumptionUsageDetail
Public Class ConsumptionLegacyUsageDetail
Inherits ConsumptionUsageDetail
- Inheritance
Properties
AccountName |
Account Name. |
AccountOwnerId |
Account Owner Id. |
AdditionalInfo |
Additional details of this usage item. By default this is not populated, unless it's specified in $expand. Use this field to get usage line item specific details such as the actual VM Size (ServiceType) or the ratio in which the reservation discount is applied. |
BenefitId |
Unique identifier for the applicable benefit. |
BenefitName |
Name of the applicable benefit. |
BillingAccountId |
Billing Account identifier. |
BillingAccountName |
Billing Account Name. |
BillingCurrency |
Billing Currency. |
BillingPeriodEndOn |
The billing period end date. |
BillingPeriodStartOn |
The billing period start date. |
BillingProfileId |
Billing Profile identifier. |
BillingProfileName |
Billing Profile Name. |
ChargeType |
Indicates a charge represents credits, usage, a Marketplace purchase, a reservation fee, or a refund. |
ConsumedService |
Consumed service name. Name of the azure resource provider that emits the usage or was purchased. This value is not provided for marketplace usage. |
Cost |
The amount of cost before tax. |
CostCenter |
The cost center of this department if it is a department and a cost center is provided. |
EffectivePrice |
Effective Price that's charged for the usage. |
ETag |
The etag for the resource. (Inherited from ConsumptionUsageDetail) |
Frequency |
Indicates how frequently this charge will occur. OneTime for purchases which only happen once, Monthly for fees which recur every month, and UsageBased for charges based on how much a service is used. |
Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. (Inherited from ResourceData) |
InvoiceSection |
Invoice Section Name. |
IsAzureCreditEligible |
Is Azure Credit Eligible. |
MeterDetails |
The details about the meter. By default this is not populated, unless it's specified in $expand. |
MeterId |
The meter id (GUID). Not available for marketplace. For reserved instance this represents the primary meter for which the reservation was purchased. For the actual VM Size for which the reservation is purchased see productOrderName. |
Name |
The name of the resource. (Inherited from ResourceData) |
OfferId |
Offer Id. Ex: MS-AZR-0017P, MS-AZR-0148P. |
On |
Date for the usage record. |
PartNumber |
Part Number of the service used. Can be used to join with the price sheet. Not available for marketplace. |
PayGPrice |
Retail price for the resource. |
PlanName |
Plan Name. |
PricingModel |
Identifier that indicates how the meter is priced. |
Product |
Product name for the consumed service or purchase. Not available for Marketplace. |
ProductOrderId |
Product Order Id. For reservations this is the Reservation Order ID. |
ProductOrderName |
Product Order Name. For reservations this is the SKU that was purchased. |
PublisherName |
Publisher Name. |
PublisherType |
Publisher Type. |
Quantity |
The usage quantity. |
ReservationId |
ARM resource id of the reservation. Only applies to records relevant to reservations. |
ReservationName |
User provided display name of the reservation. Last known name for a particular day is populated in the daily data. Only applies to records relevant to reservations. |
ResourceGroup |
Resource Group Name. |
ResourceId |
Unique identifier of the Azure Resource Manager usage detail resource. |
ResourceLocation |
Resource Location. |
ResourceName |
Resource Name. |
ResourceType |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". (Inherited from ResourceData) |
ServiceInfo1 |
Service-specific metadata. |
ServiceInfo2 |
Legacy field with optional service-specific metadata. |
SubscriptionId |
Subscription guid. |
SubscriptionName |
Subscription name. |
SystemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. (Inherited from ResourceData) |
Tags |
Resource tags. (Inherited from ConsumptionUsageDetail) |
Term |
Term (in months). 1 month for monthly recurring purchase. 12 months for a 1 year reservation. 36 months for a 3 year reservation. |
UnitPrice |
Unit Price is the price applicable to you. (your EA or other contract price). |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | (Inherited from ResourceData) |
Applies to
Azure SDK for .NET