Microsoft IIS site management
This module provides the ability to add/remove websites and application pools from Microsoft IIS.
2016.3.0 新版功能.
salt.states.win_iis.
create_apppool
(name)¶Creates an IIS application pool.
salt.states.win_iis.
deployed
(name, protocol, sourcepath, port, apppool='', hostheader='', ipaddress='')¶Ensure the website has been deployed. This only validates against the website name and will not update information on existing websites with the same name. If the website name doesn't exist it will create with the provided parameters.
salt.states.win_iis.
remove_apppool
(name)¶Removes an existing Application Pool from the server
salt.states.win_iis.
remove_site
(name)¶Remove an existing website from the webserver.