次の方法で共有


EventHubsOperationsExtensions.CreateOrUpdateAsync メソッド

定義

名前空間内の入れ子になったリソースとして新しいイベント ハブを作成または更新します。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EventHub.Fluent.Models.EventhubInner> CreateOrUpdateAsync(this Microsoft.Azure.Management.EventHub.Fluent.IEventHubsOperations operations, string resourceGroupName, string namespaceName, string eventHubName, Microsoft.Azure.Management.EventHub.Fluent.Models.EventhubInner parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.EventHub.Fluent.IEventHubsOperations * string * string * string * Microsoft.Azure.Management.EventHub.Fluent.Models.EventhubInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.EventHub.Fluent.Models.EventhubInner>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IEventHubsOperations, resourceGroupName As String, namespaceName As String, eventHubName As String, parameters As EventhubInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of EventhubInner)

パラメーター

operations
IEventHubsOperations

この拡張メソッドの操作グループ。

resourceGroupName
String

Azure サブスクリプション内のリソース グループの名前。

namespaceName
String

名前空間名

eventHubName
String

イベント ハブ名

parameters
EventhubInner

イベント ハブ リソースを作成するために指定されたパラメーター。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象