次の方法で共有


IPartnerTopicEventSubscriptionsOperations.UpdateWithHttpMessagesAsync メソッド

定義

パートナー トピックのイベント サブスクリプションを更新します。

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.EventGrid.Models.EventSubscription>> UpdateWithHttpMessagesAsync(string resourceGroupName, string partnerTopicName, string eventSubscriptionName, Microsoft.Azure.Management.EventGrid.Models.EventSubscriptionUpdateParameters eventSubscriptionUpdateParameters, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateWithHttpMessagesAsync : string * string * string * Microsoft.Azure.Management.EventGrid.Models.EventSubscriptionUpdateParameters * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.EventGrid.Models.EventSubscription>>
Public Function UpdateWithHttpMessagesAsync (resourceGroupName As String, partnerTopicName As String, eventSubscriptionName As String, eventSubscriptionUpdateParameters As EventSubscriptionUpdateParameters, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of EventSubscription))

パラメーター

resourceGroupName
String

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

partnerTopicName
String

パートナー トピックの名前。

eventSubscriptionName
String

作成されるイベント サブスクリプションの名前。 イベント サブスクリプション名の長さは 3 ~ 100 文字で、英数字のみを使用する必要があります。

eventSubscriptionUpdateParameters
EventSubscriptionUpdateParameters

イベント サブスクリプション情報を更新しました。

customHeaders
Dictionary<String,List<String>>

要求に追加されるヘッダー。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

例外

操作が無効な状態コードを返したときにスローされます

応答を逆シリアル化できない場合にスローされます

必須パラメーターが null の場合にスローされます

注釈

パートナー トピックの既存のイベント サブスクリプションを更新します。

適用対象