Get-AzConsumptionPriceSheet
Dapatkan lembar harga langganan.
Sintaks
Get-AzConsumptionPriceSheet
[-BillingPeriodName <String>]
[-ExpandMeterDetail]
[-Top <Int32>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Deskripsi
Cmdlet Get-AzConsumptionPriceSheet mendapatkan lembar harga langganan.
Contoh
Contoh 1: Dapatkan lembar harga
Get-AzConsumptionPriceSheet
Id: subscriptions/1caaa5a3-2b66-438e-8ab4-bce37d518c5d/providers/Microsoft.Billing/billingPeriods/20180601/providers/Microsoft.Consumption/pricesheets/default
Name: default
Type: Microsoft.Consumption/pricesheets
Pricesheets: BillingPeriodId: subscriptions/1caaa5a3-2b66-438e-8ab4-bce37d518c5d/providers/Microsoft.Billing/billingPeriods/20180601
CurrencyCode: USD
IncludedQuantity: 0
MeterId: BACDDD36-2C2C-46BB-8CFA-D13C15EE4A7E
PartNumber: AAA-49135
UnitOfMeasure: 10 Hours
UnitPrice: 1.33
Contoh 2: Dapatkan lembar harga dengan perluasan MeterDetails
Get-AzConsumptionPriceSheet -ExpandMeterDetail
Id: subscriptions/1caaa5a3-2b66-438e-8ab4-bce37d518c5d/providers/Microsoft.Billing/billingPeriods/20180601/providers/Microsoft.Consumption/pricesheets/default
Name: default
Type: Microsoft.Consumption/pricesheets
Pricesheets: BillingPeriodId: subscriptions/1caaa5a3-2b66-438e-8ab4-bce37d518c5d/providers/Microsoft.Billing/billingPeriods/20180601
CurrencyCode: USD
IncludedQuantity: 0
MeterDetails: MeterCategory: Virtual Machines
MeterLocation: US North Central
MeterName: Compute Hours
MeterSubCategory: Standard_D11_v2 VM_Promo (Windows)
Unit: Hours
MeterId: BACDDD36-2C2C-46BB-8CFA-D13C15EE4A7E
PartNumber: AAA-49135
UnitOfMeasure: 10 Hours
UnitPrice: 1.33
Contoh 3: Dapatkan lembar harga BillingPeriodName
Get-AzConsumptionPriceSheet -BillingPeriodName 201712
Id: subscriptions/1caaa5a3-2b66-438e-8ab4-bce37d518c5d/providers/Microsoft.Billing/billingPeriods/20180601/providers/Microsoft.Consumption/pricesheets/default
Name: default
Type: Microsoft.Consumption/pricesheets
Pricesheets: BillingPeriodId: subscriptions/1caaa5a3-2b66-438e-8ab4-bce37d518c5d/providers/Microsoft.Billing/billingPeriods/20180601
CurrencyCode: USD
IncludedQuantity: 0
MeterId: 46367D67-1E4C-4ED4-8267-4477083F581C
PartNumber: AAA-53590
UnitOfMeasure: 10 Hours
UnitPrice: 1.37
Contoh 4: Dapatkan 5 rekaman lembar harga teratas
Get-AzConsumptionPriceSheet -Top 5
Id: subscriptions/1caaa5a3-2b66-438e-8ab4-bce37d518c5d/providers/Microsoft.Billing/billingPeriods/20180601/providers/Microsoft.Consumption/pricesheets/default
Name: default
Type: Microsoft.Consumption/pricesheets
Pricesheets: BillingPeriodId: subscriptions/1caaa5a3-2b66-438e-8ab4-bce37d518c5d/providers/Microsoft.Billing/billingPeriods/20180601
CurrencyCode: USD
IncludedQuantity: 0
MeterId: BACDDD36-2C2C-46BB-8CFA-D13C15EE4A7E
PartNumber: AAA-49135
UnitOfMeasure: 10 Hours
UnitPrice: 1.33
Parameter
-BillingPeriodName
Nama periode penagihan tertentu untuk mendapatkan lembar harga yang terkait.
Jenis: | String |
Position: | Named |
nilai default: | None |
Diperlukan: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
Kredensial, akun, penyewa, dan langganan yang digunakan untuk komunikasi dengan Azure.
Jenis: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
nilai default: | None |
Diperlukan: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ExpandMeterDetail
Perluas lembar harga berdasarkan MeterDetails.
Jenis: | SwitchParameter |
Position: | Named |
nilai default: | None |
Diperlukan: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Top
Tentukan jumlah maksimum rekaman yang akan dikembalikan.
Jenis: | Nullable<T>[Int32] |
Position: | Named |
nilai default: | None |
Diperlukan: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Input
None
Output
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Azure PowerShell
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk