DefenderForStorages Interface
public interface DefenderForStorages
Resource collection API of DefenderForStorages.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
Malware |
cancelMalwareScan(String resourceId, SettingName settingName, String scanId)
Cancels a Defender for Storage malware scan for the specified storage account. |
|
abstract
Response<Malware |
cancelMalwareScanWithResponse(String resourceId, SettingName settingName, String scanId, Context context)
Cancels a Defender for Storage malware scan for the specified storage account. |
| abstract Blank |
define(SettingName name)
Begins definition for a new Defender |
|
abstract
Defender |
get(String resourceId, SettingName settingName)
Gets the Defender for Storage settings for the specified storage account. |
|
abstract
Defender |
getById(String id)
Gets the Defender for Storage settings for the specified storage account. |
|
abstract
Response<Defender |
getByIdWithResponse(String id, Context context)
Gets the Defender for Storage settings for the specified storage account. |
|
abstract
Malware |
getMalwareScan(String resourceId, SettingName settingName, String scanId)
Gets the Defender for Storage malware scan for the specified storage resource. |
|
abstract
Response<Malware |
getMalwareScanWithResponse(String resourceId, SettingName settingName, String scanId, Context context)
Gets the Defender for Storage malware scan for the specified storage resource. |
|
abstract
Response<Defender |
getWithResponse(String resourceId, SettingName settingName, Context context)
Gets the Defender for Storage settings for the specified storage account. |
|
abstract
Paged |
list(String resourceId)
Lists the Defender for Storage settings for the specified storage account. |
|
abstract
Paged |
list(String resourceId, Context context)
Lists the Defender for Storage settings for the specified storage account. |
|
abstract
Malware |
startMalwareScan(String resourceId, SettingName settingName)
Initiate a Defender for Storage malware scan for the specified storage account. |
|
abstract
Response<Malware |
startMalwareScanWithResponse(String resourceId, SettingName settingName, Context context)
Initiate a Defender for Storage malware scan for the specified storage account. |
Method Details
cancelMalwareScan
public abstract MalwareScan cancelMalwareScan(String resourceId, SettingName settingName, String scanId)
Cancels a Defender for Storage malware scan for the specified storage account.
Parameters:
Returns:
cancelMalwareScanWithResponse
public abstract Response<MalwareScan> cancelMalwareScanWithResponse(String resourceId, SettingName settingName, String scanId, Context context)
Cancels a Defender for Storage malware scan for the specified storage account.
Parameters:
Returns:
define
public abstract DefenderForStorageSetting.DefinitionStages.Blank define(SettingName name)
Begins definition for a new DefenderForStorageSetting resource.
Parameters:
Returns:
get
public abstract DefenderForStorageSetting get(String resourceId, SettingName settingName)
Gets the Defender for Storage settings for the specified storage account.
Parameters:
Returns:
getById
public abstract DefenderForStorageSetting getById(String id)
Gets the Defender for Storage settings for the specified storage account.
Parameters:
Returns:
getByIdWithResponse
public abstract Response<DefenderForStorageSetting> getByIdWithResponse(String id, Context context)
Gets the Defender for Storage settings for the specified storage account.
Parameters:
Returns:
getMalwareScan
public abstract MalwareScan getMalwareScan(String resourceId, SettingName settingName, String scanId)
Gets the Defender for Storage malware scan for the specified storage resource.
Parameters:
Returns:
getMalwareScanWithResponse
public abstract Response<MalwareScan> getMalwareScanWithResponse(String resourceId, SettingName settingName, String scanId, Context context)
Gets the Defender for Storage malware scan for the specified storage resource.
Parameters:
Returns:
getWithResponse
public abstract Response<DefenderForStorageSetting> getWithResponse(String resourceId, SettingName settingName, Context context)
Gets the Defender for Storage settings for the specified storage account.
Parameters:
Returns:
list
public abstract PagedIterable<DefenderForStorageSetting> list(String resourceId)
Lists the Defender for Storage settings for the specified storage account.
Parameters:
Returns:
list
public abstract PagedIterable<DefenderForStorageSetting> list(String resourceId, Context context)
Lists the Defender for Storage settings for the specified storage account.
Parameters:
Returns:
startMalwareScan
public abstract MalwareScan startMalwareScan(String resourceId, SettingName settingName)
Initiate a Defender for Storage malware scan for the specified storage account. Blobs and Files will be scanned for malware.
Parameters:
Returns:
startMalwareScanWithResponse
public abstract Response<MalwareScan> startMalwareScanWithResponse(String resourceId, SettingName settingName, Context context)
Initiate a Defender for Storage malware scan for the specified storage account. Blobs and Files will be scanned for malware.
Parameters:
Returns: