This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.security.getDefenderForStorage
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Gets the Defender for Storage settings for the specified storage account. Azure REST API version: 2022-12-01-preview.
Other available API versions: 2024-10-01-preview.
Using getDefenderForStorage
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDefenderForStorage(args: GetDefenderForStorageArgs, opts?: InvokeOptions): Promise<GetDefenderForStorageResult>
function getDefenderForStorageOutput(args: GetDefenderForStorageOutputArgs, opts?: InvokeOptions): Output<GetDefenderForStorageResult>def get_defender_for_storage(resource_id: Optional[str] = None,
                             setting_name: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetDefenderForStorageResult
def get_defender_for_storage_output(resource_id: Optional[pulumi.Input[str]] = None,
                             setting_name: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetDefenderForStorageResult]func LookupDefenderForStorage(ctx *Context, args *LookupDefenderForStorageArgs, opts ...InvokeOption) (*LookupDefenderForStorageResult, error)
func LookupDefenderForStorageOutput(ctx *Context, args *LookupDefenderForStorageOutputArgs, opts ...InvokeOption) LookupDefenderForStorageResultOutput> Note: This function is named LookupDefenderForStorage in the Go SDK.
public static class GetDefenderForStorage 
{
    public static Task<GetDefenderForStorageResult> InvokeAsync(GetDefenderForStorageArgs args, InvokeOptions? opts = null)
    public static Output<GetDefenderForStorageResult> Invoke(GetDefenderForStorageInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDefenderForStorageResult> getDefenderForStorage(GetDefenderForStorageArgs args, InvokeOptions options)
public static Output<GetDefenderForStorageResult> getDefenderForStorage(GetDefenderForStorageArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:security:getDefenderForStorage
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ResourceId string
- The identifier of the resource.
- SettingName string
- Defender for Storage setting name.
- ResourceId string
- The identifier of the resource.
- SettingName string
- Defender for Storage setting name.
- resourceId String
- The identifier of the resource.
- settingName String
- Defender for Storage setting name.
- resourceId string
- The identifier of the resource.
- settingName string
- Defender for Storage setting name.
- resource_id str
- The identifier of the resource.
- setting_name str
- Defender for Storage setting name.
- resourceId String
- The identifier of the resource.
- settingName String
- Defender for Storage setting name.
getDefenderForStorage Result
The following output properties are available:
- Id string
- Resource Id
- Name string
- Resource name
- Properties
Pulumi.Azure Native. Security. Outputs. Defender For Storage Setting Properties Response 
- Defender for Storage resource properties.
- Type string
- Resource type
- Id string
- Resource Id
- Name string
- Resource name
- Properties
DefenderFor Storage Setting Properties Response 
- Defender for Storage resource properties.
- Type string
- Resource type
- id String
- Resource Id
- name String
- Resource name
- properties
DefenderFor Storage Setting Properties Response 
- Defender for Storage resource properties.
- type String
- Resource type
- id string
- Resource Id
- name string
- Resource name
- properties
DefenderFor Storage Setting Properties Response 
- Defender for Storage resource properties.
- type string
- Resource type
- id str
- Resource Id
- name str
- Resource name
- properties
DefenderFor Storage Setting Properties Response 
- Defender for Storage resource properties.
- type str
- Resource type
- id String
- Resource Id
- name String
- Resource name
- properties Property Map
- Defender for Storage resource properties.
- type String
- Resource type
Supporting Types
DefenderForStorageSettingPropertiesResponse     
- 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.
MalwareScanningPropertiesResponse   
- 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.
OnUploadPropertiesResponse   
- 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  
SensitiveDataDiscoveryPropertiesResponse    
- 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.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi