Partager via


ResourcesOperationsExtensions.CreateOrUpdateAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Internal.Resources.Models.GenericResource> CreateOrUpdateAsync (this Microsoft.Azure.Management.Internal.Resources.IResourcesOperations operations, string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, string apiVersion, Microsoft.Azure.Management.Internal.Resources.Models.GenericResource parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Internal.Resources.IResourcesOperations * string * string * string * string * 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 CreateOrUpdateAsync (operations As IResourcesOperations, resourceGroupName As String, resourceProviderNamespace As String, parentResourcePath As String, resourceType As String, resourceName As String, apiVersion As String, parameters As GenericResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of GenericResource)

Parameters

resourceGroupName
String
resourceProviderNamespace
String
parentResourcePath
String
resourceType
String
resourceName
String
apiVersion
String
parameters
GenericResource
cancellationToken
CancellationToken

Returns

Applies to