Ports - List Accepting Processes
Returns a collection of processes accepting on the specified port
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machines/{machineName}/ports/{portName}/acceptingProcesses?api-version=2015-11-01-preview
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machines/{machineName}/ports/{portName}/acceptingProcesses?api-version=2015-11-01-preview&startTime={startTime}&endTime={endTime}
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
machine
|
path | True |
string |
Machine resource name. |
port
|
path | True |
string |
Port resource name. |
resource
|
path | True |
string |
Resource group name within the specified subscriptionId. Regex pattern: |
subscription
|
path | True |
string |
Azure subscription identifier. |
workspace
|
path | True |
string |
OMS workspace containing the resources of interest. Regex pattern: |
api-version
|
query | True |
string |
API version. |
end
|
query |
string date-time |
UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow |
|
start
|
query |
string date-time |
UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m |
Responses
Name | Type | Description |
---|---|---|
200 OK |
The operation completed successfully. |
|
Other Status Codes |
An error occurred while processing the request. See the error.code parameter to identify the specific error. |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
SMMachinesPortsListAcceptingProcessesGet
Sample Request
GET https://management.azure.com/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/features/serviceMap/machines/m-1bc28d72-0e81-4aff-b1e3-ae12e8da155e/ports/b-c0a80101_8000/acceptingProcesses?api-version=2015-11-01-preview&startTime=2018-01-08T18:37:39.936Z&endTime=2018-01-08T18:37:54.936Z
Sample Response
{
"value": [
{
"kind": "process",
"properties": {
"monitoringState": "monitored",
"machine": {
"kind": "ref:machine",
"id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-1bc28d72-0e81-4aff-b1e3-ae12e8da155e",
"type": "Microsoft.OperationalInsights/workspaces/features/machines",
"name": "m-1bc28d72-0e81-4aff-b1e3-ae12e8da155e"
},
"executableName": "process",
"displayName": "process",
"startTime": "2018-01-08T18:27:39.936Z",
"group": "myproductname",
"details": {
"persistentKey": "1a502634-e7ca-4c56-b10d-545f60623ef2",
"poolId": 12,
"firstPid": 10,
"description": "mydescription",
"companyName": "mycompany",
"internalName": "myinternalname",
"productName": "myproductname",
"productVersion": "3.3.3.3",
"fileVersion": "1.2.3.4",
"commandLine": "cmdline",
"executablePath": "mypath",
"workingDirectory": "myworkingdir",
"services": [
{
"name": "foosvc",
"displayName": "Foo Service"
}
],
"zoneName": "LinuxOnlyZone"
},
"user": {
"userName": "myuser",
"userDomain": "mydomain"
}
},
"id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-1bc28d72-0e81-4aff-b1e3-ae12e8da155e/processes/p-e832fd7598b913c9f6d751b977028248c48c35dc",
"type": "Microsoft.OperationalInsights/workspaces/features/machines/processes",
"name": "p-e832fd7598b913c9f6d751b977028248c48c35dc"
},
{
"kind": "process",
"properties": {
"monitoringState": "monitored",
"machine": {
"kind": "ref:machine",
"id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-1bc28d72-0e81-4aff-b1e3-ae12e8da155e",
"type": "Microsoft.OperationalInsights/workspaces/features/machines",
"name": "m-1bc28d72-0e81-4aff-b1e3-ae12e8da155e"
},
"executableName": "process",
"displayName": "process",
"startTime": "2018-01-08T18:27:39.936Z",
"group": "myproductname",
"details": {
"persistentKey": "677cde70-5589-41f3-89b8-4b866ed5c86e",
"poolId": 12,
"firstPid": 10,
"description": "mydescription",
"companyName": "mycompany",
"internalName": "myinternalname",
"productName": "myproductname",
"productVersion": "3.3.3.3",
"fileVersion": "1.2.3.4",
"commandLine": "cmdline",
"executablePath": "mypath",
"workingDirectory": "myworkingdir",
"services": [
{
"name": "foosvc",
"displayName": "Foo Service"
}
],
"zoneName": "LinuxOnlyZone"
},
"user": {
"userName": "myuser",
"userDomain": "mydomain"
}
},
"id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-1bc28d72-0e81-4aff-b1e3-ae12e8da155e/processes/p-fa195e268682d998e42071ff3346c09f0af4f9e8",
"type": "Microsoft.OperationalInsights/workspaces/features/machines/processes",
"name": "p-fa195e268682d998e42071ff3346c09f0af4f9e8"
}
]
}
Definitions
Name | Description |
---|---|
Azure |
Describes an Azure Cloud Service |
Azure |
Used to specify type of an Azure Cloud Service role |
Azure |
Describes the hosting configuration of a process when hosted on azure |
Client |
Reference to a client group. |
Error |
Error details. |
Error |
An error response from the API. |
Machine |
Reference to a machine. |
Machine |
A machine reference with a hint of the machine's name and operating system. |
Monitoring |
Used to specify if a resources is monitored or discovered. |
Operating |
Specifies the operating system family, e.g., Linux, Windows, etc. |
Port |
Reference to a port. |
Process |
A process resource represents a process running on a machine. The process may be actively monitored, i.e., a Dependency Agent is running on its machine, or discovered, i.e., its existence was inferred by observing the data stream from monitored machines. A process resource represents a pool of actual operating system resources that share command lines and metadata. As the process pool evolves over time, prior versions of the process resource are preserved and available for access. A process is live during an interval of time, if that process is executing during (parts) of that interval |
Process |
Collection of Process resources. |
Process |
Describes process metadata. |
Process |
A service hosted by a process. |
Process |
Reference to a process. |
Process |
The inferred role of this process based on its name, command line, etc. |
Process |
Describes the user under which a process is running. |
AzureCloudServiceConfiguration
Describes an Azure Cloud Service
Name | Type | Description |
---|---|---|
deployment |
string |
Cloud Service deployment identifier |
instanceId |
string |
Cloud Service instance identifier |
name |
string |
Cloud Service name |
roleName |
string |
Cloud Service role name |
roleType |
Used to specify type of an Azure Cloud Service role |
AzureCloudServiceRoleType
Used to specify type of an Azure Cloud Service role
Name | Type | Description |
---|---|---|
unknown |
string |
|
web |
string |
|
worker |
string |
AzureProcessHostingConfiguration
Describes the hosting configuration of a process when hosted on azure
Name | Type | Description |
---|---|---|
cloudService |
Contains information about the cloud service the process belongs to |
|
kind |
string:
provider:azure |
Additional hosting configuration type qualifier. |
provider |
enum:
azure |
The hosting provider of the VM. |
ClientGroupReference
Reference to a client group.
Name | Type | Description |
---|---|---|
id |
string |
Resource URI. |
kind |
string:
ref:clientgroup |
Specifies the sub-class of the reference. |
name |
string |
Resource name. |
type |
string |
Resource type qualifier. |
Error
Error details.
Name | Type | Description |
---|---|---|
code |
string |
Error code identifying the specific error. |
message |
string |
Error message in the caller's locale. |
ErrorResponse
An error response from the API.
Name | Type | Description |
---|---|---|
error |
Error information. |
MachineReference
Reference to a machine.
Name | Type | Description |
---|---|---|
id |
string |
Resource URI. |
kind |
string:
ref:machine |
Specifies the sub-class of the reference. |
name |
string |
Resource name. |
type |
string |
Resource type qualifier. |
MachineReferenceWithHints
A machine reference with a hint of the machine's name and operating system.
Name | Type | Description |
---|---|---|
id |
string |
Resource URI. |
kind |
string:
ref:machinewithhints |
Specifies the sub-class of the reference. |
name |
string |
Resource name. |
properties.displayNameHint |
string |
Last known display name. |
properties.osFamilyHint |
Last known operating system family. |
|
type |
string |
Resource type qualifier. |
MonitoringState
Used to specify if a resources is monitored or discovered.
Name | Type | Description |
---|---|---|
discovered |
string |
|
monitored |
string |
OperatingSystemFamily
Specifies the operating system family, e.g., Linux, Windows, etc.
Name | Type | Description |
---|---|---|
aix |
string |
|
linux |
string |
|
solaris |
string |
|
unknown |
string |
|
windows |
string |
PortReference
Reference to a port.
Name | Type | Description |
---|---|---|
id |
string |
Resource URI. |
kind |
string:
ref:port |
Specifies the sub-class of the reference. |
name |
string |
Resource name. |
properties.ipAddress |
string |
IP address of the port. |
properties.machine |
Machine hosting the port. |
|
properties.portNumber |
integer |
Port number. |
type |
string |
Resource type qualifier. |
Process
A process resource represents a process running on a machine. The process may be actively monitored, i.e., a Dependency Agent is running on its machine, or discovered, i.e., its existence was inferred by observing the data stream from monitored machines. A process resource represents a pool of actual operating system resources that share command lines and metadata. As the process pool evolves over time, prior versions of the process resource are preserved and available for access. A process is live during an interval of time, if that process is executing during (parts) of that interval
Name | Type | Description |
---|---|---|
etag |
string |
Resource ETAG. |
id |
string |
Resource identifier. |
kind |
string:
process |
Additional resource type qualifier. |
name |
string |
Resource name. |
properties.acceptorOf | ResourceReference: |
Present only for a discovered process acting as a server. References the port on which the discovered process is accepting. |
properties.clientOf | ResourceReference: |
Present only for a discovered process acting as a client of a monitored process/machine/port. References the monitored process/machine/port that this process is a client of. |
properties.details |
Process metadata (command line, product name, etc.). |
|
properties.displayName |
string |
Name to use for display purposes |
properties.executableName |
string |
The name of the process executable |
properties.group |
string |
The name of the product or suite of the process. The group is determined by its executable name, command line, etc. |
properties.hosting | ProcessHostingConfiguration: |
Information about the hosting environment |
properties.machine | ResourceReference: |
Machine hosting this process. |
properties.monitoringState |
Specifies whether the process is actively monitored or discovered. |
|
properties.role |
The inferred role of this process based on its name, command line, etc. |
|
properties.startTime |
string |
UTC date and time when the process started |
properties.timestamp |
string |
UTC date and time when this process resource was updated in the system |
properties.user |
Information about the account under which the process is executing. |
|
type |
string |
Resource type. |
ProcessCollection
Collection of Process resources.
Name | Type | Description |
---|---|---|
nextLink |
string |
The URL to the next set of resources. |
value |
Process[] |
Collection of Process resources. |
ProcessDetails
Describes process metadata.
Name | Type | Description |
---|---|---|
commandLine |
string |
Process command line. |
companyName |
string |
Name of company that created the process executable. |
description |
string |
Process description. |
executablePath |
string |
Process executable path. |
fileVersion |
string |
File version. |
firstPid |
integer |
The Operating System Process Identifier (PID) of the first process in this process pool. |
internalName |
string |
Internal process name. |
persistentKey |
string |
A unique identifier for a process, generally resilient to process restart, computed by Service Map. |
poolId |
integer |
Represents the identity of the process pool assigned to the process by Dependency Agent. |
productName |
string |
Product name. |
productVersion |
string |
Product version. |
services |
Collection of services hosted by this Process (Windows only). |
|
workingDirectory |
string |
Process workingDirectory. |
zoneName |
string |
Process zone name (Linux only). |
ProcessHostedService
A service hosted by a process.
Name | Type | Description |
---|---|---|
displayName |
string |
The service's display name. |
name |
string |
The name of the service. |
ProcessReference
Reference to a process.
Name | Type | Description |
---|---|---|
id |
string |
Resource URI. |
kind |
string:
ref:process |
Specifies the sub-class of the reference. |
name |
string |
Resource name. |
properties.machine |
Machine hosting the process. |
|
type |
string |
Resource type qualifier. |
ProcessRole
The inferred role of this process based on its name, command line, etc.
Name | Type | Description |
---|---|---|
appServer |
string |
|
databaseServer |
string |
|
ldapServer |
string |
|
smbServer |
string |
|
webServer |
string |
ProcessUser
Describes the user under which a process is running.
Name | Type | Description |
---|---|---|
userDomain |
string |
Domain name for the user. |
userName |
string |
User name under which the process is running. |