共用方式為


Get-AzAlertObjectHistory

取得警示歷程記錄資訊

語法

Get-AzAlertObjectHistory
   -AlertId <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzAlertObjectHistory
   -InputObject <PSSmartGroup>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

Get-AzAlertObjectHistory Cmdlet 取得警示的歷程記錄。

範例

範例 1

Get-AzAlertObjectHistory -AlertId "afbf1b3a-0a6c-4f19-9c9b-644ccd7b1529"

取得警示歷程記錄詳細數據。

參數

-AlertId

警示的唯一標識碼 / 警示的 ResourceId。

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

-DefaultProfile

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

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

-InputObject

來自管線的輸入物件。

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

輸入

None

輸出

PSAlertModification