共用方式為


Get-AzInvoiceSection

取得發票區段。

語法

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

Description

Get-AzInvoiceSection Cmdlet 會取得指定帳單配置檔底下的發票區段。

範例

範例 1

Get-AzInvoiceSection -BillingAccountName 00000000-0000-0000-0000-000000000000 -BillingProfileName AAAA-0A00-AAA-ZZZ

取得指定帳單配置檔下的所有發票區段。

範例 2

Get-AzInvoiceSection -BillingAccountName 00000000-0000-0000-0000-000000000000 -BillingProfileName AAAA-0A00-AAA-ZZZ -Name BBBB-0A00-BBB-ZZZ

取得具有指定名稱的發票區段。

參數

-BillingAccountName

特定計費帳戶的名稱。

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-BillingProfileName

特定帳單配置檔的名稱。

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-DefaultProfile

用於與 azure 通訊的認證、帳戶、租用戶和訂用帳戶

類型:IAzureContextContainer
別名:AzContext, AzureRmContext, AzureCredential
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-Name

特定發票區段的名稱。

類型:List<T>[String]
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

輸入

None

輸出

PSInvoiceSection