v5

latestSwagger 2.0raw.githubusercontent.com2022-02-252573110.3 KB
Ports

Returns the specified port. The port must be live during the specified time interval. If the port is not live during the interval, status 404 (Not Found) is returned.

get/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machines/{machineName}/ports/{portName}

Path parameters

subscriptionIdstring required

Azure subscription identifier.

resourceGroupNamestring required

Resource group name within the specified subscriptionId.

workspaceNamestring required

OMS workspace containing the resources of interest.

machineNamestring required

Machine resource name.

portNamestring required

Port resource name.

Query parameters

api-versionstring required

API version.

startTimestring date-time

UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m

endTimestring date-time

UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow

Response

The operation completed successfully.

idstring

Resource identifier.

typestring

Resource type.

namestring

Resource name.