Share via


IISWebAppManagementOnMachineGroup@0 - IIS-web-app beheren v0-taak

Gebruik deze taak om websites, web-apps, virtuele mappen of toepassingsgroepen te maken of bij te werken.

Syntaxis

# IIS web app manage v0
# Create or update websites, web apps, virtual directories, or application pools.
- task: IISWebAppManagementOnMachineGroup@0
  inputs:
    #EnableIIS: false # boolean. Enable IIS. Default: false.
    IISDeploymentType: 'IISWebsite' # 'IISWebsite' | 'IISWebApplication' | 'IISVirtualDirectory' | 'IISApplicationPool'. Required. Configuration type. Default: IISWebsite.
    ActionIISWebsite: 'CreateOrUpdateWebsite' # 'CreateOrUpdateWebsite' | 'StartWebsite' | 'StopWebsite'. Required when IISDeploymentType = IISWebsite. Action. Default: CreateOrUpdateWebsite.
    #ActionIISApplicationPool: 'CreateOrUpdateAppPool' # 'CreateOrUpdateAppPool' | 'StartAppPool' | 'StopAppPool' | 'RecycleAppPool'. Required when IISDeploymentType = IISApplicationPool. Action. Default: CreateOrUpdateAppPool.
    #StartStopWebsiteName: # string. Required when ActionIISWebsite = StartWebsite || ActionIISWebsite = StopWebsite. Website name. 
    #Protocol: 'http' # 'https' | 'http'. Required when IISDeploymentType = randomDeployment. Protocol. Default: http.
    #IPAddress: 'All Unassigned' # string. Required when IISDeploymentType = randomDeployment. IP address. Default: All Unassigned.
    #Port: '80' # string. Required when IISDeploymentType = randomDeployment. Port. Default: 80.
    #ServerNameIndication: false # boolean. Optional. Use when IISDeploymentType = randomDeployment. Server Name Indication required. Default: false.
    #HostNameWithOutSNI: # string. Optional. Use when IISDeploymentType = randomDeployment. Host name. 
    #HostNameWithHttp: # string. Optional. Use when IISDeploymentType = randomDeployment. Host name. 
    #HostNameWithSNI: # string. Required when IISDeploymentType = randomDeployment. Host name. 
    #SSLCertThumbPrint: # string. Required when IISDeploymentType = randomDeployment. SSL certificate thumbprint. 
    #StartStopRecycleAppPoolName: # string. Required when ActionIISApplicationPool = StartAppPool || ActionIISApplicationPool = StopAppPool || ActionIISApplicationPool = RecycleAppPool. Application pool name. 
  # IIS Website
    WebsiteName: # string. Required when ActionIISWebsite = CreateOrUpdateWebsite. Website name. 
    WebsitePhysicalPath: '%SystemDrive%\inetpub\wwwroot' # string. Required when ActionIISWebsite = CreateOrUpdateWebsite. Physical path. Default: %SystemDrive%\inetpub\wwwroot.
    WebsitePhysicalPathAuth: 'WebsiteUserPassThrough' # 'WebsiteUserPassThrough' | 'WebsiteWindowsAuth'. Required when ActionIISWebsite = CreateOrUpdateWebsite. Physical path authentication. Default: WebsiteUserPassThrough.
    #WebsiteAuthUserName: # string. Required when WebsitePhysicalPathAuth = WebsiteWindowsAuth && ActionIISWebsite = CreateOrUpdateWebsite. Username. 
    #WebsiteAuthUserPassword: # string. Optional. Use when WebsitePhysicalPathAuth = WebsiteWindowsAuth && ActionIISWebsite = CreateOrUpdateWebsite. Password. 
    #AddBinding: false # boolean. Optional. Use when ActionIISWebsite = CreateOrUpdateWebsite. Add binding. Default: false.
    #CreateOrUpdateAppPoolForWebsite: false # boolean. Optional. Use when ActionIISWebsite = CreateOrUpdateWebsite. Create or update app pool. Default: false.
    #ConfigureAuthenticationForWebsite: false # boolean. Optional. Use when ActionIISWebsite = CreateOrUpdateWebsite. Configure authentication. Default: false.
  # IIS Bindings
    #Bindings: # string. Required when IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && AddBinding = true. Add bindings. 
  # IIS Application pool
    #AppPoolNameForWebsite: # string. Required when IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && CreateOrUpdateAppPoolForWebsite = true. Name. 
    #DotNetVersionForWebsite: 'v4.0' # 'v4.0' | 'v2.0' | 'No Managed Code'. Required when IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && CreateOrUpdateAppPoolForWebsite = true. .NET version. Default: v4.0.
    #PipeLineModeForWebsite: 'Integrated' # 'Integrated' | 'Classic'. Required when IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && CreateOrUpdateAppPoolForWebsite = true. Managed pipeline mode. Default: Integrated.
    #AppPoolIdentityForWebsite: 'ApplicationPoolIdentity' # 'ApplicationPoolIdentity' | 'LocalService' | 'LocalSystem' | 'NetworkService' | 'SpecificUser'. Required when IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && CreateOrUpdateAppPoolForWebsite = true. Identity. Default: ApplicationPoolIdentity.
    #AppPoolUsernameForWebsite: # string. Required when AppPoolIdentityForWebsite = SpecificUser && IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && CreateOrUpdateAppPoolForWebsite = true. Username. 
    #AppPoolPasswordForWebsite: # string. Optional. Use when AppPoolIdentityForWebsite = SpecificUser && IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && CreateOrUpdateAppPoolForWebsite = true. Password. 
  # IIS Authentication
    #AnonymousAuthenticationForWebsite: false # boolean. Optional. Use when IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && ConfigureAuthenticationForWebsite = true. Anonymous authentication. Default: false.
    #BasicAuthenticationForWebsite: false # boolean. Optional. Use when IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && ConfigureAuthenticationForWebsite = true. Basic authentication. Default: false.
    #WindowsAuthenticationForWebsite: true # boolean. Optional. Use when IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && ConfigureAuthenticationForWebsite = true. Windows authentication. Default: true.
  # IIS Virtual directory
    #ParentWebsiteNameForVD: # string. Required when IISDeploymentType = IISVirtualDirectory. Parent website name. 
    #VirtualPathForVD: # string. Required when IISDeploymentType = IISVirtualDirectory. Virtual path. 
    #PhysicalPathForVD: '%SystemDrive%\inetpub\wwwroot' # string. Required when IISDeploymentType = IISVirtualDirectory. Physical path. Default: %SystemDrive%\inetpub\wwwroot.
    #VDPhysicalPathAuth: 'VDUserPassThrough' # 'VDUserPassThrough' | 'VDWindowsAuth'. Optional. Use when IISDeploymentType = IISVirtualDirectory. Physical path authentication. Default: VDUserPassThrough.
    #VDAuthUserName: # string. Required when VDPhysicalPathAuth = VDWindowsAuth && IISDeploymentType = IISVirtualDirectory. Username. 
    #VDAuthUserPassword: # string. Optional. Use when VDPhysicalPathAuth = VDWindowsAuth && IISDeploymentType = IISVirtualDirectory. Password. 
  # IIS Application
    #ParentWebsiteNameForApplication: # string. Required when IISDeploymentType = IISWebApplication. Parent website name. 
    #VirtualPathForApplication: # string. Required when IISDeploymentType = IISWebApplication. Virtual path. 
    #PhysicalPathForApplication: '%SystemDrive%\inetpub\wwwroot' # string. Required when IISDeploymentType = IISWebApplication. Physical path. Default: %SystemDrive%\inetpub\wwwroot.
    #ApplicationPhysicalPathAuth: 'ApplicationUserPassThrough' # 'ApplicationUserPassThrough' | 'ApplicationWindowsAuth'. Optional. Use when IISDeploymentType = IISWebApplication. Physical path authentication. Default: ApplicationUserPassThrough.
    #ApplicationAuthUserName: # string. Required when ApplicationPhysicalPathAuth = ApplicationWindowsAuth && IISDeploymentType = IISWebApplication. Username. 
    #ApplicationAuthUserPassword: # string. Optional. Use when ApplicationPhysicalPathAuth = ApplicationWindowsAuth && IISDeploymentType = IISWebApplication. Password. 
    #CreateOrUpdateAppPoolForApplication: false # boolean. Optional. Use when IISDeploymentType = IISWebApplication. Create or update app pool. Default: false.
  # IIS Application pool
    #AppPoolNameForApplication: # string. Required when IISDeploymentType = IISWebApplication && CreateOrUpdateAppPoolForApplication = true. Name. 
    #DotNetVersionForApplication: 'v4.0' # 'v4.0' | 'v2.0' | 'No Managed Code'. Required when IISDeploymentType = IISWebApplication && CreateOrUpdateAppPoolForApplication = true. .NET version. Default: v4.0.
    #PipeLineModeForApplication: 'Integrated' # 'Integrated' | 'Classic'. Required when IISDeploymentType = IISWebApplication && CreateOrUpdateAppPoolForApplication = true. Managed pipeline mode. Default: Integrated.
    #AppPoolIdentityForApplication: 'ApplicationPoolIdentity' # 'ApplicationPoolIdentity' | 'LocalService' | 'LocalSystem' | 'NetworkService' | 'SpecificUser'. Required when IISDeploymentType = IISWebApplication && CreateOrUpdateAppPoolForApplication = true. Identity. Default: ApplicationPoolIdentity.
    #AppPoolUsernameForApplication: # string. Required when AppPoolIdentityForApplication = SpecificUser && IISDeploymentType = IISWebApplication && CreateOrUpdateAppPoolForApplication = true. Username. 
    #AppPoolPasswordForApplication: # string. Optional. Use when AppPoolIdentityForApplication = SpecificUser && IISDeploymentType = IISWebApplication && CreateOrUpdateAppPoolForApplication = true. Password. 
  # IIS Application pool
    AppPoolName: # string. Required when ActionIISApplicationPool = CreateOrUpdateAppPool. Name. 
    DotNetVersion: 'v4.0' # 'v4.0' | 'v2.0' | 'No Managed Code'. Required when ActionIISApplicationPool = CreateOrUpdateAppPool. .NET version. Default: v4.0.
    PipeLineMode: 'Integrated' # 'Integrated' | 'Classic'. Required when ActionIISApplicationPool = CreateOrUpdateAppPool. Managed pipeline mode. Default: Integrated.
    AppPoolIdentity: 'ApplicationPoolIdentity' # 'ApplicationPoolIdentity' | 'LocalService' | 'LocalSystem' | 'NetworkService' | 'SpecificUser'. Required when ActionIISApplicationPool = CreateOrUpdateAppPool. Identity. Default: ApplicationPoolIdentity.
    #AppPoolUsername: # string. Required when AppPoolIdentity = SpecificUser && ActionIISApplicationPool = CreateOrUpdateAppPool. Username. 
    #AppPoolPassword: # string. Optional. Use when AppPoolIdentity = SpecificUser && ActionIISApplicationPool = CreateOrUpdateAppPool. Password. 
  # Advanced
    #AppCmdCommands: # string. Additional appcmd.exe commands.
