IISWebAppManagementOnMachineGroup@0 : Aufgabe "Verwalten v0" der IIS-Web-App

Verwenden Sie diese Aufgabe, um Websites, Web-Apps, virtuelle Verzeichnisse oder Anwendungspools zu erstellen oder zu aktualisieren.

Syntax

# 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.

Eingaben

EnableIIS - Aktivieren von IIS
boolean. Standardwert. false.

Legen Sie auf fest true , wenn Sie IIS auf dem Computer installieren möchten.


IISDeploymentType - Konfigurationstyp
string. Erforderlich. Zulässige Werte: IISWebsite (IIS-Website), IISWebApplication (IIS-Webanwendung), IISVirtualDirectory (virtuelles IIS-Verzeichnis), IISApplicationPool (IIS-Anwendungspool). Standardwert. IISWebsite.

Gibt den Konfigurationstyp an: Website, Webanwendung, virtuelles Verzeichnis oder Anwendungspool.


ActionIISWebsite - Aktion
string. Erforderlich, wenn IISDeploymentType = IISWebsite. Zulässige Werte: CreateOrUpdateWebsite (Erstellen oder Aktualisieren), StartWebsite (Start), StopWebsite (Beenden). Standardwert. CreateOrUpdateWebsite.

Gibt die geeignete Aktion an, die Sie auf einer IIS-Website ausführen möchten.

Create Or Update erstellt eine Website oder aktualisiert eine vorhandene Website.

Start, Stop startet bzw. beendet die Website.


ActionIISApplicationPool - Aktion
string. Erforderlich, wenn IISDeploymentType = IISApplicationPool. Zulässige Werte: CreateOrUpdateAppPool (Erstellen oder Aktualisieren), StartAppPool (Start), StopAppPool (Stop), RecycleAppPool (Recycle). Standardwert. CreateOrUpdateAppPool.

Gibt die geeignete Aktion an, die Sie für einen IIS-Anwendungspool ausführen möchten.

Create Or Update erstellt einen Anwendungspool oder aktualisiert einen vorhandenen Anwendungspool.

Start, Stop, Recycle wird der Anwendungspool jeweils gestartet, beendet oder wiederverwertet.


StartStopWebsiteName - Websitename
string. Erforderlich, wenn ActionIISWebsite = StartWebsite || ActionIISWebsite = StopWebsite.

Gibt den Namen der IIS-Website an.


WebsiteName - Websitename
string. Erforderlich, wenn ActionIISWebsite = CreateOrUpdateWebsite.

Gibt den Namen der IIS-Website an, die erstellt oder aktualisiert werden soll.


WebsitePhysicalPath - Physischer Pfad
string. Erforderlich, wenn ActionIISWebsite = CreateOrUpdateWebsite. Standardwert. %SystemDrive%\inetpub\wwwroot.

Gibt den physischen Pfad an, in dem der Websiteinhalt gespeichert wird. Der Inhalt kann sich auf dem lokalen Computer, in einem Remoteverzeichnis oder in einer Netzwerkfreigabe wie C:\Fabrikam oder befinden \\ContentShare\Fabrikam.


WebsitePhysicalPathAuth - Authentifizierung des physischen Pfads
string. Erforderlich, wenn ActionIISWebsite = CreateOrUpdateWebsite. Zulässige Werte: WebsiteUserPassThrough (Anwendungsbenutzer (Passthrough)), WebsiteWindowsAuth (Windows-Authentifizierung). Standardwert. WebsiteUserPassThrough.

Gibt den Authentifizierungsmechanismus an, der für den Zugriff auf den physischen Pfad der Website verwendet wird.


WebsiteAuthUserName - Nutzername
string. Erforderlich, wenn WebsitePhysicalPathAuth = WebsiteWindowsAuth && ActionIISWebsite = CreateOrUpdateWebsite.

Gibt den Benutzernamen an, der für den Zugriff auf den physischen Pfad der Website verwendet wird.


WebsiteAuthUserPassword - Passwort
string. Optional. Verwenden Sie , wenn WebsitePhysicalPathAuth = WebsiteWindowsAuth && ActionIISWebsite = CreateOrUpdateWebsite.

Gibt das Kennwort des Benutzers an, das für den Zugriff auf den physischen Pfad der Website verwendet wird.
Die bewährte Methode besteht darin, eine Variable in der Build- oder Releasepipeline zu erstellen, sie als Secret zu schützen, und sie dann bereitzustellen, wenn Sie diese Eingabe verwenden, z. B $(userCredentials). .
Hinweis: Sonderzeichen im Kennwort werden pro Befehlszeilenargument interpretiert.


