Get-AzConfidentialLedger
擷取機密總賬的屬性。
Syntax
Get-AzConfidentialLedger
[-SubscriptionId <String[]>]
[-Filter <String>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzConfidentialLedger
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzConfidentialLedger
-InputObject <IConfidentialLedgerIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzConfidentialLedger
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-Filter <String>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
擷取機密總賬的屬性。
範例
範例 1:列出機密總帳
Get-AzConfidentialLedger `
-SubscriptionId 00000000-0000-0000-0000-000000000000
Location Name
eastus testledger0
eastus testledger1
eastus testledger2
列出訂用帳戶下的所有機密總帳。
範例 2:取得機密總帳
Get-AzConfidentialLedger `
-Name test-ledger `
-ResourceGroupName test-rg
Location Name
eastus test-ledger
列出資源群組下的所有機密總帳。
參數
-DefaultProfile
用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Filter
要套用至清單作業的篩選條件。 例如 $filter=ledgerType eq 'Public'
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Type: | IConfidentialLedgerIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
機密總賬的名稱
Type: | String |
Aliases: | LedgerName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
資源群組的名稱。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
Azure 訂閱識別碼。 這是 GUID 格式的字串(例如 0000000000-0000-0000-0000-0000000000000000)
Type: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
輸入
輸出
備註
別名
COMPLEX PARAMETER PROPERTIES
若要建立以下所述的參數,請建構包含適當屬性的哈希表。 如需哈希表的相關信息,請執行 Get-Help about_Hash_Tables。
INPUTOBJECT <IConfidentialLedgerIdentity>
:Identity 參數
[Id <String>]
:資源識別路徑[LedgerName <String>]
:機密總賬的名稱[ResourceGroupName <String>]
:資源群組的名稱。[SubscriptionId <String>]
:Azure 訂用帳戶標識碼。 這是 GUID 格式的字串(例如 0000000000-0000-0000-0000-0000000000000000)