Settings interface
Interface representing a Settings.
Methods
get(string, Settings |
Settings of different configurations in security center |
list(Settings |
Settings about different configurations in security center |
update(string, Setting |
updating settings about different configurations in security center |
Method Details
get(string, SettingsGetOptionalParams)
Settings of different configurations in security center
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 security center
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 security center
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>