AddBinding - Bindung hinzufügen
boolean. Optional. Verwenden Sie , wenn ActionIISWebsite = CreateOrUpdateWebsite. Standardwert. false.

Gibt die Option zum Hinzufügen einer Portbindung für die Website an.


Protocol - Protokoll
string. Erforderlich, wenn IISDeploymentType = randomDeployment. Zulässige Werte: https, http. Standardwert. http.

Gibt entweder HTTP für die Website für eine HTTP-Bindung oder HTTPS an, damit die Website über eine SSL-Bindung (Secure Sockets Layer) verfügt.


IPAddress - IP-Adresse
string. Erforderlich, wenn IISDeploymentType = randomDeployment. Standardwert. All Unassigned.

Gibt eine IP-Adresse an, die Endbenutzer für den Zugriff auf diese Website verwenden können.
Wenn Alle Nicht zugewiesen ausgewählt ist, antwortet die Website auf Anforderungen für alle IP-Adressen am Port und für den Hostnamen. Die Website reagiert nicht auf Anforderungen, wenn eine andere Website auf dem Server über eine Bindung am gleichen Port verfügt, jedoch mit einer bestimmten IP-Adresse.


Port - Hafen
string. Erforderlich, wenn IISDeploymentType = randomDeployment. Standardwert. 80.

Gibt den Port an, an dem der Hypertext Transfer Protocol Stack (HTTP.sys) die Websiteanforderungen überwacht.


ServerNameIndication - Servernamensangabe erforderlich
boolean. Optional. Verwenden Sie , wenn IISDeploymentType = randomDeployment. Standardwert. false.

Gibt die Option an, um die Servernamensanzeige (Server Name Indication, SNI) für die Website festzulegen.
SNI erweitert die SSL- und TLS-Protokolle, um den Hostnamen anzugeben, mit dem die Clients eine Verbindung herstellen möchten. Diese Erweiterung ermöglicht es, dass mehrere sichere Websites mit verschiedenen Zertifikaten dieselbe IP-Adresse verwenden können.


HostNameWithOutSNI - Hostname
string. Optional. Verwenden Sie , wenn IISDeploymentType = randomDeployment.

Gibt einen Hostnamen (oder Domänennamen) für die Website an.
Wenn ein Hostname angegeben wird, müssen die Clients den Hostnamen anstelle der IP-Adresse verwenden, um auf die Website zuzugreifen.


HostNameWithHttp - Hostname
string. Optional. Verwenden Sie , wenn IISDeploymentType = randomDeployment.

Gibt einen Hostnamen (oder Domänennamen) für die Website an.
Wenn ein Hostname angegeben wird, müssen die Clients den Hostnamen anstelle der IP-Adresse verwenden, um auf die Website zuzugreifen.


HostNameWithSNI - Hostname
string. Erforderlich, wenn IISDeploymentType = randomDeployment.

Gibt einen Hostnamen (oder Domänennamen) für die Website an.
Wenn ein Hostname angegeben wird, müssen die Clients den Hostnamen anstelle der IP-Adresse verwenden, um auf die Website zuzugreifen.


SSLCertThumbPrint - SSL-Zertifikatfingerabdruck
string. Erforderlich, wenn IISDeploymentType = randomDeployment.

Gibt den Fingerabdruck des Secure Socket Layer-Zertifikats an, das die Website für die HTTPS-Kommunikation verwendet. Der Fingerabdruck ist eine 40 Zeichen lange hexadezimale Zeichenfolge. Das SSL-Zertifikat sollte bereits auf dem Computer im persönlichen Lokalen Computerspeicher installiert sein.


Bindings - Hinzufügen von Bindungen
string. Erforderlich, wenn IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && AddBinding = true.

Klicken Sie auf die Erweiterungsschaltfläche ... , um Bindungen für die Website hinzuzufügen.


CreateOrUpdateAppPoolForWebsite - Erstellen oder Aktualisieren eines App-Pools
boolean. Optional. Verwenden Sie , wenn ActionIISWebsite = CreateOrUpdateWebsite. Standardwert. false.

Gibt die Option zum Erstellen oder Aktualisieren eines Anwendungspools an. Wenn diese Option aktiviert ist, wird die Website im angegebenen Anwendungspool erstellt.


