PeeringExtensions.InvokeLookingGlass Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Run looking glass functionality
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Peering/lookingGlass
- Operation Id: LookingGlass_Invoke
public static Azure.Response<Azure.ResourceManager.Peering.Models.LookingGlassOutput> InvokeLookingGlass (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.Peering.Models.LookingGlassCommand command, Azure.ResourceManager.Peering.Models.LookingGlassSourceType sourceType, string sourceLocation, string destinationIP, System.Threading.CancellationToken cancellationToken = default);
static member InvokeLookingGlass : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.Peering.Models.LookingGlassCommand * Azure.ResourceManager.Peering.Models.LookingGlassSourceType * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Peering.Models.LookingGlassOutput>
<Extension()>
Public Function InvokeLookingGlass (subscriptionResource As SubscriptionResource, command As LookingGlassCommand, sourceType As LookingGlassSourceType, sourceLocation As String, destinationIP As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of LookingGlassOutput)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- command
- LookingGlassCommand
The command to be executed: ping, traceroute, bgpRoute.
- sourceType
- LookingGlassSourceType
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.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
subscriptionResource
, sourceLocation
or destinationIP
is null.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET