Start-AzPeeringInvokeLookingGlass
執行外觀玻璃功能
語法
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>]
Description
執行外觀玻璃功能
範例
範例 1:叫用外觀玻璃命令
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…
叫用指定的外觀玻璃命令
參數
-Command
要執行的命令:ping、traceroute、bgpRoute。
類型: | LookingGlassCommand |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-Confirm
在執行 Cmdlet 之前,提示您進行確認。
類型: | SwitchParameter |
別名: | cf |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-DefaultProfile
DefaultProfile 參數無法運作。 如果針對不同的訂用帳戶執行 Cmdlet,請使用 SubscriptionId 參數。
類型: | PSObject |
別名: | AzureRMContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-DestinationIP
目的地的IP位址。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-InputObject
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
類型: | IPeeringIdentity |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-SourceLocation
來源的位置。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-SourceType
來源的類型:Edge 網站或 Azure 區域。
類型: | LookingGlassSourceType |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-SubscriptionId
Azure 訂用帳戶標識碼。
類型: | String |
Position: | Named |
預設值: | (Get-AzContext).Subscription.Id |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-WhatIf
顯示 Cmdlet 執行時會發生什麼事。 Cmdlet 未執行。
類型: | SwitchParameter |
別名: | wi |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |