你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ResourcesOperationsExtensions.CreateOrUpdateByIdAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Internal.Resources.Models.GenericResource> CreateOrUpdateByIdAsync (this Microsoft.Azure.Management.Internal.Resources.IResourcesOperations operations, string resourceId, string apiVersion, Microsoft.Azure.Management.Internal.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateByIdAsync : Microsoft.Azure.Management.Internal.Resources.IResourcesOperations * string * string * Microsoft.Azure.Management.Internal.Resources.Models.GenericResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Internal.Resources.Models.GenericResource>
<Extension()>
Public Function CreateOrUpdateByIdAsync (operations As IResourcesOperations, resourceId As String, apiVersion As String, parameters As GenericResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of GenericResource)

Parameters

resourceId
String
apiVersion
String
parameters
GenericResource
cancellationToken
CancellationToken

Returns

Applies to