Editar

Compartilhar via


Get-AzStackHciEdgeDevice

Get a EdgeDevice

Syntax

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

Description

Get a EdgeDevice

Examples

Example 1:

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

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

Gets the Edge Device

Parameters

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

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

Type:IStackHciIdentity
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Name

Name of Device

Type:String
Aliases:EdgeDeviceName
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ResourceUri

The fully qualified Azure Resource manager identifier of the resource.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Inputs

IStackHciIdentity

Outputs

IEdgeDevice