Share via


DefenderForStorageSetting Class

Definition

The Defender for Storage resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DefenderForStorage.Models.DefenderForStorageSettingTypeConverter))]
public class DefenderForStorageSetting : Microsoft.Azure.PowerShell.Cmdlets.DefenderForStorage.Models.IDefenderForStorageSetting, Microsoft.Azure.PowerShell.Cmdlets.DefenderForStorage.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DefenderForStorage.Models.DefenderForStorageSettingTypeConverter))>]
type DefenderForStorageSetting = class
    interface IDefenderForStorageSetting
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class DefenderForStorageSetting
Implements IDefenderForStorageSetting, IValidates
Inheritance
DefenderForStorageSetting
Attributes
Implements

Constructors

DefenderForStorageSetting()

Creates an new DefenderForStorageSetting instance.

Properties

Id

Resource Id

IsEnabled

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

MalwareScanningOperationStatusCode

The operation status code.

MalwareScanningOperationStatusMessage

Additional information regarding the success/failure of the operation.

MalwareScanningScanResultsEventGridTopicResourceId

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

Name

Resource name

OnUploadCapGbPerMonth

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

OnUploadIsEnabled

Indicates whether On Upload malware scanning should be enabled.

OverrideSubscriptionLevelSetting

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

ResourceGroupName

Gets the resource group name

SensitiveDataDiscoveryIsEnabled

Indicates whether Sensitive Data Discovery should be enabled.

SensitiveDataDiscoveryOperationStatusCode

The operation status code.

SensitiveDataDiscoveryOperationStatusMessage

Additional information regarding the success/failure of the operation.

Type

Resource type

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DefenderForStorageSetting.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DefenderForStorageSetting.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DefenderForStorage.Models.IDefenderForStorageSetting.

FromJsonString(String)

Creates a new instance of DefenderForStorageSetting, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of DefenderForStorageSetting into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to