diff --git a/swaggerci/consumption/.gitattributes b/swaggerci/consumption/.gitattributes
new file mode 100644
index 000000000000..2125666142eb
--- /dev/null
+++ b/swaggerci/consumption/.gitattributes
@@ -0,0 +1 @@
+* text=auto
\ No newline at end of file
diff --git a/swaggerci/consumption/.gitignore b/swaggerci/consumption/.gitignore
new file mode 100644
index 000000000000..7998f37e1e47
--- /dev/null
+++ b/swaggerci/consumption/.gitignore
@@ -0,0 +1,5 @@
+bin
+obj
+.vs
+tools
+test/*-TestResults.xml
\ No newline at end of file
diff --git a/swaggerci/consumption/Az.Consumption.csproj b/swaggerci/consumption/Az.Consumption.csproj
new file mode 100644
index 000000000000..3844f71ca417
--- /dev/null
+++ b/swaggerci/consumption/Az.Consumption.csproj
@@ -0,0 +1,44 @@
+
+
+
+ 0.1.0
+ 7.1
+ netstandard2.0
+ Library
+ Az.Consumption.private
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption
+ true
+ false
+ ./bin
+ $(OutputPath)
+ Az.Consumption.nuspec
+ true
+
+
+ 1998, 1591
+ true
+
+
+
+
+ false
+ TRACE;DEBUG;NETSTANDARD
+
+
+
+ true
+ true
+ MSSharedLibKey.snk
+ TRACE;RELEASE;NETSTANDARD;SIGN
+
+
+
+
+
+
+
+
+ $(DefaultItemExcludes);resources/**
+
+
+
\ No newline at end of file
diff --git a/swaggerci/consumption/Az.Consumption.format.ps1xml b/swaggerci/consumption/Az.Consumption.format.ps1xml
new file mode 100644
index 000000000000..98f1a2148e31
--- /dev/null
+++ b/swaggerci/consumption/Az.Consumption.format.ps1xml
@@ -0,0 +1,5275 @@
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.ConsumptionIdentity
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.ConsumptionIdentity
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ BillingAccountId
+
+
+ BillingPeriodName
+
+
+ BillingProfileId
+
+
+ BudgetName
+
+
+ CustomerId
+
+
+ Id
+
+
+ ManagementGroupId
+
+
+ ReservationId
+
+
+ ReservationOrderId
+
+
+ ResourceScope
+
+
+ Scope
+
+
+ SubscriptionId
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.Amount
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.Amount
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Currency
+
+
+ Value
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.AmountWithExchangeRate
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.AmountWithExchangeRate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Currency
+
+
+ Value
+
+
+ ExchangeRate
+
+
+ ExchangeRateMonth
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.Balance
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.Balance
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Etag
+
+
+ Id
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.BalanceProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.BalanceProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Adjustment
+
+
+ AzureMarketplaceServiceCharge
+
+
+ BeginningBalance
+
+
+ BillingFrequency
+
+
+ ChargesBilledSeparately
+
+
+ Currency
+
+
+ EndingBalance
+
+
+ NewPurchase
+
+
+ PriceHidden
+
+
+ ServiceOverage
+
+
+ TotalOverage
+
+
+ TotalUsage
+
+
+ Utilized
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.BalancePropertiesAdjustmentDetailsItem
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.BalancePropertiesAdjustmentDetailsItem
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ Value
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.BalancePropertiesNewPurchasesDetailsItem
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.BalancePropertiesNewPurchasesDetailsItem
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ Value
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.Budget
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.Budget
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ETag
+
+
+ Id
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.BudgetComparisonExpression
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.BudgetComparisonExpression
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ Operator
+
+
+ Value
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.BudgetProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.BudgetProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Amount
+
+
+ Category
+
+
+ TimeGrain
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.BudgetsListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.BudgetsListResult
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.BudgetTimePeriod
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.BudgetTimePeriod
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ EndDate
+
+
+ StartDate
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ChargeSummary
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ChargeSummary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Etag
+
+
+ Id
+
+
+ Name
+
+
+ Type
+
+
+ Kind
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.CreditSummary
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.CreditSummary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ETag
+
+
+ Id
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.CreditSummaryProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.CreditSummaryProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ BillingCurrency
+
+
+ CreditCurrency
+
+
+ ETag
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.CurrentSpend
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.CurrentSpend
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Amount
+
+
+ Unit
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.DownloadProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.DownloadProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DownloadUrl
+
+
+ ValidTill
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ErrorDetails
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ErrorDetails
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Code
+
+
+ Message
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.EventProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.EventProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ BillingCurrency
+
+
+ BillingProfileDisplayName
+
+
+ BillingProfileId
+
+
+ CreditCurrency
+
+
+ Description
+
+
+ ETag
+
+
+ EventType
+
+
+ InvoiceNumber
+
+
+ LotId
+
+
+ LotSource
+
+
+ TransactionDate
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.Events
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.Events
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.EventSummary
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.EventSummary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ETag
+
+
+ Id
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ForecastSpend
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ForecastSpend
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Amount
+
+
+ Unit
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.HighCasedErrorDetails
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.HighCasedErrorDetails
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Code
+
+
+ Message
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.LegacyChargeSummary
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.LegacyChargeSummary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Etag
+
+
+ Id
+
+
+ Kind
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.LegacyChargeSummaryProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.LegacyChargeSummaryProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AzureCharge
+
+
+ AzureMarketplaceCharge
+
+
+ BillingPeriodId
+
+
+ ChargesBilledSeparately
+
+
+ Currency
+
+
+ UsageEnd
+
+
+ UsageStart
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.LegacyReservationRecommendation
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.LegacyReservationRecommendation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Etag
+
+
+ Id
+
+
+ Kind
+
+
+ Location
+
+
+ Name
+
+
+ Sku
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.LegacyReservationRecommendationProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.LegacyReservationRecommendationProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CostWithNoReservedInstance
+
+
+ FirstUsageDate
+
+
+ InstanceFlexibilityGroup
+
+
+ InstanceFlexibilityRatio
+
+
+ LookBackPeriod
+
+
+ MeterId
+
+
+ NetSaving
+
+
+ NormalizedSize
+
+
+ RecommendedQuantity
+
+
+ RecommendedQuantityNormalized
+
+
+ ResourceType
+
+
+ Scope
+
+
+ Term
+
+
+ TotalCostWithReservedInstance
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.LegacyReservationTransaction
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.LegacyReservationTransaction
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AccountName
+
+
+ AccountOwnerEmail
+
+
+ Amount
+
+
+ ArmSkuName
+
+
+ BillingFrequency
+
+
+ BillingMonth
+
+
+ CostCenter
+
+
+ Currency
+
+
+ CurrentEnrollment
+
+
+ DepartmentName
+
+
+ Description
+
+
+ EventDate
+
+
+ EventType
+
+
+ Id
+
+
+ MonetaryCommitment
+
+
+ Name
+
+
+ Overage
+
+
+ PurchasingEnrollment
+
+
+ PurchasingSubscriptionGuid
+
+
+ PurchasingSubscriptionName
+
+
+ Quantity
+
+
+ Region
+
+
+ ReservationOrderId
+
+
+ ReservationOrderName
+
+
+ Tag
+
+
+ Term
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.LegacyReservationTransactionProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.LegacyReservationTransactionProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AccountName
+
+
+ AccountOwnerEmail
+
+
+ Amount
+
+
+ ArmSkuName
+
+
+ BillingFrequency
+
+
+ BillingMonth
+
+
+ CostCenter
+
+
+ Currency
+
+
+ CurrentEnrollment
+
+
+ DepartmentName
+
+
+ Description
+
+
+ EventDate
+
+
+ EventType
+
+
+ MonetaryCommitment
+
+
+ Overage
+
+
+ PurchasingEnrollment
+
+
+ PurchasingSubscriptionGuid
+
+
+ PurchasingSubscriptionName
+
+
+ Quantity
+
+
+ Region
+
+
+ ReservationOrderId
+
+
+ ReservationOrderName
+
+
+ Term
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.LegacySharedScopeReservationRecommendationProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.LegacySharedScopeReservationRecommendationProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CostWithNoReservedInstance
+
+
+ FirstUsageDate
+
+
+ InstanceFlexibilityGroup
+
+
+ InstanceFlexibilityRatio
+
+
+ LookBackPeriod
+
+
+ MeterId
+
+
+ NetSaving
+
+
+ NormalizedSize
+
+
+ RecommendedQuantity
+
+
+ RecommendedQuantityNormalized
+
+
+ ResourceType
+
+
+ Scope
+
+
+ Term
+
+
+ TotalCostWithReservedInstance
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.LegacySingleScopeReservationRecommendationProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.LegacySingleScopeReservationRecommendationProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CostWithNoReservedInstance
+
+
+ FirstUsageDate
+
+
+ InstanceFlexibilityGroup
+
+
+ InstanceFlexibilityRatio
+
+
+ LookBackPeriod
+
+
+ MeterId
+
+
+ NetSaving
+
+
+ NormalizedSize
+
+
+ RecommendedQuantity
+
+
+ RecommendedQuantityNormalized
+
+
+ ResourceType
+
+
+ Scope
+
+
+ Term
+
+
+ TotalCostWithReservedInstance
+
+
+ SubscriptionId
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.LegacyUsageDetail
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.LegacyUsageDetail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Etag
+
+
+ Id
+
+
+ Kind
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.LegacyUsageDetailProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.LegacyUsageDetailProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AccountName
+
+
+ AccountOwnerId
+
+
+ AdditionalInfo
+
+
+ BenefitId
+
+
+ BenefitName
+
+
+ BillingAccountId
+
+
+ BillingAccountName
+
+
+ BillingCurrency
+
+
+ BillingPeriodEndDate
+
+
+ BillingPeriodStartDate
+
+
+ BillingProfileId
+
+
+ BillingProfileName
+
+
+ ChargeType
+
+
+ ConsumedService
+
+
+ Cost
+
+
+ CostCenter
+
+
+ Date
+
+
+ EffectivePrice
+
+
+ Frequency
+
+
+ InvoiceSection
+
+
+ IsAzureCreditEligible
+
+
+ MeterId
+
+
+ OfferId
+
+
+ PartNumber
+
+
+ PayGPrice
+
+
+ PlanName
+
+
+ PricingModel
+
+
+ Product
+
+
+ ProductOrderId
+
+
+ ProductOrderName
+
+
+ PublisherName
+
+
+ PublisherType
+
+
+ Quantity
+
+
+ ReservationId
+
+
+ ReservationName
+
+
+ ResourceGroup
+
+
+ ResourceId
+
+
+ ResourceLocation
+
+
+ ResourceName
+
+
+ ServiceInfo1
+
+
+ ServiceInfo2
+
+
+ SubscriptionId
+
+
+ SubscriptionName
+
+
+ Term
+
+
+ UnitPrice
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.LotProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.LotProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ BillingCurrency
+
+
+ CreditCurrency
+
+
+ ETag
+
+
+ ExpirationDate
+
+
+ PoNumber
+
+
+ PurchasedDate
+
+
+ Source
+
+
+ StartDate
+
+
+ Status
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.Lots
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.Lots
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.LotSummary
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.LotSummary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ETag
+
+
+ Id
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ManagementGroupAggregatedCostProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ManagementGroupAggregatedCostProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AzureCharge
+
+
+ BillingPeriodId
+
+
+ ChargesBilledSeparately
+
+
+ Currency
+
+
+ ExcludedSubscription
+
+
+ IncludedSubscription
+
+
+ MarketplaceCharge
+
+
+ UsageEnd
+
+
+ UsageStart
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ManagementGroupAggregatedCostResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ManagementGroupAggregatedCostResult
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Etag
+
+
+ Id
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.Marketplace
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.Marketplace
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Etag
+
+
+ Id
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.MarketplaceProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.MarketplaceProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AccountName
+
+
+ AdditionalInfo
+
+
+ AdditionalProperty
+
+
+ BillingPeriodId
+
+
+ ConsumedQuantity
+
+
+ ConsumedService
+
+
+ CostCenter
+
+
+ Currency
+
+
+ DepartmentName
+
+
+ InstanceId
+
+
+ InstanceName
+
+
+ IsEstimated
+
+
+ IsRecurringCharge
+
+
+ MeterId
+
+
+ OfferName
+
+
+ OrderNumber
+
+
+ PlanName
+
+
+ PretaxCost
+
+
+ PublisherName
+
+
+ ResourceGroup
+
+
+ ResourceRate
+
+
+ SubscriptionGuid
+
+
+ SubscriptionName
+
+
+ UnitOfMeasure
+
+
+ UsageEnd
+
+
+ UsageStart
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.MarketplacesListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.MarketplacesListResult
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.MeterDetails
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.MeterDetails
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ MeterCategory
+
+
+ MeterLocation
+
+
+ MeterName
+
+
+ MeterSubCategory
+
+
+ PretaxStandardRate
+
+
+ ServiceName
+
+
+ ServiceTier
+
+
+ TotalIncludedQuantity
+
+
+ Unit
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.MeterDetailsResponse
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.MeterDetailsResponse
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ MeterCategory
+
+
+ MeterName
+
+
+ MeterSubCategory
+
+
+ ServiceFamily
+
+
+ UnitOfMeasure
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ModernChargeSummary
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ModernChargeSummary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Etag
+
+
+ Id
+
+
+ Kind
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ModernChargeSummaryProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ModernChargeSummaryProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ BillingAccountId
+
+
+ BillingPeriodId
+
+
+ BillingProfileId
+
+
+ CustomerId
+
+
+ InvoiceSectionId
+
+
+ IsInvoiced
+
+
+ UsageEnd
+
+
+ UsageStart
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ModernReservationRecommendation
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ModernReservationRecommendation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Etag
+
+
+ Id
+
+
+ Kind
+
+
+ Location
+
+
+ Name
+
+
+ Sku
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ModernReservationRecommendationProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ModernReservationRecommendationProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ FirstUsageDate
+
+
+ InstanceFlexibilityGroup
+
+
+ InstanceFlexibilityRatio
+
+
+ Location
+
+
+ LookBackPeriod
+
+
+ MeterId
+
+
+ NormalizedSize
+
+
+ RecommendedQuantity
+
+
+ RecommendedQuantityNormalized
+
+
+ ResourceType
+
+
+ Scope
+
+
+ SkuName
+
+
+ Term
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ModernReservationTransaction
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ModernReservationTransaction
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+ Name
+
+
+ Tag
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ModernReservationTransactionProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ModernReservationTransactionProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Amount
+
+
+ ArmSkuName
+
+
+ BillingFrequency
+
+
+ BillingProfileId
+
+
+ BillingProfileName
+
+
+ Currency
+
+
+ Description
+
+
+ EventDate
+
+
+ EventType
+
+
+ Invoice
+
+
+ InvoiceId
+
+
+ InvoiceSectionId
+
+
+ InvoiceSectionName
+
+
+ PurchasingSubscriptionGuid
+
+
+ PurchasingSubscriptionName
+
+
+ Quantity
+
+
+ Region
+
+
+ ReservationOrderId
+
+
+ ReservationOrderName
+
+
+ Term
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ModernReservationTransactionsListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ModernReservationTransactionsListResult
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ModernSharedScopeReservationRecommendationProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ModernSharedScopeReservationRecommendationProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CostWithNoReservedInstanceCurrency
+
+
+ CostWithNoReservedInstanceValue
+
+
+ FirstUsageDate
+
+
+ InstanceFlexibilityGroup
+
+
+ InstanceFlexibilityRatio
+
+
+ Location
+
+
+ LookBackPeriod
+
+
+ MeterId
+
+
+ NetSavingCurrency
+
+
+ NetSavingValue
+
+
+ NormalizedSize
+
+
+ RecommendedQuantity
+
+
+ RecommendedQuantityNormalized
+
+
+ ResourceType
+
+
+ Scope
+
+
+ SkuName
+
+
+ Term
+
+
+ TotalCostWithReservedInstanceCurrency
+
+
+ TotalCostWithReservedInstanceValue
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ModernSingleScopeReservationRecommendationProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ModernSingleScopeReservationRecommendationProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CostWithNoReservedInstanceCurrency
+
+
+ CostWithNoReservedInstanceValue
+
+
+ FirstUsageDate
+
+
+ InstanceFlexibilityGroup
+
+
+ InstanceFlexibilityRatio
+
+
+ Location
+
+
+ LookBackPeriod
+
+
+ MeterId
+
+
+ NetSavingCurrency
+
+
+ NetSavingValue
+
+
+ NormalizedSize
+
+
+ RecommendedQuantity
+
+
+ RecommendedQuantityNormalized
+
+
+ ResourceType
+
+
+ Scope
+
+
+ SkuName
+
+
+ Term
+
+
+ TotalCostWithReservedInstanceCurrency
+
+
+ TotalCostWithReservedInstanceValue
+
+
+ SubscriptionId
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ModernUsageDetail
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ModernUsageDetail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Etag
+
+
+ Id
+
+
+ Kind
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ModernUsageDetailProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ModernUsageDetailProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AdditionalInfo
+
+
+ BenefitId
+
+
+ BenefitName
+
+
+ BillingAccountId
+
+
+ BillingAccountName
+
+
+ BillingCurrencyCode
+
+
+ BillingPeriodEndDate
+
+
+ BillingPeriodStartDate
+
+
+ BillingProfileId
+
+
+ BillingProfileName
+
+
+ ChargeType
+
+
+ ConsumedService
+
+
+ CostAllocationRuleName
+
+
+ CostCenter
+
+
+ CostInBillingCurrency
+
+
+ CostInPricingCurrency
+
+
+ CostInUsd
+
+
+ CustomerName
+
+
+ CustomerTenantId
+
+
+ Date
+
+
+ EffectivePrice
+
+
+ ExchangeRate
+
+
+ ExchangeRateDate
+
+
+ ExchangeRatePricingToBilling
+
+
+ Frequency
+
+
+ InstanceName
+
+
+ InvoiceId
+
+
+ InvoiceSectionId
+
+
+ InvoiceSectionName
+
+
+ IsAzureCreditEligible
+
+
+ MarketPrice
+
+
+ MeterCategory
+
+
+ MeterId
+
+
+ MeterName
+
+
+ MeterRegion
+
+
+ MeterSubCategory
+
+
+ PartnerEarnedCreditApplied
+
+
+ PartnerEarnedCreditRate
+
+
+ PartnerName
+
+
+ PartnerTenantId
+
+
+ PayGPrice
+
+
+ PaygCostInBillingCurrency
+
+
+ PaygCostInUsd
+
+
+ PreviousInvoiceId
+
+
+ PricingCurrencyCode
+
+
+ PricingModel
+
+
+ Product
+
+
+ ProductIdentifier
+
+
+ ProductOrderId
+
+
+ ProductOrderName
+
+
+ Provider
+
+
+ PublisherId
+
+
+ PublisherName
+
+
+ PublisherType
+
+
+ Quantity
+
+
+ ResellerMpnId
+
+
+ ResellerName
+
+
+ ReservationId
+
+
+ ReservationName
+
+
+ ResourceGroup
+
+
+ ResourceLocation
+
+
+ ResourceLocationNormalized
+
+
+ ServiceFamily
+
+
+ ServiceInfo1
+
+
+ ServiceInfo2
+
+
+ ServicePeriodEndDate
+
+
+ ServicePeriodStartDate
+
+
+ SubscriptionGuid
+
+
+ SubscriptionName
+
+
+ Term
+
+
+ UnitOfMeasure
+
+
+ UnitPrice
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.Notification
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.Notification
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ContactEmail
+
+
+ ContactGroup
+
+
+ ContactRole
+
+
+ Enabled
+
+
+ Locale
+
+
+ Operator
+
+
+ Threshold
+
+
+ ThresholdType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.Operation
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.Operation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+ Name
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.OperationDisplay
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.OperationDisplay
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Description
+
+
+ Operation
+
+
+ Provider
+
+
+ Resource
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.OperationListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.OperationListResult
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.PriceSheetModel
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.PriceSheetModel
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.PriceSheetProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.PriceSheetProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ BillingPeriodId
+
+
+ CurrencyCode
+
+
+ IncludedQuantity
+
+
+ MeterId
+
+
+ OfferId
+
+
+ PartNumber
+
+
+ UnitOfMeasure
+
+
+ UnitPrice
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.PriceSheetResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.PriceSheetResult
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Etag
+
+
+ Id
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ProxyResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ProxyResource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ETag
+
+
+ Id
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.Reseller
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.Reseller
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Description
+
+
+ Id
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationDetail
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationDetail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Etag
+
+
+ Id
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationDetailProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationDetailProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ InstanceFlexibilityGroup
+
+
+ InstanceFlexibilityRatio
+
+
+ InstanceId
+
+
+ Kind
+
+
+ ReservationId
+
+
+ ReservationOrderId
+
+
+ ReservedHour
+
+
+ SkuName
+
+
+ TotalReservedQuantity
+
+
+ UsageDate
+
+
+ UsedHour
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationDetailsListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationDetailsListResult
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationRecommendation
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationRecommendation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Etag
+
+
+ Id
+
+
+ Location
+
+
+ Name
+
+
+ Sku
+
+
+ Type
+
+
+ Kind
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationRecommendationDetailsCalculatedSavingsProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationRecommendationDetailsCalculatedSavingsProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ OnDemandCost
+
+
+ OverageCost
+
+
+ Quantity
+
+
+ ReservationCost
+
+
+ ReservedUnitCount
+
+
+ Saving
+
+
+ TotalReservationCost
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationRecommendationDetailsModel
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationRecommendationDetailsModel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Etag
+
+
+ Id
+
+
+ Name
+
+
+ Type
+
+
+ Location
+
+
+ Sku
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationRecommendationDetailsProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationRecommendationDetailsProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Currency
+
+
+ ResourceGroup
+
+
+ Scope
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationRecommendationDetailsResourceProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationRecommendationDetailsResourceProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AppliedScope
+
+
+ OnDemandRate
+
+
+ Product
+
+
+ Region
+
+
+ ReservationRate
+
+
+ ResourceType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationRecommendationDetailsSavingsProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationRecommendationDetailsSavingsProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ LookBackPeriod
+
+
+ RecommendedQuantity
+
+
+ ReservationOrderTerm
+
+
+ SavingsType
+
+
+ UnitOfMeasure
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationRecommendationDetailsUsageProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationRecommendationDetailsUsageProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ FirstConsumptionDate
+
+
+ LastConsumptionDate
+
+
+ LookBackUnitType
+
+
+ UsageData
+
+
+ UsageGrain
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationRecommendationsListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationRecommendationsListResult
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+ PreviousLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationSummariesListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationSummariesListResult
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationSummary
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationSummary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Etag
+
+
+ Id
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationSummaryProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationSummaryProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AvgUtilizationPercentage
+
+
+ Kind
+
+
+ MaxUtilizationPercentage
+
+
+ MinUtilizationPercentage
+
+
+ PurchasedQuantity
+
+
+ RemainingQuantity
+
+
+ ReservationId
+
+
+ ReservationOrderId
+
+
+ ReservedHour
+
+
+ SkuName
+
+
+ TotalReservedQuantity
+
+
+ UsageDate
+
+
+ UsedHour
+
+
+ UsedQuantity
+
+
+ UtilizedPercentage
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationTransaction
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationTransaction
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+ Name
+
+
+ Tag
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationTransactionResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationTransactionResource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+ Name
+
+
+ Tag
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationTransactionsListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ReservationTransactionsListResult
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.Resource
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.Resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Etag
+
+
+ Id
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ResourceAttributes
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ResourceAttributes
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Location
+
+
+ Sku
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ResourceTags
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ResourceTags
+
+
+
+
+
+
+
+
+
+
+
+ Item
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.SkuProperty
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.SkuProperty
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ Value
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.Tag
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.Tag
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Key
+
+
+ Value
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.TagProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.TagProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+ PreviousLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.TagsResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.TagsResult
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ETag
+
+
+ Id
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.UsageDetail
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.UsageDetail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Etag
+
+
+ Id
+
+
+ Name
+
+
+ Type
+
+
+ Kind
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.UsageDetailsListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.UsageDetailsListResult
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/swaggerci/consumption/Az.Consumption.nuspec b/swaggerci/consumption/Az.Consumption.nuspec
new file mode 100644
index 000000000000..5d6a4d4f9d8d
--- /dev/null
+++ b/swaggerci/consumption/Az.Consumption.nuspec
@@ -0,0 +1,32 @@
+
+
+
+ Az.Consumption
+ 0.1.0
+ Microsoft Corporation
+ Microsoft Corporation
+ true
+ https://aka.ms/azps-license
+ https://github.com/Azure/azure-powershell
+ Microsoft Azure PowerShell: $(service-name) cmdlets
+
+ Microsoft Corporation. All rights reserved.
+ Azure ResourceManager ARM PSModule $(service-name)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/swaggerci/consumption/Az.Consumption.psd1 b/swaggerci/consumption/Az.Consumption.psd1
new file mode 100644
index 000000000000..a3266488e40a
--- /dev/null
+++ b/swaggerci/consumption/Az.Consumption.psd1
@@ -0,0 +1,24 @@
+@{
+ GUID = 'd69ac069-c210-4d4a-bd87-0d16642075b1'
+ RootModule = './Az.Consumption.psm1'
+ ModuleVersion = '0.1.0'
+ CompatiblePSEditions = 'Core', 'Desktop'
+ Author = 'Microsoft Corporation'
+ CompanyName = 'Microsoft Corporation'
+ Copyright = 'Microsoft Corporation. All rights reserved.'
+ Description = 'Microsoft Azure PowerShell: Consumption cmdlets'
+ PowerShellVersion = '5.1'
+ DotNetFrameworkVersion = '4.7.2'
+ RequiredAssemblies = './bin/Az.Consumption.private.dll'
+ FormatsToProcess = './Az.Consumption.format.ps1xml'
+ FunctionsToExport = 'Get-AzConsumptionAggregatedCost', 'Get-AzConsumptionBalance', 'Get-AzConsumptionBudget', 'Get-AzConsumptionCharge', 'Get-AzConsumptionCredit', 'Get-AzConsumptionEvent', 'Get-AzConsumptionLot', 'Get-AzConsumptionMarketplace', 'Get-AzConsumptionPriceSheet', 'Get-AzConsumptionReservationDetail', 'Get-AzConsumptionReservationRecommendation', 'Get-AzConsumptionReservationRecommendationDetail', 'Get-AzConsumptionReservationsDetail', 'Get-AzConsumptionReservationsSummary', 'Get-AzConsumptionReservationSummary', 'Get-AzConsumptionReservationTransaction', 'Get-AzConsumptionTag', 'Get-AzConsumptionUsageDetail', 'New-AzConsumptionBudget', 'Remove-AzConsumptionBudget', '*'
+ AliasesToExport = '*'
+ PrivateData = @{
+ PSData = @{
+ Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'Consumption'
+ LicenseUri = 'https://aka.ms/azps-license'
+ ProjectUri = 'https://github.com/Azure/azure-powershell'
+ ReleaseNotes = ''
+ }
+ }
+}
diff --git a/swaggerci/consumption/Az.Consumption.psm1 b/swaggerci/consumption/Az.Consumption.psm1
new file mode 100644
index 000000000000..847cbbf4c6a7
--- /dev/null
+++ b/swaggerci/consumption/Az.Consumption.psm1
@@ -0,0 +1,107 @@
+# region Generated
+ # ----------------------------------------------------------------------------------
+ # Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the MIT License. See License.txt in the project root for license information.
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ # ----------------------------------------------------------------------------------
+ # Load required Az.Accounts module
+ $accountsName = 'Az.Accounts'
+ $accountsModule = Get-Module -Name $accountsName
+ if(-not $accountsModule) {
+ $localAccountsPath = Join-Path $PSScriptRoot 'generated/modules'
+ if(Test-Path -Path $localAccountsPath) {
+ $localAccounts = Get-ChildItem -Path $localAccountsPath -Recurse -Include 'Az.Accounts.psd1' | Select-Object -Last 1
+ if($localAccounts) {
+ $accountsModule = Import-Module -Name ($localAccounts.FullName) -Scope Global -PassThru
+ }
+ }
+ if(-not $accountsModule) {
+ $hasAdequateVersion = (Get-Module -Name $accountsName -ListAvailable | Where-Object { $_.Version -ge [System.Version]'2.7.5' } | Measure-Object).Count -gt 0
+ if($hasAdequateVersion) {
+ $accountsModule = Import-Module -Name $accountsName -MinimumVersion 2.7.5 -Scope Global -PassThru
+ }
+ }
+ }
+
+ if(-not $accountsModule) {
+ Write-Error "`nThis module requires $accountsName version 2.7.5 or greater. For installation instructions, please see: https://docs.microsoft.com/powershell/azure/install-az-ps" -ErrorAction Stop
+ } elseif (($accountsModule.Version -lt [System.Version]'2.7.5') -and (-not $localAccounts)) {
+ Write-Error "`nThis module requires $accountsName version 2.7.5 or greater. An earlier version of Az.Accounts is imported in the current PowerShell session. If you are running test, please try to add the switch '-RegenerateSupportModule' when executing 'test-module.ps1'. Otherwise please open a new PowerShell session and import this module again.`nAdditionally, this error could indicate that multiple incompatible versions of Azure PowerShell modules are installed on your system. For troubleshooting information, please see: https://aka.ms/azps-version-error" -ErrorAction Stop
+ }
+ Write-Information "Loaded Module '$($accountsModule.Name)'"
+
+ # Load the private module dll
+ $null = Import-Module -Name (Join-Path $PSScriptRoot './bin/Az.Consumption.private.dll')
+
+ # Get the private module's instance
+ $instance = [Microsoft.Azure.PowerShell.Cmdlets.Consumption.Module]::Instance
+
+ # Ask for the shared functionality table
+ $VTable = Register-AzModule
+
+ # Tweaks the pipeline on module load
+ $instance.OnModuleLoad = $VTable.OnModuleLoad
+
+ # Following two delegates are added for telemetry
+ $instance.GetTelemetryId = $VTable.GetTelemetryId
+ $instance.Telemetry = $VTable.Telemetry
+
+
+ # Tweaks the pipeline per call
+ $instance.OnNewRequest = $VTable.OnNewRequest
+
+ # Gets shared parameter values
+ $instance.GetParameterValue = $VTable.GetParameterValue
+
+ # Allows shared module to listen to events from this module
+ $instance.EventListener = $VTable.EventListener
+
+ # Gets shared argument completers
+ $instance.ArgumentCompleter = $VTable.ArgumentCompleter
+
+ # The name of the currently selected Azure profile
+ $instance.ProfileName = $VTable.ProfileName
+
+
+ # Load the custom module
+ $customModulePath = Join-Path $PSScriptRoot './custom/Az.Consumption.custom.psm1'
+ if(Test-Path $customModulePath) {
+ $null = Import-Module -Name $customModulePath
+ }
+
+ # Export nothing to clear implicit exports
+ Export-ModuleMember
+
+ # Export proxy cmdlet scripts
+ $exportsPath = Join-Path $PSScriptRoot './exports'
+ $directories = Get-ChildItem -Directory -Path $exportsPath
+ $profileDirectory = $null
+ if($instance.ProfileName) {
+ if(($directories | ForEach-Object { $_.Name }) -contains $instance.ProfileName) {
+ $profileDirectory = $directories | Where-Object { $_.Name -eq $instance.ProfileName }
+ } else {
+ # Don't export anything if the profile doesn't exist for the module
+ $exportsPath = $null
+ Write-Warning "Selected Azure profile '$($instance.ProfileName)' does not exist for module '$($instance.Name)'. No cmdlets were loaded."
+ }
+ } elseif(($directories | Measure-Object).Count -gt 0) {
+ # Load the last folder if no profile is selected
+ $profileDirectory = $directories | Select-Object -Last 1
+ }
+
+ if($profileDirectory) {
+ Write-Information "Loaded Azure profile '$($profileDirectory.Name)' for module '$($instance.Name)'"
+ $exportsPath = $profileDirectory.FullName
+ }
+
+ if($exportsPath) {
+ Get-ChildItem -Path $exportsPath -Recurse -Include '*.ps1' -File | ForEach-Object { . $_.FullName }
+ $cmdletNames = Get-ScriptCmdlet -ScriptFolder $exportsPath
+ Export-ModuleMember -Function $cmdletNames -Alias (Get-ScriptCmdlet -ScriptFolder $exportsPath -AsAlias)
+ }
+
+ # Finalize initialization of this module
+ $instance.Init();
+ Write-Information "Loaded Module '$($instance.Name)'"
+# endregion
diff --git a/swaggerci/consumption/MSSharedLibKey.snk b/swaggerci/consumption/MSSharedLibKey.snk
new file mode 100644
index 000000000000..695f1b38774e
Binary files /dev/null and b/swaggerci/consumption/MSSharedLibKey.snk differ
diff --git a/swaggerci/consumption/README.md b/swaggerci/consumption/README.md
new file mode 100644
index 000000000000..b6d1c88fb8af
--- /dev/null
+++ b/swaggerci/consumption/README.md
@@ -0,0 +1,27 @@
+
+# Az.Consumption
+This directory contains the PowerShell module for the Consumption service.
+
+---
+## Status
+[](https://www.powershellgallery.com/packages/Az.Consumption/)
+
+## Info
+- Modifiable: yes
+- Generated: all
+- Committed: yes
+- Packaged: yes
+
+---
+## Detail
+This module was primarily generated via [AutoRest](https://github.com/Azure/autorest) using the [PowerShell](https://github.com/Azure/autorest.powershell) extension.
+
+## Module Requirements
+- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 2.7.5 or greater
+
+## Authentication
+AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent.
+
+## Development
+For information on how to develop for `Az.Consumption`, see [how-to.md](how-to.md).
+
diff --git a/swaggerci/consumption/build-module.ps1 b/swaggerci/consumption/build-module.ps1
new file mode 100644
index 000000000000..47c496dbfb4e
--- /dev/null
+++ b/swaggerci/consumption/build-module.ps1
@@ -0,0 +1,153 @@
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the MIT License. See License.txt in the project root for license information.
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is regenerated.
+# ----------------------------------------------------------------------------------
+param([switch]$Isolated, [switch]$Run, [switch]$Test, [switch]$Docs, [switch]$Pack, [switch]$Code, [switch]$Release, [switch]$Debugger, [switch]$NoDocs)
+$ErrorActionPreference = 'Stop'
+
+if($PSEdition -ne 'Core') {
+ Write-Error 'This script requires PowerShell Core to execute. [Note] Generated cmdlets will work in both PowerShell Core or Windows PowerShell.'
+}
+
+if(-not $Isolated -and -not $Debugger) {
+ Write-Host -ForegroundColor Green 'Creating isolated process...'
+ $pwsh = [System.Diagnostics.Process]::GetCurrentProcess().Path
+ & "$pwsh" -NonInteractive -NoLogo -NoProfile -File $MyInvocation.MyCommand.Path @PSBoundParameters -Isolated
+
+ if($LastExitCode -ne 0) {
+ # Build failed. Don't attempt to run the module.
+ return
+ }
+
+ if($Test) {
+ . (Join-Path $PSScriptRoot 'test-module.ps1')
+ if($LastExitCode -ne 0) {
+ # Tests failed. Don't attempt to run the module.
+ return
+ }
+ }
+
+ if($Docs) {
+ . (Join-Path $PSScriptRoot 'generate-help.ps1')
+ if($LastExitCode -ne 0) {
+ # Docs generation failed. Don't attempt to run the module.
+ return
+ }
+ }
+
+ if($Pack) {
+ . (Join-Path $PSScriptRoot 'pack-module.ps1')
+ if($LastExitCode -ne 0) {
+ # Packing failed. Don't attempt to run the module.
+ return
+ }
+ }
+
+ $runModulePath = Join-Path $PSScriptRoot 'run-module.ps1'
+ if($Code) {
+ . $runModulePath -Code
+ } elseif($Run) {
+ . $runModulePath
+ } else {
+ Write-Host -ForegroundColor Cyan "To run this module in an isolated PowerShell session, run the 'run-module.ps1' script or provide the '-Run' parameter to this script."
+ }
+ return
+}
+
+$binFolder = Join-Path $PSScriptRoot 'bin'
+$objFolder = Join-Path $PSScriptRoot 'obj'
+
+if(-not $Debugger) {
+ Write-Host -ForegroundColor Green 'Cleaning build folders...'
+ $null = Remove-Item -Recurse -ErrorAction SilentlyContinue -Path $binFolder, $objFolder
+
+ if((Test-Path $binFolder) -or (Test-Path $objFolder)) {
+ Write-Host -ForegroundColor Cyan 'Did you forget to exit your isolated module session before rebuilding?'
+ Write-Error 'Unable to clean ''bin'' or ''obj'' folder. A process may have an open handle.'
+ }
+
+ Write-Host -ForegroundColor Green 'Compiling module...'
+ $buildConfig = 'Debug'
+ if($Release) {
+ $buildConfig = 'Release'
+ }
+ dotnet publish $PSScriptRoot --verbosity quiet --configuration $buildConfig /nologo
+ if($LastExitCode -ne 0) {
+ Write-Error 'Compilation failed.'
+ }
+
+ $null = Remove-Item -Recurse -ErrorAction SilentlyContinue -Path (Join-Path $binFolder 'Debug'), (Join-Path $binFolder 'Release')
+}
+
+$dll = Join-Path $PSScriptRoot 'bin/Az.Consumption.private.dll'
+if(-not (Test-Path $dll)) {
+ Write-Error "Unable to find output assembly in '$binFolder'."
+}
+
+# Load DLL to use build-time cmdlets
+$null = Import-Module -Name $dll
+
+$modulePaths = $dll
+$customPsm1 = Join-Path $PSScriptRoot 'custom/Az.Consumption.custom.psm1'
+if(Test-Path $customPsm1) {
+ $modulePaths = @($dll, $customPsm1)
+}
+
+$exportsFolder = Join-Path $PSScriptRoot 'exports'
+if(Test-Path $exportsFolder) {
+ $null = Get-ChildItem -Path $exportsFolder -Recurse -Exclude 'README.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
+}
+$null = New-Item -ItemType Directory -Force -Path $exportsFolder
+
+$internalFolder = Join-Path $PSScriptRoot 'internal'
+if(Test-Path $internalFolder) {
+ $null = Get-ChildItem -Path $internalFolder -Recurse -Exclude '*.psm1', 'README.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
+}
+$null = New-Item -ItemType Directory -Force -Path $internalFolder
+
+$psd1 = Join-Path $PSScriptRoot './Az.Consumption.psd1'
+$guid = Get-ModuleGuid -Psd1Path $psd1
+$moduleName = 'Az.Consumption'
+$examplesFolder = Join-Path $PSScriptRoot 'examples'
+$null = New-Item -ItemType Directory -Force -Path $examplesFolder
+
+Write-Host -ForegroundColor Green 'Creating cmdlets for specified models...'
+$modelCmdlets = @()
+if ($modelCmdlets.Count -gt 0) {
+ . (Join-Path $PSScriptRoot 'create-model-cmdlets.ps1')
+ CreateModelCmdlet($modelCmdlets)
+}
+
+if($NoDocs) {
+ Write-Host -ForegroundColor Green 'Creating exports...'
+ Export-ProxyCmdlet -ModuleName $moduleName -ModulePath $modulePaths -ExportsFolder $exportsFolder -InternalFolder $internalFolder -ExcludeDocs -ExamplesFolder $examplesFolder
+} else {
+ Write-Host -ForegroundColor Green 'Creating exports and docs...'
+ $moduleDescription = 'Microsoft Azure PowerShell: Consumption cmdlets'
+ $docsFolder = Join-Path $PSScriptRoot 'docs'
+ if(Test-Path $docsFolder) {
+ $null = Get-ChildItem -Path $docsFolder -Recurse -Exclude 'README.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
+ }
+ $null = New-Item -ItemType Directory -Force -Path $docsFolder
+ Export-ProxyCmdlet -ModuleName $moduleName -ModulePath $modulePaths -ExportsFolder $exportsFolder -InternalFolder $internalFolder -ModuleDescription $moduleDescription -DocsFolder $docsFolder -ExamplesFolder $examplesFolder -ModuleGuid $guid
+}
+
+Write-Host -ForegroundColor Green 'Creating format.ps1xml...'
+$formatPs1xml = Join-Path $PSScriptRoot './Az.Consumption.format.ps1xml'
+Export-FormatPs1xml -FilePath $formatPs1xml
+
+Write-Host -ForegroundColor Green 'Creating psd1...'
+$customFolder = Join-Path $PSScriptRoot 'custom'
+Export-Psd1 -ExportsFolder $exportsFolder -CustomFolder $customFolder -Psd1Path $psd1 -ModuleGuid $guid
+
+Write-Host -ForegroundColor Green 'Creating test stubs...'
+$testFolder = Join-Path $PSScriptRoot 'test'
+$null = New-Item -ItemType Directory -Force -Path $testFolder
+Export-TestStub -ModuleName $moduleName -ExportsFolder $exportsFolder -OutputFolder $testFolder
+
+Write-Host -ForegroundColor Green 'Creating example stubs...'
+Export-ExampleStub -ExportsFolder $exportsFolder -OutputFolder $examplesFolder
+
+Write-Host -ForegroundColor Green '-------------Done-------------'
diff --git a/swaggerci/consumption/check-dependencies.ps1 b/swaggerci/consumption/check-dependencies.ps1
new file mode 100644
index 000000000000..ec3055201a71
--- /dev/null
+++ b/swaggerci/consumption/check-dependencies.ps1
@@ -0,0 +1,57 @@
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the MIT License. See License.txt in the project root for license information.
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is regenerated.
+# ----------------------------------------------------------------------------------
+param([switch]$Isolated, [switch]$Accounts, [switch]$Pester, [switch]$Resources)
+$ErrorActionPreference = 'Stop'
+
+if(-not $Isolated) {
+ Write-Host -ForegroundColor Green 'Creating isolated process...'
+ $pwsh = [System.Diagnostics.Process]::GetCurrentProcess().Path
+ & "$pwsh" -NoExit -NoLogo -NoProfile -File $MyInvocation.MyCommand.Path @PSBoundParameters -Isolated
+ return
+}
+
+function DownloadModule ([bool]$predicate, [string]$path, [string]$moduleName, [string]$versionMinimum, [string]$requiredVersion) {
+ if($predicate) {
+ $module = Get-Module -ListAvailable -Name $moduleName
+ if((-not $module) -or ($versionMinimum -and ($module | ForEach-Object { $_.Version } | Where-Object { $_ -ge [System.Version]$versionMinimum } | Measure-Object).Count -eq 0) -or ($requiredVersion -and ($module | ForEach-Object { $_.Version } | Where-Object { $_ -eq [System.Version]$requiredVersion } | Measure-Object).Count -eq 0)) {
+ $null = New-Item -ItemType Directory -Force -Path $path
+ Write-Host -ForegroundColor Green "Installing local $moduleName module into '$path'..."
+ if ($requiredVersion) {
+ Find-Module -Name $moduleName -RequiredVersion $requiredVersion -Repository PSGallery | Save-Module -Path $path
+ }elseif($versionMinimum) {
+ Find-Module -Name $moduleName -MinimumVersion $versionMinimum -Repository PSGallery | Save-Module -Path $path
+ } else {
+ Find-Module -Name $moduleName -Repository PSGallery | Save-Module -Path $path
+ }
+ }
+ }
+}
+
+$ProgressPreference = 'SilentlyContinue'
+$all = (@($Accounts.IsPresent, $Pester.IsPresent) | Select-Object -Unique | Measure-Object).Count -eq 1
+
+$localModulesPath = Join-Path $PSScriptRoot 'generated/modules'
+if(Test-Path -Path $localModulesPath) {
+ $env:PSModulePath = "$localModulesPath$([IO.Path]::PathSeparator)$env:PSModulePath"
+}
+
+DownloadModule -predicate ($all -or $Accounts) -path $localModulesPath -moduleName 'Az.Accounts' -versionMinimum '2.7.5'
+DownloadModule -predicate ($all -or $Pester) -path $localModulesPath -moduleName 'Pester' -requiredVersion '4.10.1'
+
+$tools = Join-Path $PSScriptRoot 'tools'
+$resourceDir = Join-Path $tools 'Resources'
+$resourceModule = Join-Path $HOME '.PSSharedModules\Resources\Az.Resources.TestSupport.psm1'
+
+if ($Resources.IsPresent -and ((-not (Test-Path -Path $resourceModule)) -or $RegenerateSupportModule.IsPresent)) {
+ Write-Host -ForegroundColor Green "Building local Resource module used for test..."
+ Set-Location $resourceDir
+ $null = autorest .\README.md --use:@autorest/powershell@3.0.414 --output-folder=$HOME/.PSSharedModules/Resources
+ $null = Copy-Item custom/* $HOME/.PSSharedModules/Resources/custom/
+ Set-Location $HOME/.PSSharedModules/Resources
+ $null = .\build-module.ps1
+ Set-Location $PSScriptRoot
+}
diff --git a/swaggerci/consumption/create-model-cmdlets.ps1 b/swaggerci/consumption/create-model-cmdlets.ps1
new file mode 100644
index 000000000000..5720d57bfa56
--- /dev/null
+++ b/swaggerci/consumption/create-model-cmdlets.ps1
@@ -0,0 +1,163 @@
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the MIT License. See License.txt in the project root for license information.
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is regenerated.
+# ----------------------------------------------------------------------------------
+
+function CreateModelCmdlet {
+
+ param([string[]]$Models)
+
+ if ($Models.Count -eq 0)
+ {
+ return
+ }
+
+ $ModelCsPath = Join-Path (Join-Path $PSScriptRoot 'generated/api') 'Models'
+ $ModuleName = 'Consumption'
+ $OutputDir = Join-Path $PSScriptRoot 'custom/autogen-model-cmdlets'
+ $null = New-Item -ItemType Directory -Force -Path $OutputDir
+
+ $CsFiles = Get-ChildItem -Path $ModelCsPath -Recurse -Filter *.cs
+ $Content = ''
+ $null = $CsFiles | ForEach-Object -Process { if ($_.Name.Split('.').count -eq 2 )
+ { $Content += get-content $_.fullname -raw
+ } }
+
+ $Tree = [Microsoft.CodeAnalysis.CSharp.SyntaxFactory]::ParseCompilationUnit($Content)
+ $Nodes = $Tree.ChildNodes().ChildNodes()
+ foreach ($Model in $Models)
+ {
+ $InterfaceNode = $Nodes | Where-Object { ($_.Keyword.value -eq 'interface') -and ($_.Identifier.value -eq "I$Model") }
+ if ($InterfaceNode.count -eq 0) {
+ continue
+ }
+ # through a queue, we iterate all the parent models.
+ $Queue = @($InterfaceNode)
+ $visited = @("I$Model")
+ $AllInterfaceNodes = @()
+ while ($Queue.count -ne 0)
+ {
+ $AllInterfaceNodes += $Queue[0]
+ # Baselist contains the direct parent models.
+ foreach ($parent in $Queue[0].BaseList.Types)
+ {
+ if (($parent.Type.Right.Identifier.Value -ne 'IJsonSerializable') -and (-not $visited.Contains($parent.Type.Right.Identifier.Value)))
+ {
+ $Queue = [Array]$Queue + ($Nodes | Where-Object { ($_.Keyword.value -eq 'interface') -and ($_.Identifier.value -eq $parent.Type.Right.Identifier.Value) })
+ $visited = [Array]$visited + $parent.Type.Right.Identifier.Value
+ }
+ }
+ $first, $Queue = $Queue
+ }
+
+ $Namespace = $InterfaceNode.Parent.Name
+ $ObjectType = $Model
+ $ObjectTypeWithNamespace = "${Namespace}.${ObjectType}"
+ # remove duplicated module name
+ if ($ObjectType.StartsWith($ModuleName)) {
+ $ModulePrefix = ''
+ } else {
+ $ModulePrefix = $ModuleName
+ }
+ $OutputPath = Join-Path -ChildPath "New-Az${ModulePrefix}${ObjectType}Object.ps1" -Path $OutputDir
+
+ $ParameterDefineScriptList = New-Object System.Collections.Generic.List[string]
+ $ParameterAssignScriptList = New-Object System.Collections.Generic.List[string]
+ foreach ($Node in $AllInterfaceNodes)
+ {
+ foreach ($Member in $Node.Members)
+ {
+ $Arguments = $Member.AttributeLists.Attributes.ArgumentList.Arguments
+ $Required = $false
+ $Description = ""
+ $Readonly = $False
+ foreach ($Argument in $Arguments)
+ {
+ if ($Argument.NameEquals.Name.Identifier.Value -eq "Required")
+ {
+ $Required = $Argument.Expression.Token.Value
+ }
+ if ($Argument.NameEquals.Name.Identifier.Value -eq "Description")
+ {
+ $Description = $Argument.Expression.Token.Value.Trim('.').replace('"', '`"')
+ }
+ if ($Argument.NameEquals.Name.Identifier.Value -eq "Readonly")
+ {
+ $Readonly = $Argument.Expression.Token.Value
+ }
+ }
+ if ($Readonly)
+ {
+ continue
+ }
+ $Identifier = $Member.Identifier.Value
+ $Type = $Member.Type.ToString().replace('?', '').Split("::")[-1]
+ $ParameterDefinePropertyList = New-Object System.Collections.Generic.List[string]
+ if ($Required)
+ {
+ $ParameterDefinePropertyList.Add("Mandatory")
+ }
+ if ($Description -ne "")
+ {
+ $ParameterDefinePropertyList.Add("HelpMessage=`"${Description}.`"")
+ }
+ $ParameterDefineProperty = [System.String]::Join(", ", $ParameterDefinePropertyList)
+ # check whether completer is needed
+ $completer = '';
+ if($Type.Split('.').Split('.')[-2] -eq 'Support') {
+ # If Type is an array, need to strip []
+ $strippedType = $Type.Replace('[]', '')
+ $completer += "`n [ArgumentCompleter([${strippedType}])]"
+ }
+ $ParameterDefineScript = "
+ [Parameter($ParameterDefineProperty)]${completer}
+ [${Type}]
+ `$${Identifier}"
+ $ParameterDefineScriptList.Add($ParameterDefineScript)
+ $ParameterAssignScriptList.Add("
+ if (`$PSBoundParameters.ContainsKey('${Identifier}')) {
+ `$Object.${Identifier} = `$${Identifier}
+ }")
+ }
+ }
+ $ParameterDefineScript = $ParameterDefineScriptList | Join-String -Separator ","
+ $ParameterAssignScript = $ParameterAssignScriptList | Join-String -Separator ""
+
+ $Script = "
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the MIT License. See License.txt in the project root for license information.
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is regenerated.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Create an in-memory object for ${ObjectType}.
+.Description
+Create an in-memory object for ${ObjectType}.
+
+.Outputs
+${ObjectTypeWithNamespace}
+.Link
+https://docs.microsoft.com/en-us/powershell/module/az.${ModuleName}/new-Az${ModulePrefix}${ObjectType}Object
+#>
+function New-Az${ModulePrefix}${ObjectType}Object {
+ [OutputType('${ObjectTypeWithNamespace}')]
+ [CmdletBinding(PositionalBinding=`$false)]
+ Param(
+${ParameterDefineScript}
+ )
+
+ process {
+ `$Object = [${ObjectTypeWithNamespace}]::New()
+${ParameterAssignScript}
+ return `$Object
+ }
+}
+"
+ Set-Content -Path $OutputPath -Value $Script
+ }
+}
diff --git a/swaggerci/consumption/custom/Az.Consumption.custom.psm1 b/swaggerci/consumption/custom/Az.Consumption.custom.psm1
new file mode 100644
index 000000000000..19940cd27529
--- /dev/null
+++ b/swaggerci/consumption/custom/Az.Consumption.custom.psm1
@@ -0,0 +1,17 @@
+# region Generated
+ # Load the private module dll
+ $null = Import-Module -PassThru -Name (Join-Path $PSScriptRoot '../bin/Az.Consumption.private.dll')
+
+ # Load the internal module
+ $internalModulePath = Join-Path $PSScriptRoot '../internal/Az.Consumption.internal.psm1'
+ if(Test-Path $internalModulePath) {
+ $null = Import-Module -Name $internalModulePath
+ }
+
+ # Export nothing to clear implicit exports
+ Export-ModuleMember
+
+ # Export script cmdlets
+ Get-ChildItem -Path $PSScriptRoot -Recurse -Include '*.ps1' -File | ForEach-Object { . $_.FullName }
+ Export-ModuleMember -Function (Get-ScriptCmdlet -ScriptFolder $PSScriptRoot) -Alias (Get-ScriptCmdlet -ScriptFolder $PSScriptRoot -AsAlias)
+# endregion
diff --git a/swaggerci/consumption/custom/README.md b/swaggerci/consumption/custom/README.md
new file mode 100644
index 000000000000..d1ef67b69c8a
--- /dev/null
+++ b/swaggerci/consumption/custom/README.md
@@ -0,0 +1,41 @@
+# Custom
+This directory contains custom implementation for non-generated cmdlets for the `Az.Consumption` module. Both scripts (`.ps1`) and C# files (`.cs`) can be implemented here. They will be used during the build process in `build-module.ps1`, and create cmdlets into the `../exports` folder. The only generated file into this folder is the `Az.Consumption.custom.psm1`. This file should not be modified.
+
+## Info
+- Modifiable: yes
+- Generated: partial
+- Committed: yes
+- Packaged: yes
+
+## Details
+For `Az.Consumption` to use custom cmdlets, it does this two different ways. We **highly recommend** creating script cmdlets, as they are easier to write and allow access to the other exported cmdlets. C# cmdlets *cannot access exported cmdlets*.
+
+For C# cmdlets, they are compiled with the rest of the generated low-level cmdlets into the `./bin/Az.Consumption.private.dll`. The names of the cmdlets (methods) and files must follow the `[cmdletName]_[variantName]` syntax used for generated cmdlets. The `variantName` is used as the `ParameterSetName`, so use something appropriate that doesn't clash with already created variant or parameter set names. You cannot use the `ParameterSetName` property in the `Parameter` attribute on C# cmdlets. Each cmdlet must be separated into variants using the same pattern as seen in the `generated/cmdlets` folder.
+
+For script cmdlets, these are loaded via the `Az.Consumption.custom.psm1`. Then, during the build process, this module is loaded and processed in the same manner as the C# cmdlets. The fundamental difference is the script cmdlets use the `ParameterSetName` attribute and C# cmdlets do not. To create a script cmdlet variant of a generated cmdlet, simply decorate all parameters in the script with the new `ParameterSetName` in the `Parameter` attribute. This will appropriately treat each parameter set as a separate variant when processed to be exported during the build.
+
+## Purpose
+This allows the modules to have cmdlets that were not defined in the REST specification. It also allows combining logic using generated cmdlets. This is a level of customization beyond what can be done using the [readme configuration options](https://github.com/Azure/autorest/blob/master/docs/powershell/options.md) that are currently available. These custom cmdlets are then referenced by the cmdlets created at build-time in the `../exports` folder.
+
+## Usage
+The easiest way currently to start developing custom cmdlets is to copy an existing cmdlet. For C# cmdlets, copy one from the `generated/cmdlets` folder. For script cmdlets, build the project using `build-module.ps1` and copy one of the scripts from the `../exports` folder. After that, if you want to add new parameter sets, follow the guidelines in the `Details` section above. For implementing a new cmdlets, at minimum, please keep these parameters:
+- Break
+- DefaultProfile
+- HttpPipelineAppend
+- HttpPipelinePrepend
+- Proxy
+- ProxyCredential
+- ProxyUseDefaultCredentials
+
+These provide functionality to our HTTP pipeline and other useful features. In script, you can forward these parameters using `$PSBoundParameters` to the other cmdlets you're calling within `Az.Consumption`. For C#, follow the usage seen in the `ProcessRecordAsync` method.
+
+### Attributes
+For processing the cmdlets, we've created some additional attributes:
+- `Microsoft.Azure.PowerShell.Cmdlets.Consumption.DescriptionAttribute`
+ - Used in C# cmdlets to provide a high-level description of the cmdlet. This is propagated to reference documentation via [help comments](https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comment_based_help) in the exported scripts.
+- `Microsoft.Azure.PowerShell.Cmdlets.Consumption.DoNotExportAttribute`
+ - Used in C# and script cmdlets to suppress creating an exported cmdlet at build-time. These cmdlets will *not be exposed* by `Az.Consumption`.
+- `Microsoft.Azure.PowerShell.Cmdlets.Consumption.InternalExportAttribute`
+ - Used in C# cmdlets to route exported cmdlets to the `../internal`, which are *not exposed* by `Az.Consumption`. For more information, see [README.md](../internal/README.md) in the `../internal` folder.
+- `Microsoft.Azure.PowerShell.Cmdlets.Consumption.ProfileAttribute`
+ - Used in C# and script cmdlets to define which Azure profiles the cmdlet supports. This is only supported for Azure (`--azure`) modules.
\ No newline at end of file
diff --git a/swaggerci/consumption/docs/Az.Consumption.md b/swaggerci/consumption/docs/Az.Consumption.md
new file mode 100644
index 000000000000..1c794de580bc
--- /dev/null
+++ b/swaggerci/consumption/docs/Az.Consumption.md
@@ -0,0 +1,88 @@
+---
+Module Name: Az.Consumption
+Module Guid: d69ac069-c210-4d4a-bd87-0d16642075b1
+Download Help Link: https://docs.microsoft.com/en-us/powershell/module/az.consumption
+Help Version: 1.0.0.0
+Locale: en-US
+---
+
+# Az.Consumption Module
+## Description
+Microsoft Azure PowerShell: Consumption cmdlets
+
+## Az.Consumption Cmdlets
+### [Get-AzConsumptionAggregatedCost](Get-AzConsumptionAggregatedCost.md)
+Provides the aggregate cost of a management group and all child management groups by current billing period.
+
+### [Get-AzConsumptionBalance](Get-AzConsumptionBalance.md)
+Gets the balances for a scope by billingAccountId.
+Balances are available via this API only for May 1, 2014 or later.
+
+### [Get-AzConsumptionBudget](Get-AzConsumptionBudget.md)
+Gets the budget for the scope by budget name.
+
+### [Get-AzConsumptionCharge](Get-AzConsumptionCharge.md)
+Lists the charges based for the defined scope.
+
+### [Get-AzConsumptionCredit](Get-AzConsumptionCredit.md)
+The credit summary by billingAccountId and billingProfileId.
+
+### [Get-AzConsumptionEvent](Get-AzConsumptionEvent.md)
+Lists the events that decrements Azure credits or Microsoft Azure consumption commitment for a billing account or a billing profile for a given start and end date.
+
+### [Get-AzConsumptionLot](Get-AzConsumptionLot.md)
+Lists all Azure credits for a billing account or a billing profile.
+The API is only supported for Microsoft Customer Agreements (MCA) billing accounts.
+
+### [Get-AzConsumptionMarketplace](Get-AzConsumptionMarketplace.md)
+Lists the marketplaces for a scope at the defined scope.
+Marketplaces are available via this API only for May 1, 2014 or later.
+
+### [Get-AzConsumptionPriceSheet](Get-AzConsumptionPriceSheet.md)
+Gets the price sheet for a subscription.
+Price sheet is available via this API only for May 1, 2014 or later.
+
+### [Get-AzConsumptionReservationDetail](Get-AzConsumptionReservationDetail.md)
+Lists the reservations details for provided date range.
+Note: ARM has a payload size limit of 12MB, so currently callers get 502 when the response size exceeds the ARM limit.
+In such cases, API call should be made with smaller date ranges.
+
+### [Get-AzConsumptionReservationRecommendation](Get-AzConsumptionReservationRecommendation.md)
+List of recommendations for purchasing reserved instances.
+
+### [Get-AzConsumptionReservationRecommendationDetail](Get-AzConsumptionReservationRecommendationDetail.md)
+Details of a reservation recommendation for what-if analysis of reserved instances.
+
+### [Get-AzConsumptionReservationsDetail](Get-AzConsumptionReservationsDetail.md)
+Lists the reservations details for the defined scope and provided date range.
+Note: ARM has a payload size limit of 12MB, so currently callers get 502 when the response size exceeds the ARM limit.
+In such cases, API call should be made with smaller date ranges.
+
+### [Get-AzConsumptionReservationsSummary](Get-AzConsumptionReservationsSummary.md)
+Lists the reservations summaries for the defined scope daily or monthly grain.
+
+### [Get-AzConsumptionReservationSummary](Get-AzConsumptionReservationSummary.md)
+Lists the reservations summaries for daily or monthly grain.
+
+### [Get-AzConsumptionReservationTransaction](Get-AzConsumptionReservationTransaction.md)
+List of transactions for reserved instances on billing account scope.
+Note: The refund transactions are posted along with its purchase transaction (i.e.
+in the purchase billing month).
+For example, The refund is requested in May 2021.
+This refund transaction will have event date as May 2021 but the billing month as April 2020 when the reservation purchase was made.
+
+### [Get-AzConsumptionTag](Get-AzConsumptionTag.md)
+Get all available tag keys for the defined scope
+
+### [Get-AzConsumptionUsageDetail](Get-AzConsumptionUsageDetail.md)
+Lists the usage details for the defined scope.
+Usage details are available via this API only for May 1, 2014 or later.
+
+### [New-AzConsumptionBudget](New-AzConsumptionBudget.md)
+The operation to create or update a budget.
+You can optionally provide an eTag if desired as a form of concurrency control.
+To obtain the latest eTag for a given budget, perform a get operation prior to your put operation.
+
+### [Remove-AzConsumptionBudget](Remove-AzConsumptionBudget.md)
+The operation to delete a budget.
+
diff --git a/swaggerci/consumption/docs/Get-AzConsumptionAggregatedCost.md b/swaggerci/consumption/docs/Get-AzConsumptionAggregatedCost.md
new file mode 100644
index 000000000000..1f91161e7151
--- /dev/null
+++ b/swaggerci/consumption/docs/Get-AzConsumptionAggregatedCost.md
@@ -0,0 +1,182 @@
+---
+external help file:
+Module Name: Az.Consumption
+online version: https://docs.microsoft.com/en-us/powershell/module/az.consumption/get-azconsumptionaggregatedcost
+schema: 2.0.0
+---
+
+# Get-AzConsumptionAggregatedCost
+
+## SYNOPSIS
+Provides the aggregate cost of a management group and all child management groups by current billing period.
+
+## SYNTAX
+
+### Get (Default)
+```
+Get-AzConsumptionAggregatedCost -ManagementGroupId [-Filter ] [-DefaultProfile ]
+ []
+```
+
+### Get1
+```
+Get-AzConsumptionAggregatedCost -BillingPeriodName -ManagementGroupId
+ [-DefaultProfile ] []
+```
+
+### GetViaIdentity
+```
+Get-AzConsumptionAggregatedCost -InputObject [-Filter ]
+ [-DefaultProfile ] []
+```
+
+### GetViaIdentity1
+```
+Get-AzConsumptionAggregatedCost -InputObject [-DefaultProfile ]
+ []
+```
+
+## DESCRIPTION
+Provides the aggregate cost of a management group and all child management groups by current billing period.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -BillingPeriodName
+Billing Period Name.
+
+```yaml
+Type: System.String
+Parameter Sets: Get1
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Filter
+May be used to filter aggregated cost by properties/usageStart (Utc time), properties/usageEnd (Utc time).
+The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'.
+It does not currently support 'ne', 'or', or 'not'.
+Tag filter is a key value pair string where key and value is separated by a colon (:).
+
+```yaml
+Type: System.String
+Parameter Sets: Get, GetViaIdentity
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.IConsumptionIdentity
+Parameter Sets: GetViaIdentity, GetViaIdentity1
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -ManagementGroupId
+Azure Management Group ID.
+
+```yaml
+Type: System.String
+Parameter Sets: Get, Get1
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.IConsumptionIdentity
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.IManagementGroupAggregatedCostResult
+
+## NOTES
+
+ALIASES
+
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+
+`INPUTOBJECT `: Identity Parameter
+ - `[BillingAccountId ]`: BillingAccount ID
+ - `[BillingPeriodName ]`: Billing Period Name.
+ - `[BillingProfileId ]`: Azure Billing Profile ID.
+ - `[BudgetName ]`: Budget Name.
+ - `[CustomerId ]`: Customer ID
+ - `[Id ]`: Resource identity path
+ - `[ManagementGroupId ]`: Azure Management Group ID.
+ - `[ReservationId ]`: Id of the reservation
+ - `[ReservationOrderId ]`: Order Id of the reservation
+ - `[ResourceScope ]`: The scope associated with reservations summaries operations. This includes '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for BillingAccount scope (legacy), and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope (modern).
+ - `[Scope ]`: The scope associated with usage details operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope. For subscription, billing account, department, enrollment account and management group, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. Also, Modern Commerce Account scopes are '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for billingAccount scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope, and 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specific for partners.
+ - `[SubscriptionId ]`: Azure Subscription ID.
+
+## RELATED LINKS
+
diff --git a/swaggerci/consumption/docs/Get-AzConsumptionBalance.md b/swaggerci/consumption/docs/Get-AzConsumptionBalance.md
new file mode 100644
index 000000000000..9201a72c22c3
--- /dev/null
+++ b/swaggerci/consumption/docs/Get-AzConsumptionBalance.md
@@ -0,0 +1,163 @@
+---
+external help file:
+Module Name: Az.Consumption
+online version: https://docs.microsoft.com/en-us/powershell/module/az.consumption/get-azconsumptionbalance
+schema: 2.0.0
+---
+
+# Get-AzConsumptionBalance
+
+## SYNOPSIS
+Gets the balances for a scope by billingAccountId.
+Balances are available via this API only for May 1, 2014 or later.
+
+## SYNTAX
+
+### Get (Default)
+```
+Get-AzConsumptionBalance -BillingAccountId [-DefaultProfile ] []
+```
+
+### Get1
+```
+Get-AzConsumptionBalance -BillingAccountId -BillingPeriodName [-DefaultProfile ]
+ []
+```
+
+### GetViaIdentity
+```
+Get-AzConsumptionBalance -InputObject [-DefaultProfile ] []
+```
+
+### GetViaIdentity1
+```
+Get-AzConsumptionBalance -InputObject [-DefaultProfile ] []
+```
+
+## DESCRIPTION
+Gets the balances for a scope by billingAccountId.
+Balances are available via this API only for May 1, 2014 or later.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -BillingAccountId
+BillingAccount ID
+
+```yaml
+Type: System.String
+Parameter Sets: Get, Get1
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -BillingPeriodName
+Billing Period Name.
+
+```yaml
+Type: System.String
+Parameter Sets: Get1
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.IConsumptionIdentity
+Parameter Sets: GetViaIdentity, GetViaIdentity1
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.IConsumptionIdentity
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.IBalance
+
+## NOTES
+
+ALIASES
+
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+
+`INPUTOBJECT `: Identity Parameter
+ - `[BillingAccountId ]`: BillingAccount ID
+ - `[BillingPeriodName ]`: Billing Period Name.
+ - `[BillingProfileId ]`: Azure Billing Profile ID.
+ - `[BudgetName ]`: Budget Name.
+ - `[CustomerId ]`: Customer ID
+ - `[Id ]`: Resource identity path
+ - `[ManagementGroupId ]`: Azure Management Group ID.
+ - `[ReservationId ]`: Id of the reservation
+ - `[ReservationOrderId ]`: Order Id of the reservation
+ - `[ResourceScope ]`: The scope associated with reservations summaries operations. This includes '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for BillingAccount scope (legacy), and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope (modern).
+ - `[Scope ]`: The scope associated with usage details operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope. For subscription, billing account, department, enrollment account and management group, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. Also, Modern Commerce Account scopes are '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for billingAccount scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope, and 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specific for partners.
+ - `[SubscriptionId ]`: Azure Subscription ID.
+
+## RELATED LINKS
+
diff --git a/swaggerci/consumption/docs/Get-AzConsumptionBudget.md b/swaggerci/consumption/docs/Get-AzConsumptionBudget.md
new file mode 100644
index 000000000000..8d3098921a06
--- /dev/null
+++ b/swaggerci/consumption/docs/Get-AzConsumptionBudget.md
@@ -0,0 +1,156 @@
+---
+external help file:
+Module Name: Az.Consumption
+online version: https://docs.microsoft.com/en-us/powershell/module/az.consumption/get-azconsumptionbudget
+schema: 2.0.0
+---
+
+# Get-AzConsumptionBudget
+
+## SYNOPSIS
+Gets the budget for the scope by budget name.
+
+## SYNTAX
+
+### List (Default)
+```
+Get-AzConsumptionBudget -Scope [-DefaultProfile ] []
+```
+
+### Get
+```
+Get-AzConsumptionBudget -Name -Scope [-DefaultProfile ] []
+```
+
+### GetViaIdentity
+```
+Get-AzConsumptionBudget -InputObject [-DefaultProfile ] []
+```
+
+## DESCRIPTION
+Gets the budget for the scope by budget name.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.IConsumptionIdentity
+Parameter Sets: GetViaIdentity
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -Name
+Budget Name.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases: BudgetName
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Scope
+The scope associated with budget operations.
+This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope.
+
+```yaml
+Type: System.String
+Parameter Sets: Get, List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.IConsumptionIdentity
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.IBudget
+
+## NOTES
+
+ALIASES
+
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+
+`INPUTOBJECT `: Identity Parameter
+ - `[BillingAccountId ]`: BillingAccount ID
+ - `[BillingPeriodName ]`: Billing Period Name.
+ - `[BillingProfileId ]`: Azure Billing Profile ID.
+ - `[BudgetName ]`: Budget Name.
+ - `[CustomerId ]`: Customer ID
+ - `[Id ]`: Resource identity path
+ - `[ManagementGroupId ]`: Azure Management Group ID.
+ - `[ReservationId ]`: Id of the reservation
+ - `[ReservationOrderId ]`: Order Id of the reservation
+ - `[ResourceScope ]`: The scope associated with reservations summaries operations. This includes '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for BillingAccount scope (legacy), and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope (modern).
+ - `[Scope ]`: The scope associated with usage details operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope. For subscription, billing account, department, enrollment account and management group, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. Also, Modern Commerce Account scopes are '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for billingAccount scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope, and 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specific for partners.
+ - `[SubscriptionId ]`: Azure Subscription ID.
+
+## RELATED LINKS
+
diff --git a/swaggerci/consumption/docs/Get-AzConsumptionCharge.md b/swaggerci/consumption/docs/Get-AzConsumptionCharge.md
new file mode 100644
index 000000000000..8d17fc15ab1f
--- /dev/null
+++ b/swaggerci/consumption/docs/Get-AzConsumptionCharge.md
@@ -0,0 +1,161 @@
+---
+external help file:
+Module Name: Az.Consumption
+online version: https://docs.microsoft.com/en-us/powershell/module/az.consumption/get-azconsumptioncharge
+schema: 2.0.0
+---
+
+# Get-AzConsumptionCharge
+
+## SYNOPSIS
+Lists the charges based for the defined scope.
+
+## SYNTAX
+
+```
+Get-AzConsumptionCharge -Scope [-Apply ] [-EndDate ] [-Filter ]
+ [-StartDate ] [-DefaultProfile ] []
+```
+
+## DESCRIPTION
+Lists the charges based for the defined scope.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -Apply
+May be used to group charges for billingAccount scope by properties/billingProfileId, properties/invoiceSectionId, properties/customerId (specific for Partner Led), or for billingProfile scope by properties/invoiceSectionId.
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -EndDate
+End date
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Filter
+May be used to filter charges by properties/usageEnd (Utc time), properties/usageStart (Utc time).
+The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'.
+It does not currently support 'ne', 'or', or 'not'.
+Tag filter is a key value pair string where key and value is separated by a colon (:).
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Scope
+The scope associated with charges operations.
+This includes '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope.
+For department and enrollment accounts, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'.
+For e.g.
+to specify billing period at department scope use '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'.
+Also, Modern Commerce Account scopes are '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for billingAccount scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope, and 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specific for partners.
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -StartDate
+Start date
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.IChargeSummary
+
+## NOTES
+
+ALIASES
+
+## RELATED LINKS
+
diff --git a/swaggerci/consumption/docs/Get-AzConsumptionCredit.md b/swaggerci/consumption/docs/Get-AzConsumptionCredit.md
new file mode 100644
index 000000000000..116ae326dfed
--- /dev/null
+++ b/swaggerci/consumption/docs/Get-AzConsumptionCredit.md
@@ -0,0 +1,167 @@
+---
+external help file:
+Module Name: Az.Consumption
+online version: https://docs.microsoft.com/en-us/powershell/module/az.consumption/get-azconsumptioncredit
+schema: 2.0.0
+---
+
+# Get-AzConsumptionCredit
+
+## SYNOPSIS
+The credit summary by billingAccountId and billingProfileId.
+
+## SYNTAX
+
+### Get (Default)
+```
+Get-AzConsumptionCredit -BillingAccountId -BillingProfileId [-DefaultProfile ]
+ [-PassThru] []
+```
+
+### GetViaIdentity
+```
+Get-AzConsumptionCredit -InputObject [-DefaultProfile ] [-PassThru]
+ []
+```
+
+## DESCRIPTION
+The credit summary by billingAccountId and billingProfileId.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -BillingAccountId
+BillingAccount ID
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -BillingProfileId
+Azure Billing Profile ID.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.IConsumptionIdentity
+Parameter Sets: GetViaIdentity
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -PassThru
+Returns true when the command succeeds
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.IConsumptionIdentity
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ICreditSummary
+
+## NOTES
+
+ALIASES
+
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+
+`INPUTOBJECT `: Identity Parameter
+ - `[BillingAccountId ]`: BillingAccount ID
+ - `[BillingPeriodName ]`: Billing Period Name.
+ - `[BillingProfileId ]`: Azure Billing Profile ID.
+ - `[BudgetName ]`: Budget Name.
+ - `[CustomerId ]`: Customer ID
+ - `[Id ]`: Resource identity path
+ - `[ManagementGroupId ]`: Azure Management Group ID.
+ - `[ReservationId ]`: Id of the reservation
+ - `[ReservationOrderId ]`: Order Id of the reservation
+ - `[ResourceScope ]`: The scope associated with reservations summaries operations. This includes '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for BillingAccount scope (legacy), and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope (modern).
+ - `[Scope ]`: The scope associated with usage details operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope. For subscription, billing account, department, enrollment account and management group, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. Also, Modern Commerce Account scopes are '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for billingAccount scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope, and 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specific for partners.
+ - `[SubscriptionId ]`: Azure Subscription ID.
+
+## RELATED LINKS
+
diff --git a/swaggerci/consumption/docs/Get-AzConsumptionEvent.md b/swaggerci/consumption/docs/Get-AzConsumptionEvent.md
new file mode 100644
index 000000000000..f4ecda2b4cd3
--- /dev/null
+++ b/swaggerci/consumption/docs/Get-AzConsumptionEvent.md
@@ -0,0 +1,163 @@
+---
+external help file:
+Module Name: Az.Consumption
+online version: https://docs.microsoft.com/en-us/powershell/module/az.consumption/get-azconsumptionevent
+schema: 2.0.0
+---
+
+# Get-AzConsumptionEvent
+
+## SYNOPSIS
+Lists the events that decrements Azure credits or Microsoft Azure consumption commitment for a billing account or a billing profile for a given start and end date.
+
+## SYNTAX
+
+### List1 (Default)
+```
+Get-AzConsumptionEvent -BillingAccountId [-Filter ] [-DefaultProfile ]
+ []
+```
+
+### List
+```
+Get-AzConsumptionEvent -BillingAccountId -BillingProfileId -EndDate
+ -StartDate [-DefaultProfile ] []
+```
+
+## DESCRIPTION
+Lists the events that decrements Azure credits or Microsoft Azure consumption commitment for a billing account or a billing profile for a given start and end date.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -BillingAccountId
+BillingAccount ID
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -BillingProfileId
+Azure Billing Profile ID.
+
+```yaml
+Type: System.String
+Parameter Sets: List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -EndDate
+End date
+
+```yaml
+Type: System.String
+Parameter Sets: List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Filter
+May be used to filter the events by lotId, lotSource etc.
+The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'.
+It does not currently support 'ne', 'or', or 'not'.
+Tag filter is a key value pair string where key and value is separated by a colon (:).
+
+```yaml
+Type: System.String
+Parameter Sets: List1
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -StartDate
+Start date
+
+```yaml
+Type: System.String
+Parameter Sets: List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.IEventSummary
+
+## NOTES
+
+ALIASES
+
+## RELATED LINKS
+
diff --git a/swaggerci/consumption/docs/Get-AzConsumptionLot.md b/swaggerci/consumption/docs/Get-AzConsumptionLot.md
new file mode 100644
index 000000000000..fa46eb007568
--- /dev/null
+++ b/swaggerci/consumption/docs/Get-AzConsumptionLot.md
@@ -0,0 +1,156 @@
+---
+external help file:
+Module Name: Az.Consumption
+online version: https://docs.microsoft.com/en-us/powershell/module/az.consumption/get-azconsumptionlot
+schema: 2.0.0
+---
+
+# Get-AzConsumptionLot
+
+## SYNOPSIS
+Lists all Azure credits for a billing account or a billing profile.
+The API is only supported for Microsoft Customer Agreements (MCA) billing accounts.
+
+## SYNTAX
+
+### List1 (Default)
+```
+Get-AzConsumptionLot -BillingAccountId [-Filter ] [-DefaultProfile ]
+ []
+```
+
+### List
+```
+Get-AzConsumptionLot -BillingAccountId -BillingProfileId [-DefaultProfile ]
+ []
+```
+
+### List2
+```
+Get-AzConsumptionLot -BillingAccountId -CustomerId [-Filter ]
+ [-DefaultProfile ] []
+```
+
+## DESCRIPTION
+Lists all Azure credits for a billing account or a billing profile.
+The API is only supported for Microsoft Customer Agreements (MCA) billing accounts.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -BillingAccountId
+BillingAccount ID
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -BillingProfileId
+Azure Billing Profile ID.
+
+```yaml
+Type: System.String
+Parameter Sets: List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -CustomerId
+Customer ID
+
+```yaml
+Type: System.String
+Parameter Sets: List2
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Filter
+May be used to filter the lots by Status, Source etc.
+The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'.
+It does not currently support 'ne', 'or', or 'not'.
+Tag filter is a key value pair string where key and value is separated by a colon (:).
+
+```yaml
+Type: System.String
+Parameter Sets: List1, List2
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.ILotSummary
+
+## NOTES
+
+ALIASES
+
+## RELATED LINKS
+
diff --git a/swaggerci/consumption/docs/Get-AzConsumptionMarketplace.md b/swaggerci/consumption/docs/Get-AzConsumptionMarketplace.md
new file mode 100644
index 000000000000..5ffa3e77fb12
--- /dev/null
+++ b/swaggerci/consumption/docs/Get-AzConsumptionMarketplace.md
@@ -0,0 +1,162 @@
+---
+external help file:
+Module Name: Az.Consumption
+online version: https://docs.microsoft.com/en-us/powershell/module/az.consumption/get-azconsumptionmarketplace
+schema: 2.0.0
+---
+
+# Get-AzConsumptionMarketplace
+
+## SYNOPSIS
+Lists the marketplaces for a scope at the defined scope.
+Marketplaces are available via this API only for May 1, 2014 or later.
+
+## SYNTAX
+
+```
+Get-AzConsumptionMarketplace -Scope [-Filter ] [-Skiptoken ] [-Top ]
+ [-DefaultProfile ] [-PassThru] []
+```
+
+## DESCRIPTION
+Lists the marketplaces for a scope at the defined scope.
+Marketplaces are available via this API only for May 1, 2014 or later.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Filter
+May be used to filter marketplaces by properties/usageEnd (Utc time), properties/usageStart (Utc time), properties/resourceGroup, properties/instanceName or properties/instanceId.
+The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'.
+It does not currently support 'ne', 'or', or 'not'.
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -PassThru
+Returns true when the command succeeds
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Scope
+The scope associated with marketplace operations.
+This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope.
+For subscription, billing account, department, enrollment account and ManagementGroup, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'.
+For e.g.
+to specify billing period at department scope use '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Skiptoken
+Skiptoken is only used if a previous operation returned a partial result.
+If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Top
+May be used to limit the number of results to the most recent N marketplaces.
+
+```yaml
+Type: System.Int32
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.IMarketplace
+
+## NOTES
+
+ALIASES
+
+## RELATED LINKS
+
diff --git a/swaggerci/consumption/docs/Get-AzConsumptionPriceSheet.md b/swaggerci/consumption/docs/Get-AzConsumptionPriceSheet.md
new file mode 100644
index 000000000000..38bec5d1f8a8
--- /dev/null
+++ b/swaggerci/consumption/docs/Get-AzConsumptionPriceSheet.md
@@ -0,0 +1,213 @@
+---
+external help file:
+Module Name: Az.Consumption
+online version: https://docs.microsoft.com/en-us/powershell/module/az.consumption/get-azconsumptionpricesheet
+schema: 2.0.0
+---
+
+# Get-AzConsumptionPriceSheet
+
+## SYNOPSIS
+Gets the price sheet for a subscription.
+Price sheet is available via this API only for May 1, 2014 or later.
+
+## SYNTAX
+
+### Get (Default)
+```
+Get-AzConsumptionPriceSheet [-SubscriptionId ] [-Expand ] [-Skiptoken ]
+ [-Top ] [-DefaultProfile ] []
+```
+
+### Get1
+```
+Get-AzConsumptionPriceSheet -BillingPeriodName [-SubscriptionId ] [-Expand ]
+ [-Skiptoken ] [-Top ] [-DefaultProfile ] []
+```
+
+### GetViaIdentity
+```
+Get-AzConsumptionPriceSheet -InputObject [-Expand ] [-Skiptoken ]
+ [-Top ] [-DefaultProfile ] []
+```
+
+### GetViaIdentity1
+```
+Get-AzConsumptionPriceSheet -InputObject [-Expand ] [-Skiptoken ]
+ [-Top ] [-DefaultProfile ] []
+```
+
+## DESCRIPTION
+Gets the price sheet for a subscription.
+Price sheet is available via this API only for May 1, 2014 or later.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -BillingPeriodName
+Billing Period Name.
+
+```yaml
+Type: System.String
+Parameter Sets: Get1
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Expand
+May be used to expand the properties/meterDetails within a price sheet.
+By default, these fields are not included when returning price sheet.
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.IConsumptionIdentity
+Parameter Sets: GetViaIdentity, GetViaIdentity1
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -Skiptoken
+Skiptoken is only used if a previous operation returned a partial result.
+If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+Azure Subscription ID.
+
+```yaml
+Type: System.String[]
+Parameter Sets: Get, Get1
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Top
+May be used to limit the number of results to the top N results.
+
+```yaml
+Type: System.Int32
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.IConsumptionIdentity
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.IPriceSheetResult
+
+## NOTES
+
+ALIASES
+
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+
+`INPUTOBJECT `: Identity Parameter
+ - `[BillingAccountId ]`: BillingAccount ID
+ - `[BillingPeriodName ]`: Billing Period Name.
+ - `[BillingProfileId ]`: Azure Billing Profile ID.
+ - `[BudgetName ]`: Budget Name.
+ - `[CustomerId ]`: Customer ID
+ - `[Id ]`: Resource identity path
+ - `[ManagementGroupId ]`: Azure Management Group ID.
+ - `[ReservationId ]`: Id of the reservation
+ - `[ReservationOrderId ]`: Order Id of the reservation
+ - `[ResourceScope ]`: The scope associated with reservations summaries operations. This includes '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for BillingAccount scope (legacy), and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope (modern).
+ - `[Scope ]`: The scope associated with usage details operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope. For subscription, billing account, department, enrollment account and management group, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. Also, Modern Commerce Account scopes are '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for billingAccount scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope, and 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specific for partners.
+ - `[SubscriptionId ]`: Azure Subscription ID.
+
+## RELATED LINKS
+
diff --git a/swaggerci/consumption/docs/Get-AzConsumptionReservationDetail.md b/swaggerci/consumption/docs/Get-AzConsumptionReservationDetail.md
new file mode 100644
index 000000000000..900f5164d9d5
--- /dev/null
+++ b/swaggerci/consumption/docs/Get-AzConsumptionReservationDetail.md
@@ -0,0 +1,136 @@
+---
+external help file:
+Module Name: Az.Consumption
+online version: https://docs.microsoft.com/en-us/powershell/module/az.consumption/get-azconsumptionreservationdetail
+schema: 2.0.0
+---
+
+# Get-AzConsumptionReservationDetail
+
+## SYNOPSIS
+Lists the reservations details for provided date range.
+Note: ARM has a payload size limit of 12MB, so currently callers get 502 when the response size exceeds the ARM limit.
+In such cases, API call should be made with smaller date ranges.
+
+## SYNTAX
+
+### List (Default)
+```
+Get-AzConsumptionReservationDetail -ReservationOrderId -Filter [-DefaultProfile ]
+ []
+```
+
+### List1
+```
+Get-AzConsumptionReservationDetail -ReservationId -ReservationOrderId -Filter
+ [-DefaultProfile ] []
+```
+
+## DESCRIPTION
+Lists the reservations details for provided date range.
+Note: ARM has a payload size limit of 12MB, so currently callers get 502 when the response size exceeds the ARM limit.
+In such cases, API call should be made with smaller date ranges.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Filter
+Filter reservation details by date range.
+The properties/UsageDate for start date and end date.
+The filter supports 'le' and 'ge'
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ReservationId
+Id of the reservation
+
+```yaml
+Type: System.String
+Parameter Sets: List1
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ReservationOrderId
+Order Id of the reservation
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.IReservationDetail
+
+## NOTES
+
+ALIASES
+
+## RELATED LINKS
+
diff --git a/swaggerci/consumption/docs/Get-AzConsumptionReservationRecommendation.md b/swaggerci/consumption/docs/Get-AzConsumptionReservationRecommendation.md
new file mode 100644
index 000000000000..e22c781e972e
--- /dev/null
+++ b/swaggerci/consumption/docs/Get-AzConsumptionReservationRecommendation.md
@@ -0,0 +1,124 @@
+---
+external help file:
+Module Name: Az.Consumption
+online version: https://docs.microsoft.com/en-us/powershell/module/az.consumption/get-azconsumptionreservationrecommendation
+schema: 2.0.0
+---
+
+# Get-AzConsumptionReservationRecommendation
+
+## SYNOPSIS
+List of recommendations for purchasing reserved instances.
+
+## SYNTAX
+
+```
+Get-AzConsumptionReservationRecommendation -ResourceScope [-Filter ]
+ [-DefaultProfile ] [-PassThru] []
+```
+
+## DESCRIPTION
+List of recommendations for purchasing reserved instances.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Filter
+May be used to filter reservationRecommendations by: properties/scope with allowed values ['Single', 'Shared'] and default value 'Single'; properties/resourceType with allowed values ['VirtualMachines', 'SQLDatabases', 'PostgreSQL', 'ManagedDisk', 'MySQL', 'RedHat', 'MariaDB', 'RedisCache', 'CosmosDB', 'SqlDataWarehouse', 'SUSELinux', 'AppService', 'BlockBlob', 'AzureDataExplorer', 'VMwareCloudSimple'] and default value 'VirtualMachines'; and properties/lookBackPeriod with allowed values ['Last7Days', 'Last30Days', 'Last60Days'] and default value 'Last7Days'.
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -PassThru
+Returns true when the command succeeds
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ResourceScope
+The scope associated with reservation recommendations operations.
+This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resource group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for BillingAccount scope, and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.IReservationRecommendation
+
+## NOTES
+
+ALIASES
+
+## RELATED LINKS
+
diff --git a/swaggerci/consumption/docs/Get-AzConsumptionReservationRecommendationDetail.md b/swaggerci/consumption/docs/Get-AzConsumptionReservationRecommendationDetail.md
new file mode 100644
index 000000000000..527035d1e68a
--- /dev/null
+++ b/swaggerci/consumption/docs/Get-AzConsumptionReservationRecommendationDetail.md
@@ -0,0 +1,231 @@
+---
+external help file:
+Module Name: Az.Consumption
+online version: https://docs.microsoft.com/en-us/powershell/module/az.consumption/get-azconsumptionreservationrecommendationdetail
+schema: 2.0.0
+---
+
+# Get-AzConsumptionReservationRecommendationDetail
+
+## SYNOPSIS
+Details of a reservation recommendation for what-if analysis of reserved instances.
+
+## SYNTAX
+
+### Get (Default)
+```
+Get-AzConsumptionReservationRecommendationDetail -ResourceScope -LookBackPeriod
+ -Product -Region -Scope -Term [-DefaultProfile ] [-PassThru]
+ []
+```
+
+### GetViaIdentity
+```
+Get-AzConsumptionReservationRecommendationDetail -InputObject
+ -LookBackPeriod -Product -Region -Scope -Term
+ [-DefaultProfile ] [-PassThru] []
+```
+
+## DESCRIPTION
+Details of a reservation recommendation for what-if analysis of reserved instances.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.IConsumptionIdentity
+Parameter Sets: GetViaIdentity
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -LookBackPeriod
+Filter the time period on which reservation recommendation results are based.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.Consumption.Support.LookBackPeriod
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -PassThru
+Returns true when the command succeeds
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Product
+Filter the products for which reservation recommendation results are generated.
+Examples: Standard_DS1_v2 (for VM), Premium_SSD_Managed_Disks_P30 (for Managed Disks)
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Region
+Used to select the region the recommendation should be generated for.
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ResourceScope
+The scope associated with reservation recommendation details operations.
+This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resource group scope, /providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for BillingAccount scope, and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Scope
+Scope of the reservation.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.Consumption.Support.Scope
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Term
+Specify length of reservation recommendation term.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.Consumption.Support.Term
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.IConsumptionIdentity
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.IReservationRecommendationDetailsModel
+
+## NOTES
+
+ALIASES
+
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+
+`INPUTOBJECT `: Identity Parameter
+ - `[BillingAccountId ]`: BillingAccount ID
+ - `[BillingPeriodName ]`: Billing Period Name.
+ - `[BillingProfileId ]`: Azure Billing Profile ID.
+ - `[BudgetName ]`: Budget Name.
+ - `[CustomerId ]`: Customer ID
+ - `[Id ]`: Resource identity path
+ - `[ManagementGroupId ]`: Azure Management Group ID.
+ - `[ReservationId ]`: Id of the reservation
+ - `[ReservationOrderId ]`: Order Id of the reservation
+ - `[ResourceScope ]`: The scope associated with reservations summaries operations. This includes '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for BillingAccount scope (legacy), and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope (modern).
+ - `[Scope ]`: The scope associated with usage details operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope. For subscription, billing account, department, enrollment account and management group, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. Also, Modern Commerce Account scopes are '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for billingAccount scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope, and 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specific for partners.
+ - `[SubscriptionId ]`: Azure Subscription ID.
+
+## RELATED LINKS
+
diff --git a/swaggerci/consumption/docs/Get-AzConsumptionReservationSummary.md b/swaggerci/consumption/docs/Get-AzConsumptionReservationSummary.md
new file mode 100644
index 000000000000..70df6861c864
--- /dev/null
+++ b/swaggerci/consumption/docs/Get-AzConsumptionReservationSummary.md
@@ -0,0 +1,147 @@
+---
+external help file:
+Module Name: Az.Consumption
+online version: https://docs.microsoft.com/en-us/powershell/module/az.consumption/get-azconsumptionreservationsummary
+schema: 2.0.0
+---
+
+# Get-AzConsumptionReservationSummary
+
+## SYNOPSIS
+Lists the reservations summaries for daily or monthly grain.
+
+## SYNTAX
+
+### List (Default)
+```
+Get-AzConsumptionReservationSummary -ReservationOrderId -Grain [-Filter ]
+ [-DefaultProfile ] []
+```
+
+### List1
+```
+Get-AzConsumptionReservationSummary -ReservationId -ReservationOrderId -Grain
+ [-Filter ] [-DefaultProfile ] []
+```
+
+## DESCRIPTION
+Lists the reservations summaries for daily or monthly grain.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Filter
+Required only for daily grain.
+The properties/UsageDate for start date and end date.
+The filter supports 'le' and 'ge'
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Grain
+Can be daily or monthly
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.Consumption.Support.Datagrain
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ReservationId
+Id of the reservation
+
+```yaml
+Type: System.String
+Parameter Sets: List1
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ReservationOrderId
+Order Id of the reservation
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.IReservationSummary
+
+## NOTES
+
+ALIASES
+
+## RELATED LINKS
+
diff --git a/swaggerci/consumption/docs/Get-AzConsumptionReservationTransaction.md b/swaggerci/consumption/docs/Get-AzConsumptionReservationTransaction.md
new file mode 100644
index 000000000000..719ae30e5f24
--- /dev/null
+++ b/swaggerci/consumption/docs/Get-AzConsumptionReservationTransaction.md
@@ -0,0 +1,145 @@
+---
+external help file:
+Module Name: Az.Consumption
+online version: https://docs.microsoft.com/en-us/powershell/module/az.consumption/get-azconsumptionreservationtransaction
+schema: 2.0.0
+---
+
+# Get-AzConsumptionReservationTransaction
+
+## SYNOPSIS
+List of transactions for reserved instances on billing account scope.
+Note: The refund transactions are posted along with its purchase transaction (i.e.
+in the purchase billing month).
+For example, The refund is requested in May 2021.
+This refund transaction will have event date as May 2021 but the billing month as April 2020 when the reservation purchase was made.
+
+## SYNTAX
+
+### List (Default)
+```
+Get-AzConsumptionReservationTransaction -BillingAccountId [-Filter ]
+ [-DefaultProfile ] []
+```
+
+### List1
+```
+Get-AzConsumptionReservationTransaction -BillingAccountId -BillingProfileId
+ [-Filter ] [-DefaultProfile ] []
+```
+
+## DESCRIPTION
+List of transactions for reserved instances on billing account scope.
+Note: The refund transactions are posted along with its purchase transaction (i.e.
+in the purchase billing month).
+For example, The refund is requested in May 2021.
+This refund transaction will have event date as May 2021 but the billing month as April 2020 when the reservation purchase was made.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -BillingAccountId
+BillingAccount ID
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -BillingProfileId
+Azure Billing Profile ID.
+
+```yaml
+Type: System.String
+Parameter Sets: List1
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Filter
+Filter reservation transactions by date range.
+The properties/EventDate for start date and end date.
+The filter supports 'le' and 'ge'.
+Note: API returns data for the entire start date's and end date's billing month.
+For example, filter properties/eventDate+ge+2020-01-01+AND+properties/eventDate+le+2020-12-29 will include data for the entire December 2020 month (i.e.
+will contain records for dates December 30 and 31)
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.IModernReservationTransaction
+
+### Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.IReservationTransaction
+
+## NOTES
+
+ALIASES
+
+## RELATED LINKS
+
diff --git a/swaggerci/consumption/docs/Get-AzConsumptionReservationsDetail.md b/swaggerci/consumption/docs/Get-AzConsumptionReservationsDetail.md
new file mode 100644
index 000000000000..d4104bafdc84
--- /dev/null
+++ b/swaggerci/consumption/docs/Get-AzConsumptionReservationsDetail.md
@@ -0,0 +1,183 @@
+---
+external help file:
+Module Name: Az.Consumption
+online version: https://docs.microsoft.com/en-us/powershell/module/az.consumption/get-azconsumptionreservationsdetail
+schema: 2.0.0
+---
+
+# Get-AzConsumptionReservationsDetail
+
+## SYNOPSIS
+Lists the reservations details for the defined scope and provided date range.
+Note: ARM has a payload size limit of 12MB, so currently callers get 502 when the response size exceeds the ARM limit.
+In such cases, API call should be made with smaller date ranges.
+
+## SYNTAX
+
+```
+Get-AzConsumptionReservationsDetail -ResourceScope [-EndDate ] [-Filter ]
+ [-ReservationId ] [-ReservationOrderId ] [-StartDate ] [-DefaultProfile ]
+ []
+```
+
+## DESCRIPTION
+Lists the reservations details for the defined scope and provided date range.
+Note: ARM has a payload size limit of 12MB, so currently callers get 502 when the response size exceeds the ARM limit.
+In such cases, API call should be made with smaller date ranges.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -EndDate
+End date.
+Only applicable when querying with billing profile
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Filter
+Filter reservation details by date range.
+The properties/UsageDate for start date and end date.
+The filter supports 'le' and 'ge'.
+Not applicable when querying with billing profile
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ReservationId
+Reservation Id GUID.
+Only valid if reservationOrderId is also provided.
+Filter to a specific reservation
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ReservationOrderId
+Reservation Order Id GUID.
+Required if reservationId is provided.
+Filter to a specific reservation order
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ResourceScope
+The scope associated with reservations details operations.
+This includes '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for BillingAccount scope (legacy), and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope (modern).
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -StartDate
+Start date.
+Only applicable when querying with billing profile
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.IReservationDetail
+
+## NOTES
+
+ALIASES
+
+## RELATED LINKS
+
diff --git a/swaggerci/consumption/docs/Get-AzConsumptionReservationsSummary.md b/swaggerci/consumption/docs/Get-AzConsumptionReservationsSummary.md
new file mode 100644
index 000000000000..39e9caa50714
--- /dev/null
+++ b/swaggerci/consumption/docs/Get-AzConsumptionReservationsSummary.md
@@ -0,0 +1,194 @@
+---
+external help file:
+Module Name: Az.Consumption
+online version: https://docs.microsoft.com/en-us/powershell/module/az.consumption/get-azconsumptionreservationssummary
+schema: 2.0.0
+---
+
+# Get-AzConsumptionReservationsSummary
+
+## SYNOPSIS
+Lists the reservations summaries for the defined scope daily or monthly grain.
+
+## SYNTAX
+
+```
+Get-AzConsumptionReservationsSummary -ResourceScope -Grain [-EndDate ]
+ [-Filter ] [-ReservationId ] [-ReservationOrderId ] [-StartDate ]
+ [-DefaultProfile ] []
+```
+
+## DESCRIPTION
+Lists the reservations summaries for the defined scope daily or monthly grain.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -EndDate
+End date.
+Only applicable when querying with billing profile
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Filter
+Required only for daily grain.
+The properties/UsageDate for start date and end date.
+The filter supports 'le' and 'ge'.
+Not applicable when querying with billing profile
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Grain
+Can be daily or monthly
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.Consumption.Support.Datagrain
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ReservationId
+Reservation Id GUID.
+Only valid if reservationOrderId is also provided.
+Filter to a specific reservation
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ReservationOrderId
+Reservation Order Id GUID.
+Required if reservationId is provided.
+Filter to a specific reservation order
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ResourceScope
+The scope associated with reservations summaries operations.
+This includes '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for BillingAccount scope (legacy), and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope (modern).
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -StartDate
+Start date.
+Only applicable when querying with billing profile
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.Consumption.Models.Api20211001.IReservationSummary
+
+## NOTES
+
+ALIASES
+
+## RELATED LINKS
+
diff --git a/swaggerci/consumption/docs/Get-AzConsumptionTag.md b/swaggerci/consumption/docs/Get-AzConsumptionTag.md
new file mode 100644
index 000000000000..ddc9df625fb3
--- /dev/null
+++ b/swaggerci/consumption/docs/Get-AzConsumptionTag.md
@@ -0,0 +1,152 @@
+---
+external help file:
+Module Name: Az.Consumption
+online version: https://docs.microsoft.com/en-us/powershell/module/az.consumption/get-azconsumptiontag
+schema: 2.0.0
+---
+
+# Get-AzConsumptionTag
+
+## SYNOPSIS
+Get all available tag keys for the defined scope
+
+## SYNTAX
+
+### Get (Default)
+```
+Get-AzConsumptionTag -Scope [-DefaultProfile ] [-PassThru] []
+```
+
+### GetViaIdentity
+```
+Get-AzConsumptionTag -InputObject [-DefaultProfile