# IIS Web App Manage v0
# Create or update a Website, Web App, Virtual Directories, and Application Pool.
- task: IISWebAppManagementOnMachineGroup@0
  inputs:
    #EnableIIS: false # boolean. Enable IIS. Default: false.
    IISDeploymentType: 'IISWebsite' # 'IISWebsite' | 'IISWebApplication' | 'IISVirtualDirectory' | 'IISApplicationPool'. Required. Configuration type. Default: IISWebsite.
    ActionIISWebsite: 'CreateOrUpdateWebsite' # 'CreateOrUpdateWebsite' | 'StartWebsite' | 'StopWebsite'. Required when IISDeploymentType = IISWebsite. Action. Default: CreateOrUpdateWebsite.
    #ActionIISApplicationPool: 'CreateOrUpdateAppPool' # 'CreateOrUpdateAppPool' | 'StartAppPool' | 'StopAppPool' | 'RecycleAppPool'. Required when IISDeploymentType = IISApplicationPool. Action. Default: CreateOrUpdateAppPool.
    #StartStopWebsiteName: # string. Required when ActionIISWebsite = StartWebsite || ActionIISWebsite = StopWebsite. Website name. 
    #Protocol: 'http' # 'https' | 'http'. Required when IISDeploymentType = randomDeployment. Protocol. Default: http.
    #IPAddress: 'All Unassigned' # string. Required when IISDeploymentType = randomDeployment. IP address. Default: All Unassigned.
    #Port: '80' # string. Required when IISDeploymentType = randomDeployment. Port. Default: 80.
    #ServerNameIndication: false # boolean. Optional. Use when IISDeploymentType = randomDeployment. Server Name Indication required. Default: false.
    #HostNameWithOutSNI: # string. Optional. Use when IISDeploymentType = randomDeployment. Host name. 
    #HostNameWithHttp: # string. Optional. Use when IISDeploymentType = randomDeployment. Host name. 
    #HostNameWithSNI: # string. Required when IISDeploymentType = randomDeployment. Host name. 
    #SSLCertThumbPrint: # string. Required when IISDeploymentType = randomDeployment. SSL certificate thumbprint. 
    #StartStopRecycleAppPoolName: # string. Required when ActionIISApplicationPool = StartAppPool || ActionIISApplicationPool = StopAppPool || ActionIISApplicationPool = RecycleAppPool. Application pool name. 
  # IIS Website
    WebsiteName: # string. Required when ActionIISWebsite = CreateOrUpdateWebsite. Website name. 
    WebsitePhysicalPath: '%SystemDrive%\inetpub\wwwroot' # string. Required when ActionIISWebsite = CreateOrUpdateWebsite. Physical path. Default: %SystemDrive%\inetpub\wwwroot.
    WebsitePhysicalPathAuth: 'WebsiteUserPassThrough' # 'WebsiteUserPassThrough' | 'WebsiteWindowsAuth'. Required when ActionIISWebsite = CreateOrUpdateWebsite. Physical path authentication. Default: WebsiteUserPassThrough.
    #WebsiteAuthUserName: # string. Required when WebsitePhysicalPathAuth = WebsiteWindowsAuth && ActionIISWebsite = CreateOrUpdateWebsite. Username. 
    #WebsiteAuthUserPassword: # string. Optional. Use when WebsitePhysicalPathAuth = WebsiteWindowsAuth && ActionIISWebsite = CreateOrUpdateWebsite. Password. 
    #AddBinding: false # boolean. Optional. Use when ActionIISWebsite = CreateOrUpdateWebsite. Add binding. Default: false.
    #CreateOrUpdateAppPoolForWebsite: false # boolean. Optional. Use when ActionIISWebsite = CreateOrUpdateWebsite. Create or update app pool. Default: false.
    #ConfigureAuthenticationForWebsite: false # boolean. Optional. Use when ActionIISWebsite = CreateOrUpdateWebsite. Configure authentication. Default: false.
  # IIS Bindings
    #Bindings: # string. Required when IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && AddBinding = true. Add bindings. 
  # IIS Application pool
    #AppPoolNameForWebsite: # string. Required when IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && CreateOrUpdateAppPoolForWebsite = true. Name. 
    #DotNetVersionForWebsite: 'v4.0' # 'v4.0' | 'v2.0' | 'No Managed Code'. Required when IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && CreateOrUpdateAppPoolForWebsite = true. .NET version. Default: v4.0.
    #PipeLineModeForWebsite: 'Integrated' # 'Integrated' | 'Classic'. Required when IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && CreateOrUpdateAppPoolForWebsite = true. Managed pipeline mode. Default: Integrated.
    #AppPoolIdentityForWebsite: 'ApplicationPoolIdentity' # 'ApplicationPoolIdentity' | 'LocalService' | 'LocalSystem' | 'NetworkService' | 'SpecificUser'. Required when IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && CreateOrUpdateAppPoolForWebsite = true. Identity. Default: ApplicationPoolIdentity.
    #AppPoolUsernameForWebsite: # string. Required when AppPoolIdentityForWebsite = SpecificUser && IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && CreateOrUpdateAppPoolForWebsite = true. Username. 
    #AppPoolPasswordForWebsite: # string. Optional. Use when AppPoolIdentityForWebsite = SpecificUser && IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && CreateOrUpdateAppPoolForWebsite = true. Password. 
  # IIS Authentication
    #AnonymousAuthenticationForWebsite: false # boolean. Optional. Use when IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && ConfigureAuthenticationForWebsite = true. Anonymous authentication. Default: false.
    #BasicAuthenticationForWebsite: false # boolean. Optional. Use when IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && ConfigureAuthenticationForWebsite = true. Basic authentication. Default: false.
    #WindowsAuthenticationForWebsite: true # boolean. Optional. Use when IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && ConfigureAuthenticationForWebsite = true. Windows authentication. Default: true.
  # IIS Virtual directory
    #ParentWebsiteNameForVD: # string. Required when IISDeploymentType = IISVirtualDirectory. Parent website name. 
    #VirtualPathForVD: # string. Required when IISDeploymentType = IISVirtualDirectory. Virtual path. 
    #PhysicalPathForVD: '%SystemDrive%\inetpub\wwwroot' # string. Required when IISDeploymentType = IISVirtualDirectory. Physical path. Default: %SystemDrive%\inetpub\wwwroot.
    #VDPhysicalPathAuth: 'VDUserPassThrough' # 'VDUserPassThrough' | 'VDWindowsAuth'. Optional. Use when IISDeploymentType = IISVirtualDirectory. Physical path authentication. Default: VDUserPassThrough.
    #VDAuthUserName: # string. Required when VDPhysicalPathAuth = VDWindowsAuth && IISDeploymentType = IISVirtualDirectory. Username. 
    #VDAuthUserPassword: # string. Optional. Use when VDPhysicalPathAuth = VDWindowsAuth && IISDeploymentType = IISVirtualDirectory. Password. 
  # IIS Application
    #ParentWebsiteNameForApplication: # string. Required when IISDeploymentType = IISWebApplication. Parent website name. 
    #VirtualPathForApplication: # string. Required when IISDeploymentType = IISWebApplication. Virtual path. 
    #PhysicalPathForApplication: '%SystemDrive%\inetpub\wwwroot' # string. Required when IISDeploymentType = IISWebApplication. Physical path. Default: %SystemDrive%\inetpub\wwwroot.
    #ApplicationPhysicalPathAuth: 'ApplicationUserPassThrough' # 'ApplicationUserPassThrough' | 'ApplicationWindowsAuth'. Optional. Use when IISDeploymentType = IISWebApplication. Physical path authentication. Default: ApplicationUserPassThrough.
    #ApplicationAuthUserName: # string. Required when ApplicationPhysicalPathAuth = ApplicationWindowsAuth && IISDeploymentType = IISWebApplication. Username. 
    #ApplicationAuthUserPassword: # string. Optional. Use when ApplicationPhysicalPathAuth = ApplicationWindowsAuth && IISDeploymentType = IISWebApplication. Password. 
    #CreateOrUpdateAppPoolForApplication: false # boolean. Optional. Use when IISDeploymentType = IISWebApplication. Create or update app pool. Default: false.
  # IIS Application pool
    #AppPoolNameForApplication: # string. Required when IISDeploymentType = IISWebApplication && CreateOrUpdateAppPoolForApplication = true. Name. 
    #DotNetVersionForApplication: 'v4.0' # 'v4.0' | 'v2.0' | 'No Managed Code'. Required when IISDeploymentType = IISWebApplication && CreateOrUpdateAppPoolForApplication = true. .NET version. Default: v4.0.
    #PipeLineModeForApplication: 'Integrated' # 'Integrated' | 'Classic'. Required when IISDeploymentType = IISWebApplication && CreateOrUpdateAppPoolForApplication = true. Managed pipeline mode. Default: Integrated.
    #AppPoolIdentityForApplication: 'ApplicationPoolIdentity' # 'ApplicationPoolIdentity' | 'LocalService' | 'LocalSystem' | 'NetworkService' | 'SpecificUser'. Required when IISDeploymentType = IISWebApplication && CreateOrUpdateAppPoolForApplication = true. Identity. Default: ApplicationPoolIdentity.
    #AppPoolUsernameForApplication: # string. Required when AppPoolIdentityForApplication = SpecificUser && IISDeploymentType = IISWebApplication && CreateOrUpdateAppPoolForApplication = true. Username. 
    #AppPoolPasswordForApplication: # string. Optional. Use when AppPoolIdentityForApplication = SpecificUser && IISDeploymentType = IISWebApplication && CreateOrUpdateAppPoolForApplication = true. Password. 
  # IIS Application pool
    AppPoolName: # string. Required when ActionIISApplicationPool = CreateOrUpdateAppPool. Name. 
    DotNetVersion: 'v4.0' # 'v4.0' | 'v2.0' | 'No Managed Code'. Required when ActionIISApplicationPool = CreateOrUpdateAppPool. .NET version. Default: v4.0.
    PipeLineMode: 'Integrated' # 'Integrated' | 'Classic'. Required when ActionIISApplicationPool = CreateOrUpdateAppPool. Managed pipeline mode. Default: Integrated.
    AppPoolIdentity: 'ApplicationPoolIdentity' # 'ApplicationPoolIdentity' | 'LocalService' | 'LocalSystem' | 'NetworkService' | 'SpecificUser'. Required when ActionIISApplicationPool = CreateOrUpdateAppPool. Identity. Default: ApplicationPoolIdentity.
    #AppPoolUsername: # string. Required when AppPoolIdentity = SpecificUser && ActionIISApplicationPool = CreateOrUpdateAppPool. Username. 
    #AppPoolPassword: # string. Optional. Use when AppPoolIdentity = SpecificUser && ActionIISApplicationPool = CreateOrUpdateAppPool. Password. 
  # Advanced
    #AppCmdCommands: # string. Additional appcmd.exe commands.

