次の方法で共有


IReservationOperations.MergeWithHttpMessagesAsync メソッド

定義

2 つの Reservationをマージします。

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<System.Collections.Generic.IList<Microsoft.Azure.Management.Reservations.Models.ReservationResponse>>> MergeWithHttpMessagesAsync(string reservationOrderId, Microsoft.Azure.Management.Reservations.Models.MergeRequest body, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member MergeWithHttpMessagesAsync : string * Microsoft.Azure.Management.Reservations.Models.MergeRequest * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<System.Collections.Generic.IList<Microsoft.Azure.Management.Reservations.Models.ReservationResponse>>>
Public Function MergeWithHttpMessagesAsync (reservationOrderId As String, body As MergeRequest, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IList(Of ReservationResponse)))

パラメーター

reservationOrderId
String

予約の注文 ID

body
MergeRequest

予約の商用要求に必要な情報

customHeaders
Dictionary<String,List<String>>

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

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

例外

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

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

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

注釈

指定した 'Reservation' を新しい 'Reservation' にマージします。 マージされる 2 つの 'Reservation' には、同じプロパティが必要です。

適用対象