|
16 | 16 | "version": { |
17 | 17 | "Major": 0, |
18 | 18 | "Minor": 2, |
19 | | - "Patch": 1 |
| 19 | + "Patch": 2 |
20 | 20 | }, |
21 | 21 | "minimumAgentVersion": "2.111.0", |
22 | 22 | "instanceNameFormat": "Manage $(IISDeploymentType)", |
|
29 | 29 | }, |
30 | 30 | { |
31 | 31 | "name": "ApplicationPoolForWebsite", |
32 | | - "displayName": "IIS application pool", |
| 32 | + "displayName": "IIS Application pool", |
33 | 33 | "isExpanded": true, |
34 | 34 | "visibleRule": "IISDeploymentType = IISWebsite && ActionIISWebsite = CreateOrUpdateWebsite && CreateOrUpdateAppPoolForWebsite = true" |
35 | 35 | }, |
36 | 36 | { |
37 | 37 | "name": "ApplicationPool", |
38 | | - "displayName": "IIS application pool", |
| 38 | + "displayName": "IIS Application pool", |
39 | 39 | "isExpanded": true, |
40 | 40 | "visibleRule": "ActionIISApplicationPool = CreateOrUpdateAppPool" |
41 | 41 | }, |
| 42 | + { |
| 43 | + "name": "WebApplication", |
| 44 | + "displayName": "IIS Application", |
| 45 | + "isExpanded": true, |
| 46 | + "visibleRule": "IISDeploymentType = IISWebApplication" |
| 47 | + }, |
| 48 | + { |
| 49 | + "name": "VirtualDirectory", |
| 50 | + "displayName": "IIS Virtual directory", |
| 51 | + "isExpanded": true, |
| 52 | + "visibleRule": "IISDeploymentType = IISVirtualDirectory" |
| 53 | + }, |
42 | 54 | { |
43 | 55 | "name": "ApplicationPoolForApplication", |
44 | | - "displayName": "IIS application pool", |
| 56 | + "displayName": "IIS Application pool", |
45 | 57 | "isExpanded": true, |
46 | 58 | "visibleRule": "IISDeploymentType = IISWebApplication && CreateOrUpdateAppPoolForApplication = true" |
47 | 59 | }, |
|
56 | 68 | "name": "IISDeploymentType", |
57 | 69 | "type": "pickList", |
58 | 70 | "label": "Configuration type", |
59 | | - "required": false, |
| 71 | + "required": true, |
60 | 72 | "defaultValue": "IISWebsite", |
61 | 73 | "options": { |
62 | 74 | "IISWebsite": "IIS Website", |
|
75 | 87 | "visibleRule": "IISDeploymentType = IISWebsite", |
76 | 88 | "options": { |
77 | 89 | "CreateOrUpdateWebsite": "Create Or Update", |
78 | | - "StartWebsite": "Start Website", |
79 | | - "StopWebsite": "Stop Website" |
| 90 | + "StartWebsite": "Start", |
| 91 | + "StopWebsite": "Stop" |
80 | 92 | }, |
81 | 93 | "helpMarkDown": "Select the appropriate action that you want to perform on an IIS website. \n\n\"Create Or Update\" will create a website or update an existing website.\n\n Start, Stop will start or stop the website respectively." |
82 | 94 | }, |
|
89 | 101 | "defaultValue": "CreateOrUpdateAppPool", |
90 | 102 | "options": { |
91 | 103 | "CreateOrUpdateAppPool": "Create Or Update", |
92 | | - "StartAppPool": "Start Application Pool", |
93 | | - "StopAppPool": "Stop Applcation Pool", |
94 | | - "RecycleAppPool": "Recycle Application Pool" |
| 104 | + "StartAppPool": "Start", |
| 105 | + "StopAppPool": "Stop", |
| 106 | + "RecycleAppPool": "Recycle" |
95 | 107 | }, |
96 | 108 | "helpMarkDown": "Select the appropriate action that you want to perform on an IIS Application Pool. \n\n\"Create Or Update\" will create app-pool or update an existing one.\n\nStart, Stop, Recycle will start, stop or recycle the application pool respectively." |
97 | 109 | }, |
|
335 | 347 | "label": "Parent website name", |
336 | 348 | "defaultValue": "", |
337 | 349 | "required": true, |
338 | | - "visibleRule": "IISDeploymentType = IISVirtualDirectory", |
| 350 | + "groupName": "VirtualDirectory", |
339 | 351 | "helpMarkDown": "Provide the name of the parent Website of the virtual directory." |
340 | 352 | }, |
341 | 353 | { |
|
344 | 356 | "label": "Virtual path", |
345 | 357 | "defaultValue": "", |
346 | 358 | "required": true, |
347 | | - "visibleRule": "IISDeploymentType = IISVirtualDirectory", |
| 359 | + "groupName": "VirtualDirectory", |
348 | 360 | "helpMarkDown": "Provide the virtual path of the virtual directory. \n\nExample: To create a virtual directory Site/Application/VDir enter /Application/Vdir. The parent website and application should be already existing." |
349 | 361 | }, |
350 | 362 | { |
|
353 | 365 | "label": "Physical path", |
354 | 366 | "defaultValue": "%SystemDrive%\\inetpub\\wwwroot", |
355 | 367 | "required": true, |
356 | | - "visibleRule": "IISDeploymentType = IISVirtualDirectory", |
| 368 | + "groupName": "VirtualDirectory", |
357 | 369 | "helpMarkDown": "Provide the physical path where the virtual directory's content will be stored. The content can reside on the local Computer, or in a remote directory, or on a network share, like C:\\Fabrikam or \\\\\\\\ContentShare\\Fabrikam." |
358 | 370 | }, |
359 | 371 | { |
360 | 372 | "name": "VDPhysicalPathAuth", |
361 | 373 | "type": "pickList", |
362 | 374 | "label": "Physical path authentication", |
363 | 375 | "required": false, |
364 | | - "visibleRule": "IISDeploymentType = IISVirtualDirectory", |
| 376 | + "groupName": "VirtualDirectory", |
365 | 377 | "defaultValue": "Application User (Pass-through)", |
366 | 378 | "options": { |
367 | 379 | "VDUserPassThrough": "Application User (Pass-through)", |
|
375 | 387 | "label": "Username", |
376 | 388 | "required": true, |
377 | 389 | "defaultValue": "", |
| 390 | + "groupName": "VirtualDirectory", |
378 | 391 | "visibleRule": "VDPhysicalPathAuth = VDWindowsAuth", |
379 | 392 | "helpMarkDown": "Provide the user name that will be used to access the virtual directory's physical path." |
380 | 393 | }, |
|
384 | 397 | "label": "Password", |
385 | 398 | "required": false, |
386 | 399 | "defaultValue": "", |
| 400 | + "groupName": "VirtualDirectory", |
387 | 401 | "visibleRule": "VDPhysicalPathAuth = VDWindowsAuth", |
388 | 402 | "helpMarkDown": "Provide the user's password that will be used to access the virtual directory's physical path. <br/>The best practice is to create a variable in the Build or Release definition, and mark it as 'Secret' to secure it, and then use it here, like '$(userCredentials)'. <br> Note: Special characters in password are interpreted as per <a href=\"https://go.microsoft.com/fwlink/?linkid=843470\">command-line arguments</a>" |
389 | 403 | }, |
|
393 | 407 | "label": "Parent website name", |
394 | 408 | "defaultValue": "", |
395 | 409 | "required": true, |
396 | | - "visibleRule": "IISDeploymentType = IISWebApplication", |
| 410 | + "groupName": "WebApplication", |
397 | 411 | "helpMarkDown": "Provide the name of the parent Website under which the application will be created or updated." |
398 | 412 | }, |
399 | 413 | { |
|
402 | 416 | "label": "Virtual path", |
403 | 417 | "defaultValue": "", |
404 | 418 | "required": true, |
405 | | - "visibleRule": "IISDeploymentType = IISWebApplication", |
| 419 | + "groupName": "WebApplication", |
406 | 420 | "helpMarkDown": "Provide the virtual path of the application. \n\nExample: To create an application Site/Application enter /Application. The parent website should be already existing." |
407 | 421 | }, |
408 | 422 | { |
|
411 | 425 | "label": "Physical path", |
412 | 426 | "defaultValue": "%SystemDrive%\\inetpub\\wwwroot", |
413 | 427 | "required": true, |
414 | | - "visibleRule": "IISDeploymentType = IISWebApplication", |
| 428 | + "groupName": "WebApplication", |
415 | 429 | "helpMarkDown": "Provide the physical path where the application's content will be stored. The content can reside on the local Computer, or in a remote directory, or on a network share, like C:\\Fabrikam or \\\\\\\\ContentShare\\Fabrikam." |
416 | 430 | }, |
417 | 431 | { |
418 | 432 | "name": "ApplicationPhysicalPathAuth", |
419 | 433 | "type": "pickList", |
420 | 434 | "label": "Physical path authentication", |
421 | 435 | "required": false, |
422 | | - "visibleRule": "IISDeploymentType = IISWebApplication", |
| 436 | + "groupName": "WebApplication", |
423 | 437 | "defaultValue": "Application User (Pass-through)", |
424 | 438 | "options": { |
425 | 439 | "ApplicationUserPassThrough": "Application User (Pass-through)", |
|
433 | 447 | "label": "Username", |
434 | 448 | "required": true, |
435 | 449 | "defaultValue": "", |
| 450 | + "groupName": "WebApplication", |
436 | 451 | "visibleRule": "ApplicationPhysicalPathAuth = ApplicationWindowsAuth", |
437 | 452 | "helpMarkDown": "Provide the user name that will be used to access the application's physical path." |
438 | 453 | }, |
|
442 | 457 | "label": "Password", |
443 | 458 | "required": false, |
444 | 459 | "defaultValue": "", |
| 460 | + "groupName": "WebApplication", |
445 | 461 | "visibleRule": "ApplicationPhysicalPathAuth = ApplicationWindowsAuth", |
446 | 462 | "helpMarkDown": "Provide the user's password that will be used to access the application's physical path. <br/>The best practice is to create a variable in the Build or Release definition, and mark it as 'Secret' to secure it, and then use it here, like '$(userCredentials)'. <br> Note: Special characters in password are interpreted as per <a href=\"https://go.microsoft.com/fwlink/?linkid=843470\">command-line arguments</a>" |
447 | 463 | }, |
|
451 | 467 | "label": "Create or update app pool", |
452 | 468 | "required": false, |
453 | 469 | "defaultValue": "false", |
454 | | - "visibleRule": "IISDeploymentType = IISWebApplication", |
| 470 | + "groupName": "WebApplication", |
455 | 471 | "helpMarkDown": "Select the option to create or update an application pool. If checked, the application will be created in the specified app pool." |
456 | 472 | }, |
457 | 473 | { |
|
0 commit comments