Invoerwaarden

EnableIIS - IIS inschakelen
boolean. Standaardwaarde: false.

Stel in op true als u IIS op de computer wilt installeren.


IISDeploymentType - Configuratietype
string. Vereist. Toegestane waarden: IISWebsite (IIS-website), IISWebApplication (IIS-webtoepassing), IISVirtualDirectory (IIS Virtual Directory), IISApplicationPool (GROEP VAN IIS-toepassingen). Standaardwaarde: IISWebsite.

Hiermee geeft u het configuratietype op: website, webtoepassing, virtuele map of groep van toepassingen.


ActionIISWebsite - Actie
string. Vereist wanneer IISDeploymentType = IISWebsite. Toegestane waarden: CreateOrUpdateWebsite (Maken of bijwerken), StartWebsite (Start), StopWebsite (Stoppen). Standaardwaarde: CreateOrUpdateWebsite.

Hiermee geeft u de juiste actie die u wilt uitvoeren op een IIS-website.

Met Maken of bijwerken wordt een website gemaakt of een bestaande website bijgewerkt.

Start, Stop zal respectievelijk de website starten of stoppen.


ActionIISApplicationPool - Actie
string. Vereist wanneer IISDeploymentType = IISApplicationPool. Toegestane waarden: CreateOrUpdateAppPool (Maken of bijwerken), StartAppPool (Start), StopAppPool (Stoppen), RecycleAppPool (Recyclen). Standaardwaarde: CreateOrUpdateAppPool.

