Get-AzConsumptionPriceSheet
구독의 가격표를 가져옵니다.
구문
Get-AzConsumptionPriceSheet
[-BillingPeriodName <String>]
[-ExpandMeterDetail]
[-Top <Int32>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get-AzConsumptionPriceSheet cmdlet은 구독의 가격표를 가져옵니다.
예제
예제 1: 가격표 가져오기
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
예제 2: 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
예제 3: 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
예제 4: 가격표 상위 5개 레코드 가져오기
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
매개 변수
-BillingPeriodName
관련 가격표를 가져올 특정 청구 기간의 이름입니다.
형식: | String |
Position: | Named |
Default value: | None |
필수: | False |
파이프라인 입력 허용: | False |
와일드카드 문자 허용: | False |
-DefaultProfile
Azure와의 통신에 사용되는 자격 증명, 계정, 테넌트 및 구독입니다.
형식: | IAzureContextContainer |
별칭: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
필수: | False |
파이프라인 입력 허용: | False |
와일드카드 문자 허용: | False |
-ExpandMeterDetail
MeterDetails에 따라 가격표를 확장합니다.
형식: | SwitchParameter |
Position: | Named |
Default value: | None |
필수: | False |
파이프라인 입력 허용: | False |
와일드카드 문자 허용: | False |
-Top
반환할 최대 레코드 수를 결정합니다.
형식: | Nullable<T>[Int32] |
Position: | Named |
Default value: | None |
필수: | False |
파이프라인 입력 허용: | False |
와일드카드 문자 허용: | False |
입력
None
출력
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure PowerShell