Partager via


DefenderForStorageSettingData Class

Definition

A class representing the DefenderForStorageSetting data model. The Defender for Storage resource.

public class DefenderForStorageSettingData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.SecurityCenter.DefenderForStorageSettingData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.SecurityCenter.DefenderForStorageSettingData>
type DefenderForStorageSettingData = class
    inherit ResourceData
    interface IJsonModel<DefenderForStorageSettingData>
    interface IPersistableModel<DefenderForStorageSettingData>
Public Class DefenderForStorageSettingData
Inherits ResourceData
Implements IJsonModel(Of DefenderForStorageSettingData), IPersistableModel(Of DefenderForStorageSettingData)
Inheritance
DefenderForStorageSettingData
Implements

Constructors

DefenderForStorageSettingData()

Initializes a new instance of DefenderForStorageSettingData.

Properties

CapGBPerMonth

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

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
IsEnabled

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

IsMalwareScanningOnUploadEnabled

Indicates whether On Upload malware scanning should be enabled.

IsOverrideSubscriptionLevelSettingsEnabled

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

IsSensitiveDataDiscoveryEnabled

Indicates whether Sensitive Data Discovery should be enabled.

MalwareScanningOperationStatus

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

Name

The name of the resource.

(Inherited from ResourceData)
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
ScanResultsEventGridTopicResourceId

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

SensitiveDataDiscoveryOperationStatus

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

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<DefenderForStorageSettingData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DefenderForStorageSettingData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DefenderForStorageSettingData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DefenderForStorageSettingData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DefenderForStorageSettingData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to