ArmConsumptionModelFactory.ConsumptionChargeSummary Method

Definition

Initializes a new instance of ConsumptionChargeSummary.

public static Azure.ResourceManager.Consumption.Models.ConsumptionChargeSummary ConsumptionChargeSummary (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string kind = "Unknown", Azure.ETag? etag = default);
static member ConsumptionChargeSummary : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ETag> -> Azure.ResourceManager.Consumption.Models.ConsumptionChargeSummary
Public Shared Function ConsumptionChargeSummary (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional kind As String = "Unknown", Optional etag As Nullable(Of ETag) = Nothing) As ConsumptionChargeSummary

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

kind
String

Specifies the kind of charge summary.

etag
Nullable<ETag>

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.

Returns

A new ConsumptionChargeSummary instance for mocking.

Applies to