ConfigureAuthenticationForWebsite - Konfigurieren der Authentifizierung
boolean. Optional. Verwenden Sie , wenn ActionIISWebsite = CreateOrUpdateWebsite. Standardwert. false.

Gibt die Option zum Konfigurieren der Authentifizierung für die Website an.


AppPoolNameForWebsite - Namen
string. Erforderlich, wenn IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && CreateOrUpdateAppPoolForWebsite = true.

Gibt den Namen des IIS-Anwendungspools an, der erstellt oder aktualisiert werden soll.


DotNetVersionForWebsite - .NET-Version
string. Erforderlich, wenn IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && CreateOrUpdateAppPoolForWebsite = true. Zulässige Werte: v4.0, v2.0 und No Managed Code. Standardwert. v4.0.

Gibt die Version der .NET Framework an, die vom Anwendungspool geladen wird. Wenn die diesem Anwendungspool zugewiesenen Anwendungen keinen verwalteten Code enthalten, wählen Sie in der Liste die Option Kein verwalteter Code aus.


PipeLineModeForWebsite - Verwalteter Pipelinemodus
string. Erforderlich, wenn IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && CreateOrUpdateAppPoolForWebsite = true. Zulässige Werte: Integrated, Classic. Standardwert. Integrated.

Gibt den Modus für die verwaltete Pipeline an, um zu bestimmen, wie IIS Anforderungen für verwaltete Inhalte verarbeitet. Verwenden Sie den klassischen Modus nur, wenn die Anwendungen im Anwendungspool nicht im integrierten Modus ausgeführt werden können.


AppPoolIdentityForWebsite - Identität
string. Erforderlich, wenn IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && CreateOrUpdateAppPoolForWebsite = true. Zulässige Werte: ApplicationPoolIdentity (Anwendungspoolidentität), LocalService (Lokaler Dienst), LocalSystem (lokales System), NetworkService (Netzwerkdienst), SpecificUser (benutzerdefiniertes Konto). Standardwert. ApplicationPoolIdentity.

Konfiguriert das Konto, unter dem der Workerprozess eines Anwendungspools ausgeführt wird. Gibt eines der vordefinierten Sicherheitskonten an oder konfiguriert ein benutzerdefiniertes Konto.


AppPoolUsernameForWebsite - Nutzername
string. Erforderlich, wenn AppPoolIdentityForWebsite = SpecificUser && IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && CreateOrUpdateAppPoolForWebsite = true.

Gibt den Benutzernamen des benutzerdefinierten Kontos an, das Sie verwenden möchten.


AppPoolPasswordForWebsite - Passwort
string. Optional. Verwenden Sie , wenn AppPoolIdentityForWebsite = SpecificUser && IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && CreateOrUpdateAppPoolForWebsite = true.

Gibt das Kennwort für das benutzerdefinierte Konto an.
Die bewährte Methode besteht darin, eine Variable in der Build- oder Releasepipeline zu erstellen, sie als Secret zu schützen, und sie dann bereitzustellen, wenn Sie diese Eingabe verwenden, z. B $(userCredentials). .
Hinweis: Sonderzeichen im Kennwort werden pro Befehlszeilenargument interpretiert.


AnonymousAuthenticationForWebsite - Anonyme Authentifizierung
boolean. Optional. Verwenden Sie , wenn IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && ConfigureAuthenticationForWebsite = true. Standardwert. false.

Gibt die Option zum Aktivieren der anonymen Authentifizierung für eine Website an.


BasicAuthenticationForWebsite - Standardauthentifizierung
boolean. Optional. Verwenden Sie , wenn IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && ConfigureAuthenticationForWebsite = true. Standardwert. false.

Gibt die Option zum Aktivieren der Standardauthentifizierung für eine Website an.


WindowsAuthenticationForWebsite - Windows-Authentifizierung
boolean. Optional. Verwenden Sie , wenn IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && ConfigureAuthenticationForWebsite = true. Standardwert. true.

Gibt die Option zum Aktivieren der Windows-Authentifizierung für eine Website an.


ParentWebsiteNameForVD - Name der übergeordneten Website
string. Erforderlich, wenn IISDeploymentType = IISVirtualDirectory.

Gibt den Namen der übergeordneten Website des virtuellen Verzeichnisses an.


VirtualPathForVD - Virtueller Pfad
string. Erforderlich, wenn IISDeploymentType = IISVirtualDirectory.

