共用方式為


Get-AzSqlServerTransparentDataEncryptionProtector

取得透明數據加密 (TDE) 保護裝置

語法

Get-AzSqlServerTransparentDataEncryptionProtector
   [-ServerName] <String>
   [-ResourceGroupName] <String>
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Get-AzSqlServerTransparentDataEncryptionProtector Cmdlet 會取得 TDE 保護裝置的相關信息。

範例

範例 1:取得透明數據加密 (TDE) 保護裝置

Get-AzSqlServerTransparentDataEncryptionProtector -ServerName 'ContosoServer' -ResourceGroupName 'ContosoResourceGroup'

ResourceGroupName       ServerName                   Type ServerKeyVaultKeyName
-----------------       ----------                   ---- ---------------------
ContosoResourceGroup    ContosoServer      ServiceManaged ServiceManaged

此命令會在名為 ContosoResourceGroup 的資源群組中,取得名為 ContosoServer 的伺服器 TDE 保護裝置。

參數

-Confirm

在執行 Cmdlet 之前,提示您進行確認。

類型:SwitchParameter
別名:cf
Position:Named
預設值:False
必要:False
接受管線輸入:False
接受萬用字元:False

-DefaultProfile

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

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

-ResourceGroupName

資源群組的名稱

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

-ServerName

Azure Sql Server 名稱。

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

-WhatIf

顯示 Cmdlet 執行時會發生什麼事。 Cmdlet 未執行。

類型:SwitchParameter
別名:wi
Position:Named
預設值:False
必要:False
接受管線輸入:False
接受萬用字元:False

輸入

String

輸出

AzureSqlServerTransparentDataEncryptionProtectorModel