Skip to content

Microsoft IIS - Configure - Process Steps

IIS Configuration Apply

Apply a configuration or application to an IIS instance.

NameTypeDescriptionRequired
Options StringStringA list of options, separated by (,) to concatenate to the synchronize command. For example: encryptPassword=mypassword,includeAcls=falseNo
Resource PathStringThe path to the resource to configure in IBM DevOps Deploy.Yes
Web Deploy PathStringThe full path to the msdeploy.exe executable file.Yes

IIS Configuration Auto-Discovery

Discover an IIS configuration.

NameTypeDescriptionRequired

IIS Configuration Discovery

Configure detailed information in IIS.

NameTypeDescriptionRequired
AppCmd PathStringThe full path to the AppCmd.exe executable file.Yes
Configuration FolderStringThe name of the output folder to use to store configuration data. If you do not specify a full path, the file is stored in the working directory.Yes
IIS Source PathStringThe path to the IIS home directory.Yes
Options StringStringA list of options, separated by commas (,) to concatenate to the synchronize command. For example: encryptPassword=mypassword,includeAcls=falseNo
ResourceStringThe resource to configure.No
Web Deploy PathStringThe full path to the msdeploy.exe executable file. For example: C:\Program Files\IIS\Microsoft Web Deploy V2\No

IIS Configuration Live Compare

Compare an IIS configuration stored in a component version with a live IIS instance

NameTypeDescriptionRequired
Custom EncodingStringSpecify a character encoding to use. If blank, the replacement file is created with the local character encoding of the agent. Example encodings: UTF-8, US-ASCII, UCS-2, JIS X 0201, UTF-16, UTF-16LE, EUC.No
Options StringStringA list of options, separated by (,) to concatenate to the synchronize command. For example: encryptPassword=mypassword,includeAcls=falseNo
Property ListStringSpecify a property value here to use existing property names as tokens to replace in the target files. For example: Specify ${p:environment/allProperties} to use the names of all component environment properties as tokens and the property values as the replacements. Similarly, specify ${p:component/allProperties},${p:environment/allProperties} to use the names of all component and component environment properties as tokens. The token delimiter and property prefix settings apply. If you specify @ for the start and end token delimiters and a property that is named token1 exists, then the step searches for @token1@ to replace.No
Property PrefixStringSpecify a prefix to use to determine which properties are included in token replacement. Leave blank to include all properties.No
Token DelimiterStringThe delimiter to denote tokens inside the file. The default delimiter is the at sign (@). This delimiter must match any delimiter that is used by the IIS Configuration Tokenize Configuration File step (by default, also the at sign).No
Web Deploy PathStringThe full path to the msdeploy.exe executable file. For example: C:\Program Files\IIS\Microsoft Web Deploy V2\No

IIS Configuration Replace Tokens

Replace tokens in the configuration file.

NameTypeDescriptionRequired
Custom EncodingStringSpecify a character encoding to use. If blank, the replacement file is created with the local character encoding of the agent. Example encodings: UTF-8, US-ASCII, UCS-2, JIS X 0201, UTF-16, UTF-16LE, EUC.No
Property ListStringSpecify a property value here to use existing property names as tokens to replace in the target files. For example: Specify ${p:environment/allProperties} to use the names of all component environment properties as tokens and the property values as the replacements. Similarly, specify ${p:component/allProperties},${p:environment/allProperties} to use the names of all component and component environment properties as tokens. The token delimiter and property prefix settings apply. If you specify @ for the start and end token delimiters and a property that is named token1 exists, then the step searches for @token1@ to replace.No
Property PrefixStringSpecify a prefix to use to determine which properties are included in token replacement. Leave blank to include all properties.No
Token DelimiterStringThe delimiter to denote tokens inside the file. The default delimiter is the at sign (@). This delimiter must match any delimiter that is used by the IIS Configuration Tokenize Configuration File step (by default, also the at sign).No

IIS Configuration Tokenize Configuration File

Replace property values with tokens in Web Deploy configuration files.

NameTypeDescriptionRequired
Properties To TokenizeStringSpecify a list of properties and their replacement tokens, separated by newline characters. Use the following format: property=token. For example: aProperty=@token@\nanotherProperty=@anotherToken@Yes
Token DelimiterStringThe delimiter to denote tokens inside the file. The default delimiter is the at sign (@). This delimiter must match the delimiter that is used by the IIS Configuration Replace Tokens step (by default, also the at sign).Yes

IIS Configuration Topology Discovery

Discover an IIS configuration.

NameTypeDescriptionRequired
AppCmd PathStringThe full path to the AppCmd.exe executable file.Yes

Roles in the IIS-Configuration plug-in

The plug-in adds these roles automatically to resources. You cannot add these roles manually.

IISApp

Role for resources that represents an IIS application

NameTypeDescription
iis.app.nameStringThe name for this resource role
applicationPoolStringApplication pool that this application belongs to. Retrieved from AppCmd list command during topology discovery.

IISAppPool

Role for resources that represents an IIS application pool

NameTypeDescription
iis.app.pool.nameStringThe name for this resource role
MgdVersionStringManaged version. Retrieved from AppCmd list command during topology discovery.
MgdModeStringManaged mode. Retrieved from AppCmd list command during topology discovery.
stateStringState of the application pool. Retrieved from AppCmd list command during topology discovery.

IISSite

Role for resources that represents an IIS Site

NameTypeDescription
iis.site.nameStringThe name for this resource role
idStringID of the site. Retrieved from AppCmd list command during topology discovery.
bindingsStringBindings of the site. Retrieved from AppCmd list command during topology discovery.
stateStringState of the site. Retrieved from AppCmd list command during topology discovery.

IISWebServer

Role for resources that represents an IIS root

NameTypeDescription
iis.webserver.nameStringThe name for this resource role
iis.wwwroot.pathStringPath to wwwroot on the agents environment. This is used to locate the wwwroot path to perform configuration discover/apply actions
iis.appCmdFileStringPath to the AppCmd.exe file. This is used to locate the AppCmd.exe file so that it can be utilized in topology discoveries
iis.webDeployPathStringPath to the MSDeploy.exe file. This is used to locate MSDeploy.exe so that we can utilize it for configuration discover/apply actions