azure-native.security.getDefenderForStorage
Explore with Pulumi AI
Gets the Defender for Storage settings for the specified storage account.
Uses Azure REST API version 2024-10-01-preview.
Other available API versions: 2022-12-01-preview, 2024-08-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native security [ApiVersion]
. See the version guide for details.
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 dictionary
The following arguments are supported:
- Resource
Id string - The identifier of the resource.
- Setting
Name string - Defender for Storage setting name.
- Resource
Id string - The identifier of the resource.
- Setting
Name string - Defender for Storage setting name.
- resource
Id String - The identifier of the resource.
- setting
Name String - Defender for Storage setting name.
- resource
Id string - The identifier of the resource.
- setting
Name string - Defender for Storage setting name.
- resource_
id str - The identifier of the resource.
- setting_
name str - Defender for Storage setting name.
- resource
Id String - The identifier of the resource.
- setting
Name String - Defender for Storage setting name.
getDefenderForStorage Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- 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
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Resource Id
- Name string
- Resource name
- Properties
Defender
For Storage Setting Properties Response - Defender for Storage resource properties.
- Type string
- Resource type
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Resource Id
- name String
- Resource name
- properties
Defender
For Storage Setting Properties Response - Defender for Storage resource properties.
- type String
- Resource type
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- Resource Id
- name string
- Resource name
- properties
Defender
For Storage Setting Properties Response - Defender for Storage resource properties.
- type string
- Resource type
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- Resource Id
- name str
- Resource name
- properties
Defender
For Storage Setting Properties Response - Defender for Storage resource properties.
- type str
- Resource type
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Resource Id
- name String
- Resource name
- properties Property Map
- Defender for Storage resource properties.
- type String
- Resource type
Supporting Types
DefenderForStorageSettingPropertiesResponse
- 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.
MalwareScanningPropertiesResponse
- 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.
OnUploadPropertiesResponse
- 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
SensitiveDataDiscoveryPropertiesResponse
- 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.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0