Hiermee geeft u de juiste actie die u wilt uitvoeren op een IIS-toepassingsgroep.

Met Maken of bijwerken wordt een groep van toepassingen gemaakt of een bestaande groep van toepassingen bijgewerkt.

Met Starten, Stoppen, Recyclen wordt de groep van toepassingen respectievelijk gestart, gestopt of gerecycled.


StartStopWebsiteName - Websitenaam
string. Vereist wanneer ActionIISWebsite = StartWebsite || ActionIISWebsite = StopWebsite.

Hiermee geeft u de naam van de IIS-website.


WebsiteName - Websitenaam
string. Vereist wanneer ActionIISWebsite = CreateOrUpdateWebsite.

Hiermee geeft u de naam van de IIS-website te maken of bij te werken.


WebsitePhysicalPath - Fysiek pad
string. Vereist wanneer ActionIISWebsite = CreateOrUpdateWebsite. Standaardwaarde: %SystemDrive%\inetpub\wwwroot.

Hiermee geeft u het fysieke pad op waar de inhoud van de website wordt opgeslagen. De inhoud kan zich bevinden op de lokale computer, in een externe map of op een netwerkshare, zoals C:\Fabrikam of \\ContentShare\Fabrikam.


WebsitePhysicalPathAuth - Verificatie van fysiek pad
string. Vereist wanneer ActionIISWebsite = CreateOrUpdateWebsite. Toegestane waarden: WebsiteUserPassThrough (Toepassingsgebruiker (passthrough)), WebsiteWindowsAuth (Windows-verificatie). Standaardwaarde: WebsiteUserPassThrough.

