LookingGlass interface
Interface representing a LookingGlass.
Methods
invoke(string, string, string, string, Looking |
Run looking glass functionality |
Method Details
invoke(string, string, string, string, LookingGlassInvokeOptionalParams)
Run looking glass functionality
function invoke(command: string, sourceType: string, sourceLocation: string, destinationIP: string, options?: LookingGlassInvokeOptionalParams): Promise<LookingGlassOutput>
Parameters
- command
-
string
The command to be executed: ping, traceroute, bgpRoute.
- sourceType
-
string
The type of the source: Edge site or Azure Region.
- sourceLocation
-
string
The location of the source.
- destinationIP
-
string
The IP address of the destination.
- options
- LookingGlassInvokeOptionalParams
The options parameters.
Returns
Promise<LookingGlassOutput>