DefenderForStorages Interface

public interface DefenderForStorages

Resource collection API of DefenderForStorages.

Method Summary

Modifier and Type Method and Description
abstract MalwareScan cancelMalwareScan(String resourceId, SettingName settingName, String scanId)

Cancels a Defender for Storage malware scan for the specified storage account.

abstract Response<MalwareScan> 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 DefenderForStorageSetting resource.

abstract DefenderForStorageSetting get(String resourceId, SettingName settingName)

Gets the Defender for Storage settings for the specified storage account.

abstract DefenderForStorageSetting getById(String id)

Gets the Defender for Storage settings for the specified storage account.

abstract Response<DefenderForStorageSetting> getByIdWithResponse(String id, Context context)

Gets the Defender for Storage settings for the specified storage account.

abstract MalwareScan getMalwareScan(String resourceId, SettingName settingName, String scanId)

Gets the Defender for Storage malware scan for the specified storage resource.

abstract Response<MalwareScan> getMalwareScanWithResponse(String resourceId, SettingName settingName, String scanId, Context context)

Gets the Defender for Storage malware scan for the specified storage resource.

abstract Response<DefenderForStorageSetting> getWithResponse(String resourceId, SettingName settingName, Context context)

Gets the Defender for Storage settings for the specified storage account.

abstract PagedIterable<DefenderForStorageSetting> list(String resourceId)

Lists the Defender for Storage settings for the specified storage account.

abstract PagedIterable<DefenderForStorageSetting> list(String resourceId, Context context)

Lists the Defender for Storage settings for the specified storage account.

abstract MalwareScan startMalwareScan(String resourceId, SettingName settingName)

Initiate a Defender for Storage malware scan for the specified storage account.

abstract Response<MalwareScan> 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:

resourceId - The fully qualified Azure Resource manager identifier of the resource.
settingName - The defender for storage setting name.
scanId - The identifier of the scan. Can be either 'latest' or a GUID.

Returns:

describes the state of a malware scan operation.

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:

resourceId - The fully qualified Azure Resource manager identifier of the resource.
settingName - The defender for storage setting name.
scanId - The identifier of the scan. Can be either 'latest' or a GUID.
context - The context to associate with this operation.

Returns:

describes the state of a malware scan operation along with Response<T>.

define

public abstract DefenderForStorageSetting.DefinitionStages.Blank define(SettingName name)

Begins definition for a new DefenderForStorageSetting resource.

Parameters:

name - resource name.

Returns:

the first stage of the new DefenderForStorageSetting definition.

get

public abstract DefenderForStorageSetting get(String resourceId, SettingName settingName)

Gets the Defender for Storage settings for the specified storage account.

Parameters:

resourceId - The fully qualified Azure Resource manager identifier of the resource.
settingName - The defender for storage setting name.

Returns:

the Defender for Storage settings for the specified storage account.

getById

public abstract DefenderForStorageSetting getById(String id)

Gets the Defender for Storage settings for the specified storage account.

Parameters:

id - the resource ID.

Returns:

the Defender for Storage settings for the specified storage account along with Response<T>.

getByIdWithResponse

public abstract Response<DefenderForStorageSetting> getByIdWithResponse(String id, Context context)

Gets the Defender for Storage settings for the specified storage account.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

the Defender for Storage settings for the specified storage account along with Response<T>.

getMalwareScan

public abstract MalwareScan getMalwareScan(String resourceId, SettingName settingName, String scanId)

Gets the Defender for Storage malware scan for the specified storage resource.

Parameters:

resourceId - The fully qualified Azure Resource manager identifier of the resource.
settingName - The defender for storage setting name.
scanId - The identifier of the scan. Can be either 'latest' or a GUID.

Returns:

the Defender for Storage malware scan for the specified storage resource.

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:

resourceId - The fully qualified Azure Resource manager identifier of the resource.
settingName - The defender for storage setting name.
scanId - The identifier of the scan. Can be either 'latest' or a GUID.
context - The context to associate with this operation.

Returns:

the Defender for Storage malware scan for the specified storage resource along with Response<T>.

getWithResponse

public abstract Response<DefenderForStorageSetting> getWithResponse(String resourceId, SettingName settingName, Context context)

Gets the Defender for Storage settings for the specified storage account.

Parameters:

resourceId - The fully qualified Azure Resource manager identifier of the resource.
settingName - The defender for storage setting name.
context - The context to associate with this operation.

Returns:

the Defender for Storage settings for the specified storage account along with Response<T>.

list

public abstract PagedIterable<DefenderForStorageSetting> list(String resourceId)

Lists the Defender for Storage settings for the specified storage account.

Parameters:

resourceId - The fully qualified Azure Resource manager identifier of the resource.

Returns:

list of Defender for Storage settings as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<DefenderForStorageSetting> list(String resourceId, Context context)

Lists the Defender for Storage settings for the specified storage account.

Parameters:

resourceId - The fully qualified Azure Resource manager identifier of the resource.
context - The context to associate with this operation.

Returns:

list of Defender for Storage settings as paginated response with PagedIterable<T>.

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:

resourceId - The fully qualified Azure Resource manager identifier of the resource.
settingName - The defender for storage setting name.

Returns:

describes the state of a malware scan operation.

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:

resourceId - The fully qualified Azure Resource manager identifier of the resource.
settingName - The defender for storage setting name.
context - The context to associate with this operation.

Returns:

describes the state of a malware scan operation along with Response<T>.

Applies to