Gibt den virtuellen Pfad des virtuellen Verzeichnisses an.

Um beispielsweise ein virtuelles Verzeichnis Site/Application/VDirzu erstellen, geben Sie ein /Application/Vdir. Die übergeordnete Website und Anwendung sollten bereits vorhanden sein.


PhysicalPathForVD - Physischer Pfad
string. Erforderlich, wenn IISDeploymentType = IISVirtualDirectory. Standardwert. %SystemDrive%\inetpub\wwwroot.

Gibt den physischen Pfad an, in dem der Inhalt des virtuellen Verzeichnisses gespeichert wird. Der Inhalt kann sich auf dem lokalen Computer, in einem Remoteverzeichnis oder in einer Netzwerkfreigabe wie C:\Fabrikam oder befinden \\ContentShare\Fabrikam.


VDPhysicalPathAuth - Authentifizierung des physischen Pfads
string. Optional. Verwenden Sie , wenn IISDeploymentType = IISVirtualDirectory. Zulässige Werte: VDUserPassThrough (Anwendungsbenutzer (Passthrough)), VDWindowsAuth (Windows-Authentifizierung). Standardwert. VDUserPassThrough.

Gibt den Authentifizierungsmechanismus an, der für den Zugriff auf den physischen Pfad des virtuellen Verzeichnisses verwendet wird.


VDAuthUserName - Nutzername
string. Erforderlich, wenn VDPhysicalPathAuth = VDWindowsAuth && IISDeploymentType = IISVirtualDirectory.

Gibt den Benutzernamen an, der für den Zugriff auf den physischen Pfad des virtuellen Verzeichnisses verwendet wird.


VDAuthUserPassword - Passwort
string. Optional. Verwenden Sie , wenn VDPhysicalPathAuth = VDWindowsAuth && IISDeploymentType = IISVirtualDirectory.

Gibt das Kennwort des Benutzers an, das für den Zugriff auf den physischen Pfad des virtuellen Verzeichnisses verwendet wird.
Die bewährte Methode besteht darin, eine Variable in der Build- oder Releasepipeline zu erstellen, sie als Secret zu schützen, und sie dann bereitzustellen, wenn Sie diese Eingabe verwenden, z. B $(userCredentials). .
Hinweis: Sonderzeichen im Kennwort werden pro Befehlszeilenargument interpretiert.


ParentWebsiteNameForApplication - Name der übergeordneten Website
string. Erforderlich, wenn IISDeploymentType = IISWebApplication.

Gibt den Namen der übergeordneten Website an, unter der die Anwendung erstellt oder aktualisiert wird.


VirtualPathForApplication - Virtueller Pfad
string. Erforderlich, wenn IISDeploymentType = IISWebApplication.

Gibt den virtuellen Pfad der Anwendung an.

Um beispielsweise eine Anwendung Site/Applicationzu erstellen, geben Sie ein /Application. Die übergeordnete Website sollte bereits vorhanden sein.


PhysicalPathForApplication - Physischer Pfad
string. Erforderlich, wenn IISDeploymentType = IISWebApplication. Standardwert. %SystemDrive%\inetpub\wwwroot.

Gibt den physischen Pfad an, in dem der Inhalt der Anwendung gespeichert wird. Der Inhalt kann sich auf dem lokalen Computer, in einem Remoteverzeichnis oder in einer Netzwerkfreigabe wie C:\Fabrikam oder befinden \\ContentShare\Fabrikam.


ApplicationPhysicalPathAuth - Authentifizierung des physischen Pfads
string. Optional. Verwenden Sie , wenn IISDeploymentType = IISWebApplication. Zulässige Werte: ApplicationUserPassThrough (Anwendungsbenutzer (Passthrough)), ApplicationWindowsAuth (Windows-Authentifizierung). Standardwert. ApplicationUserPassThrough.

Gibt den Authentifizierungsmechanismus an, der für den Zugriff auf den physischen Pfad der Anwendung verwendet wird.


ApplicationAuthUserName - Nutzername
string. Erforderlich, wenn ApplicationPhysicalPathAuth = ApplicationWindowsAuth && IISDeploymentType = IISWebApplication.

Gibt den Benutzernamen an, der für den Zugriff auf den physischen Pfad der Anwendung verwendet wird.


