Partager via


IResourcesOperations.CreateOrUpdateByIdWithHttpMessagesAsync Method

Definition

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Internal.Resources.Models.GenericResource>> CreateOrUpdateByIdWithHttpMessagesAsync (string resourceId, string apiVersion, Microsoft.Azure.Management.Internal.Resources.Models.GenericResource parameters, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateByIdWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.Internal.Resources.Models.GenericResource * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Internal.Resources.Models.GenericResource>>
Public Function CreateOrUpdateByIdWithHttpMessagesAsync (resourceId As String, apiVersion As String, parameters As GenericResource, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of GenericResource))

Parameters

resourceId
String
apiVersion
String
parameters
GenericResource
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

Returns

Applies to