UNPKG

@azure/arm-security

Version:
51 lines (48 loc) 1.47 kB
/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { SettingUnion, SettingsListOptionalParams, SettingName, SettingsGetOptionalParams, SettingsGetResponse, SettingsUpdateOptionalParams, SettingsUpdateResponse } from "../models"; /// <reference lib="esnext.asynciterable" /> /** Interface representing a Settings. */ export interface Settings { /** * Settings about different configurations in security center * @param options The options parameters. */ list( options?: SettingsListOptionalParams ): PagedAsyncIterableIterator<SettingUnion>; /** * Settings of different configurations in security center * @param settingName The name of the setting * @param options The options parameters. */ get( settingName: SettingName, options?: SettingsGetOptionalParams ): Promise<SettingsGetResponse>; /** * updating settings about different configurations in security center * @param settingName The name of the setting * @param setting Setting object * @param options The options parameters. */ update( settingName: SettingName, setting: SettingUnion, options?: SettingsUpdateOptionalParams ): Promise<SettingsUpdateResponse>; }