Processes class

Class representing a Processes.

Constructors

Processes(ServicemapManagementClientContext)

Create a Processes.

Methods

get(string, string, string, string, ProcessesGetOptionalParams)

Returns the specified process.

get(string, string, string, string, ProcessesGetOptionalParams, ServiceCallback<Process>)
get(string, string, string, string, ServiceCallback<Process>)
getLiveness(string, string, string, string, ProcessesGetLivenessOptionalParams)

Obtains the liveness status of the process during the specified time interval.

getLiveness(string, string, string, string, ProcessesGetLivenessOptionalParams, ServiceCallback<Liveness>)
getLiveness(string, string, string, string, ServiceCallback<Liveness>)
listAcceptingPorts(string, string, string, string, ProcessesListAcceptingPortsOptionalParams)

Returns a collection of ports on which this process is accepting

listAcceptingPorts(string, string, string, string, ProcessesListAcceptingPortsOptionalParams, ServiceCallback<PortCollection>)
listAcceptingPorts(string, string, string, string, ServiceCallback<PortCollection>)
listAcceptingPortsNext(string, RequestOptionsBase)

Returns a collection of ports on which this process is accepting

listAcceptingPortsNext(string, RequestOptionsBase, ServiceCallback<PortCollection>)
listAcceptingPortsNext(string, ServiceCallback<PortCollection>)
listConnections(string, string, string, string, ProcessesListConnectionsOptionalParams)

Returns a collection of connections terminating or originating at the specified process

listConnections(string, string, string, string, ProcessesListConnectionsOptionalParams, ServiceCallback<ConnectionCollection>)
listConnections(string, string, string, string, ServiceCallback<ConnectionCollection>)
listConnectionsNext(string, RequestOptionsBase)

Returns a collection of connections terminating or originating at the specified process

listConnectionsNext(string, RequestOptionsBase, ServiceCallback<ConnectionCollection>)
listConnectionsNext(string, ServiceCallback<ConnectionCollection>)

Constructor Details

Processes(ServicemapManagementClientContext)

Create a Processes.

new Processes(client: ServicemapManagementClientContext)

Parameters

client
ServicemapManagementClientContext

Reference to the service client.

Method Details

get(string, string, string, string, ProcessesGetOptionalParams)

Returns the specified process.

function get(resourceGroupName: string, workspaceName: string, machineName: string, processName: string, options?: ProcessesGetOptionalParams): Promise<ProcessesGetResponse>

Parameters

resourceGroupName

string

Resource group name within the specified subscriptionId.

workspaceName

string

OMS workspace containing the resources of interest.

machineName

string

Machine resource name.

processName

string

Process resource name.

options
ProcessesGetOptionalParams

The optional parameters

Returns

Promise<Models.ProcessesGetResponse>

get(string, string, string, string, ProcessesGetOptionalParams, ServiceCallback<Process>)

function get(resourceGroupName: string, workspaceName: string, machineName: string, processName: string, options: ProcessesGetOptionalParams, callback: ServiceCallback<Process>)

Parameters

resourceGroupName

string

Resource group name within the specified subscriptionId.

workspaceName

string

OMS workspace containing the resources of interest.

machineName

string

Machine resource name.

processName

string

Process resource name.

options
ProcessesGetOptionalParams

The optional parameters

callback

ServiceCallback<Process>

The callback

get(string, string, string, string, ServiceCallback<Process>)

function get(resourceGroupName: string, workspaceName: string, machineName: string, processName: string, callback: ServiceCallback<Process>)

Parameters

resourceGroupName

string

Resource group name within the specified subscriptionId.

workspaceName

string

OMS workspace containing the resources of interest.

machineName

string

Machine resource name.

processName

string

Process resource name.

callback

ServiceCallback<Process>

The callback

getLiveness(string, string, string, string, ProcessesGetLivenessOptionalParams)

Obtains the liveness status of the process during the specified time interval.

function getLiveness(resourceGroupName: string, workspaceName: string, machineName: string, processName: string, options?: ProcessesGetLivenessOptionalParams): Promise<ProcessesGetLivenessResponse>

Parameters

resourceGroupName

string

Resource group name within the specified subscriptionId.

workspaceName

string

OMS workspace containing the resources of interest.

machineName

string

Machine resource name.

processName

string

Process resource name.

options
ProcessesGetLivenessOptionalParams

The optional parameters

Returns

Promise<Models.ProcessesGetLivenessResponse>

getLiveness(string, string, string, string, ProcessesGetLivenessOptionalParams, ServiceCallback<Liveness>)

function getLiveness(resourceGroupName: string, workspaceName: string, machineName: string, processName: string, options: ProcessesGetLivenessOptionalParams, callback: ServiceCallback<Liveness>)

Parameters

resourceGroupName

string

Resource group name within the specified subscriptionId.

workspaceName

string

OMS workspace containing the resources of interest.

machineName

string

Machine resource name.

processName

string

Process resource name.

options
ProcessesGetLivenessOptionalParams

The optional parameters

callback

ServiceCallback<Liveness>

The callback

getLiveness(string, string, string, string, ServiceCallback<Liveness>)

function getLiveness(resourceGroupName: string, workspaceName: string, machineName: string, processName: string, callback: ServiceCallback<Liveness>)

Parameters

resourceGroupName

string

Resource group name within the specified subscriptionId.

