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 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")
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",
});
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:
- Resource
Id string - The identifier of the resource.
- Properties
Pulumi.
Azure Native. Security. Inputs. Defender For Storage Setting Properties - Defender for Storage resource properties.
- Setting
Name string - Defender for Storage setting name.
- Resource
Id string - The identifier of the resource.
- Properties
Defender
For Storage Setting Properties Args - Defender for Storage resource properties.
- Setting
Name string - Defender for Storage setting name.
- resource
Id String - The identifier of the resource.
- properties
Defender
For Storage Setting Properties - Defender for Storage resource properties.
- setting
Name String - Defender for Storage setting name.
- resource
Id string - The identifier of the resource.
- properties
Defender
For Storage Setting Properties - Defender for Storage resource properties.
- setting
Name string - Defender for Storage setting name.
- resource_
id str - The identifier of the resource.
- properties
Defender
For Storage Setting Properties Args - Defender for Storage resource properties.
- setting_
name str - Defender for Storage setting name.
- resource
Id String - The identifier of the resource.
- properties Property Map
- Defender for Storage resource properties.
- setting
Name 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
- Is
Enabled bool - Indicates whether Defender for Storage is enabled on this storage account.
- Malware
Scanning Pulumi.Azure Native. Security. Inputs. Malware Scanning 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 Pulumi.Discovery Azure Native. Security. Inputs. Sensitive 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.
- is
Enabled Boolean - Indicates whether Defender for Storage is enabled on this storage account.
- malware
Scanning MalwareScanning Properties - Properties of Malware Scanning.
- override
Subscription BooleanLevel 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.
- is
Enabled boolean - Indicates whether Defender for Storage is enabled on this storage account.
- malware
Scanning MalwareScanning Properties - Properties of Malware Scanning.
- override
Subscription booleanLevel 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.
- 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.
- is
Enabled Boolean - Indicates whether Defender for Storage is enabled on this storage account.
- malware
Scanning Property Map - Properties of Malware Scanning.
- override
Subscription BooleanLevel Settings - Indicates whether the settings defined for this storage account should override the settings defined for the subscription.
- sensitive
Data Property MapDiscovery - Properties of Sensitive Data Discovery.
DefenderForStorageSettingPropertiesResponse, DefenderForStorageSettingPropertiesResponseArgs
- Is
Enabled bool - Indicates whether Defender for Storage is enabled on this storage account.
- Malware
Scanning Pulumi.Azure Native. Security. Inputs. Malware Scanning 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 Pulumi.Discovery Azure Native. Security. Inputs. Sensitive 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.
- is
Enabled Boolean - Indicates whether Defender for Storage is enabled on this storage account.
- malware
Scanning MalwareScanning Properties Response - Properties of Malware Scanning.
- override
Subscription BooleanLevel 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.
- is
Enabled boolean - Indicates whether Defender for Storage is enabled on this storage account.
- malware
Scanning MalwareScanning Properties Response - Properties of Malware Scanning.
- override
Subscription booleanLevel 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.
- 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.
- is
Enabled Boolean - Indicates whether Defender for Storage is enabled on this storage account.
- malware
Scanning Property Map - Properties of Malware Scanning.
- override
Subscription BooleanLevel Settings - Indicates whether the settings defined for this storage account should override the settings defined for the subscription.
- sensitive
Data Property MapDiscovery - Properties of Sensitive Data Discovery.
MalwareScanningProperties, MalwareScanningPropertiesArgs
- On
Upload Pulumi.Azure Native. Security. Inputs. On Upload Properties - Properties of On Upload malware scanning.
- Scan
Results 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 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 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 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.
- on
Upload Property Map - Properties of On Upload malware scanning.
- scan
Results StringEvent Grid Topic Resource Id - Optional. Resource id of an Event Grid Topic to send scan results to.
MalwareScanningPropertiesResponse, MalwareScanningPropertiesResponseArgs
- Operation
Status Pulumi.Azure Native. Security. Inputs. Operation Status Response - Upon failure or partial success. Additional data describing Malware Scanning enable/disable operation.
- On
Upload Pulumi.Azure Native. Security. Inputs. On Upload Properties Response - Properties of On Upload malware scanning.
- Scan
Results 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 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 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 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.
- operation
Status Property Map - Upon failure or partial success. Additional data describing Malware Scanning enable/disable operation.
- on
Upload Property Map - Properties of On Upload malware scanning.
- scan
Results StringEvent Grid Topic Resource Id - Optional. Resource id of an Event Grid Topic to send scan results to.
OnUploadProperties, OnUploadPropertiesArgs
- Cap
GBPer intMonth - 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.
- Cap
GBPer intMonth - 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.
- cap
GBPer IntegerMonth - Defines the max GB to be scanned per Month. Set to -1 if no capping is needed.
- is
Enabled Boolean - Indicates whether On Upload malware scanning should be enabled.
- cap
GBPer numberMonth - Defines the max GB to be scanned per Month. Set to -1 if no capping is needed.
- is
Enabled 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.
- cap
GBPer NumberMonth - Defines the max GB to be scanned per Month. Set to -1 if no capping is needed.
- is
Enabled Boolean - Indicates whether On Upload malware scanning should be enabled.
OnUploadPropertiesResponse, OnUploadPropertiesResponseArgs
- Cap
GBPer intMonth - 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.
- Cap
GBPer intMonth - 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.
- cap
GBPer IntegerMonth - Defines the max GB to be scanned per Month. Set to -1 if no capping is needed.
- is
Enabled Boolean - Indicates whether On Upload malware scanning should be enabled.
- cap
GBPer numberMonth - Defines the max GB to be scanned per Month. Set to -1 if no capping is needed.
- is
Enabled 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.
- cap
GBPer NumberMonth - Defines the max GB to be scanned per Month. Set to -1 if no capping is needed.
- is
Enabled Boolean - Indicates whether On Upload malware scanning should be enabled.
OperationStatusResponse, OperationStatusResponseArgs
SensitiveDataDiscoveryProperties, SensitiveDataDiscoveryPropertiesArgs
- Is
Enabled bool - Indicates whether Sensitive Data Discovery should be enabled.
- Is
Enabled bool - Indicates whether Sensitive Data Discovery should be enabled.
- is
Enabled Boolean - Indicates whether Sensitive Data Discovery should be enabled.
- is
Enabled boolean - Indicates whether Sensitive Data Discovery should be enabled.
- is_
enabled bool - Indicates whether Sensitive Data Discovery should be enabled.
- is
Enabled Boolean - Indicates whether Sensitive Data Discovery should be enabled.
SensitiveDataDiscoveryPropertiesResponse, SensitiveDataDiscoveryPropertiesResponseArgs
- Operation
Status Pulumi.Azure Native. Security. Inputs. Operation Status 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.
- 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.
- operation
Status OperationStatus Response - Upon failure or partial success. Additional data describing Sensitive Data Discovery enable/disable operation.
- is
Enabled 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 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.
- operation
Status Property Map - Upon failure or partial success. Additional data describing Sensitive Data Discovery enable/disable operation.
- is
Enabled 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