Get-AzBillingPeriod
Get billing periods of the subscription.
Syntax
Get-AzBillingPeriod
[-MaxCount <Int32>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzBillingPeriod
-Name <System.Collections.Generic.List`1[System.String]>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzBillingPeriod cmdlet gets billing periods of the subscription.
Examples
Example 1
Get-AzBillingPeriod
Get all available billing periods of the subscription.
Example 2
Get-AzBillingPeriod -Name 201704-1
Get the billing period of the subscription with the specified name.
Example 3
Get-AzBillingPeriod -MaxCount 2
Get at most 2 billing periods of the subscription.
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with azure
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-MaxCount
Determine the maximum number of records to return.
Type: | Nullable<T>[Int32] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Name of a specific billing period to get.
Type: | List<T>[String] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure PowerShell