azure-native.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",
    });
});
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
	})
}
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());
    }
}
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",
});
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")
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
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 string
- The unique name of the resource.
- args DefenderForStorageArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args DefenderForStorageArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DefenderForStorageArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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 = new AzureNative.Security.Inputs.DefenderForStorageSettingPropertiesArgs
    {
        IsEnabled = false,
        MalwareScanning = new AzureNative.Security.Inputs.MalwareScanningPropertiesArgs
        {
            OnUpload = new AzureNative.Security.Inputs.OnUploadPropertiesArgs
            {
                CapGBPerMonth = 0,
                IsEnabled = false,
            },
            ScanResultsEventGridTopicResourceId = "string",
        },
        OverrideSubscriptionLevelSettings = false,
        SensitiveDataDiscovery = new AzureNative.Security.Inputs.SensitiveDataDiscoveryPropertiesArgs
        {
            IsEnabled = false,
        },
    },
    SettingName = "string",
});
example, err := security.NewDefenderForStorage(ctx, "defenderForStorageResource", &security.DefenderForStorageArgs{
	ResourceId: pulumi.String("string"),
	Properties: &security.DefenderForStorageSettingPropertiesArgs{
		IsEnabled: pulumi.Bool(false),
		MalwareScanning: &security.MalwareScanningPropertiesArgs{
			OnUpload: &security.OnUploadPropertiesArgs{
				CapGBPerMonth: pulumi.Int(0),
				IsEnabled:     pulumi.Bool(false),
			},
			ScanResultsEventGridTopicResourceId: pulumi.String("string"),
		},
		OverrideSubscriptionLevelSettings: pulumi.Bool(false),
		SensitiveDataDiscovery: &security.SensitiveDataDiscoveryPropertiesArgs{
			IsEnabled: pulumi.Bool(false),
		},
	},
	SettingName: pulumi.String("string"),
})
var defenderForStorageResource = new DefenderForStorage("defenderForStorageResource", DefenderForStorageArgs.builder()
    .resourceId("string")
    .properties(DefenderForStorageSettingPropertiesArgs.builder()
        .isEnabled(false)
        .malwareScanning(MalwareScanningPropertiesArgs.builder()
            .onUpload(OnUploadPropertiesArgs.builder()
                .capGBPerMonth(0)
                .isEnabled(false)
                .build())
            .scanResultsEventGridTopicResourceId("string")
            .build())
        .overrideSubscriptionLevelSettings(false)
        .sensitiveDataDiscovery(SensitiveDataDiscoveryPropertiesArgs.builder()
            .isEnabled(false)
            .build())
        .build())
    .settingName("string")
    .build());
