looking_glasses
Creates, updates, deletes, gets or lists a looking_glasses resource.
Overview
| Name | looking_glasses |
| Type | Resource |
| Id | azure.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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
invoke | exec | command, sourceType, sourceLocation, destinationIP, subscriptionId | Run 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.
| Name | Datatype | Description |
|---|---|---|
command | string | The command to be executed: ping, traceroute, bgpRoute. |
destinationIP | string | The IP address of the destination. |
sourceLocation | string | The location of the source. |
sourceType | string | The type of the source: Edge site or Azure Region. |
subscriptionId | string | The Azure subscription ID. |
Lifecycle Methods
- invoke
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
;