次の方法で共有


New-AzWebPubSubEventHubEndpointObject

EventHubEndpoint のメモリ内オブジェクトを作成します。

構文

New-AzWebPubSubEventHubEndpointObject
   -EventHubName <String>
   -FullyQualifiedNamespace <String>
   [<CommonParameters>]

説明

EventHubEndpoint のメモリ内オブジェクトを作成します。

例 1: Event Hubs エンドポイント オブジェクトを作成する

$eventHub = New-AzWebPubSubEventHubEndpointObject -EventHubName hub1 -FullyQualifiedNamespace example.servicebus.windows.net
$eventHub

EventHubName FullyQualifiedNamespace
------------ -----------------------
hub1         example.servicebus.windows.net

パラメーター

-EventHubName

イベント ハブの名前。

型:String
Position:Named
既定値:None
必須:True
Accept pipeline input:False
Accept wildcard characters:False

-FullyQualifiedNamespace

イベント ハブ リソースの完全修飾名前空間名。 たとえば、"example.servicebus.windows.net" などです。

型:String
Position:Named
既定値:None
必須:True
Accept pipeline input:False
Accept wildcard characters:False

出力

EventHubEndpoint