workspaceName

string

OMS workspace containing the resources of interest.

machineName

string

Machine resource name.

processName

string

Process resource name.

callback

ServiceCallback<Liveness>

The callback

listAcceptingPorts(string, string, string, string, ProcessesListAcceptingPortsOptionalParams)

Returns a collection of ports on which this process is accepting

function listAcceptingPorts(resourceGroupName: string, workspaceName: string, machineName: string, processName: string, options?: ProcessesListAcceptingPortsOptionalParams): Promise<ProcessesListAcceptingPortsResponse>

Parameters

resourceGroupName

string

Resource group name within the specified subscriptionId.

workspaceName

string

OMS workspace containing the resources of interest.

machineName

string

Machine resource name.

processName

string

Process resource name.

options
ProcessesListAcceptingPortsOptionalParams

The optional parameters

Returns

Promise<Models.ProcessesListAcceptingPortsResponse>

listAcceptingPorts(string, string, string, string, ProcessesListAcceptingPortsOptionalParams, ServiceCallback<PortCollection>)

function listAcceptingPorts(resourceGroupName: string, workspaceName: string, machineName: string, processName: string, options: ProcessesListAcceptingPortsOptionalParams, callback: ServiceCallback<PortCollection>)

Parameters

resourceGroupName

string

Resource group name within the specified subscriptionId.

workspaceName

string

OMS workspace containing the resources of interest.

machineName

string

Machine resource name.

processName

string

Process resource name.

options
ProcessesListAcceptingPortsOptionalParams

The optional parameters

callback

ServiceCallback<PortCollection>

The callback

listAcceptingPorts(string, string, string, string, ServiceCallback<PortCollection>)

function listAcceptingPorts(resourceGroupName: string, workspaceName: string, machineName: string, processName: string, callback: ServiceCallback<PortCollection>)

Parameters

resourceGroupName

string

Resource group name within the specified subscriptionId.

workspaceName

string

OMS workspace containing the resources of interest.

machineName

string

Machine resource name.

processName

string

Process resource name.

callback

ServiceCallback<PortCollection>

The callback

listAcceptingPortsNext(string, RequestOptionsBase)

Returns a collection of ports on which this process is accepting

function listAcceptingPortsNext(nextPageLink: string, options?: RequestOptionsBase): Promise<ProcessesListAcceptingPortsNextResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ProcessesListAcceptingPortsNextResponse>

listAcceptingPortsNext(string, RequestOptionsBase, ServiceCallback<PortCollection>)

function listAcceptingPortsNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<PortCollection>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<PortCollection>

The callback

listAcceptingPortsNext(string, ServiceCallback<PortCollection>)

function listAcceptingPortsNext(nextPageLink: string, callback: ServiceCallback<PortCollection>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

callback

ServiceCallback<PortCollection>

The callback

listConnections(string, string, string, string, ProcessesListConnectionsOptionalParams)

Returns a collection of connections terminating or originating at the specified process

function listConnections(resourceGroupName: string, workspaceName: string, machineName: string, processName: string, options?: ProcessesListConnectionsOptionalParams): Promise<ProcessesListConnectionsResponse>

Parameters

resourceGroupName

string

Resource group name within the specified subscriptionId.

workspaceName

string

OMS workspace containing the resources of interest.

machineName

string

Machine resource name.

processName

string

Process resource name.

options
ProcessesListConnectionsOptionalParams

The optional parameters

Returns

Promise<Models.ProcessesListConnectionsResponse>

listConnections(string, string, string, string, ProcessesListConnectionsOptionalParams, ServiceCallback<ConnectionCollection>)

function listConnections(resourceGroupName: string, workspaceName: string, machineName: string, processName: string, options: ProcessesListConnectionsOptionalParams, callback: ServiceCallback<ConnectionCollection>)

Parameters

resourceGroupName

string

Resource group name within the specified subscriptionId.

workspaceName

string

OMS workspace containing the resources of interest.

machineName

string

Machine resource name.

processName

string

Process resource name.

options
ProcessesListConnectionsOptionalParams

The optional parameters

callback

ServiceCallback<ConnectionCollection>

The callback

listConnections(string, string, string, string, ServiceCallback<ConnectionCollection>)

function listConnections(resourceGroupName: string, workspaceName: string, machineName: string, processName: string, callback: ServiceCallback<ConnectionCollection>)

Parameters

resourceGroupName

string

Resource group name within the specified subscriptionId.

workspaceName

string

OMS workspace containing the resources of interest.

machineName

string

Machine resource name.

processName

string

Process resource name.

callback

ServiceCallback<ConnectionCollection>

The callback

listConnectionsNext(string, RequestOptionsBase)

Returns a collection of connections terminating or originating at the specified process

function listConnectionsNext(nextPageLink: string, options?: RequestOptionsBase): Promise<ProcessesListConnectionsNextResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ProcessesListConnectionsNextResponse>

listConnectionsNext(string, RequestOptionsBase, ServiceCallback<ConnectionCollection>)

function listConnectionsNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<ConnectionCollection>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<ConnectionCollection>

The callback

listConnectionsNext(string, ServiceCallback<ConnectionCollection>)

function listConnectionsNext(nextPageLink: string, callback: ServiceCallback<ConnectionCollection>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

callback

ServiceCallback<ConnectionCollection>

The callback