Freigeben über


Start-AzPeeringInvokeLookingGlass

Ausführen von aussehenden Glasfunktionen

Syntax

Start-AzPeeringInvokeLookingGlass
     [-SubscriptionId <String>]
     -Command <LookingGlassCommand>
     -DestinationIP <String>
     -SourceLocation <String>
     -SourceType <LookingGlassSourceType>
     [-DefaultProfile <PSObject>]
     [-WhatIf]
     [-Confirm]
     [<CommonParameters>]
Start-AzPeeringInvokeLookingGlass
     -InputObject <IPeeringIdentity>
     -Command <LookingGlassCommand>
     -DestinationIP <String>
     -SourceLocation <String>
     -SourceType <LookingGlassSourceType>
     [-DefaultProfile <PSObject>]
     [-WhatIf]
     [-Confirm]
     [<CommonParameters>]

Beschreibung

Ausführen von aussehenden Glasfunktionen

Beispiele

Beispiel 1: Aufrufen des Suchglasbefehls

Start-AzPeeringInvokeLookingGlass -Command Ping -DestinationIp 1.1.1.1 -SourceLocation Seattle -SourceType EdgeSite

Command Output
------- ------
Ping    PING 1.1.1.1 (1.1.1.1): 56 data bytes…

Aufrufen des angezeigten Glasbefehls

Parameter

-Command

Der auszuführende Befehl: ping, traceroute, bgpRoute.

Typ:LookingGlassCommand
Position:Named
Standardwert:None
Erforderlich:True
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Hiermit werden Sie vor der Ausführung des Cmdlets zur Bestätigung aufgefordert.

Typ:SwitchParameter
Aliases:cf
Position:Named
Standardwert:None
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

-DefaultProfile

Der Parameter DefaultProfile ist nicht funktionsfähig. Verwenden Sie den Parameter "SubscriptionId", wenn sie verfügbar ist, wenn Sie das Cmdlet für ein anderes Abonnement ausführen.

Typ:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Standardwert:None
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

-DestinationIP

Die IP-Adresse des Ziels.

Typ:String
Position:Named
Standardwert:None
Erforderlich:True
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

Typ:IPeeringIdentity
Position:Named
Standardwert:None
Erforderlich:True
Accept pipeline input:True
Accept wildcard characters:False

-SourceLocation

Der Speicherort der Quelle.

Typ:String
Position:Named
Standardwert:None
Erforderlich:True
Accept pipeline input:False
Accept wildcard characters:False

-SourceType

Der Typ der Quelle: Edgewebsite oder Azure-Region.

Typ:LookingGlassSourceType
Position:Named
Standardwert:None
Erforderlich:True
Accept pipeline input:False
Accept wildcard characters:False

-SubscriptionId

Die Azure-Abonnement-ID.

Typ:String
Position:Named
Standardwert:(Get-AzContext).Subscription.Id
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Zeigt, was geschieht, wenn das Cmdlet ausgeführt wird. Das Cmdlet wird nicht ausgeführt.

Typ:SwitchParameter
Aliases:wi
Position:Named
Standardwert:None
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

Eingaben

IPeeringIdentity

Ausgaben

ILookingGlassOutput