defender_for_storage_resource = azure_native.security.DefenderForStorage("defenderForStorageResource",
    resource_id="string",
    properties={
        "is_enabled": False,
        "malware_scanning": {
            "on_upload": {
                "cap_gb_per_month": 0,
                "is_enabled": False,
            },
            "scan_results_event_grid_topic_resource_id": "string",
        },
        "override_subscription_level_settings": False,
        "sensitive_data_discovery": {
            "is_enabled": False,
        },
    },
    setting_name="string")
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",
});
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
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 string
- The identifier of the resource.
- Properties
Pulumi.Azure Native. Security. Inputs. Defender For Storage Setting Properties 
- Defender for Storage resource properties.
- SettingName string
- Defender for Storage setting name.
- ResourceId string
- The identifier of the resource.
- Properties
DefenderFor Storage Setting Properties Args 
- Defender for Storage resource properties.
- SettingName string
- Defender for Storage setting name.
- resourceId String
- The identifier of the resource.
- properties
DefenderFor Storage Setting Properties 
- Defender for Storage resource properties.
- settingName String
- Defender for Storage setting name.
- resourceId string
- The identifier of the resource.
- properties
DefenderFor Storage Setting Properties 
- Defender for Storage resource properties.
- settingName string
- Defender for Storage setting name.
- resource_id str
- The identifier of the resource.
- properties
DefenderFor Storage Setting Properties Args 
- Defender for Storage resource properties.
- setting_name str
- Defender for Storage setting name.
- resourceId String
- The identifier of the resource.
- properties Property Map
- Defender for Storage resource properties.
- settingName 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:
Supporting Types
DefenderForStorageSettingProperties, DefenderForStorageSettingPropertiesArgs          
- IsEnabled bool
- Indicates whether Defender for Storage is enabled on this storage account.
- MalwareScanning Pulumi.Azure Native. Security. Inputs. Malware Scanning Properties 
- Properties of Malware Scanning.
- OverrideSubscription boolLevel Settings 
- Indicates whether the settings defined for this storage account should override the settings defined for the subscription.
- SensitiveData Pulumi.Discovery Azure Native. Security. Inputs. Sensitive Data Discovery Properties 
- Properties of Sensitive Data Discovery.
- IsEnabled bool
- Indicates whether Defender for Storage is enabled on this storage account.
- MalwareScanning MalwareScanning Properties 
- Properties of Malware Scanning.
- OverrideSubscription boolLevel Settings 
- Indicates whether the settings defined for this storage account should override the settings defined for the subscription.
- SensitiveData SensitiveDiscovery Data Discovery Properties 
- Properties of Sensitive Data Discovery.
- isEnabled Boolean
- Indicates whether Defender for Storage is enabled on this storage account.
- malwareScanning MalwareScanning Properties 
- Properties of Malware Scanning.
- overrideSubscription BooleanLevel Settings 
- Indicates whether the settings defined for this storage account should override the settings defined for the subscription.
- sensitiveData SensitiveDiscovery Data Discovery Properties 
- Properties of Sensitive Data Discovery.
- isEnabled boolean
- Indicates whether Defender for Storage is enabled on this storage account.
- malwareScanning MalwareScanning Properties 
- Properties of Malware Scanning.
- overrideSubscription booleanLevel Settings 
- Indicates whether the settings defined for this storage account should override the settings defined for the subscription.
- sensitiveData SensitiveDiscovery Data Discovery Properties 
- Properties of Sensitive Data Discovery.
- is_enabled bool
- Indicates whether Defender for Storage is enabled on this storage account.
- malware_scanning MalwareScanning Properties 
- Properties of Malware Scanning.
- override_subscription_ boollevel_ settings 
- Indicates whether the settings defined for this storage account should override the settings defined for the subscription.
- sensitive_data_ Sensitivediscovery Data Discovery Properties 
- 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.
- overrideSubscription BooleanLevel Settings 
- Indicates whether the settings defined for this storage account should override the settings defined for the subscription.
- sensitiveData Property MapDiscovery 
- Properties of Sensitive Data Discovery.
DefenderForStorageSettingPropertiesResponse, DefenderForStorageSettingPropertiesResponseArgs            
- IsEnabled bool
- Indicates whether Defender for Storage is enabled on this storage account.
- MalwareScanning Pulumi.Azure Native. Security. Inputs. Malware Scanning Properties Response 
- Properties of Malware Scanning.
- OverrideSubscription boolLevel Settings 
- Indicates whether the settings defined for this storage account should override the settings defined for the subscription.
- SensitiveData Pulumi.Discovery Azure Native. Security. Inputs. Sensitive Data Discovery Properties Response 
- Properties of Sensitive Data Discovery.
- IsEnabled bool
- Indicates whether Defender for Storage is enabled on this storage account.
- MalwareScanning MalwareScanning Properties Response 
- Properties of Malware Scanning.
- OverrideSubscription boolLevel Settings 
- Indicates whether the settings defined for this storage account should override the settings defined for the subscription.
- SensitiveData SensitiveDiscovery Data Discovery Properties Response 
- Properties of Sensitive Data Discovery.
- isEnabled Boolean
- Indicates whether Defender for Storage is enabled on this storage account.
- malwareScanning MalwareScanning Properties Response 
- Properties of Malware Scanning.
- overrideSubscription BooleanLevel Settings 
- Indicates whether the settings defined for this storage account should override the settings defined for the subscription.
- sensitiveData SensitiveDiscovery Data Discovery Properties Response 
- Properties of Sensitive Data Discovery.
- isEnabled boolean
- Indicates whether Defender for Storage is enabled on this storage account.
- malwareScanning MalwareScanning Properties Response 
- Properties of Malware Scanning.
- overrideSubscription booleanLevel Settings 
- Indicates whether the settings defined for this storage account should override the settings defined for the subscription.
- sensitiveData SensitiveDiscovery Data Discovery Properties Response 
- Properties of Sensitive Data Discovery.
- is_enabled bool
- Indicates whether Defender for Storage is enabled on this storage account.
- malware_scanning MalwareScanning Properties Response 
- Properties of Malware Scanning.
- override_subscription_ boollevel_ settings 
- Indicates whether the settings defined for this storage account should override the settings defined for the subscription.
- sensitive_data_ Sensitivediscovery Data Discovery Properties Response 
- 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.
- overrideSubscription BooleanLevel Settings 
- Indicates whether the settings defined for this storage account should override the settings defined for the subscription.
- sensitiveData Property MapDiscovery 
- Properties of Sensitive Data Discovery.
MalwareScanningProperties, MalwareScanningPropertiesArgs      
- OnUpload Pulumi.Azure Native. Security. Inputs. On Upload Properties 
- Properties of On Upload malware scanning.
- ScanResults stringEvent Grid Topic Resource Id 
- Optional. Resource id of an Event Grid Topic to send scan results to.
- OnUpload OnUpload Properties 
- Properties of On Upload malware scanning.
- ScanResults stringEvent Grid Topic Resource Id 
- Optional. Resource id of an Event Grid Topic to send scan results to.
- onUpload OnUpload Properties 
- Properties of On Upload malware scanning.
- scanResults StringEvent Grid Topic Resource Id 
- Optional. Resource id of an Event Grid Topic to send scan results to.
- onUpload OnUpload Properties 
- Properties of On Upload malware scanning.
- scanResults stringEvent Grid Topic Resource Id 
- Optional. Resource id of an Event Grid Topic to send scan results to.
- on_upload OnUpload Properties 
- Properties of On Upload malware scanning.
- scan_results_ strevent_ grid_ topic_ resource_ id 
- Optional. Resource id of an Event Grid Topic to send scan results to.
- onUpload Property Map
- Properties of On Upload malware scanning.
- scanResults StringEvent Grid Topic Resource Id 
- Optional. Resource id of an Event Grid Topic to send scan results to.
MalwareScanningPropertiesResponse, MalwareScanningPropertiesResponseArgs        
- OperationStatus Pulumi.Azure Native. Security. Inputs. Operation Status Response 
- Upon failure or partial success. Additional data describing Malware Scanning enable/disable operation.
- OnUpload Pulumi.Azure Native. Security. Inputs. On Upload Properties Response 
- Properties of On Upload malware scanning.
- ScanResults stringEvent Grid Topic Resource Id 
- Optional. Resource id of an Event Grid Topic to send scan results to.
- OperationStatus OperationStatus Response 
- Upon failure or partial success. Additional data describing Malware Scanning enable/disable operation.
- OnUpload OnUpload Properties Response 
- Properties of On Upload malware scanning.
- ScanResults stringEvent Grid Topic Resource Id 
- Optional. Resource id of an Event Grid Topic to send scan results to.
- operationStatus OperationStatus Response 
- Upon failure or partial success. Additional data describing Malware Scanning enable/disable operation.
- onUpload OnUpload Properties Response 
- Properties of On Upload malware scanning.
- scanResults StringEvent Grid Topic Resource Id 
- Optional. Resource id of an Event Grid Topic to send scan results to.
- operationStatus OperationStatus Response 
- Upon failure or partial success. Additional data describing Malware Scanning enable/disable operation.
- onUpload OnUpload Properties Response 
- Properties of On Upload malware scanning.
- scanResults stringEvent Grid Topic Resource Id 
- Optional. Resource id of an Event Grid Topic to send scan results to.
- operation_status OperationStatus Response 
- Upon failure or partial success. Additional data describing Malware Scanning enable/disable operation.
- on_upload OnUpload Properties Response 
- Properties of On Upload malware scanning.
- scan_results_ strevent_ grid_ topic_ resource_ id 
- Optional. Resource id of an Event Grid Topic to send scan results to.
- operationStatus Property Map
- Upon failure or partial success. Additional data describing Malware Scanning enable/disable operation.
- onUpload Property Map
- Properties of On Upload malware scanning.
- scanResults StringEvent Grid Topic Resource Id 
- Optional. Resource id of an Event Grid Topic to send scan results to.
OnUploadProperties, OnUploadPropertiesArgs      
- CapGBPer intMonth 
- 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.
- CapGBPer intMonth 
- 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.
- capGBPer IntegerMonth 
- 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.
- capGBPer numberMonth 
- 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_ intper_ month 
- 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.
- capGBPer NumberMonth 
- 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        
- CapGBPer intMonth 
- 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.
- CapGBPer intMonth 
- 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.
- capGBPer IntegerMonth 
- 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.
- capGBPer numberMonth 
- 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_ intper_ month 
- 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.
- capGBPer NumberMonth 
- 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      
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 Pulumi.Azure Native. Security. Inputs. Operation Status Response 
- 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 OperationStatus Response 
- 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 OperationStatus Response 
- 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 OperationStatus Response 
- 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 OperationStatus Response 
- 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 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} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0