Skip to main content

looking_glasses

Creates, updates, deletes, gets or lists a looking_glasses resource.

Overview

Namelooking_glasses
TypeResource
Idazure.peering.looking_glasses

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
invokeexeccommand, sourceType, sourceLocation, destinationIP, subscriptionIdRun looking glass functionality

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
commandstringThe command to be executed: ping, traceroute, bgpRoute.
destinationIPstringThe IP address of the destination.
sourceLocationstringThe location of the source.
sourceTypestringThe type of the source: Edge site or Azure Region.
subscriptionIdstringThe Azure subscription ID.

Lifecycle Methods

Run looking glass functionality

EXEC azure.peering.looking_glasses.invoke 
@command='{{ command }}' --required,
@sourceType='{{ sourceType }}' --required,
@sourceLocation='{{ sourceLocation }}' --required,
@destinationIP='{{ destinationIP }}' --required,
@subscriptionId='{{ subscriptionId }}' --required
;