DefenderForStorage interface

Interface representing a DefenderForStorage.

Methods

create(string, string, DefenderForStorageSetting, DefenderForStorageCreateOptionalParams)

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

get(string, string, DefenderForStorageGetOptionalParams)

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

Method Details

create(string, string, DefenderForStorageSetting, DefenderForStorageCreateOptionalParams)

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

function create(resourceId: string, settingName: string, defenderForStorageSetting: DefenderForStorageSetting, options?: DefenderForStorageCreateOptionalParams): Promise<DefenderForStorageSetting>

Parameters

resourceId

string

The identifier of the resource.

settingName

string

Defender for Storage setting name.

defenderForStorageSetting
DefenderForStorageSetting

Defender for Storage Settings

options
DefenderForStorageCreateOptionalParams

The options parameters.

Returns

get(string, string, DefenderForStorageGetOptionalParams)

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

function get(resourceId: string, settingName: string, options?: DefenderForStorageGetOptionalParams): Promise<DefenderForStorageSetting>

Parameters

resourceId

string

The identifier of the resource.

settingName

string

Defender for Storage setting name.

options
DefenderForStorageGetOptionalParams

The options parameters.

Returns