共用方式為


Get-AzSecurityAssessmentMetadata

取得訂用帳戶中的安全性評量類型和中繼。

語法

Get-AzSecurityAssessmentMetadata
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzSecurityAssessmentMetadata
   -Name <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzSecurityAssessmentMetadata
   -ResourceId <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

取得訂用帳戶中的安全性評量類型和中繼。 安全性評定元數據包括內建評定,以及用戶可以定義的自定義評量類型。

範例

範例 1

Get-AzSecurityAssessmentMetadata

取得在目前訂用帳戶上設定的所有內建評定和自定義評量。

參數

-DefaultProfile

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

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

-Name

資源名稱。

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

-ResourceId

您要叫用命令之安全性資源的識別碼。

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

輸入

String

輸出

PSSecurityAssessmentMetadata