Share via


ArmSecurityCenterModelFactory.DefenderForStorageSettingData Method

Definition

Initializes a new instance of DefenderForStorageSettingData.

public static Azure.ResourceManager.SecurityCenter.DefenderForStorageSettingData DefenderForStorageSettingData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, bool? isEnabled = default, bool? isOverrideSubscriptionLevelSettingsEnabled = default, bool? isSensitiveDataDiscoveryEnabled = default, Azure.ResourceManager.SecurityCenter.Models.ExtensionOperationStatus sensitiveDataDiscoveryOperationStatus = default, Azure.Core.ResourceIdentifier scanResultsEventGridTopicResourceId = default, Azure.ResourceManager.SecurityCenter.Models.ExtensionOperationStatus malwareScanningOperationStatus = default, bool? isMalwareScanningOnUploadEnabled = default, int? capGBPerMonth = default);
static member DefenderForStorageSettingData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<bool> * Nullable<bool> * Nullable<bool> * Azure.ResourceManager.SecurityCenter.Models.ExtensionOperationStatus * Azure.Core.ResourceIdentifier * Azure.ResourceManager.SecurityCenter.Models.ExtensionOperationStatus * Nullable<bool> * Nullable<int> -> Azure.ResourceManager.SecurityCenter.DefenderForStorageSettingData
Public Shared Function DefenderForStorageSettingData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional isOverrideSubscriptionLevelSettingsEnabled As Nullable(Of Boolean) = Nothing, Optional isSensitiveDataDiscoveryEnabled As Nullable(Of Boolean) = Nothing, Optional sensitiveDataDiscoveryOperationStatus As ExtensionOperationStatus = Nothing, Optional scanResultsEventGridTopicResourceId As ResourceIdentifier = Nothing, Optional malwareScanningOperationStatus As ExtensionOperationStatus = Nothing, Optional isMalwareScanningOnUploadEnabled As Nullable(Of Boolean) = Nothing, Optional capGBPerMonth As Nullable(Of Integer) = Nothing) As DefenderForStorageSettingData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

isEnabled
Nullable<Boolean>

Indicates whether Defender for Storage is enabled on this storage account.

isOverrideSubscriptionLevelSettingsEnabled
Nullable<Boolean>

Indicates whether the settings defined for this storage account should override the settings defined for the subscription.

isSensitiveDataDiscoveryEnabled
Nullable<Boolean>

Indicates whether Sensitive Data Discovery should be enabled.

sensitiveDataDiscoveryOperationStatus
ExtensionOperationStatus

Upon failure or partial success. Additional data describing Sensitive Data Discovery enable/disable operation.

scanResultsEventGridTopicResourceId
ResourceIdentifier

Optional. Resource id of an Event Grid Topic to send scan results to.

malwareScanningOperationStatus
ExtensionOperationStatus

Upon failure or partial success. Additional data describing Malware Scanning enable/disable operation.

isMalwareScanningOnUploadEnabled
Nullable<Boolean>

Indicates whether On Upload malware scanning should be enabled.

capGBPerMonth
Nullable<Int32>

Defines the max GB to be scanned per Month. Set to -1 if no capping is needed.

Returns

A new DefenderForStorageSettingData instance for mocking.

Applies to