Hiermee geeft u het verificatiemechanisme op dat wordt gebruikt voor toegang tot het fysieke pad van de website.


WebsiteAuthUserName - Gebruikersnaam
string. Vereist wanneer WebsitePhysicalPathAuth = WebsiteWindowsAuth && ActionIISWebsite = CreateOrUpdateWebsite.

Hiermee geeft u de gebruikersnaam op die wordt gebruikt voor toegang tot het fysieke pad van de website.


WebsiteAuthUserPassword - Wachtwoord
string. Optioneel. Gebruik wanneer WebsitePhysicalPathAuth = WebsiteWindowsAuth && ActionIISWebsite = CreateOrUpdateWebsite.

Hiermee geeft u het wachtwoord van de gebruiker op dat wordt gebruikt voor toegang tot het fysieke pad van de website.
De best practice is om een variabele te maken in de build- of release-pijplijn, deze te markeren als Secret om deze te beveiligen en deze vervolgens op te geven wanneer u deze invoer gebruikt, zoals $(userCredentials).
Opmerking: Speciale tekens in het wachtwoord worden geïnterpreteerd per opdrachtregelargumenten.


AddBinding - Binding toevoegen
boolean. Optioneel. Gebruik wanneer ActionIISWebsite = CreateOrUpdateWebsite. Standaardwaarde: false.

Hiermee geeft u de optie voor het toevoegen van poortbinding voor de website.


Protocol - Protocol
string. Vereist wanneer IISDeploymentType = randomDeployment. Toegestane waarden: https, http. Standaardwaarde: http.

Hiermee geeft u http voor de website een HTTP-binding of HTTPS voor de website om een Secure Sockets Layer (SSL)-binding te hebben.


IPAddress - IP-adres
string. Vereist wanneer IISDeploymentType = randomDeployment. Standaardwaarde: All Unassigned.

Hiermee geeft u een IP-adres op dat eindgebruikers kunnen gebruiken om toegang te krijgen tot deze website.
Als Alle niet-toegewezen is geselecteerd, reageert de website op aanvragen voor alle IP-adressen op de poort en voor de hostnaam. De website reageert niet op aanvragen als een andere website op de server een binding heeft op dezelfde poort, maar met een specifiek IP-adres.


Port - Poort
string. Vereist wanneer IISDeploymentType = randomDeployment. Standaardwaarde: 80.

Hiermee geeft u de poort op waar de Hypertext Transfer Protocol Stack (HTTP.sys) de websiteaanvragen bewaakt.


ServerNameIndication - Servernaamindicatie vereist
boolean. Optioneel. Gebruik wanneer IISDeploymentType = randomDeployment. Standaardwaarde: false.

Hiermee geeft u de optie voor het instellen van de servernaamindicatie (SNI) voor de website.
SNI breidt de SSL- en TLS-protocollen uit om de hostnaam aan te geven waarmee de clients verbinding proberen te maken. Hiermee kunnen meerdere beveiligde websites met verschillende certificaten hetzelfde IP-adres gebruiken.


HostNameWithOutSNI - Hostnaam
string. Optioneel. Gebruik wanneer IISDeploymentType = randomDeployment.

Hiermee geeft u een hostnaam (of domeinnaam) voor de website.
Als een hostnaam is opgegeven, moeten de clients de hostnaam in plaats van het IP-adres gebruiken om toegang te krijgen tot de website.


HostNameWithHttp - Hostnaam
string. Optioneel. Gebruik wanneer IISDeploymentType = randomDeployment.

Hiermee geeft u een hostnaam (of domeinnaam) voor de website.
Als een hostnaam is opgegeven, moeten de clients de hostnaam in plaats van het IP-adres gebruiken om toegang te krijgen tot de website.


HostNameWithSNI - Hostnaam
string. Vereist wanneer IISDeploymentType = randomDeployment.

Hiermee geeft u een hostnaam (of domeinnaam) voor de website.
Als een hostnaam is opgegeven, moeten de clients de hostnaam in plaats van het IP-adres gebruiken om toegang te krijgen tot de website.


SSLCertThumbPrint - Vingerafdruk van SSL-certificaat
string. Vereist wanneer IISDeploymentType = randomDeployment.

