1. Packages
  2. Azure Native
  3. API Docs
  4. security
  5. getDefenderForStorage
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.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.security.getDefenderForStorage

Explore with Pulumi AI

azure-native logo
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.47.1 published on Monday, Jun 24, 2024 by Pulumi

    Gets the Defender for Storage settings for the specified storage account. Azure REST API version: 2022-12-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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:security:getDefenderForStorage
      arguments:
        # arguments dictionary

    The 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
    Type string
    Resource type
    IsEnabled bool
    Indicates whether Defender for Storage is enabled on this storage account.
    MalwareScanning Pulumi.AzureNative.Security.Outputs.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.Outputs.SensitiveDataDiscoveryPropertiesResponse
    Properties of Sensitive Data Discovery.
    Id string
    Resource Id
    Name string
    Resource name
    Type string
    Resource type
    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.
    id String
    Resource Id
    name String
    Resource name
    type String
    Resource type
    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.
    id string
    Resource Id
    name string
    Resource name
    type string
    Resource type
    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.
    id str
    Resource Id
    name str
    Resource name
    type str
    Resource type
    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.
    id String
    Resource Id
    name String
    Resource name
    type String
    Resource type
    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.

    Supporting Types

    MalwareScanningPropertiesResponse

    OperationStatus Pulumi.AzureNative.Security.Inputs.OperationStatusResponse
    Upon failure or partial success. Additional data describing Malware Scanning enable/disable operation.
    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.
    ScanResultsEventGridTopicResourceId string
    Optional. Resource id of an Event Grid Topic to send scan results to.
    OperationStatus OperationStatusResponse
    Upon failure or partial success. Additional data describing Malware Scanning enable/disable operation.
    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.
    ScanResultsEventGridTopicResourceId string
    Optional. Resource id of an Event Grid Topic to send scan results to.
    operationStatus OperationStatusResponse
    Upon failure or partial success. Additional data describing Malware Scanning enable/disable operation.
    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.
    scanResultsEventGridTopicResourceId String
    Optional. Resource id of an Event Grid Topic to send scan results to.
    operationStatus OperationStatusResponse
    Upon failure or partial success. Additional data describing Malware Scanning enable/disable operation.
    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.
    scanResultsEventGridTopicResourceId string
    Optional. Resource id of an Event Grid Topic to send scan results to.
    operation_status OperationStatusResponse
    Upon failure or partial success. Additional data describing Malware Scanning enable/disable operation.
    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.
    scan_results_event_grid_topic_resource_id str
    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.
    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.
    scanResultsEventGridTopicResourceId String
    Optional. Resource id of an Event Grid Topic to send scan results to.

    OperationStatusResponse

    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.

    SensitiveDataDiscoveryPropertiesResponse

    OperationStatus 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 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 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 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 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 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
    azure-native logo
    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.47.1 published on Monday, Jun 24, 2024 by Pulumi