Modifier

Partager via


Get-AzInvoiceSection

Get invoice sections.

Syntax

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

The Get-AzInvoiceSection cmdlet gets invoice sections under the specified billing profile.

Examples

Example 1

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

Get all invoice sections under the specified billing profile.

Example 2

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

Get the invoice section with the specified name.

Parameters

-BillingAccountName

Name of the specific billing account.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-BillingProfileName

Name of the specific billing profile.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-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

-Name

Name of a specific invoice section.

Type:List<T>[String]
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

PSInvoiceSection