Get-AzSecurityLocation
取得 Azure 資訊安全中心會自動儲存特定訂用帳戶數據的位置
語法
Get-AzSecurityLocation
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzSecurityLocation
-Name <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzSecurityLocation
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Azure 資訊安全中心會自動決定儲存部分數據的位置。 使用此 Cmdlet 來探索該位置。
範例
範例 1
Get-AzSecurityLocation
Id Name
-- ----
/subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/providers/Microsoft.Security/locations/centralus centralus
取得 Azure 資訊安全中心儲存匯出安全性資料的位置。
參數
-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 |