EventHubsOperationsExtensions.CreateOrUpdateAsync メソッド

定義

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

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

パラメーター

operations
IEventHubsOperations

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

resourceGroupName
String

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

namespaceName
String

名前空間名

eventHubName
String

イベント ハブ名

parameters
Eventhub

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

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象