다음을 통해 공유


Get-AzIotHubRoutingEndpoint

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

구문

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와의 통신에 사용되는 자격 증명, 계정, 테넌트 및 구독입니다.

형식:IAzureContextContainer
별칭:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
필수:False
파이프라인 입력 허용:False
와일드카드 문자 허용:False

-EndpointName

라우팅 엔드포인트의 이름

형식:String
Position:Named
Default value:None
필수:False
파이프라인 입력 허용:False
와일드카드 문자 허용:False

-EndpointType

라우팅 엔드포인트의 유형

형식:PSEndpointType
허용되는 값:EventHub, ServiceBusQueue, ServiceBusTopic, AzureStorageContainer
Position:Named
Default value:None
필수:False
파이프라인 입력 허용:False
와일드카드 문자 허용:False

-InputObject

IotHub 개체

형식:PSIotHub
Position:0
Default value:None
필수:True
파이프라인 입력 허용:True
와일드카드 문자 허용:False

-Name

IoT Hub의 이름

형식:String
Position:1
Default value:None
필수:True
파이프라인 입력 허용:False
와일드카드 문자 허용:False

-ResourceGroupName

리소스 그룹의 이름

형식:String
Position:0
Default value:None
필수:True
파이프라인 입력 허용:False
와일드카드 문자 허용:False

-ResourceId

IotHub 리소스 ID

형식:String
Position:0
Default value:None
필수:True
파이프라인 입력 허용:True
와일드카드 문자 허용: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[]