ResourcesOperationsExtensions.CreateOrUpdateByIdAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Internal.ResourceManager.Version2018_05_01.Models.GenericResource> CreateOrUpdateByIdAsync (this Microsoft.Azure.Management.Internal.ResourceManager.Version2018_05_01.IResourcesOperations operations, string resourceId, string apiVersion, Microsoft.Azure.Management.Internal.ResourceManager.Version2018_05_01.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateByIdAsync : Microsoft.Azure.Management.Internal.ResourceManager.Version2018_05_01.IResourcesOperations * string * string * Microsoft.Azure.Management.Internal.ResourceManager.Version2018_05_01.Models.GenericResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Internal.ResourceManager.Version2018_05_01.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
- operations
- IResourcesOperations
- resourceId
- String
- apiVersion
- String
- parameters
- GenericResource
- cancellationToken
- CancellationToken