Hiermee geeft u de vingerafdruk op van het Secure Socket Layer-certificaat dat de website gebruikt voor de HTTPS-communicatie. De vingerafdruk is een hexadecimale tekenreeks van 40 tekens. Het SSL-certificaat moet al op de computer zijn geïnstalleerd in het persoonlijke archief van de lokale computer.


Bindings - Bindingen toevoegen
string. Vereist wanneer IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && AddBinding = true.

Klik op de extensieknop ... om bindingen voor de website toe te voegen.


CreateOrUpdateAppPoolForWebsite - App-groep maken of bijwerken
boolean. Optioneel. Gebruik wanneer ActionIISWebsite = CreateOrUpdateWebsite. Standaardwaarde: false.

Hiermee geeft u de optie voor het maken of bijwerken van een groep van toepassingen. Als dit selectievakje is ingeschakeld, wordt de website gemaakt in de opgegeven groep van toepassingen.


ConfigureAuthenticationForWebsite - Verificatie configureren
boolean. Optioneel. Gebruik wanneer ActionIISWebsite = CreateOrUpdateWebsite. Standaardwaarde: false.

Hiermee geeft u de optie voor het configureren van verificatie voor de website.


AppPoolNameForWebsite - Naam
string. Vereist wanneer IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && CreateOrUpdateAppPoolForWebsite = true.

Hiermee geeft u de naam van de GROEP van IIS-toepassingen te maken of bij te werken.


DotNetVersionForWebsite - .NET-versie
string. Vereist wanneer IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && CreateOrUpdateAppPoolForWebsite = true. Toegestane waarden: v4.0, v2.0, No Managed Code. Standaardwaarde: v4.0.

Hiermee geeft u de versie van de .NET Framework die wordt geladen door de groep van toepassingen. Als de toepassingen die zijn toegewezen aan deze groep van toepassingen geen beheerde code bevatten, selecteert u de optie Geen beheerde code in de lijst.


PipeLineModeForWebsite - Beheerde pijplijnmodus
string. Vereist wanneer IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && CreateOrUpdateAppPoolForWebsite = true. Toegestane waarden: Integrated, Classic. Standaardwaarde: Integrated.

Hiermee geeft u de beheerde pijplijnmodus op om te bepalen hoe IIS aanvragen voor beheerde inhoud verwerkt. Gebruik de klassieke modus alleen als de toepassingen in de groep van toepassingen niet kunnen worden uitgevoerd in de geïntegreerde modus.


AppPoolIdentityForWebsite - Identiteit
string. Vereist wanneer IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && CreateOrUpdateAppPoolForWebsite = true. Toegestane waarden: ApplicationPoolIdentity (Identiteit van groep van toepassingen), LocalService (lokale service), LocalSystem (lokaal systeem), NetworkService (netwerkservice), SpecificUser (aangepast account). Standaardwaarde: ApplicationPoolIdentity.

Hiermee configureert u het account waaronder het werkproces van een groep van toepassingen wordt uitgevoerd. Hiermee geeft u een van de vooraf gedefinieerde beveiligingsaccounts op of configureert u een aangepast account.


AppPoolUsernameForWebsite - Gebruikersnaam
string. Vereist wanneer AppPoolIdentityForWebsite = SpecificUser && IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && CreateOrUpdateAppPoolForWebsite = true.

Hiermee geeft u de gebruikersnaam van het aangepaste account dat u wilt gebruiken.


AppPoolPasswordForWebsite - Wachtwoord
string. Optioneel. Gebruik wanneer AppPoolIdentityForWebsite = SpecificUser && IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && CreateOrUpdateAppPoolForWebsite = true.

Hiermee geeft u het wachtwoord voor het aangepaste account op.
De best practice is om een variabele te maken in de build- of release-pijplijn, deze te markeren als Secret om deze te beveiligen en deze vervolgens op te geven wanneer u deze invoer gebruikt, zoals $(userCredentials).
Opmerking: Speciale tekens in het wachtwoord worden geïnterpreteerd per opdrachtregelargumenten.


AnonymousAuthenticationForWebsite - Anonieme verificatie
boolean. Optioneel. Gebruik wanneer IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && ConfigureAuthenticationForWebsite = true. Standaardwaarde: false.

Hiermee geeft u de optie voor het inschakelen van anonieme verificatie voor een website.


BasicAuthenticationForWebsite - Basisverificatie
boolean. Optioneel. Gebruik wanneer IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && ConfigureAuthenticationForWebsite = true. Standaardwaarde: false.

Hiermee geeft u de optie voor het inschakelen van basisverificatie voor een website.


WindowsAuthenticationForWebsite - Windows-verificatie
boolean. Optioneel. Gebruik wanneer IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && ConfigureAuthenticationForWebsite = true. Standaardwaarde: true.

Hiermee geeft u de optie voor het inschakelen van Windows-verificatie voor een website.


ParentWebsiteNameForVD - Naam van bovenliggende website
string. Vereist wanneer IISDeploymentType = IISVirtualDirectory.

Hiermee geeft u de naam van de bovenliggende website van de virtuele map.


VirtualPathForVD - Virtueel pad
string. Vereist wanneer IISDeploymentType = IISVirtualDirectory.

Hiermee geeft u het virtuele pad van de virtuele map.

Als u bijvoorbeeld een virtuele map wilt maken, voert u Site/Application/VDirin /Application/Vdir. De bovenliggende website en toepassing moeten al bestaan.


PhysicalPathForVD - Fysiek pad
string. Vereist wanneer IISDeploymentType = IISVirtualDirectory. Standaardwaarde: %SystemDrive%\inetpub\wwwroot.

Hiermee geeft u het fysieke pad op waar de inhoud van de virtuele map wordt opgeslagen. De inhoud kan zich bevinden op de lokale computer, in een externe map of op een netwerkshare, zoals C:\Fabrikam of \\ContentShare\Fabrikam.


