DefenderForStorages Interface

public interface DefenderForStorages

Resource collection API of DefenderForStorages.

Method Summary

Modifier and Type Method and Description
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 Response<DefenderForStorageSetting> getWithResponse(String resourceId, SettingName settingName, Context context)

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

Method Details

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 identifier of the resource.
settingName - 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 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>.

getWithResponse

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

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

Parameters:

resourceId - The identifier of the resource.
settingName - 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>.

Applies to