다음을 통해 공유


Get-AzIotHubRoutingEndpoint

IoT Hub의 모든 엔드포인트에 대한 정보 가져오기

Syntax

Get-AzIotHubRoutingEndpoint
   [-ResourceGroupName] <String>
   [-Name] <String>
   [-EndpointType <PSEndpointType>]
   [-EndpointName <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzIotHubRoutingEndpoint
   [-InputObject] <PSIotHub>
   [-EndpointType <PSEndpointType>]
   [-EndpointName <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzIotHubRoutingEndpoint
   [-ResourceId] <String>
   [-EndpointType <PSEndpointType>]
   [-EndpointName <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

엔드포인트에 대한 정보를 가져옵니다.

예제

예 1

Get-AzIotHubRoutingEndpoint -ResourceGroupName "myresourcegroup" -Name "myiothub"

Name EndpointType			AzureResource
---- ------------			-------------
E1   EventHub				resourcegroup1/event1
E2   EventHub				resourcegroup1/event2
S1   AzureStorageContainer	mystorage1/container

"myiothub" IoT Hub에서 모든 엔드포인트를 가져옵니다.

예제 2

Get-AzIotHubRoutingEndpoint -ResourceGroupName "myresourcegroup" -Name "myiothub" -EndpointType EventHub

ResourceGroupName SubscriptionId                       EndpointName
----------------- --------------                       ------------
resourcegroup1    91d12343-a3de-345d-b2ea-135792468abc E1
resourcegroup1    91d12343-a3de-345d-b2ea-135792468abc E2

"myiothub" IoT Hub에서 EventHub 형식의 모든 엔드포인트를 가져옵니다.

예 3

Get-AzIotHubRoutingEndpoint -ResourceGroupName "myresourcegroup" -Name "myiothub" -EndpointType EventHub

ResourceGroupName : resourcegroup1
SubscriptionId    : 91d12343-a3de-345d-b2ea-135792468abc
EndpointName      : E1
ConnectionString  : Endpoint=sb://myeventhub1.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_myeventhub1;SharedAccessKey=****;EntityPath=event1

"myiothub" IoT Hub에서 EventHub 형식의 모든 엔드포인트를 가져옵니다.

예시 4

Get-AzIotHubRoutingEndpoint -ResourceGroupName "myresourcegroup" -Name "myiothub" -EndpointName E1

ResourceGroupName : resourcegroup1
SubscriptionId    : 91d12343-a3de-345d-b2ea-135792468abc
EndpointName      : E1
ConnectionString  : Endpoint=sb://myeventhub1.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_myeventhub1;SharedAccessKey=****;EntityPath=event1

"myiothub" IoT Hub에서 엔드포인트 정보를 가져옵니다.

매개 변수

-DefaultProfile

Azure와의 통신에 사용되는 자격 증명, 계정, 테넌트 및 구독입니다.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-EndpointName

라우팅 엔드포인트의 이름

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

-EndpointType

라우팅 엔드포인트의 유형

Type:PSEndpointType
Accepted values:EventHub, ServiceBusQueue, ServiceBusTopic, AzureStorageContainer
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

IotHub 개체

Type:PSIotHub
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Name

IoT Hub의 이름

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

-ResourceGroupName

리소스 그룹의 이름

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

-ResourceId

IotHub 리소스 ID

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

입력

PSIotHub

String

출력

PSRoutingEventHubEndpoint

List<T>[[Microsoft.Azure.Commands.Management.IotHub.Models.PSRoutingEventHubProperties, Microsoft.Azure.PowerShell.Cmdlets.IotHub, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

PSRoutingServiceBusQueueEndpoint

PSRoutingServiceBusQueueEndpointProperties[]

PSRoutingServiceBusTopicEndpoint

PSRoutingServiceBusTopicEndpointProperties[]

PSRoutingStorageContainerEndpoint

PSRoutingStorageContainerProperties[]

PSRoutingCustomEndpoint[]