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.73.0 published on Wednesday, Nov 20, 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.73.0 published on Wednesday, Nov 20, 2024 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)
    // 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
    Properties Pulumi.AzureNative.Security.Outputs.DefenderForStorageSettingPropertiesResponse
    Defender for Storage resource properties.
    Type string
    Resource type
    Id string
    Resource Id
    Name string
    Resource name
    Properties DefenderForStorageSettingPropertiesResponse
    Defender for Storage resource properties.
    Type string
    Resource type
    id String
    Resource Id
    name String
    Resource name
    properties DefenderForStorageSettingPropertiesResponse
    Defender for Storage resource properties.
    type String
    Resource type
    id string
    Resource Id
    name string
    Resource name
    properties DefenderForStorageSettingPropertiesResponse
    Defender for Storage resource properties.
    type string
    Resource type
    id str
    Resource Id
    name str
    Resource name
    properties DefenderForStorageSettingPropertiesResponse
    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.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.

    MalwareScanningPropertiesResponse

    OperationStatus 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 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 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 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 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 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.

    OnUploadPropertiesResponse

    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

    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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi