1. Packages
  2. Azure Native v2
  3. API Docs
  4. security
  5. DefenderForStorage
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.security.DefenderForStorage

Explore with Pulumi AI

The Defender for Storage resource. Azure REST API version: 2022-12-01-preview.

Other available API versions: 2024-10-01-preview.

Example Usage

Creates or updates the Defender for Storage settings on a specified resource.

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var defenderForStorage = new AzureNative.Security.DefenderForStorage("defenderForStorage", new()
    {
        Properties = new AzureNative.Security.Inputs.DefenderForStorageSettingPropertiesArgs
        {
            IsEnabled = true,
            MalwareScanning = new AzureNative.Security.Inputs.MalwareScanningPropertiesArgs
            {
                OnUpload = new AzureNative.Security.Inputs.OnUploadPropertiesArgs
                {
                    CapGBPerMonth = -1,
                    IsEnabled = true,
                },
                ScanResultsEventGridTopicResourceId = "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.EventGrid/topics/sampletopic",
            },
            OverrideSubscriptionLevelSettings = true,
            SensitiveDataDiscovery = new AzureNative.Security.Inputs.SensitiveDataDiscoveryPropertiesArgs
            {
                IsEnabled = true,
            },
        },
        ResourceId = "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Storage/storageAccounts/samplestorageaccount",
        SettingName = "current",
    });

});
Copy
package main

