Get-AzSecurityContact
取得在此訂用帳戶上設定的安全性聯繫人
語法
Get-AzSecurityContact
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzSecurityContact
-Name <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzSecurityContact
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
取得在此訂用帳戶上設定的安全性聯繫人。 安全性聯繫人可以取得訂用帳戶上發生之安全性警示的通知。
範例
範例 1
Get-AzSecurityContact
Id : /subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/securityContacts/default1
Name : default1
Email : ascasc@microsoft.com
Phone : 123123123
AlertNotifications : On
AlertsToAdmins : On
取得訂用帳戶上所有設定的安全性聯繫人
參數
-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 |