AzureClientExtensions.GetPutOrPatchOperationResultAsync Method

Definition

Overloads

GetPutOrPatchOperationResultAsync(IAzureClient, AzureOperationResponse, Dictionary<String,List<String>>, CancellationToken)

Gets operation result for PUT and PATCH operations. (Deprecated, please use GetLongRunningOperationResultAsync)

GetPutOrPatchOperationResultAsync<TBody,THeader>(IAzureClient, AzureOperationResponse<TBody,THeader>, Dictionary<String,List<String>>, CancellationToken)

Gets operation result for PUT and PATCH operations. (Deprecated, please use GetLongRunningOperationResultAsync)

GetPutOrPatchOperationResultAsync<TBody>(IAzureClient, AzureOperationResponse<TBody>, Dictionary<String,List<String>>, CancellationToken)

Gets operation result for PUT and PATCH operations. (Deprecated, please use GetLongRunningOperationResultAsync)

GetPutOrPatchOperationResultAsync(IAzureClient, AzureOperationResponse, Dictionary<String,List<String>>, CancellationToken)

Gets operation result for PUT and PATCH operations. (Deprecated, please use GetLongRunningOperationResultAsync)

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> GetPutOrPatchOperationResultAsync (this Microsoft.Rest.Azure.IAzureClient client, Microsoft.Rest.Azure.AzureOperationResponse response, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders, System.Threading.CancellationToken cancellationToken);
static member GetPutOrPatchOperationResultAsync : Microsoft.Rest.Azure.IAzureClient * Microsoft.Rest.Azure.AzureOperationResponse * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse>
<Extension()>
Public Function GetPutOrPatchOperationResultAsync (client As IAzureClient, response As AzureOperationResponse, customHeaders As Dictionary(Of String, List(Of String)), cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)

Parameters

client
IAzureClient

IAzureClient

response
AzureOperationResponse

Response from the begin operation

customHeaders
Dictionary<String,List<String>>

Headers that will be added to request

cancellationToken
CancellationToken

Cancellation token

Returns

Operation response

Applies to

GetPutOrPatchOperationResultAsync<TBody,THeader>(IAzureClient, AzureOperationResponse<TBody,THeader>, Dictionary<String,List<String>>, CancellationToken)

Gets operation result for PUT and PATCH operations. (Deprecated, please use GetLongRunningOperationResultAsync)

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<TBody,THeader>> GetPutOrPatchOperationResultAsync<TBody,THeader> (this Microsoft.Rest.Azure.IAzureClient client, Microsoft.Rest.Azure.AzureOperationResponse<TBody,THeader> response, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders, System.Threading.CancellationToken cancellationToken) where TBody : class where THeader : class;
static member GetPutOrPatchOperationResultAsync : Microsoft.Rest.Azure.IAzureClient * Microsoft.Rest.Azure.AzureOperationResponse<'Body, 'Header (requires 'Body : null and 'Header : null)> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<'Body, 'Header>> (requires 'Body : null and 'Header : null)
<Extension()>
Public Function GetPutOrPatchOperationResultAsync(Of TBody As Class, THeader As Class) (client As IAzureClient, response As AzureOperationResponse(Of TBody, THeader), customHeaders As Dictionary(Of String, List(Of String)), cancellationToken As CancellationToken) As Task(Of AzureOperationResponse(Of TBody, THeader))

Type Parameters

TBody

Type of the resource body

THeader

Type of the resource header

Parameters

client
IAzureClient

IAzureClient

response
AzureOperationResponse<TBody,THeader>

Response from the begin operation

customHeaders
Dictionary<String,List<String>>

Headers that will be added to request

cancellationToken
CancellationToken

Cancellation token

Returns

Task<AzureOperationResponse<TBody,THeader>>

Response with created resource

Applies to

GetPutOrPatchOperationResultAsync<TBody>(IAzureClient, AzureOperationResponse<TBody>, Dictionary<String,List<String>>, CancellationToken)

Gets operation result for PUT and PATCH operations. (Deprecated, please use GetLongRunningOperationResultAsync)

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<TBody>> GetPutOrPatchOperationResultAsync<TBody> (this Microsoft.Rest.Azure.IAzureClient client, Microsoft.Rest.Azure.AzureOperationResponse<TBody> response, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders, System.Threading.CancellationToken cancellationToken) where TBody : class;
static member GetPutOrPatchOperationResultAsync : Microsoft.Rest.Azure.IAzureClient * Microsoft.Rest.Azure.AzureOperationResponse<'Body (requires 'Body : null)> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<'Body>> (requires 'Body : null)
<Extension()>
Public Function GetPutOrPatchOperationResultAsync(Of TBody As Class) (client As IAzureClient, response As AzureOperationResponse(Of TBody), customHeaders As Dictionary(Of String, List(Of String)), cancellationToken As CancellationToken) As Task(Of AzureOperationResponse(Of TBody))

Type Parameters

TBody

Type of the resource body

Parameters

client
IAzureClient

IAzureClient

response
AzureOperationResponse<TBody>

Response from the begin operation

customHeaders
Dictionary<String,List<String>>

Headers that will be added to request

cancellationToken
CancellationToken

Cancellation token

Returns

Response with created resource

Applies to