import (
	security "github.com/pulumi/pulumi-azure-native-sdk/security/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := security.NewDefenderForStorage(ctx, "defenderForStorage", &security.DefenderForStorageArgs{
			Properties: &security.DefenderForStorageSettingPropertiesArgs{
				IsEnabled: pulumi.Bool(true),
				MalwareScanning: &security.MalwareScanningPropertiesArgs{
					OnUpload: &security.OnUploadPropertiesArgs{
						CapGBPerMonth: pulumi.Int(-1),
						IsEnabled:     pulumi.Bool(true),
					},
					ScanResultsEventGridTopicResourceId: pulumi.String("/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.EventGrid/topics/sampletopic"),
				},
				OverrideSubscriptionLevelSettings: pulumi.Bool(true),
				SensitiveDataDiscovery: &security.SensitiveDataDiscoveryPropertiesArgs{
					IsEnabled: pulumi.Bool(true),
				},
			},
			ResourceId:  pulumi.String("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Storage/storageAccounts/samplestorageaccount"),
			SettingName: pulumi.String("current"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.security.DefenderForStorage;
import com.pulumi.azurenative.security.DefenderForStorageArgs;
import com.pulumi.azurenative.security.inputs.DefenderForStorageSettingPropertiesArgs;
import com.pulumi.azurenative.security.inputs.MalwareScanningPropertiesArgs;
import com.pulumi.azurenative.security.inputs.OnUploadPropertiesArgs;
import com.pulumi.azurenative.security.inputs.SensitiveDataDiscoveryPropertiesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var defenderForStorage = new DefenderForStorage("defenderForStorage", DefenderForStorageArgs.builder()
            .properties(DefenderForStorageSettingPropertiesArgs.builder()
                .isEnabled(true)
                .malwareScanning(MalwareScanningPropertiesArgs.builder()
                    .onUpload(OnUploadPropertiesArgs.builder()
                        .capGBPerMonth(-1)
                        .isEnabled(true)
                        .build())
                    .scanResultsEventGridTopicResourceId("/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.EventGrid/topics/sampletopic")
                    .build())
                .overrideSubscriptionLevelSettings(true)
                .sensitiveDataDiscovery(SensitiveDataDiscoveryPropertiesArgs.builder()
                    .isEnabled(true)
                    .build())
                .build())
            .resourceId("subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Storage/storageAccounts/samplestorageaccount")
            .settingName("current")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const defenderForStorage = new azure_native.security.DefenderForStorage("defenderForStorage", {
    properties: {
        isEnabled: true,
        malwareScanning: {
            onUpload: {
                capGBPerMonth: -1,
                isEnabled: true,
            },
            scanResultsEventGridTopicResourceId: "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.EventGrid/topics/sampletopic",
        },
        overrideSubscriptionLevelSettings: true,
        sensitiveDataDiscovery: {
            isEnabled: true,
        },
    },
    resourceId: "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Storage/storageAccounts/samplestorageaccount",
    settingName: "current",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

defender_for_storage = azure_native.security.DefenderForStorage("defenderForStorage",
    properties={
        "is_enabled": True,
        "malware_scanning": {
            "on_upload": {
                "cap_gb_per_month": -1,
                "is_enabled": True,
            },
            "scan_results_event_grid_topic_resource_id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.EventGrid/topics/sampletopic",
        },
        "override_subscription_level_settings": True,
        "sensitive_data_discovery": {
            "is_enabled": True,
        },
    },
    resource_id="subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Storage/storageAccounts/samplestorageaccount",
    setting_name="current")
Copy
resources:
  defenderForStorage:
    type: azure-native:security:DefenderForStorage
    properties:
      properties:
        isEnabled: true
        malwareScanning:
          onUpload:
            capGBPerMonth: -1
            isEnabled: true
          scanResultsEventGridTopicResourceId: /subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.EventGrid/topics/sampletopic
        overrideSubscriptionLevelSettings: true
        sensitiveDataDiscovery:
          isEnabled: true
      resourceId: subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Storage/storageAccounts/samplestorageaccount
      settingName: current
Copy

Create DefenderForStorage Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new DefenderForStorage(name: string, args: DefenderForStorageArgs, opts?: CustomResourceOptions);
@overload
def DefenderForStorage(resource_name: str,
                       args: DefenderForStorageArgs,
                       opts: Optional[ResourceOptions] = None)

@overload
def DefenderForStorage(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       resource_id: Optional[str] = None,
                       properties: Optional[DefenderForStorageSettingPropertiesArgs] = None,
                       setting_name: Optional[str] = None)
func NewDefenderForStorage(ctx *Context, name string, args DefenderForStorageArgs, opts ...ResourceOption) (*DefenderForStorage, error)
public DefenderForStorage(string name, DefenderForStorageArgs args, CustomResourceOptions? opts = null)
public DefenderForStorage(String name, DefenderForStorageArgs args)
public DefenderForStorage(String name, DefenderForStorageArgs args, CustomResourceOptions options)
type: azure-native:security:DefenderForStorage
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. DefenderForStorageArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. DefenderForStorageArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. DefenderForStorageArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DefenderForStorageArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DefenderForStorageArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var defenderForStorageResource = new AzureNative.Security.DefenderForStorage("defenderForStorageResource", new()
{
    ResourceId = "string",
    Properties = 
    {
        { "isEnabled", false },
        { "malwareScanning", 
        {
            { "onUpload", 
            {
                { "capGBPerMonth", 0 },
                { "isEnabled", false },
            } },
            { "scanResultsEventGridTopicResourceId", "string" },
        } },
        { "overrideSubscriptionLevelSettings", false },
        { "sensitiveDataDiscovery", 
        {
            { "isEnabled", false },
        } },
    },
    SettingName = "string",
});
Copy
example, err := security.NewDefenderForStorage(ctx, "defenderForStorageResource", &security.DefenderForStorageArgs{
	ResourceId: "string",
	Properties: map[string]interface{}{
		"isEnabled": false,
		"malwareScanning": map[string]interface{}{
			"onUpload": map[string]interface{}{
				"capGBPerMonth": 0,
				"isEnabled":     false,
			},
			"scanResultsEventGridTopicResourceId": "string",
		},
		"overrideSubscriptionLevelSettings": false,
		"sensitiveDataDiscovery": map[string]interface{}{
			"isEnabled": false,
		},
	},
	SettingName: "string",
})
Copy
var defenderForStorageResource = new DefenderForStorage("defenderForStorageResource", DefenderForStorageArgs.builder()
    .resourceId("string")
    .properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .settingName("string")
    .build());
Copy
defender_for_storage_resource = azure_native.security.DefenderForStorage("defenderForStorageResource",
    resource_id=string,
    properties={
        isEnabled: False,
        malwareScanning: {
            onUpload: {
                capGBPerMonth: 0,
                isEnabled: False,
            },
            scanResultsEventGridTopicResourceId: string,
        },
        overrideSubscriptionLevelSettings: False,
        sensitiveDataDiscovery: {
            isEnabled: False,
        },
    },
    setting_name=string)
Copy
const defenderForStorageResource = new azure_native.security.DefenderForStorage("defenderForStorageResource", {
    resourceId: "string",
    properties: {
        isEnabled: false,
        malwareScanning: {
            onUpload: {
                capGBPerMonth: 0,
                isEnabled: false,
            },
            scanResultsEventGridTopicResourceId: "string",
        },
        overrideSubscriptionLevelSettings: false,
        sensitiveDataDiscovery: {
            isEnabled: false,
        },
    },
    settingName: "string",
});
Copy
type: azure-native:security:DefenderForStorage
properties:
    properties:
        isEnabled: false
        malwareScanning:
            onUpload:
                capGBPerMonth: 0
                isEnabled: false
            scanResultsEventGridTopicResourceId: string
        overrideSubscriptionLevelSettings: false
        sensitiveDataDiscovery:
            isEnabled: false
    resourceId: string
    settingName: string
Copy

DefenderForStorage Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The DefenderForStorage resource accepts the following input properties:

ResourceId
This property is required.
Changes to this property will trigger replacement.
string
The identifier of the resource.
Properties Pulumi.AzureNative.Security.Inputs.DefenderForStorageSettingProperties
Defender for Storage resource properties.
SettingName Changes to this property will trigger replacement. string
Defender for Storage setting name.
ResourceId
This property is required.
Changes to this property will trigger replacement.
string
The identifier of the resource.
Properties DefenderForStorageSettingPropertiesArgs
Defender for Storage resource properties.
SettingName Changes to this property will trigger replacement. string
Defender for Storage setting name.
resourceId
This property is required.
Changes to this property will trigger replacement.
String
The identifier of the resource.
properties DefenderForStorageSettingProperties
Defender for Storage resource properties.
settingName Changes to this property will trigger replacement. String
Defender for Storage setting name.
resourceId
This property is required.
Changes to this property will trigger replacement.
string
The identifier of the resource.
properties DefenderForStorageSettingProperties
Defender for Storage resource properties.
settingName Changes to this property will trigger replacement. string
Defender for Storage setting name.
resource_id
This property is required.
Changes to this property will trigger replacement.
str
The identifier of the resource.
properties DefenderForStorageSettingPropertiesArgs
Defender for Storage resource properties.
setting_name Changes to this property will trigger replacement. str
Defender for Storage setting name.
resourceId
This property is required.
Changes to this property will trigger replacement.
String
The identifier of the resource.
properties Property Map
Defender for Storage resource properties.
settingName Changes to this property will trigger replacement. String
Defender for Storage setting name.

Outputs

All input properties are implicitly available as output properties. Additionally, the DefenderForStorage resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Name string
Resource name
Type string
Resource type
Id string
The provider-assigned unique ID for this managed resource.
Name string
Resource name
Type string
Resource type
id String
The provider-assigned unique ID for this managed resource.
name String
Resource name
type String
Resource type
id string
The provider-assigned unique ID for this managed resource.
name string
Resource name
type string
Resource type
id str
The provider-assigned unique ID for this managed resource.
name str
Resource name
type str
Resource type
id String
The provider-assigned unique ID for this managed resource.
name String
Resource name
type String
Resource type

Supporting Types

DefenderForStorageSettingProperties
, DefenderForStorageSettingPropertiesArgs

IsEnabled bool
Indicates whether Defender for Storage is enabled on this storage account.
MalwareScanning Pulumi.AzureNative.Security.Inputs.MalwareScanningProperties
Properties of Malware Scanning.
OverrideSubscriptionLevelSettings bool
Indicates whether the settings defined for this storage account should override the settings defined for the subscription.
SensitiveDataDiscovery Pulumi.AzureNative.Security.Inputs.SensitiveDataDiscoveryProperties
Properties of Sensitive Data Discovery.
IsEnabled bool
Indicates whether Defender for Storage is enabled on this storage account.
MalwareScanning MalwareScanningProperties
Properties of Malware Scanning.
OverrideSubscriptionLevelSettings bool
Indicates whether the settings defined for this storage account should override the settings defined for the subscription.
SensitiveDataDiscovery SensitiveDataDiscoveryProperties
Properties of Sensitive Data Discovery.
isEnabled Boolean
Indicates whether Defender for Storage is enabled on this storage account.
malwareScanning MalwareScanningProperties
Properties of Malware Scanning.
overrideSubscriptionLevelSettings Boolean
Indicates whether the settings defined for this storage account should override the settings defined for the subscription.
sensitiveDataDiscovery SensitiveDataDiscoveryProperties
Properties of Sensitive Data Discovery.
isEnabled boolean
Indicates whether Defender for Storage is enabled on this storage account.
malwareScanning MalwareScanningProperties
Properties of Malware Scanning.
overrideSubscriptionLevelSettings boolean
Indicates whether the settings defined for this storage account should override the settings defined for the subscription.
sensitiveDataDiscovery SensitiveDataDiscoveryProperties
Properties of Sensitive Data Discovery.
is_enabled bool
Indicates whether Defender for Storage is enabled on this storage account.
malware_scanning MalwareScanningProperties
Properties of Malware Scanning.
override_subscription_level_settings bool
Indicates whether the settings defined for this storage account should override the settings defined for the subscription.
sensitive_data_discovery SensitiveDataDiscoveryProperties
Properties of Sensitive Data Discovery.
isEnabled Boolean
Indicates whether Defender for Storage is enabled on this storage account.
malwareScanning Property Map
Properties of Malware Scanning.
overrideSubscriptionLevelSettings Boolean
Indicates whether the settings defined for this storage account should override the settings defined for the subscription.
sensitiveDataDiscovery Property Map
Properties of Sensitive Data Discovery.

DefenderForStorageSettingPropertiesResponse
, DefenderForStorageSettingPropertiesResponseArgs

IsEnabled bool
Indicates whether Defender for Storage is enabled on this storage account.
MalwareScanning Pulumi.AzureNative.Security.Inputs.MalwareScanningPropertiesResponse
Properties of Malware Scanning.
OverrideSubscriptionLevelSettings bool
Indicates whether the settings defined for this storage account should override the settings defined for the subscription.
SensitiveDataDiscovery Pulumi.AzureNative.Security.Inputs.SensitiveDataDiscoveryPropertiesResponse
Properties of Sensitive Data Discovery.
IsEnabled bool
Indicates whether Defender for Storage is enabled on this storage account.
MalwareScanning MalwareScanningPropertiesResponse
Properties of Malware Scanning.
OverrideSubscriptionLevelSettings bool
Indicates whether the settings defined for this storage account should override the settings defined for the subscription.
SensitiveDataDiscovery SensitiveDataDiscoveryPropertiesResponse
Properties of Sensitive Data Discovery.
isEnabled Boolean
Indicates whether Defender for Storage is enabled on this storage account.
malwareScanning MalwareScanningPropertiesResponse
Properties of Malware Scanning.
overrideSubscriptionLevelSettings Boolean
Indicates whether the settings defined for this storage account should override the settings defined for the subscription.
sensitiveDataDiscovery SensitiveDataDiscoveryPropertiesResponse
Properties of Sensitive Data Discovery.
isEnabled boolean
Indicates whether Defender for Storage is enabled on this storage account.
malwareScanning MalwareScanningPropertiesResponse
Properties of Malware Scanning.
overrideSubscriptionLevelSettings boolean
Indicates whether the settings defined for this storage account should override the settings defined for the subscription.
sensitiveDataDiscovery SensitiveDataDiscoveryPropertiesResponse
Properties of Sensitive Data Discovery.
is_enabled bool
Indicates whether Defender for Storage is enabled on this storage account.
malware_scanning MalwareScanningPropertiesResponse
Properties of Malware Scanning.
override_subscription_level_settings bool
Indicates whether the settings defined for this storage account should override the settings defined for the subscription.
sensitive_data_discovery SensitiveDataDiscoveryPropertiesResponse
Properties of Sensitive Data Discovery.
isEnabled Boolean
Indicates whether Defender for Storage is enabled on this storage account.
malwareScanning Property Map
Properties of Malware Scanning.
overrideSubscriptionLevelSettings Boolean
Indicates whether the settings defined for this storage account should override the settings defined for the subscription.
sensitiveDataDiscovery Property Map
Properties of Sensitive Data Discovery.

MalwareScanningProperties
, MalwareScanningPropertiesArgs

OnUpload Pulumi.AzureNative.Security.Inputs.OnUploadProperties
Properties of On Upload malware scanning.
ScanResultsEventGridTopicResourceId string
Optional. Resource id of an Event Grid Topic to send scan results to.
OnUpload OnUploadProperties
Properties of On Upload malware scanning.
ScanResultsEventGridTopicResourceId string
Optional. Resource id of an Event Grid Topic to send scan results to.
onUpload OnUploadProperties
Properties of On Upload malware scanning.
scanResultsEventGridTopicResourceId String
Optional. Resource id of an Event Grid Topic to send scan results to.
onUpload OnUploadProperties
Properties of On Upload malware scanning.
scanResultsEventGridTopicResourceId string
Optional. Resource id of an Event Grid Topic to send scan results to.
on_upload OnUploadProperties
Properties of On Upload malware scanning.
scan_results_event_grid_topic_resource_id str
Optional. Resource id of an Event Grid Topic to send scan results to.
onUpload Property Map
Properties of On Upload malware scanning.
scanResultsEventGridTopicResourceId String
Optional. Resource id of an Event Grid Topic to send scan results to.

MalwareScanningPropertiesResponse
, MalwareScanningPropertiesResponseArgs

OperationStatus This property is required. Pulumi.AzureNative.Security.Inputs.OperationStatusResponse
Upon failure or partial success. Additional data describing Malware Scanning enable/disable operation.
OnUpload Pulumi.AzureNative.Security.Inputs.OnUploadPropertiesResponse
Properties of On Upload malware scanning.
ScanResultsEventGridTopicResourceId string
Optional. Resource id of an Event Grid Topic to send scan results to.
OperationStatus This property is required. OperationStatusResponse
Upon failure or partial success. Additional data describing Malware Scanning enable/disable operation.
OnUpload OnUploadPropertiesResponse
Properties of On Upload malware scanning.
ScanResultsEventGridTopicResourceId string
Optional. Resource id of an Event Grid Topic to send scan results to.
operationStatus This property is required. OperationStatusResponse
Upon failure or partial success. Additional data describing Malware Scanning enable/disable operation.
onUpload OnUploadPropertiesResponse
Properties of On Upload malware scanning.
scanResultsEventGridTopicResourceId String
Optional. Resource id of an Event Grid Topic to send scan results to.
operationStatus This property is required. OperationStatusResponse
Upon failure or partial success. Additional data describing Malware Scanning enable/disable operation.
onUpload OnUploadPropertiesResponse
Properties of On Upload malware scanning.
scanResultsEventGridTopicResourceId string
Optional. Resource id of an Event Grid Topic to send scan results to.
operation_status This property is required. OperationStatusResponse
Upon failure or partial success. Additional data describing Malware Scanning enable/disable operation.
on_upload OnUploadPropertiesResponse
Properties of On Upload malware scanning.
scan_results_event_grid_topic_resource_id str
Optional. Resource id of an Event Grid Topic to send scan results to.
operationStatus This property is required. Property Map
Upon failure or partial success. Additional data describing Malware Scanning enable/disable operation.
onUpload Property Map
Properties of On Upload malware scanning.
scanResultsEventGridTopicResourceId String
Optional. Resource id of an Event Grid Topic to send scan results to.

OnUploadProperties
, OnUploadPropertiesArgs

CapGBPerMonth int
Defines the max GB to be scanned per Month. Set to -1 if no capping is needed.
IsEnabled bool
Indicates whether On Upload malware scanning should be enabled.
CapGBPerMonth int
Defines the max GB to be scanned per Month. Set to -1 if no capping is needed.
IsEnabled bool
Indicates whether On Upload malware scanning should be enabled.
capGBPerMonth Integer
Defines the max GB to be scanned per Month. Set to -1 if no capping is needed.
isEnabled Boolean
Indicates whether On Upload malware scanning should be enabled.
capGBPerMonth number
Defines the max GB to be scanned per Month. Set to -1 if no capping is needed.
isEnabled boolean
Indicates whether On Upload malware scanning should be enabled.
cap_gb_per_month int
Defines the max GB to be scanned per Month. Set to -1 if no capping is needed.
is_enabled bool
Indicates whether On Upload malware scanning should be enabled.
capGBPerMonth Number
Defines the max GB to be scanned per Month. Set to -1 if no capping is needed.
isEnabled Boolean
Indicates whether On Upload malware scanning should be enabled.

OnUploadPropertiesResponse
, OnUploadPropertiesResponseArgs

CapGBPerMonth int
Defines the max GB to be scanned per Month. Set to -1 if no capping is needed.
IsEnabled bool
Indicates whether On Upload malware scanning should be enabled.
CapGBPerMonth int
Defines the max GB to be scanned per Month. Set to -1 if no capping is needed.
IsEnabled bool
Indicates whether On Upload malware scanning should be enabled.
capGBPerMonth Integer
Defines the max GB to be scanned per Month. Set to -1 if no capping is needed.
isEnabled Boolean
Indicates whether On Upload malware scanning should be enabled.
capGBPerMonth number
Defines the max GB to be scanned per Month. Set to -1 if no capping is needed.
isEnabled boolean
Indicates whether On Upload malware scanning should be enabled.
cap_gb_per_month int
Defines the max GB to be scanned per Month. Set to -1 if no capping is needed.
is_enabled bool
Indicates whether On Upload malware scanning should be enabled.
capGBPerMonth Number
Defines the max GB to be scanned per Month. Set to -1 if no capping is needed.
isEnabled Boolean
Indicates whether On Upload malware scanning should be enabled.

OperationStatusResponse
, OperationStatusResponseArgs

Code string
The operation status code.
Message string
Additional information regarding the success/failure of the operation.
Code string
The operation status code.
Message string
Additional information regarding the success/failure of the operation.
code String
The operation status code.
message String
Additional information regarding the success/failure of the operation.
code string
The operation status code.
message string
Additional information regarding the success/failure of the operation.
code str
The operation status code.
message str
Additional information regarding the success/failure of the operation.
code String
The operation status code.
message String
Additional information regarding the success/failure of the operation.

SensitiveDataDiscoveryProperties
, SensitiveDataDiscoveryPropertiesArgs

IsEnabled bool
Indicates whether Sensitive Data Discovery should be enabled.
IsEnabled bool
Indicates whether Sensitive Data Discovery should be enabled.
isEnabled Boolean
Indicates whether Sensitive Data Discovery should be enabled.
isEnabled boolean
Indicates whether Sensitive Data Discovery should be enabled.
is_enabled bool
Indicates whether Sensitive Data Discovery should be enabled.
isEnabled Boolean
Indicates whether Sensitive Data Discovery should be enabled.

SensitiveDataDiscoveryPropertiesResponse
, SensitiveDataDiscoveryPropertiesResponseArgs

OperationStatus This property is required. Pulumi.AzureNative.Security.Inputs.OperationStatusResponse
Upon failure or partial success. Additional data describing Sensitive Data Discovery enable/disable operation.
IsEnabled bool
Indicates whether Sensitive Data Discovery should be enabled.
OperationStatus This property is required. OperationStatusResponse
Upon failure or partial success. Additional data describing Sensitive Data Discovery enable/disable operation.
IsEnabled bool
Indicates whether Sensitive Data Discovery should be enabled.
operationStatus This property is required. OperationStatusResponse
Upon failure or partial success. Additional data describing Sensitive Data Discovery enable/disable operation.
isEnabled Boolean
Indicates whether Sensitive Data Discovery should be enabled.
operationStatus This property is required. OperationStatusResponse
Upon failure or partial success. Additional data describing Sensitive Data Discovery enable/disable operation.
isEnabled boolean
Indicates whether Sensitive Data Discovery should be enabled.
operation_status This property is required. OperationStatusResponse
Upon failure or partial success. Additional data describing Sensitive Data Discovery enable/disable operation.
is_enabled bool
Indicates whether Sensitive Data Discovery should be enabled.
operationStatus This property is required. Property Map
Upon failure or partial success. Additional data describing Sensitive Data Discovery enable/disable operation.
isEnabled Boolean
Indicates whether Sensitive Data Discovery should be enabled.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:security:DefenderForStorage current /{resourceId}/providers/Microsoft.Security/defenderForStorageSettings/{settingName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0