DefenderForStorageSettingResource.StartMalwareScan(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initiate a Defender for Storage malware scan for the specified storage account. Blobs and Files will be scanned for malware.
- Request Path. : /{resourceId}/providers/Microsoft.Security/defenderForStorageSettings/{settingName}/startMalwareScan.
- Operation Id. : DefenderForStorageSettings_StartMalwareScan.
- Default Api Version. : 2025-09-01-preview.
- Resource. : DefenderForStorageSettingResource.
public virtual Azure.Response<Azure.ResourceManager.SecurityCenter.Models.MalwareScan> StartMalwareScan(System.Threading.CancellationToken cancellationToken = default);
abstract member StartMalwareScan : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityCenter.Models.MalwareScan>
override this.StartMalwareScan : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityCenter.Models.MalwareScan>
Public Overridable Function StartMalwareScan (Optional cancellationToken As CancellationToken = Nothing) As Response(Of MalwareScan)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.