Get-AzBillingPeriod
サブスクリプションの請求期間を取得します。
構文
Get-AzBillingPeriod
[-MaxCount <Int32>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzBillingPeriod
-Name <System.Collections.Generic.List`1[System.String]>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
説明
Get-AzBillingPeriod コマンドレットは、サブスクリプションの請求期間を取得します。
例
例 1
Get-AzBillingPeriod
サブスクリプションのすべての利用可能な請求期間を取得します。
例 2
Get-AzBillingPeriod -Name 201704-1
指定した名前のサブスクリプションの請求期間を取得します。
例 3
Get-AzBillingPeriod -MaxCount 2
サブスクリプションの最大 2 つの請求期間を取得します。
パラメーター
-DefaultProfile
Azure との通信に使用される資格情報、アカウント、テナント、サブスクリプション
| Type: | IAzureContextContainer |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
-MaxCount
返すレコードの最大数を決定します。
| Type: | Nullable<T>[Int32] |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
-Name
取得する特定の請求期間の名前。
| Type: | List<T>[String] |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
入力
None
出力
フィードバック
フィードバックの送信と表示