DefenderForStoragesClient Interface

public interface DefenderForStoragesClient

An instance of this class provides access to all the operations defined in DefenderForStoragesClient.

Method Summary

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

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

abstract Response<MalwareScanInner> cancelMalwareScanWithResponse(String resourceId, SettingName settingName, String scanId, Context context)

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

abstract DefenderForStorageSettingInner create(String resourceId, SettingName settingName, DefenderForStorageSettingInner defenderForStorageSetting)

Creates or updates the Defender for Storage settings on a specified storage account.

abstract Response<DefenderForStorageSettingInner> createWithResponse(String resourceId, SettingName settingName, DefenderForStorageSettingInner defenderForStorageSetting, Context context)

Creates or updates the Defender for Storage settings on a specified storage account.

abstract DefenderForStorageSettingInner get(String resourceId, SettingName settingName)

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

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

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

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

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

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

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

abstract PagedIterable<DefenderForStorageSettingInner> list(String resourceId)

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

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

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

abstract MalwareScanInner startMalwareScan(String resourceId, SettingName settingName)

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

abstract Response<MalwareScanInner> startMalwareScanWithResponse(String resourceId, SettingName settingName, Context context)

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

Method Details

cancelMalwareScan

public abstract MalwareScanInner 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<MalwareScanInner> 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>.

create

public abstract DefenderForStorageSettingInner create(String resourceId, SettingName settingName, DefenderForStorageSettingInner defenderForStorageSetting)

Creates or updates the Defender for Storage settings on a specified storage account.

Parameters:

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

Returns:

the Defender for Storage resource.

createWithResponse

public abstract Response<DefenderForStorageSettingInner> createWithResponse(String resourceId, SettingName settingName, DefenderForStorageSettingInner defenderForStorageSetting, Context context)

Creates or updates the Defender for Storage settings on a specified storage account.

Parameters:

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

Returns:

the Defender for Storage resource along with Response<T>.

get

public abstract DefenderForStorageSettingInner 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.

getMalwareScan

public abstract MalwareScanInner 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<MalwareScanInner> 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<DefenderForStorageSettingInner> 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<DefenderForStorageSettingInner> 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<DefenderForStorageSettingInner> 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 MalwareScanInner 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<MalwareScanInner> 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