Settings interface

Interface representing a Settings.

Methods

get(string, SettingsGetOptionalParams)

Settings of different configurations in Microsoft Defender for Cloud

list(SettingsListOptionalParams)

Settings about different configurations in Microsoft Defender for Cloud

update(string, SettingUnion, SettingsUpdateOptionalParams)

updating settings about different configurations in Microsoft Defender for Cloud

Method Details

get(string, SettingsGetOptionalParams)

Settings of different configurations in Microsoft Defender for Cloud

function get(settingName: string, options?: SettingsGetOptionalParams): Promise<SettingUnion>

Parameters

settingName

string

The name of the setting

options
SettingsGetOptionalParams

The options parameters.

Returns

Promise<SettingUnion>

list(SettingsListOptionalParams)

Settings about different configurations in Microsoft Defender for Cloud

function list(options?: SettingsListOptionalParams): PagedAsyncIterableIterator<SettingUnion, SettingUnion[], PageSettings>

Parameters

options
SettingsListOptionalParams

The options parameters.

Returns

update(string, SettingUnion, SettingsUpdateOptionalParams)

updating settings about different configurations in Microsoft Defender for Cloud

function update(settingName: string, setting: SettingUnion, options?: SettingsUpdateOptionalParams): Promise<SettingUnion>

Parameters

settingName

string

The name of the setting

setting
SettingUnion

Setting object

options
SettingsUpdateOptionalParams

The options parameters.

Returns

Promise<SettingUnion>