ApplicationAuthUserPassword - Passwort
string. Optional. Verwenden Sie , wenn ApplicationPhysicalPathAuth = ApplicationWindowsAuth && IISDeploymentType = IISWebApplication.

Gibt das Kennwort des Benutzers an, das für den Zugriff auf den physischen Pfad der Anwendung verwendet wird.
Die bewährte Methode besteht darin, eine Variable in der Build- oder Releasepipeline zu erstellen, sie als Secret Zusicherung zu markieren und dann bei Verwendung dieser Eingabe wie bereitzustellen $(userCredentials).
Hinweis: Sonderzeichen im Kennwort werden pro Befehlszeilenargument interpretiert.


CreateOrUpdateAppPoolForApplication - Erstellen oder Aktualisieren eines App-Pools
boolean. Optional. Verwenden Sie , wenn IISDeploymentType = IISWebApplication. Standardwert. false.

Gibt die Option zum Erstellen oder Aktualisieren eines Anwendungspools an. Wenn diese Option aktiviert ist, wird die Anwendung im angegebenen Anwendungspool erstellt.


AppPoolNameForApplication - Namen
string. Erforderlich, wenn IISDeploymentType = IISWebApplication && CreateOrUpdateAppPoolForApplication = true.

Gibt den Namen des zu erstellenden oder zu aktualisierenden IIS-Anwendungspools an.


DotNetVersionForApplication - .NET-Version
string. Erforderlich, wenn IISDeploymentType = IISWebApplication && CreateOrUpdateAppPoolForApplication = true. Zulässige Werte: v4.0, v2.0 und No Managed Code. Standardwert. v4.0.

Gibt die Version der .NET Framework an, die vom Anwendungspool geladen wird. Wenn die diesem Anwendungspool zugewiesenen Anwendungen keinen verwalteten Code enthalten, wählen Sie in der Liste die Option Kein verwalteter Code aus.


PipeLineModeForApplication - Verwalteter Pipelinemodus
string. Erforderlich, wenn IISDeploymentType = IISWebApplication && CreateOrUpdateAppPoolForApplication = true. Zulässige Werte: Integrated, Classic. Standardwert. Integrated.

Gibt den verwalteten Pipelinemodus an, um zu bestimmen, wie IIS Anforderungen für verwaltete Inhalte verarbeitet. Verwenden Sie den klassischen Modus nur, wenn die Anwendungen im Anwendungspool nicht im integrierten Modus ausgeführt werden können.


AppPoolIdentityForApplication - Identität
string. Erforderlich, wenn IISDeploymentType = IISWebApplication && CreateOrUpdateAppPoolForApplication = true. Zulässige Werte: ApplicationPoolIdentity (Anwendungspoolidentität), LocalService (lokaler Dienst), LocalSystem (lokales System), NetworkService (Netzwerkdienst), SpecificUser (benutzerdefiniertes Konto). Standardwert. ApplicationPoolIdentity.

Konfiguriert das Konto, unter dem der Arbeitsprozess eines Anwendungspools ausgeführt wird. Gibt eines der vordefinierten Sicherheitskonten an oder konfiguriert ein benutzerdefiniertes Konto.


AppPoolUsernameForApplication - Nutzername
string. Erforderlich, wenn AppPoolIdentityForApplication = SpecificUser && IISDeploymentType = IISWebApplication && CreateOrUpdateAppPoolForApplication = true.

Gibt den Benutzernamen des benutzerdefinierten Kontos an, das Sie verwenden möchten.


AppPoolPasswordForApplication - Passwort
string. Optional. Verwenden Sie , wenn AppPoolIdentityForApplication = SpecificUser && IISDeploymentType = IISWebApplication && CreateOrUpdateAppPoolForApplication = true.

Gibt das Kennwort für das benutzerdefinierte Konto an.
Die bewährte Methode besteht darin, eine Variable in der Build- oder Releasepipeline zu erstellen, sie als Secret Zusicherung zu markieren und dann bei Verwendung dieser Eingabe wie bereitzustellen $(userCredentials).
Hinweis: Sonderzeichen im Kennwort werden pro Befehlszeilenargument interpretiert.


AppPoolName - Namen
string. Erforderlich, wenn ActionIISApplicationPool = CreateOrUpdateAppPool.

Gibt den Namen des zu erstellenden oder zu aktualisierenden IIS-Anwendungspools an.


DotNetVersion - .NET-Version
string. Erforderlich, wenn ActionIISApplicationPool = CreateOrUpdateAppPool. Zulässige Werte: v4.0, v2.0 und No Managed Code. Standardwert. v4.0.