VDPhysicalPathAuth - Verificatie van fysiek pad
string. Optioneel. Gebruik wanneer IISDeploymentType = IISVirtualDirectory. Toegestane waarden: VDUserPassThrough (Toepassingsgebruiker (pass-through)), VDWindowsAuth (Windows-verificatie). Standaardwaarde: VDUserPassThrough.

Hiermee geeft u het verificatiemechanisme op dat wordt gebruikt voor toegang tot het fysieke pad van de virtuele map.


VDAuthUserName - Gebruikersnaam
string. Vereist wanneer VDPhysicalPathAuth = VDWindowsAuth && IISDeploymentType = IISVirtualDirectory.

Hiermee geeft u de gebruikersnaam op die wordt gebruikt voor toegang tot het fysieke pad van de virtuele map.


VDAuthUserPassword - Wachtwoord
string. Optioneel. Gebruik wanneer VDPhysicalPathAuth = VDWindowsAuth && IISDeploymentType = IISVirtualDirectory.

Hiermee geeft u het wachtwoord van de gebruiker op dat wordt gebruikt voor toegang tot het fysieke pad van de virtuele map.
De best practice is om een variabele te maken in de build- of release-pijplijn, deze te markeren als Secret om deze te beveiligen en deze vervolgens op te geven wanneer u deze invoer gebruikt, zoals $(userCredentials).
Opmerking: Speciale tekens in het wachtwoord worden geïnterpreteerd per opdrachtregelargumenten.


ParentWebsiteNameForApplication - Naam van bovenliggende website
string. Vereist wanneer IISDeploymentType = IISWebApplication.

Hiermee geeft u de naam van de bovenliggende website waaronder de toepassing wordt gemaakt of bijgewerkt.


VirtualPathForApplication - Virtueel pad
string. Vereist wanneer IISDeploymentType = IISWebApplication.

Hiermee geeft u het virtuele pad van de toepassing.

Als u bijvoorbeeld een toepassing Site/Applicationwilt maken, voert u in /Application. De bovenliggende website moet al bestaan.


PhysicalPathForApplication - Fysiek pad
string. Vereist wanneer IISDeploymentType = IISWebApplication. Standaardwaarde: %SystemDrive%\inetpub\wwwroot.

Hiermee geeft u het fysieke pad op waar de inhoud van de toepassing wordt opgeslagen. De inhoud kan zich bevinden op de lokale computer, in een externe map of op een netwerkshare, zoals C:\Fabrikam of \\ContentShare\Fabrikam.


ApplicationPhysicalPathAuth - Verificatie van fysiek pad
string. Optioneel. Gebruik wanneer IISDeploymentType = IISWebApplication. Toegestane waarden: ApplicationUserPassThrough (Toepassingsgebruiker (passthrough)), ApplicationWindowsAuth (Windows-verificatie). Standaardwaarde: ApplicationUserPassThrough.

Hiermee geeft u het verificatiemechanisme op dat wordt gebruikt voor toegang tot het fysieke pad van de toepassing.


ApplicationAuthUserName - Gebruikersnaam
string. Vereist wanneer ApplicationPhysicalPathAuth = ApplicationWindowsAuth && IISDeploymentType = IISWebApplication.

Hiermee geeft u de gebruikersnaam op die wordt gebruikt voor toegang tot het fysieke pad van de toepassing.


ApplicationAuthUserPassword - Wachtwoord
string. Optioneel. Gebruik wanneer ApplicationPhysicalPathAuth = ApplicationWindowsAuth && IISDeploymentType = IISWebApplication.

Hiermee geeft u het wachtwoord van de gebruiker op dat wordt gebruikt voor toegang tot het fysieke pad van de toepassing.
De best practice is om een variabele te maken in de build- of release-pijplijn, deze te markeren als Secret om deze te beveiligen en deze vervolgens op te geven wanneer u deze invoer gebruikt, zoals $(userCredentials).
Opmerking: Speciale tekens in het wachtwoord worden geïnterpreteerd per opdrachtregelargumenten.


CreateOrUpdateAppPoolForApplication - App-groep maken of bijwerken
boolean. Optioneel. Gebruik wanneer IISDeploymentType = IISWebApplication. Standaardwaarde: false.

Hiermee geeft u de optie voor het maken of bijwerken van een groep van toepassingen. Als deze optie is ingeschakeld, wordt de toepassing gemaakt in de opgegeven groep van toepassingen.


AppPoolNameForApplication - Naam
string. Vereist wanneer IISDeploymentType = IISWebApplication && CreateOrUpdateAppPoolForApplication = true.

Hiermee geeft u de naam op van de IIS-groep van toepassingen die moet worden gemaakt of bijgewerkt.


DotNetVersionForApplication - .NET-versie
string. Vereist wanneer IISDeploymentType = IISWebApplication && CreateOrUpdateAppPoolForApplication = true. Toegestane waarden: v4.0, v2.0, No Managed Code. Standaardwaarde: v4.0.

Hiermee geeft u de versie van de .NET Framework die wordt geladen door de groep van toepassingen. Als de toepassingen die zijn toegewezen aan deze groep van toepassingen geen beheerde code bevatten, selecteert u de optie Geen beheerde code in de lijst.


PipeLineModeForApplication - Beheerde pijplijnmodus
string. Vereist wanneer IISDeploymentType = IISWebApplication && CreateOrUpdateAppPoolForApplication = true. Toegestane waarden: Integrated, Classic. Standaardwaarde: Integrated.

Hiermee geeft u de beheerde pijplijnmodus op om te bepalen hoe IIS aanvragen voor beheerde inhoud verwerkt. Gebruik de klassieke modus alleen als de toepassingen in de groep van toepassingen niet kunnen worden uitgevoerd in de geïntegreerde modus.


AppPoolIdentityForApplication - Identiteit
string. Vereist wanneer IISDeploymentType = IISWebApplication && CreateOrUpdateAppPoolForApplication = true. Toegestane waarden: ApplicationPoolIdentity (Identiteit van groep van toepassingen), LocalService (lokale service), LocalSystem (lokaal systeem), NetworkService (netwerkservice), SpecificUser (aangepast account). Standaardwaarde: ApplicationPoolIdentity.

