Get-AzSecurityDefenderForStorage
取得指定記憶體帳戶的適用於記憶體的 Defender 設定。
語法
Get-AzSecurityDefenderForStorage
-ResourceId <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
取得指定記憶體帳戶的適用於記憶體的 Defender 設定。
範例
範例 1:在記憶體帳戶上取得適用於記憶體 V2 的 Defender 設定
Get-AzSecurityDefenderForStorage -ResourceId "/subscriptions/<SubscriptionId>/resourcegroups/<ResourceGroupName>/providers/Microsoft.Storage/storageAccounts/<StorageAccountName>"
Id : /subscriptions/<SubscriptionId>/resourcegroups/<ResourceGroupName>/providers/Microsoft.Storage/storageAccounts/<StorageAccountName>
IsEnabled : True
MalwareScanningOperationStatusCode :
MalwareScanningOperationStatusMessage :
MalwareScanningScanResultsEventGridTopicResourceId :
Name : current
OnUploadCapGbPerMonth : 5000
OnUploadIsEnabled : True
OverrideSubscriptionLevelSetting : False
ResourceGroupName : <ResourceGroupName>
SensitiveDataDiscoveryIsEnabled : True
SensitiveDataDiscoveryOperationStatusCode :
SensitiveDataDiscoveryOperationStatusMessage :
Type : Microsoft.Security/defenderForStorageSettings
參數
-DefaultProfile
DefaultProfile 參數無法運作。 如果針對不同的訂用帳戶執行 Cmdlet,請使用 SubscriptionId 參數。
類型: | PSObject |
別名: | AzureRMContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-ResourceId
資源的標識碼。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |