Partager via


ArmConsumptionModelFactory.ConsumptionLotSummary Méthode

Définition

Initialise une nouvelle instance de ConsumptionLotSummary.

public static Azure.ResourceManager.Consumption.Models.ConsumptionLotSummary ConsumptionLotSummary (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Consumption.Models.ConsumptionAmount originalAmount = default, Azure.ResourceManager.Consumption.Models.ConsumptionAmount closedBalance = default, Azure.ResourceManager.Consumption.Models.ConsumptionLotSource? source = default, DateTimeOffset? startOn = default, DateTimeOffset? expireOn = default, string poNumber = default, DateTimeOffset? purchasedOn = default, Azure.ResourceManager.Consumption.Models.ConsumptionLotStatus? status = default, string creditCurrency = default, string billingCurrency = default, Azure.ResourceManager.Consumption.Models.ConsumptionAmountWithExchangeRate originalAmountInBillingCurrency = default, Azure.ResourceManager.Consumption.Models.ConsumptionAmountWithExchangeRate closedBalanceInBillingCurrency = default, Azure.ResourceManager.Consumption.Models.ConsumptionReseller reseller = default, Azure.ETag? etag = default);
static member ConsumptionLotSummary : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.Consumption.Models.ConsumptionAmount * Azure.ResourceManager.Consumption.Models.ConsumptionAmount * Nullable<Azure.ResourceManager.Consumption.Models.ConsumptionLotSource> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Consumption.Models.ConsumptionLotStatus> * string * string * Azure.ResourceManager.Consumption.Models.ConsumptionAmountWithExchangeRate * Azure.ResourceManager.Consumption.Models.ConsumptionAmountWithExchangeRate * Azure.ResourceManager.Consumption.Models.ConsumptionReseller * Nullable<Azure.ETag> -> Azure.ResourceManager.Consumption.Models.ConsumptionLotSummary
Public Shared Function ConsumptionLotSummary (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional originalAmount As ConsumptionAmount = Nothing, Optional closedBalance As ConsumptionAmount = Nothing, Optional source As Nullable(Of ConsumptionLotSource) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional poNumber As String = Nothing, Optional purchasedOn As Nullable(Of DateTimeOffset) = Nothing, Optional status As Nullable(Of ConsumptionLotStatus) = Nothing, Optional creditCurrency As String = Nothing, Optional billingCurrency As String = Nothing, Optional originalAmountInBillingCurrency As ConsumptionAmountWithExchangeRate = Nothing, Optional closedBalanceInBillingCurrency As ConsumptionAmountWithExchangeRate = Nothing, Optional reseller As ConsumptionReseller = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As ConsumptionLotSummary

Paramètres

name
String

Nom.

resourceType
ResourceType

ResourceType.

systemData
SystemData

SystemData.

originalAmount
ConsumptionAmount

Le montant d’origine d’un lot. Nom sérialisé : LotSummary.properties.originalAmount

closedBalance
ConsumptionAmount

Solde à la date de la dernière facture. Nom sérialisé : LotSummary.properties.closedBalance

source
Nullable<ConsumptionLotSource>

Source du lot. Nom sérialisé : LotSummary.properties.source

startOn
Nullable<DateTimeOffset>

Date à laquelle le lot est entré en vigueur. Nom sérialisé : LotSummary.properties.startDate

expireOn
Nullable<DateTimeOffset>

Date d’expiration d’un lot. Nom sérialisé : LotSummary.properties.expirationDate

poNumber
String

Numéro de commande de la facture sur laquelle le lot a été ajouté. Cette propriété n’est pas disponible pour les lots ConsumptionCommitment. Nom sérialisé : LotSummary.properties.poNumber

purchasedOn
Nullable<DateTimeOffset>

Date à laquelle le lot a été ajouté. Nom sérialisé : LotSummary.properties.purchasedDate

status
Nullable<ConsumptionLotStatus>

Le status du lot. Nom sérialisé : LotSummary.properties. status

creditCurrency
String

La monnaie du lot. Nom sérialisé : LotSummary.properties.creditCurrency

billingCurrency
String

Devise de facturation du lot. Nom sérialisé : LotSummary.properties.billingCurrency

originalAmountInBillingCurrency
ConsumptionAmountWithExchangeRate

Montant d’origine d’un lot dans la devise de facturation. Nom sérialisé : LotSummary.properties.originalAmountInBillingCurrency

closedBalanceInBillingCurrency
ConsumptionAmountWithExchangeRate

Solde de la dernière facture dans la devise de facturation. Nom sérialisé : LotSummary.properties.closedBalanceInBillingCurrency

reseller
ConsumptionReseller

Revendeur du lot. Nom sérialisé : LotSummary.properties.reseller

etag
Nullable<ETag>

eTag de la ressource. Pour gérer le scénario de mise à jour simultanée, ce champ sera utilisé pour déterminer si l’utilisateur met à jour la dernière version ou non. Nom sérialisé : ProxyResource.eTag

Retours

Une nouvelle ConsumptionLotSummary instance de moqueries.

S’applique à