inspec/test/unit/mock/cmd/iis-default-app-pool
Robert Van Kleeck 5264cb5fdf add iis_app_pool resource (#2400)
* add iis_app_pool resource
* add sign off
* remove training whitespace
* code cleanup and simplify timeout checks
* add mock tests

Signed-off-by: Rob Van Kleeck <rvankleeck@salesforce.com>
2018-08-09 09:19:49 -04:00

115 lines
8.4 KiB
Text

{
"name": "DefaultAppPool",
"managedRuntimeVersion": "v4.0",
"enable32BitAppOnWin64": true,
"managedPipelineMode": "Classic",
"processModel": {
"Attributes": [
"Microsoft.IIs.PowerShell.Framework.ConfigurationAttribute",
"Microsoft.IIs.PowerShell.Framework.ConfigurationAttribute",
"Microsoft.IIs.PowerShell.Framework.ConfigurationAttribute",
"Microsoft.IIs.PowerShell.Framework.ConfigurationAttribute",
"Microsoft.IIs.PowerShell.Framework.ConfigurationAttribute",
"Microsoft.IIs.PowerShell.Framework.ConfigurationAttribute",
"Microsoft.IIs.PowerShell.Framework.ConfigurationAttribute",
"Microsoft.IIs.PowerShell.Framework.ConfigurationAttribute",
"Microsoft.IIs.PowerShell.Framework.ConfigurationAttribute",
"Microsoft.IIs.PowerShell.Framework.ConfigurationAttribute",
"Microsoft.IIs.PowerShell.Framework.ConfigurationAttribute",
"Microsoft.IIs.PowerShell.Framework.ConfigurationAttribute",
"Microsoft.IIs.PowerShell.Framework.ConfigurationAttribute",
"Microsoft.IIs.PowerShell.Framework.ConfigurationAttribute",
"Microsoft.IIs.PowerShell.Framework.ConfigurationAttribute",
"Microsoft.IIs.PowerShell.Framework.ConfigurationAttribute"
],
"ChildElements": [
],
"ElementTagName": "processModel",
"Methods": null,
"Schema": {
"AllowUnrecognizedAttributes": false,
"AttributeSchemas": "Microsoft.IIs.PowerShell.Framework.ConfigurationAttributeSchema Microsoft.IIs.PowerShell.Framework.ConfigurationAttributeSchema Microsoft.IIs.PowerShell.Framework.ConfigurationAttributeSchema Microsoft.IIs.PowerShell.Framework.ConfigurationAttributeSchema Microsoft.IIs.PowerShell.Framework.ConfigurationAttributeSchema Microsoft.IIs.PowerShell.Framework.ConfigurationAttributeSchemaMicrosoft.IIs.PowerShell.Framework.ConfigurationAttributeSchema Microsoft.IIs.PowerShell.Framework.ConfigurationAttributeSchema Microsoft.IIs.PowerShell.Framework.ConfigurationAttributeSchema Microsoft.IIs.PowerShell.Framework.ConfigurationAttributeSchema Microsoft.IIs.PowerShell.Framework.ConfigurationAttributeSchema Microsoft.IIs.PowerShell.Framework.ConfigurationAttributeSchemaMicrosoft.IIs.PowerShell.Framework.ConfigurationAttributeSchema Microsoft.IIs.PowerShell.Framework.ConfigurationAttributeSchema Microsoft.IIs.PowerShell.Framework.ConfigurationAttributeSchema Microsoft.IIs.PowerShell.Framework.ConfigurationAttributeSchema",
"ChildElementSchemas": null,
"CollectionSchema": null,
"IsCollectionDefault": false,
"Name": "processModel"
},
"identityType": "SpecificUser",
"userName": "WIN-GL8BBPST24B\\vagrant",
"password": "vagrant",
"loadUserProfile": false,
"setProfileEnvironment": true,
"logonType": "LogonBatch",
"manualGroupMembership": false,
"idleTimeout": {
"Ticks": 0,
"Days": 0,
"Hours": 0,
"Milliseconds": 0,
"Minutes": 0,
"Seconds": 0,
"TotalDays": 0,
"TotalHours": 0,
"TotalMilliseconds": 0,
"TotalMinutes": 0,
"TotalSeconds": 0
},
"idleTimeoutAction": "Terminate",
"maxProcesses": 2,
"shutdownTimeLimit": {
"Ticks": 900000000,
"Days": 0,
"Hours": 0,
"Milliseconds": 0,
"Minutes": 1,
"Seconds": 30,
"TotalDays": 0.0010416666666666667,
"TotalHours": 0.024999999999999998,
"TotalMilliseconds": 90000,
"TotalMinutes": 1.5,
"TotalSeconds": 90
},
"startupTimeLimit": {
"Ticks": 900000000,
"Days": 0,
"Hours": 0,
"Milliseconds": 0,
"Minutes": 1,
"Seconds": 30,
"TotalDays": 0.0010416666666666667,
"TotalHours": 0.024999999999999998,
"TotalMilliseconds": 90000,
"TotalMinutes": 1.5,
"TotalSeconds": 90
},
"pingingEnabled": true,
"pingInterval": {
"Ticks": 300000000,
"Days": 0,
"Hours": 0,
"Milliseconds": 0,
"Minutes": 0,
"Seconds": 30,
"TotalDays": 0.00034722222222222218,
"TotalHours": 0.0083333333333333332,
"TotalMilliseconds": 30000,
"TotalMinutes": 0.5,
"TotalSeconds": 30
},
"pingResponseTime": {
"Ticks": 900000000,
"Days": 0,
"Hours": 0,
"Milliseconds": 0,
"Minutes": 1,
"Seconds": 30,
"TotalDays": 0.0010416666666666667,
"TotalHours": 0.024999999999999998,
"TotalMilliseconds": 90000,
"TotalMinutes": 1.5,
"TotalSeconds": 90
},
"logEventOnProcessModel": "IdleTimeout"
}
}