Microsoft.Security (preview:2025-07-01)

2025/08/28 • 6 new methods

DefenderForStorage_Get (new)
Description Gets the Defender for Storage settings for the specified storage account.
Reference Link ¶

⚼ Request

GET:  /{resourceId}/providers/Microsoft.Security/defenderForStorageSettings/{settingName}
{
api-version: string ,
resourceId: string ,
settingName: string ,
}

⚐ Response (200)

{
properties:
{
isEnabled: boolean ,
malwareScanning:
{
onUpload:
{
isEnabled: boolean ,
capGBPerMonth: integer ,
filters:
{
excludeBlobsWithPrefix:
[
string ,
]
,
excludeBlobsWithSuffix:
[
string ,
]
,
excludeBlobsLargerThan: string ,
}
,
}
,
scanResultsEventGridTopicResourceId: string ,
blobScanResultsOptions: enum ,
automatedResponse: enum ,
operationStatus:
{
code: string ,
message: string ,
}
,
}
,
sensitiveDataDiscovery:
{
isEnabled: boolean ,
operationStatus:
{
code: string ,
message: string ,
}
,
}
,
overrideSubscriptionLevelSettings: boolean ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DefenderForStorage_Create (new)
Description Creates or updates the Defender for Storage settings on a specified storage account.
Reference Link ¶

⚼ Request

PUT:  /{resourceId}/providers/Microsoft.Security/defenderForStorageSettings/{settingName}
{
api-version: string ,
resourceId: string ,
settingName: string ,
defenderForStorageSetting:
{
properties:
{
isEnabled: boolean ,
malwareScanning:
{
onUpload:
{
isEnabled: boolean ,
capGBPerMonth: integer ,
filters:
{
excludeBlobsWithPrefix:
[
string ,
]
,
excludeBlobsWithSuffix:
[
string ,
]
,
excludeBlobsLargerThan: string ,
}
,
}
,
scanResultsEventGridTopicResourceId: string ,
blobScanResultsOptions: enum ,
automatedResponse: enum ,
operationStatus:
{
code: string ,
message: string ,
}
,
}
,
sensitiveDataDiscovery:
{
isEnabled: boolean ,
operationStatus:
{
code: string ,
message: string ,
}
,
}
,
overrideSubscriptionLevelSettings: boolean ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
isEnabled: boolean ,
malwareScanning:
{
onUpload:
{
isEnabled: boolean ,
capGBPerMonth: integer ,
filters:
{
excludeBlobsWithPrefix:
[
string ,
]
,
excludeBlobsWithSuffix:
[
string ,
]
,
excludeBlobsLargerThan: string ,
}
,
}
,
scanResultsEventGridTopicResourceId: string ,
blobScanResultsOptions: enum ,
automatedResponse: enum ,
operationStatus:
{
code: string ,
message: string ,
}
,
}
,
sensitiveDataDiscovery:
{
isEnabled: boolean ,
operationStatus:
{
code: string ,
message: string ,
}
,
}
,
overrideSubscriptionLevelSettings: boolean ,
}
,
}

⚐ Response (201)

{
properties:
{
isEnabled: boolean ,
malwareScanning:
{
onUpload:
{
isEnabled: boolean ,
capGBPerMonth: integer ,
filters:
{
excludeBlobsWithPrefix:
[
string ,
]
,
excludeBlobsWithSuffix:
[
string ,
]
,
excludeBlobsLargerThan: string ,
}
,
}
,
scanResultsEventGridTopicResourceId: string ,
blobScanResultsOptions: enum ,
automatedResponse: enum ,
operationStatus:
{
code: string ,
message: string ,
}
,
}
,
sensitiveDataDiscovery:
{
isEnabled: boolean ,
operationStatus:
{
code: string ,
message: string ,
}
,
}
,
overrideSubscriptionLevelSettings: boolean ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DefenderForStorage_StartMalwareScan (new)
Description Initiate a Defender for Storage malware scan for the specified storage account.
Reference Link ¶

⚼ Request

POST:  /{resourceId}/providers/Microsoft.Security/defenderForStorageSettings/{settingName}/startMalwareScan
{
api-version: string ,
resourceId: string ,
settingName: string ,
}

⚐ Response (200)

{
properties:
{
scanId: string ,
scanStatus: string ,
scanStatusMessage: string ,
scanStartTime: string ,
scanEndTime: string ,
scanSummary:
{
blobs:
{
totalBlobsScanned: integer ,
maliciousBlobsCount: integer ,
skippedBlobsCount: integer ,
failedBlobsCount: integer ,
scannedBlobsInGB: number ,
}
,
estimatedScanCostUSD: number ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DefenderForStorage_CancelMalwareScan (new)
Description Cancels a Defender for Storage malware scan for the specified storage account.
Reference Link ¶

⚼ Request

POST:  /{resourceId}/providers/Microsoft.Security/defenderForStorageSettings/{settingName}/malwareScans/{scanId}/cancelMalwareScan
{
api-version: string ,
resourceId: string ,
settingName: string ,
scanId: string ,
}

⚐ Response (200)

{
properties:
{
scanId: string ,
scanStatus: string ,
scanStatusMessage: string ,
scanStartTime: string ,
scanEndTime: string ,
scanSummary:
{
blobs:
{
totalBlobsScanned: integer ,
maliciousBlobsCount: integer ,
skippedBlobsCount: integer ,
failedBlobsCount: integer ,
scannedBlobsInGB: number ,
}
,
estimatedScanCostUSD: number ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DefenderForStorage_GetMalwareScan (new)
Description Gets the Defender for Storage malware scan for the specified storage resource.
Reference Link ¶

⚼ Request

GET:  /{resourceId}/providers/Microsoft.Security/defenderForStorageSettings/{settingName}/malwareScans/{scanId}
{
api-version: string ,
resourceId: string ,
settingName: string ,
scanId: string ,
}

⚐ Response (200)

{
properties:
{
scanId: string ,
scanStatus: string ,
scanStatusMessage: string ,
scanStartTime: string ,
scanEndTime: string ,
scanSummary:
{
blobs:
{
totalBlobsScanned: integer ,
maliciousBlobsCount: integer ,
skippedBlobsCount: integer ,
failedBlobsCount: integer ,
scannedBlobsInGB: number ,
}
,
estimatedScanCostUSD: number ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Operations_List (new)
Description Exposes all available operations for discovery purposes.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Security/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: enum ,
actionType: enum ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}