IISWebAppManagementOnMachineGroup@0 - IIS web uygulaması v0 görevini yönetme
Web siteleri, web uygulamaları, sanal dizinler veya uygulama havuzları oluşturmak veya güncelleştirmek için bu görevi kullanın.
Söz dizimi
# 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.
Girişler
EnableIIS
- IIS'yi etkinleştirme
boolean
. Varsayılan değer: false
.
Makineye true
IIS yüklemek istiyorsanız olarak ayarlayın.
IISDeploymentType
- Yapılandırma türü
string
. Gereklidir. İzin verilen değerler: IISWebsite
(IIS Web Sitesi), IISWebApplication
(IIS Web Uygulaması), IISVirtualDirectory
(IIS Sanal Dizini), IISApplicationPool
(IIS Uygulama Havuzu). Varsayılan değer: IISWebsite
.
Yapılandırma türünü belirtir: web sitesi, web uygulaması, sanal dizin veya uygulama havuzu.
ActionIISWebsite
- Eylem
string
. olduğunda IISDeploymentType = IISWebsite
gereklidir. İzin verilen değerler: CreateOrUpdateWebsite
(Oluştur veya Güncelleştir), StartWebsite
(Başlat), StopWebsite
(Durdur). Varsayılan değer: CreateOrUpdateWebsite
.
IIS web sitesinde gerçekleştirmek istediğiniz uygun eylemi belirtir.
Oluştur veya Güncelleştir , bir web sitesi oluşturur veya mevcut bir web sitesini güncelleştirir.
Başlat, Durdur sırasıyla web sitesini başlatır veya durdurur.
ActionIISApplicationPool
- Eylem
string
. olduğunda IISDeploymentType = IISApplicationPool
gereklidir. İzin verilen değerler: CreateOrUpdateAppPool
(Oluştur veya Güncelleştir), StartAppPool
(Başlat), StopAppPool
(Durdur), RecycleAppPool
(Geri Dönüşüm). Varsayılan değer: CreateOrUpdateAppPool
.
IIS uygulama havuzunda gerçekleştirmek istediğiniz uygun eylemi belirtir.
Oluştur veya Güncelleştir bir uygulama havuzu oluşturur veya mevcut bir uygulama havuzunu güncelleştirir.
Başlat, Durdur, Geri Dönüşüm sırasıyla uygulama havuzunu başlatır, durdurur veya geri dönüştürer.
StartStopWebsiteName
- Web sitesi adı
string
. olduğunda ActionIISWebsite = StartWebsite || ActionIISWebsite = StopWebsite
gereklidir.
IIS web sitesinin adını belirtir.
WebsiteName
- Web sitesi adı
string
. olduğunda ActionIISWebsite = CreateOrUpdateWebsite
gereklidir.
Oluşturulacak veya güncelleştirilecek IIS web sitesinin adını belirtir.
WebsitePhysicalPath
- Fiziksel yol
string
. olduğunda ActionIISWebsite = CreateOrUpdateWebsite
gereklidir. Varsayılan değer: %SystemDrive%\inetpub\wwwroot
.
Web sitesi içeriğinin depolandığı fiziksel yolu belirtir. İçerik yerel bilgisayarda, uzak bir dizinde veya veya \\ContentShare\Fabrikam
gibi C:\Fabrikam
bir ağ paylaşımında bulunabilir.
WebsitePhysicalPathAuth
- Fiziksel yol kimlik doğrulaması
string
. olduğunda ActionIISWebsite = CreateOrUpdateWebsite
gereklidir. İzin verilen değerler: WebsiteUserPassThrough
(Uygulama Kullanıcısı (Geçiş)), WebsiteWindowsAuth
(Windows Kimlik Doğrulaması). Varsayılan değer: WebsiteUserPassThrough
.
Web sitesinin fiziksel yoluna erişmek için kullanılacak kimlik doğrulama mekanizmasını belirtir.
WebsiteAuthUserName
- Username
string
. olduğunda WebsitePhysicalPathAuth = WebsiteWindowsAuth && ActionIISWebsite = CreateOrUpdateWebsite
gereklidir.
Web sitesinin fiziksel yoluna erişmek için kullanılacak kullanıcı adını belirtir.
WebsiteAuthUserPassword
- Parola
string
. İsteğe bağlı. when WebsitePhysicalPathAuth = WebsiteWindowsAuth && ActionIISWebsite = CreateOrUpdateWebsite
kullanın.
Web sitesinin fiziksel yoluna erişmek için kullanılacak kullanıcının parolasını belirtir.
En iyi uygulama, derleme veya yayın işlem hattında bir değişken oluşturmak, güvenli olmasını sağlamak için olarak Secret
işaretlemek ve bu girişi kullanırken bunu sağlamaktır, örneğin $(userCredentials)
.
Not: Paroladaki özel karakterler , komut satırı bağımsız değişkenleri başına yorumlanır.
AddBinding
- Bağlama ekleme
boolean
. İsteğe bağlı. when ActionIISWebsite = CreateOrUpdateWebsite
kullanın. Varsayılan değer: false
.
Web sitesi için bağlantı noktası bağlaması ekleme seçeneğini belirtir.
Protocol
- Protokolü
string
. olduğunda IISDeploymentType = randomDeployment
gereklidir. İzin verilen değerler: https
, http
. Varsayılan değer: http
.
Web sitesinin HTTP bağlamasına sahip olması için HTTP'yi veya web sitesinin Güvenli Yuva Katmanı (SSL) bağlamasına sahip olması için HTTPS'yi belirtir.
IPAddress
- IP adresi
string
. olduğunda IISDeploymentType = randomDeployment
gereklidir. Varsayılan değer: All Unassigned
.
Son kullanıcıların bu web sitesine erişmek için kullanabileceği bir IP adresi belirtir.
Atanmamış Tümü seçilirse, web sitesi bağlantı noktasındaki tüm IP adresleri ve ana bilgisayar adı isteklerine yanıt verir. Sunucudaki başka bir web sitesinin aynı bağlantı noktasında ancak belirli bir IP adresine sahip bir bağlaması varsa web sitesi isteklere yanıt vermez.
Port
- Bağlantı noktası
string
. olduğunda IISDeploymentType = randomDeployment
gereklidir. Varsayılan değer: 80
.
Köprü Metni Aktarım Protokolü Yığınının (HTTP.sys) web sitesi isteklerini izleyeceği bağlantı noktasını belirtir.
ServerNameIndication
- Sunucu Adı Göstergesi gerekli
boolean
. İsteğe bağlı. when IISDeploymentType = randomDeployment
kullanın. Varsayılan değer: false
.
Web sitesi için Sunucu Adı Göstergesi'ni (SNI) ayarlama seçeneğini belirtir.
SNI, istemcilerin bağlanmaya çalıştığı ana bilgisayar adını belirtmek için SSL ve TLS protokollerini genişletir. Farklı sertifikalara sahip birden çok güvenli web sitesini aynı IP adresini kullanmasına izin verir.
HostNameWithOutSNI
- Ana bilgisayar adı
string
. İsteğe bağlı. when IISDeploymentType = randomDeployment
kullanın.
Web sitesi için bir ana bilgisayar adı (veya etki alanı adı) belirtir.
Bir ana bilgisayar adı belirtilirse, istemcilerin web sitesine erişmek için IP adresi yerine ana bilgisayar adını kullanması gerekir.
HostNameWithHttp
- Ana bilgisayar adı
string
. İsteğe bağlı. when IISDeploymentType = randomDeployment
kullanın.
Web sitesi için bir ana bilgisayar adı (veya etki alanı adı) belirtir.
Bir ana bilgisayar adı belirtilirse, istemcilerin web sitesine erişmek için IP adresi yerine ana bilgisayar adını kullanması gerekir.
HostNameWithSNI
- Ana bilgisayar adı
string
. olduğunda IISDeploymentType = randomDeployment
gereklidir.
Web sitesi için bir ana bilgisayar adı (veya etki alanı adı) belirtir.
Bir ana bilgisayar adı belirtilirse, istemcilerin web sitesine erişmek için IP adresi yerine ana bilgisayar adını kullanması gerekir.
SSLCertThumbPrint
- SSL sertifikası parmak izi
string
. olduğunda IISDeploymentType = randomDeployment
gereklidir.
Web sitesinin HTTPS iletişimi için kullandığı Güvenli Yuva Katmanı sertifikasının parmak izini belirtir. Parmak izi 40 karakter uzunluğunda onaltılık bir dizedir. SSL sertifikası, Yerel Bilgisayar Kişisel deposundaki bilgisayarda zaten yüklü olmalıdır.
Bindings
- Bağlama ekleme
string
. olduğunda IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && AddBinding = true
gereklidir.
Web sitesine bağlama eklemek için uzantı düğmesine ...
tıklayın.
CreateOrUpdateAppPoolForWebsite
- Uygulama havuzu oluşturma veya güncelleştirme
boolean
. İsteğe bağlı. when ActionIISWebsite = CreateOrUpdateWebsite
kullanın. Varsayılan değer: false
.
Uygulama havuzu oluşturma veya güncelleştirme seçeneğini belirtir. İşaretlenirse, web sitesi belirtilen uygulama havuzunda oluşturulur.
ConfigureAuthenticationForWebsite
- Kimlik doğrulamayı yapılandırma
boolean
. İsteğe bağlı. when ActionIISWebsite = CreateOrUpdateWebsite
kullanın. Varsayılan değer: false
.
Web sitesi için kimlik doğrulamasını yapılandırma seçeneğini belirtir.
AppPoolNameForWebsite
- Adı
string
. olduğunda IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && CreateOrUpdateAppPoolForWebsite = true
gereklidir.
Oluşturulacak veya güncelleştirilecek IIS uygulama havuzunun adını belirtir.
DotNetVersionForWebsite
- .NET sürümü
string
. olduğunda IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && CreateOrUpdateAppPoolForWebsite = true
gereklidir. İzin verilen değerler: v4.0
, v2.0
, No Managed Code
. Varsayılan değer: v4.0
.
Uygulama havuzu tarafından yüklenen .NET Framework sürümünü belirtir. Bu uygulama havuzuna atanan uygulamalar yönetilen kod içermiyorsa, listeden Yönetilen Kod Yok seçeneğini belirleyin.
PipeLineModeForWebsite
- Yönetilen işlem hattı modu
string
. olduğunda IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && CreateOrUpdateAppPoolForWebsite = true
gereklidir. İzin verilen değerler: Integrated
, Classic
. Varsayılan değer: Integrated
.
IIS'nin yönetilen içerik isteklerini nasıl işlediğini belirlemek için yönetilen işlem hattı modunu belirtir. Klasik modu yalnızca uygulama havuzundaki uygulamalar tümleşik modda çalışamadığında kullanın.
AppPoolIdentityForWebsite
- Kimlik
string
. olduğunda IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && CreateOrUpdateAppPoolForWebsite = true
gereklidir. İzin verilen değerler: ApplicationPoolIdentity
(Uygulama Havuzu Kimliği), LocalService
(Yerel Hizmet), LocalSystem
(Yerel Sistem), NetworkService
(Ağ Hizmeti), SpecificUser
(Özel Hesap). Varsayılan değer: ApplicationPoolIdentity
.
Bir uygulama havuzunun çalışan işleminin altında çalıştığı hesabı yapılandırılır. Önceden tanımlanmış güvenlik hesaplarından birini belirtir veya özel bir hesap yapılandırılır.
AppPoolUsernameForWebsite
- Username
string
. olduğunda AppPoolIdentityForWebsite = SpecificUser && IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && CreateOrUpdateAppPoolForWebsite = true
gereklidir.
Kullanmak istediğiniz özel hesabın kullanıcı adını belirtir.
AppPoolPasswordForWebsite
- Parola
string
. İsteğe bağlı. when AppPoolIdentityForWebsite = SpecificUser && IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && CreateOrUpdateAppPoolForWebsite = true
kullanın.
Özel hesabın parolasını belirtir.
En iyi uygulama, derleme veya yayın işlem hattında bir değişken oluşturmak, güvenli olmasını sağlamak için olarak Secret
işaretlemek ve bu girişi kullanırken bunu sağlamaktır, örneğin $(userCredentials)
.
Not: Paroladaki özel karakterler , komut satırı bağımsız değişkenleri başına yorumlanır.
AnonymousAuthenticationForWebsite
- Anonim kimlik doğrulaması
boolean
. İsteğe bağlı. when IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && ConfigureAuthenticationForWebsite = true
kullanın. Varsayılan değer: false
.
Bir web sitesi için anonim kimlik doğrulamasını etkinleştirme seçeneğini belirtir.
BasicAuthenticationForWebsite
- Temel kimlik doğrulaması
boolean
. İsteğe bağlı. when IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && ConfigureAuthenticationForWebsite = true
kullanın. Varsayılan değer: false
.
Bir web sitesi için temel kimlik doğrulamasını etkinleştirme seçeneğini belirtir.
WindowsAuthenticationForWebsite
- Windows kimlik doğrulaması
boolean
. İsteğe bağlı. when IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && ConfigureAuthenticationForWebsite = true
kullanın. Varsayılan değer: true
.
Bir web sitesi için Windows kimlik doğrulamasını etkinleştirme seçeneğini belirtir.
ParentWebsiteNameForVD
- Üst web sitesi adı
string
. olduğunda IISDeploymentType = IISVirtualDirectory
gereklidir.
Sanal dizinin üst web sitesinin adını belirtir.
VirtualPathForVD
- Sanal yol
string
. olduğunda IISDeploymentType = IISVirtualDirectory
gereklidir.
Sanal dizinin sanal yolunu belirtir.
Örneğin, bir sanal dizin Site/Application/VDir
oluşturmak için girin /Application/Vdir
. Üst web sitesi ve uygulama zaten mevcut olmalıdır.
PhysicalPathForVD
- Fiziksel yol
string
. olduğunda IISDeploymentType = IISVirtualDirectory
gereklidir. Varsayılan değer: %SystemDrive%\inetpub\wwwroot
.
Sanal dizinin içeriğinin depolandığı fiziksel yolu belirtir. İçerik yerel bilgisayarda, uzak bir dizinde veya veya \\ContentShare\Fabrikam
gibi C:\Fabrikam
bir ağ paylaşımında bulunabilir.
VDPhysicalPathAuth
- Fiziksel yol kimlik doğrulaması
string
. İsteğe bağlı. when IISDeploymentType = IISVirtualDirectory
kullanın. İzin verilen değerler: VDUserPassThrough
(Uygulama Kullanıcısı (Geçiş)), VDWindowsAuth
(Windows Kimlik Doğrulaması). Varsayılan değer: VDUserPassThrough
.
Sanal dizinin fiziksel yoluna erişmek için kullanılan kimlik doğrulama mekanizmasını belirtir.
VDAuthUserName
- Username
string
. olduğunda VDPhysicalPathAuth = VDWindowsAuth && IISDeploymentType = IISVirtualDirectory
gereklidir.
Sanal dizinin fiziksel yoluna erişmek için kullanılan kullanıcı adını belirtir.
VDAuthUserPassword
- Parola
string
. İsteğe bağlı. when VDPhysicalPathAuth = VDWindowsAuth && IISDeploymentType = IISVirtualDirectory
kullanın.
Sanal dizinin fiziksel yoluna erişmek için kullanılan kullanıcının parolasını belirtir.
En iyi uygulama, derleme veya yayın işlem hattında bir değişken oluşturmak, güvenli olmasını sağlamak için olarak Secret
işaretlemek ve bu girişi kullanırken bunu sağlamaktır, örneğin $(userCredentials)
.
Not: Paroladaki özel karakterler , komut satırı bağımsız değişkenleri başına yorumlanır.
ParentWebsiteNameForApplication
- Üst web sitesi adı
string
. olduğunda IISDeploymentType = IISWebApplication
gereklidir.
Uygulamanın oluşturulacağı veya güncelleştirileceği üst web sitesinin adını belirtir.
VirtualPathForApplication
- Sanal yol
string
. olduğunda IISDeploymentType = IISWebApplication
gereklidir.
Uygulamanın sanal yolunu belirtir.
Örneğin, bir uygulama Site/Application
oluşturmak için girin /Application
. Üst web sitesi zaten mevcut olmalıdır.
PhysicalPathForApplication
- Fiziksel yol
string
. olduğunda IISDeploymentType = IISWebApplication
gereklidir. Varsayılan değer: %SystemDrive%\inetpub\wwwroot
.
Uygulama içeriğinin depolandığı fiziksel yolu belirtir. İçerik yerel bilgisayarda, uzak bir dizinde veya veya \\ContentShare\Fabrikam
gibi C:\Fabrikam
bir ağ paylaşımında bulunabilir.
ApplicationPhysicalPathAuth
- Fiziksel yol kimlik doğrulaması
string
. İsteğe bağlı. olduğunda IISDeploymentType = IISWebApplication
kullanın. İzin verilen değerler: ApplicationUserPassThrough
(Uygulama Kullanıcısı (Geçiş)), ApplicationWindowsAuth
(Windows Kimlik Doğrulaması). Varsayılan değer: ApplicationUserPassThrough
.
Uygulamanın fiziksel yoluna erişmek için kullanılan kimlik doğrulama mekanizmasını belirtir.
ApplicationAuthUserName
- Username
string
. olduğunda ApplicationPhysicalPathAuth = ApplicationWindowsAuth && IISDeploymentType = IISWebApplication
gereklidir.
Uygulamanın fiziksel yoluna erişmek için kullanılan kullanıcı adını belirtir.
ApplicationAuthUserPassword
- Parola
string
. İsteğe bağlı. olduğunda ApplicationPhysicalPathAuth = ApplicationWindowsAuth && IISDeploymentType = IISWebApplication
kullanın.
Uygulamanın fiziksel yoluna erişmek için kullanılan kullanıcının parolasını belirtir.
En iyi yöntem derleme veya yayın işlem hattında bir değişken oluşturmak, güvenli olmasını sağlamak için olarak Secret
işaretlemek ve ardından gibi $(userCredentials)
bu girişi kullanırken bunu sağlamaktır.
Not: Paroladaki özel karakterler komut satırı bağımsız değişkenleri başına yorumlanır.
CreateOrUpdateAppPoolForApplication
- Uygulama havuzu oluşturma veya güncelleştirme
boolean
. İsteğe bağlı. olduğunda IISDeploymentType = IISWebApplication
kullanın. Varsayılan değer: false
.
Uygulama havuzu oluşturma veya güncelleştirme seçeneğini belirtir. İşaretlenirse, uygulama belirtilen uygulama havuzunda oluşturulur.
AppPoolNameForApplication
- Adı
string
. olduğunda IISDeploymentType = IISWebApplication && CreateOrUpdateAppPoolForApplication = true
gereklidir.
Oluşturulacak veya güncelleştirilecek IIS uygulama havuzunun adını belirtir.
DotNetVersionForApplication
- .NET sürümü
string
. olduğunda IISDeploymentType = IISWebApplication && CreateOrUpdateAppPoolForApplication = true
gereklidir. İzin verilen değerler: v4.0
, v2.0
, No Managed Code
. Varsayılan değer: v4.0
.
Uygulama havuzu tarafından yüklenen .NET Framework sürümünü belirtir. Bu uygulama havuzuna atanan uygulamalar yönetilen kod içermiyorsa, listeden Yönetilen Kod Yok seçeneğini belirleyin.
PipeLineModeForApplication
- Yönetilen işlem hattı modu
string
. olduğunda IISDeploymentType = IISWebApplication && CreateOrUpdateAppPoolForApplication = true
gereklidir. İzin verilen değerler: Integrated
, Classic
. Varsayılan değer: Integrated
.
IIS'nin yönetilen içerik isteklerini nasıl işlediğini belirlemek için yönetilen işlem hattı modunu belirtir. Klasik modu yalnızca uygulama havuzundaki uygulamalar tümleşik modda çalışamadığında kullanın.
AppPoolIdentityForApplication
- Kimlik
string
. olduğunda IISDeploymentType = IISWebApplication && CreateOrUpdateAppPoolForApplication = true
gereklidir. İzin verilen değerler: ApplicationPoolIdentity
(Uygulama Havuzu Kimliği), LocalService
(Yerel Hizmet), LocalSystem
(Yerel Sistem), NetworkService
(Ağ Hizmeti), SpecificUser
(Özel Hesap). Varsayılan değer: ApplicationPoolIdentity
.
Bir uygulama havuzunun çalışan işleminin altında çalıştığı hesabı yapılandırılır. Önceden tanımlanmış güvenlik hesaplarından birini belirtir veya özel bir hesap yapılandırılır.
AppPoolUsernameForApplication
- Username
string
. olduğunda AppPoolIdentityForApplication = SpecificUser && IISDeploymentType = IISWebApplication && CreateOrUpdateAppPoolForApplication = true
gereklidir.
Kullanmak istediğiniz özel hesabın kullanıcı adını belirtir.
AppPoolPasswordForApplication
- Parola
string
. İsteğe bağlı. olduğunda AppPoolIdentityForApplication = SpecificUser && IISDeploymentType = IISWebApplication && CreateOrUpdateAppPoolForApplication = true
kullanın.
Özel hesabın parolasını belirtir.
En iyi yöntem derleme veya yayın işlem hattında bir değişken oluşturmak, güvenli olmasını sağlamak için olarak Secret
işaretlemek ve ardından gibi $(userCredentials)
bu girişi kullanırken bunu sağlamaktır.
Not: Paroladaki özel karakterler komut satırı bağımsız değişkenleri başına yorumlanır.
AppPoolName
- Adı
string
. olduğunda ActionIISApplicationPool = CreateOrUpdateAppPool
gereklidir.
Oluşturulacak veya güncelleştirilecek IIS uygulama havuzunun adını belirtir.
DotNetVersion
- .NET sürümü
string
. olduğunda ActionIISApplicationPool = CreateOrUpdateAppPool
gereklidir. İzin verilen değerler: v4.0
, v2.0
, No Managed Code
. Varsayılan değer: v4.0
.
Uygulama havuzu tarafından yüklenen .NET Framework sürümünü belirtir. Bu uygulama havuzuna atanan uygulamalar yönetilen kod içermiyorsa, listeden Yönetilen Kod Yok seçeneğini belirleyin.
PipeLineMode
- Yönetilen işlem hattı modu
string
. olduğunda ActionIISApplicationPool = CreateOrUpdateAppPool
gereklidir. İzin verilen değerler: Integrated
, Classic
. Varsayılan değer: Integrated
.
IIS'nin yönetilen içerik isteklerini nasıl işlediğini belirlemek için yönetilen işlem hattı modunu belirtir. Klasik modu yalnızca uygulama havuzundaki uygulamalar tümleşik modda çalışamadığında kullanın.
AppPoolIdentity
- Kimlik
string
. olduğunda ActionIISApplicationPool = CreateOrUpdateAppPool
gereklidir. İzin verilen değerler: ApplicationPoolIdentity
(Uygulama Havuzu Kimliği), LocalService
(Yerel Hizmet), LocalSystem
(Yerel Sistem), NetworkService
(Ağ Hizmeti), SpecificUser
(Özel Hesap). Varsayılan değer: ApplicationPoolIdentity
.
Bir uygulama havuzunun çalışan işleminin altında çalıştığı hesabı yapılandırılır. Önceden tanımlanmış güvenlik hesaplarından birini belirtir veya özel bir hesap yapılandırılır.
AppPoolUsername
- Username
string
. olduğunda AppPoolIdentity = SpecificUser && ActionIISApplicationPool = CreateOrUpdateAppPool
gereklidir.
Kullanmak istediğiniz özel hesabın kullanıcı adını belirtir.
AppPoolPassword
- Parola
string
. İsteğe bağlı. olduğunda AppPoolIdentity = SpecificUser && ActionIISApplicationPool = CreateOrUpdateAppPool
kullanın.
Özel hesabın parolasını belirtir.
En iyi yöntem derleme veya yayın işlem hattında bir değişken oluşturmak, güvenli olmasını sağlamak için olarak Secret
işaretlemek ve ardından gibi $(userCredentials)
bu girişi kullanırken bunu sağlamaktır.
Not: Paroladaki özel karakterler komut satırı bağımsız değişkenleri başına yorumlanır.
StartStopRecycleAppPoolName
- Uygulama havuzu adı
string
. olduğunda ActionIISApplicationPool = StartAppPool || ActionIISApplicationPool = StopAppPool || ActionIISApplicationPool = RecycleAppPool
gereklidir.
IIS uygulama havuzunun adını belirtir.
AppCmdCommands
- Ek appcmd.exe komutları
string
.
Ek AppCmd.exe
komutları belirtir. Birden fazla komut için bir satır ayırıcı kullanın.
Örneğin:
list apppools
list sites
recycle apppool /apppool.name:ExampleAppPoolName
Görev denetim seçenekleri
Tüm görevlerde görev girişlerine ek olarak denetim seçenekleri vardır. Daha fazla bilgi için bkz . Denetim seçenekleri ve ortak görev özellikleri.
Çıkış değişkenleri
Yok.
Açıklamalar
Bir web sitesi, web uygulaması, sanal dizin veya uygulama havuzu oluşturmak veya güncelleştirmek için bu görevi kullanın.
Gereksinimler
Gereksinim | Açıklama |
---|---|
İşlem hattı türleri | Klasik sürüm |
Üzerinde çalıştırılır | Agent, DeploymentGroup |
Talep | Hiçbiri |
Özellikler | Bu görev, işteki sonraki görevler için hiçbir talebi karşılamaz. |
Komut kısıtlamaları | Herhangi biri |
Ayarlanabilir değişkenler | Herhangi biri |
Aracı sürümü | 2.111.0 veya üzeri |
Görev kategorisi | Dağıtma |
Gereksinim | Açıklama |
---|---|
İşlem hattı türleri | Klasik sürüm |
Üzerinde çalışır | DeploymentGroup |
Talep | Hiçbiri |
Özellikler | Bu görev, işteki sonraki görevler için hiçbir talebi karşılamaz. |
Komut kısıtlamaları | Herhangi biri |
Ayarlanabilir değişkenler | Herhangi biri |
Aracı sürümü | 2.111.0 veya üzeri |
Görev kategorisi | Dağıtma |