共用方式為


Get-AzStackHciEdgeDevice

取得 EdgeDevice

語法

Get-AzStackHciEdgeDevice
   -ResourceUri <String>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzStackHciEdgeDevice
   -Name <String>
   -ResourceUri <String>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzStackHciEdgeDevice
   -InputObject <IStackHciIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

取得 EdgeDevice

範例

範例 1:

Get-AzStackHciEdgeDevice -ResourceUri "subscriptions/<subId>/resourceGroups/<test-rg>/providers/Microsoft.HybridCompute/machines/<test-node>"

Kind    Name
----    ----
HCI     default

取得 Edge 裝置

參數

-DefaultProfile

DefaultProfile 參數無法運作。 如果針對不同的訂用帳戶執行 Cmdlet,請使用 SubscriptionId 參數。

類型:PSObject
別名:AzureRMContext, AzureCredential
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-InputObject

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

類型:IStackHciIdentity
Position:Named
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

-Name

裝置名稱

類型:String
別名:EdgeDeviceName
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-ResourceUri

資源的完整 Azure Resource Manager 標識碼。

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

輸入

IStackHciIdentity

輸出

IEdgeDevice