-
-
Notifications
You must be signed in to change notification settings - Fork 1
v0.7_service.discovery
Fabrício Godoy edited this page Apr 2, 2014
·
1 revision
Returns a JSON-formatted list of machine services.
##Filters
service.discovery.any
Returns all services.
Since 0.2
service.discovery.auto
Returns only automatically started services.
Since 0.2
service.discovery.demand
Returns only manually started services.
Since 0.2
service.discovery.disabled
Returns only disabled services.
Since 0.2
##Macros
{#SVCDESC}
Service displayed name.
{#SVCNAME}
Service internal name.
{#SVCSTARTTYPE}
Shows when the service should be started.
Valid values: Auto, Demand and Disabled.
{#SVCSTATUS}
Service status
Valid values: ContinuePending, Paused, PausePending, Running, StartPending, Stopped and StopPending.
##Output Example
service.discovery.disabled
{"data": [
{
"{#SVCNAME}":"clr_optimization_v2.0.50727_32",
"{#SVCDESC}":"Microsoft .NET Framework NGEN v2.0.50727_X86",
"{#SVCSTATUS}":"Stopped",
"{#SVCSTARTTYPE}":"Disabled"
},
{
"{#SVCNAME}":"Mcx2Svc",
"{#SVCDESC}":"Serviço do Media Center Extender",
"{#SVCSTATUS}":"Stopped",
"{#SVCSTARTTYPE}":"Disabled"
},
{
"{#SVCNAME}":"MSSQLServerADHelper100",
"{#SVCDESC}":"SQL Active Directory Helper Service",
"{#SVCSTATUS}":"Stopped",
"{#SVCSTARTTYPE}":"Disabled"
},
{
"{#SVCNAME}":"SharedAccess",
"{#SVCDESC}":"ICS (Compartilhamento de Conexão com a Internet)",
"{#SVCSTATUS}":"Stopped",
"{#SVCSTARTTYPE}":"Disabled"
},
{
"{#SVCNAME}":"SQLAgent$SQLEXPRESS",
"{#SVCDESC}":"SQL Server Agent (SQLEXPRESS)",
"{#SVCSTATUS}":"Stopped",
"{#SVCSTARTTYPE}":"Disabled"
},
{
"{#SVCNAME}":"SQLBrowser",
"{#SVCDESC}":"SQL Server Browser",
"{#SVCSTATUS}":"Stopped",
"{#SVCSTARTTYPE}":"Disabled"
}
] }