次の方法で共有


EventHubClient.CreateWithManagedIdentity メソッド

定義

Azure マネージド ID 認証を使用して、 EventHubClient の新しいインスタンスを作成します。

public static Microsoft.Azure.EventHubs.EventHubClient CreateWithManagedIdentity (Uri endpointAddress, string entityPath, TimeSpan? operationTimeout = default, Microsoft.Azure.EventHubs.TransportType transportType = Microsoft.Azure.EventHubs.TransportType.Amqp);
static member CreateWithManagedIdentity : Uri * string * Nullable<TimeSpan> * Microsoft.Azure.EventHubs.TransportType -> Microsoft.Azure.EventHubs.EventHubClient
Public Shared Function CreateWithManagedIdentity (endpointAddress As Uri, entityPath As String, Optional operationTimeout As Nullable(Of TimeSpan) = Nothing, Optional transportType As TransportType = Microsoft.Azure.EventHubs.TransportType.Amqp) As EventHubClient

パラメーター

endpointAddress
Uri

Event Hubs の完全修飾ドメイン名。 ほとんどの場合、{yournamespace}.servicebus.windows.net

entityPath
String

イベント ハブのパス

operationTimeout
Nullable<TimeSpan>

Event Hubs 操作の操作タイムアウト。

transportType
TransportType

接続時のトランスポートの種類。

戻り値

適用対象