Get-AzBillingAccount
取得計費帳戶。
語法
Get-AzBillingAccount
[-IncludeAddress]
[-ExpandBillingProfile]
[-ExpandInvoiceSection]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzBillingAccount
-Name <System.Collections.Generic.List`1[System.String]>
[-IncludeAddress]
[-ExpandBillingProfile]
[-ExpandInvoiceSection]
[-ListEntitiesToCreateSubscription]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get-AzBillingAccount Cmdlet 會取得計費帳戶,用戶可以存取。
範例
範例 1
Get-AzBillingAccount
取得所有計費帳戶用戶可存取權。
範例 2
Get-AzBillingAccount -Name 00000000-0000-0000-0000-000000000000
取得具有指定名稱的計費帳戶。
範例 3
Get-AzBillingAccount -IncludeAddress
取得所有計費帳戶用戶有權存取,並在結果中包含位址。
範例 4
Get-AzBillingAccount -ExpandBillingProfile
取得所有計費帳戶用戶有權存取,並在結果中包含帳單配置檔。
範例 5
Get-AzBillingAccount -ExpandInvoiceSection
取得所有計費帳戶用戶可存取權,並在結果中包含帳單配置檔和發票區段。
範例 6
Get-AzBillingAccount -ExpandInvoiceSection -IncludeAddress -ExpandBillingProfile -Name 00000000-0000-0000-0000-000000000000
取得具有指定名稱的計費帳戶,並在結果中包含位址、帳單配置檔和發票區段。
參數
-DefaultProfile
用於與 azure 通訊的認證、帳戶、租用戶和訂用帳戶
類型: | IAzureContextContainer |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-ExpandBillingProfile
在計費帳戶底下包含帳單配置檔。
類型: | SwitchParameter |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-ExpandInvoiceSection
將帳單帳戶下的帳單配置檔和發票區段納入其中。
類型: | SwitchParameter |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-IncludeAddress
包含計費帳戶的位址。
類型: | SwitchParameter |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-ListEntitiesToCreateSubscription
列出計費帳戶底下的計費實體,以做為建立訂用帳戶的輸入。
類型: | SwitchParameter |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-Name
輸入
None