DefenderForStorage interface
Interface representing a DefenderForStorage.
Methods
create(string, string, Defender |
Creates or updates the Defender for Storage settings on a specified storage account. |
get(string, string, Defender |
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
The options parameters.
Returns
Promise<DefenderForStorageSetting>
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.
The options parameters.
Returns
Promise<DefenderForStorageSetting>
Azure SDK for JavaScript