Hiermee configureert u het account waaronder het werkproces van een groep van toepassingen wordt uitgevoerd. Hiermee geeft u een van de vooraf gedefinieerde beveiligingsaccounts op of configureert u een aangepast account.


AppPoolUsernameForApplication - Gebruikersnaam
string. Vereist wanneer AppPoolIdentityForApplication = SpecificUser && IISDeploymentType = IISWebApplication && CreateOrUpdateAppPoolForApplication = true.

Hiermee geeft u de gebruikersnaam van het aangepaste account dat u wilt gebruiken.


AppPoolPasswordForApplication - Wachtwoord
string. Optioneel. Gebruik wanneer AppPoolIdentityForApplication = SpecificUser && IISDeploymentType = IISWebApplication && CreateOrUpdateAppPoolForApplication = true.

Hiermee geeft u het wachtwoord voor het aangepaste account op.
De best practice is om een variabele te maken in de build- of release-pijplijn, deze te markeren als Secret om deze te beveiligen en deze vervolgens op te geven wanneer u deze invoer gebruikt, zoals $(userCredentials).
Opmerking: Speciale tekens in het wachtwoord worden geïnterpreteerd per opdrachtregelargumenten.


AppPoolName - Naam
string. Vereist wanneer ActionIISApplicationPool = CreateOrUpdateAppPool.

Hiermee geeft u de naam op van de IIS-groep van toepassingen die moet worden gemaakt of bijgewerkt.


DotNetVersion - .NET-versie
string. Vereist wanneer ActionIISApplicationPool = CreateOrUpdateAppPool. Toegestane waarden: v4.0, v2.0, No Managed Code. Standaardwaarde: v4.0.

Hiermee geeft u de versie van de .NET Framework die wordt geladen door de groep van toepassingen. Als de toepassingen die zijn toegewezen aan deze groep van toepassingen geen beheerde code bevatten, selecteert u de optie Geen beheerde code in de lijst.


PipeLineMode - Beheerde pijplijnmodus
string. Vereist wanneer ActionIISApplicationPool = CreateOrUpdateAppPool. Toegestane waarden: Integrated, Classic. Standaardwaarde: Integrated.

Hiermee geeft u de beheerde pijplijnmodus op om te bepalen hoe IIS aanvragen voor beheerde inhoud verwerkt. Gebruik de klassieke modus alleen als de toepassingen in de groep van toepassingen niet kunnen worden uitgevoerd in de geïntegreerde modus.


AppPoolIdentity - Identiteit
string. Vereist wanneer ActionIISApplicationPool = CreateOrUpdateAppPool. Toegestane waarden: ApplicationPoolIdentity (Identiteit van groep van toepassingen), LocalService (lokale service), LocalSystem (lokaal systeem), NetworkService (netwerkservice), SpecificUser (aangepast account). Standaardwaarde: ApplicationPoolIdentity.

Hiermee configureert u het account waaronder het werkproces van een groep van toepassingen wordt uitgevoerd. Hiermee geeft u een van de vooraf gedefinieerde beveiligingsaccounts op of configureert u een aangepast account.


AppPoolUsername - Gebruikersnaam
string. Vereist wanneer AppPoolIdentity = SpecificUser && ActionIISApplicationPool = CreateOrUpdateAppPool.

Hiermee geeft u de gebruikersnaam van het aangepaste account dat u wilt gebruiken.


AppPoolPassword - Wachtwoord
string. Optioneel. Gebruik wanneer AppPoolIdentity = SpecificUser && ActionIISApplicationPool = CreateOrUpdateAppPool.

Hiermee geeft u het wachtwoord voor het aangepaste account op.
De best practice is om een variabele te maken in de build- of release-pijplijn, deze te markeren als Secret om deze te beveiligen en deze vervolgens op te geven wanneer u deze invoer gebruikt, zoals $(userCredentials).
Opmerking: Speciale tekens in het wachtwoord worden geïnterpreteerd per opdrachtregelargumenten.


StartStopRecycleAppPoolName - Naam van toepassingsgroep
string. Vereist wanneer ActionIISApplicationPool = StartAppPool || ActionIISApplicationPool = StopAppPool || ActionIISApplicationPool = RecycleAppPool.

Hiermee geeft u de naam van de GROEP van IIS-toepassingen op.


AppCmdCommands - Aanvullende appcmd.exe opdrachten
string.

Hiermee geeft u aanvullende AppCmd.exe opdrachten op. Gebruik voor meer dan één opdracht een regelscheidingsteken.
Bijvoorbeeld:
list apppools
list sites
recycle apppool /apppool.name:ExampleAppPoolName


Opties voor taakbeheer

Alle taken hebben besturingsopties naast hun taakinvoer. Zie Opties voor besturingselementen en algemene taakeigenschappen voor meer informatie.

Uitvoervariabelen

Geen.

Opmerkingen

Gebruik deze taak om een website, web-app, virtuele map of groep van toepassingen te maken of bij te werken.

Vereisten

Vereiste Beschrijving
Pijplijntypen Klassieke release
Wordt uitgevoerd op Agent, DeploymentGroup
Eisen Geen
Functies Deze taak voldoet niet aan eventuele vereisten voor volgende taken in de taak.
Opdrachtbeperkingen Alle
Instelbare variabelen Alle
Agentversie 2.111.0 of hoger
Taakcategorie Implementeren
Vereiste Beschrijving
Pijplijntypen Klassieke release
Wordt uitgevoerd op DeploymentGroup
Eisen Geen
Functies Deze taak voldoet niet aan eventuele vereisten voor volgende taken in de taak.
Opdrachtbeperkingen Alle
Instelbare variabelen Alle
Agentversie 2.111.0 of hoger
Taakcategorie Implementeren