你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Get-AzBillingProfile

获取计费配置文件。

语法

Get-AzBillingProfile
   -BillingAccountName <String>
   -BillingProfileName <String>
   [-ExpandInvoiceSection]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzBillingProfile
   -BillingAccountName <String>
   -BillingProfileName <String>
   -Name <System.Collections.Generic.List`1[System.String]>
   [-ExpandInvoiceSection]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

说明

Get-AzBillingProfile cmdlet 获取指定计费帐户下的计费配置文件。

示例

示例 1

Get-AzBillingProfile -BillingAccountName 00000000-0000-0000-0000-000000000000

获取指定计费帐户下的所有计费配置文件。

示例 2

Get-AzBillingProfile -BillingAccountName 00000000-0000-0000-0000-000000000000 -Name AAAA-0A00-AAA-ZZZ

获取具有指定名称的计费配置文件。

示例 3

Get-AzBillingProfile -BillingAccountName 00000000-0000-0000-0000-000000000000 -ExpandInvoiceSection

获取指定计费帐户下的所有计费配置文件,并在结果中包含发票科目。

示例 4

Get-AzBillingProfile -BillingAccountName 00000000-0000-0000-0000-000000000000 -ExpandInvoiceSection -Name <System.Collections.Generic.List`1[System.String]>

获取具有指定名称的计费配置文件,并在结果中包含发票科目。

参数

-BillingAccountName

特定计费帐户的名称。

类型:String
Position:Named
默认值:None
必需:True
接受管道输入:False
接受通配符:False

-DefaultProfile

用于与 azure 通信的凭据、帐户、租户和订阅

类型:IAzureContextContainer
别名:AzContext, AzureRmContext, AzureCredential
Position:Named
默认值:None
必需:False
接受管道输入:False
接受通配符:False

-ExpandInvoiceSection

在计费配置文件下包括发票科目。

类型:SwitchParameter
Position:Named
默认值:None
必需:False
接受管道输入:False
接受通配符:False

-Name

特定计费配置文件的名称。

类型:List<T>[String]
Position:Named
默认值:None
必需:True
接受管道输入:False
接受通配符:False

输入

None

输出