Gibt die Version der .NET Framework an, die vom Anwendungspool geladen wird. Wenn die diesem Anwendungspool zugewiesenen Anwendungen keinen verwalteten Code enthalten, wählen Sie in der Liste die Option Kein verwalteter Code aus.


PipeLineMode - Verwalteter Pipelinemodus
string. Erforderlich, wenn ActionIISApplicationPool = CreateOrUpdateAppPool. Zulässige Werte: Integrated, Classic. Standardwert. Integrated.

Gibt den verwalteten Pipelinemodus an, um zu bestimmen, wie IIS Anforderungen für verwaltete Inhalte verarbeitet. Verwenden Sie den klassischen Modus nur, wenn die Anwendungen im Anwendungspool nicht im integrierten Modus ausgeführt werden können.


AppPoolIdentity - Identität
string. Erforderlich, wenn ActionIISApplicationPool = CreateOrUpdateAppPool. Zulässige Werte: ApplicationPoolIdentity (Anwendungspoolidentität), LocalService (lokaler Dienst), LocalSystem (lokales System), NetworkService (Netzwerkdienst), SpecificUser (benutzerdefiniertes Konto). Standardwert. ApplicationPoolIdentity.

Konfiguriert das Konto, unter dem der Arbeitsprozess eines Anwendungspools ausgeführt wird. Gibt eines der vordefinierten Sicherheitskonten an oder konfiguriert ein benutzerdefiniertes Konto.


AppPoolUsername - Nutzername
string. Erforderlich, wenn AppPoolIdentity = SpecificUser && ActionIISApplicationPool = CreateOrUpdateAppPool.

Gibt den Benutzernamen des benutzerdefinierten Kontos an, das Sie verwenden möchten.


AppPoolPassword - Passwort
string. Optional. Verwenden Sie , wenn AppPoolIdentity = SpecificUser && ActionIISApplicationPool = CreateOrUpdateAppPool.

Gibt das Kennwort für das benutzerdefinierte Konto an.
Die bewährte Methode besteht darin, eine Variable in der Build- oder Releasepipeline zu erstellen, sie als Secret Zusicherung zu markieren und dann bei Verwendung dieser Eingabe wie bereitzustellen $(userCredentials).
Hinweis: Sonderzeichen im Kennwort werden pro Befehlszeilenargument interpretiert.


StartStopRecycleAppPoolName - Name des Anwendungspools
string. Erforderlich, wenn ActionIISApplicationPool = StartAppPool || ActionIISApplicationPool = StopAppPool || ActionIISApplicationPool = RecycleAppPool.

Gibt den Namen des IIS-Anwendungspools an.


AppCmdCommands - Zusätzliche appcmd.exe-Befehle
string.

Gibt zusätzliche AppCmd.exe Befehle an. Verwenden Sie für mehrere Befehle ein Zeilentrennzeichen.
Beispiel:
list apppools
list sites
recycle apppool /apppool.name:ExampleAppPoolName


Optionen für die Vorgangskontrolle

Alle Vorgänge verfügen zusätzlich zu ihren Eingaben über Steuerungsoptionen. Weitere Informationen finden Sie unter Steuerungsoptionen und allgemeine Aufgabeneigenschaften.

Ausgabevariablen

Keine.

Bemerkungen

Verwenden Sie diese Aufgabe, um eine Website, eine Web-App, ein virtuelles Verzeichnis oder einen Anwendungspool zu erstellen oder zu aktualisieren.

Anforderungen

Anforderung BESCHREIBUNG
Pipelinetypen Klassische Version
Wird ausgeführt auf Agent, DeploymentGroup
Forderungen Keine
Capabilities Diese Aufgabe erfüllt keine Anforderungen an nachfolgende Aufgaben im Auftrag.
Befehlseinschränkungen Any
Setzbare Variablen Any
Agent-Version 2.111.0 oder höher
Aufgabenkategorie Bereitstellen
Anforderung BESCHREIBUNG
Pipelinetypen Klassische Version
Wird ausgeführt auf DeploymentGroup
Forderungen Keine
Capabilities Diese Aufgabe erfüllt keine Anforderungen an nachfolgende Aufgaben im Auftrag.
Befehlseinschränkungen Any
Setzbare Variablen Any
Agent-Version 2.111.0 oder höher
Aufgabenkategorie Bereitstellen