ArmConsumptionModelFactory.ConsumptionLegacyChargeSummary 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.
Initializes a new instance of ConsumptionLegacyChargeSummary.
public static Azure.ResourceManager.Consumption.Models.ConsumptionLegacyChargeSummary ConsumptionLegacyChargeSummary (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ETag? etag = default, string billingPeriodId = default, string usageStart = default, string usageEnd = default, decimal? azureCharges = default, decimal? chargesBilledSeparately = default, decimal? marketplaceCharges = default, string currency = default);
static member ConsumptionLegacyChargeSummary : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ETag> * string * string * string * Nullable<decimal> * Nullable<decimal> * Nullable<decimal> * string -> Azure.ResourceManager.Consumption.Models.ConsumptionLegacyChargeSummary
Public Shared Function ConsumptionLegacyChargeSummary (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional billingPeriodId As String = Nothing, Optional usageStart As String = Nothing, Optional usageEnd As String = Nothing, Optional azureCharges As Nullable(Of Decimal) = Nothing, Optional chargesBilledSeparately As Nullable(Of Decimal) = Nothing, Optional marketplaceCharges As Nullable(Of Decimal) = Nothing, Optional currency As String = Nothing) As ConsumptionLegacyChargeSummary
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
- billingPeriodId
- String
The id of the billing period resource that the charge belongs to.
- usageStart
- String
Usage start date.
- usageEnd
- String
Usage end date.
- currency
- String
Currency Code.
Returns
A new ConsumptionLegacyChargeSummary instance for mocking.
Applies to
Azure SDK for .NET